WaferRobotParameterEditView.xaml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <UserControl x:Class="FurnaceUI.Views.Maintenances.WaferRobotParameterEditView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:FurnaceUI.Views.Parameter"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:cal="http://www.caliburn.org"
  9. mc:Ignorable="d"
  10. Height="450" Width="500">
  11. <Grid>
  12. <Border>
  13. <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="1,1,1,1" Margin="10,10,10,5" >
  14. <Grid VerticalAlignment="Top" >
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="80"/>
  17. <RowDefinition Height="80"/>
  18. <RowDefinition Height="80"/>
  19. <RowDefinition Height="80"/>
  20. <RowDefinition Height="*"/>
  21. </Grid.RowDefinitions>
  22. <Grid.ColumnDefinitions>
  23. <ColumnDefinition Width="158"/>
  24. <ColumnDefinition/>
  25. </Grid.ColumnDefinitions>
  26. <Label Grid.Row="0" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="No"/>
  27. <Border Grid.Row="0" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  28. <TextBox IsEnabled="False" Width="316" Text="{Binding PName,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
  29. </Border>
  30. <Label Grid.Row="1" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="SettingItem"/>
  31. <Border Grid.Row="1" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  32. <TextBox IsEnabled="False" Width="316" Text="{Binding ValueList[0].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  33. </Border>
  34. <Label Grid.Row="2" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="SetValue"/>
  35. <Border Grid.Row="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  36. <TextBox Tag="Number" Width="316" Text="{Binding ValueList[1].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  37. </Border>
  38. <Label Grid.Row="3" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="Unit"/>
  39. <Border Grid.Row="3" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  40. <TextBox IsEnabled="False" Width="316" Text="{Binding ValueList[2].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  41. </Border>
  42. <Button Content="Save" Grid.Row="5" Width="120" Margin="79,23,279,-18" Height="45" Grid.ColumnSpan="2" Grid.RowSpan="2">
  43. <i:Interaction.Triggers>
  44. <i:EventTrigger EventName="Click">
  45. <cal:ActionMessage MethodName="SaveBtnClick">
  46. </cal:ActionMessage>
  47. </i:EventTrigger>
  48. </i:Interaction.Triggers>
  49. </Button>
  50. <Button Content="Cancel" Grid.Row="9" Grid.Column="1" Width="120" Margin="131,23,69,-18" Height="45" Grid.RowSpan="2">
  51. <i:Interaction.Triggers>
  52. <i:EventTrigger EventName="Click">
  53. <cal:ActionMessage MethodName="CancelBtnClick">
  54. </cal:ActionMessage>
  55. </i:EventTrigger>
  56. </i:Interaction.Triggers>
  57. </Button>
  58. </Grid>
  59. </Border>
  60. </Border>
  61. </Grid>
  62. </UserControl>