WaferRobotPositionAxisEditView.xaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1.  <UserControl x:Class="FurnaceUI.Views.Maintenances.WaferRobotPositionAxisEditView"
  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" xmlns:controls="http://OpenSEMI.Ctrlib.com/presentation"
  9. mc:Ignorable="d"
  10. Height="650" 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="80"/>
  21. <RowDefinition Height="80"/>
  22. <RowDefinition Height="80"/>
  23. <RowDefinition Height="*"/>
  24. </Grid.RowDefinitions>
  25. <Grid.ColumnDefinitions>
  26. <ColumnDefinition Width="158"/>
  27. <ColumnDefinition/>
  28. </Grid.ColumnDefinitions>
  29. <Label Grid.Row="0" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="TrsSt"/>
  30. <Border Grid.Row="0" Grid.ColumnSpan="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  31. <TextBox IsEnabled="False" VerticalContentAlignment="Center" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Width="316" Text="{Binding PName,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  32. </Border>
  33. <Label Grid.Row="1" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="ToDownAxis"/>
  34. <Border Grid.Row="1" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  35. <controls:TextBoxEx Tag="Number" Width="316" Text="{Binding ValueList[1].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeepDecimals="3" EditBoxMode="Decimal" >
  36. </controls:TextBoxEx>
  37. </Border>
  38. <Label Grid.Row="2" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="RotateAxis"/>
  39. <Border Grid.Row="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  40. <controls:TextBoxEx Tag="Number" Width="316" Text="{Binding ValueList[2].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeepDecimals="3" EditBoxMode="Decimal" >
  41. </controls:TextBoxEx>
  42. </Border>
  43. <Label Grid.Row="3" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="TelescopingAxis1"/>
  44. <Border Grid.Row="3" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  45. <controls:TextBoxEx Tag="Number" Width="316" Text="{Binding ValueList[3].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeepDecimals="3" EditBoxMode="Decimal" >
  46. </controls:TextBoxEx>
  47. </Border>
  48. <Label Grid.Row="4" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="TelescopingAxis2"/>
  49. <Border Grid.Row="4" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  50. <controls:TextBoxEx Tag="Number" Width="316" Text="{Binding ValueList[4].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeepDecimals="3" EditBoxMode="Decimal" >
  51. </controls:TextBoxEx>
  52. </Border>
  53. <Label Grid.Row="5" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="VariableSpacingAxis"/>
  54. <Border Grid.Row="5" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
  55. <controls:TextBoxEx Tag="Number" Width="316" Text="{Binding ValueList[5].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeepDecimals="3" EditBoxMode="Decimal" >
  56. </controls:TextBoxEx>
  57. </Border>
  58. <Button Content="Save" Grid.Row="5" Width="120" Margin="79,100,279,-18" Height="45" Grid.ColumnSpan="2" Grid.RowSpan="2">
  59. <i:Interaction.Triggers>
  60. <i:EventTrigger EventName="Click">
  61. <cal:ActionMessage MethodName="SaveBtnClick">
  62. </cal:ActionMessage>
  63. </i:EventTrigger>
  64. </i:Interaction.Triggers>
  65. </Button>
  66. <Button Content="Cancel" Grid.Row="5" Grid.Column="1" Width="120" Margin="131,100,69,-18" Height="45" Grid.RowSpan="2">
  67. <i:Interaction.Triggers>
  68. <i:EventTrigger EventName="Click">
  69. <cal:ActionMessage MethodName="CancelBtnClick">
  70. </cal:ActionMessage>
  71. </i:EventTrigger>
  72. </i:Interaction.Triggers>
  73. </Button>
  74. </Grid>
  75. </Border>
  76. </Border>
  77. </Grid>
  78. </UserControl>