AITServoMotor.xaml 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. <UserControl x:Class="EfemUI.Controls.AITServoMotor"
  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:controls="clr-namespace:EfemUI.Controls"
  7. mc:Ignorable="d" x:Name="self"
  8. d:DesignHeight="700" d:DesignWidth="1580" >
  9. <Canvas>
  10. <Canvas.Resources>
  11. <controls:CommandConverter x:Key="commandConverter"/>
  12. </Canvas.Resources>
  13. <Grid Width="310" Canvas.Left="22" Canvas.Top="20" >
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="48"/>
  16. <RowDefinition Height="38"/>
  17. <RowDefinition Height="38"/>
  18. <RowDefinition Height="38"/>
  19. <RowDefinition Height="38"/>
  20. <RowDefinition Height="38"/>
  21. <RowDefinition Height="38"/>
  22. <RowDefinition Height="38"/>
  23. <RowDefinition Height="38"/>
  24. <RowDefinition Height="38"/>
  25. <RowDefinition Height="38"/>
  26. <RowDefinition Height="38"/>
  27. <RowDefinition Height="38"/>
  28. <RowDefinition Height="38"/>
  29. <RowDefinition Height="38"/>
  30. <RowDefinition Height="38"/>
  31. <RowDefinition Height="38"/>
  32. <RowDefinition Height="38"/>
  33. <RowDefinition Height="38"/>
  34. </Grid.RowDefinitions>
  35. <Grid.ColumnDefinitions>
  36. <ColumnDefinition Width="150" />
  37. <ColumnDefinition Width="150" />
  38. </Grid.ColumnDefinitions>
  39. <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  40. <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="18" TextAlignment="Center" Text="Status" Foreground="White" />
  41. <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  42. <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="Running" Foreground="White" TextAlignment="Center"/>
  43. <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  44. <Ellipse Grid.Row="1" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  45. Fill="{Binding ElementName=self, Path= DeviceData.IsRunning, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  46. <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  47. <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="EMO" Foreground="White" TextAlignment="Center"/>
  48. <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  49. <Ellipse Grid.Row="2" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  50. Fill="{Binding ElementName=self, Path=DeviceData.IsEmo, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  51. <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  52. <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="Alarm" Foreground="White" TextAlignment="Center"/>
  53. <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  54. <Ellipse Grid.Row="3" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  55. Fill="{Binding ElementName=self, Path=DeviceData.IsError, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  56. <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  57. <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="Auto Mode" Foreground="White" TextAlignment="Center"/>
  58. <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  59. <Ellipse Grid.Row="4" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  60. Fill="{Binding ElementName=self, Path=DeviceData.IsAuto, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  61. <Rectangle Grid.Row="5" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  62. <TextBlock Grid.Row="5" Grid.Column="0" FontSize="15" Text="Manual Mode" Foreground="White" TextAlignment="Center"/>
  63. <Rectangle Grid.Row="5" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  64. <Ellipse Grid.Row="5" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  65. Fill="{Binding ElementName=self, Path=DeviceData.IsManual, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  66. <Rectangle Grid.Row="6" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  67. <TextBlock Grid.Row="6" Grid.Column="0" FontSize="15" Text="Servo Normal" Foreground="White" TextAlignment="Center"/>
  68. <Rectangle Grid.Row="6" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  69. <Ellipse Grid.Row="6" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  70. Fill="{Binding ElementName=self, Path=DeviceData.IsServoNormal, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  71. <Rectangle Grid.Row="7" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  72. <TextBlock Grid.Row="7" Grid.Column="0" FontSize="15" Text="Servo No Warning" Foreground="White" TextAlignment="Center"/>
  73. <Rectangle Grid.Row="7" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  74. <Ellipse Grid.Row="7" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  75. Fill="{Binding ElementName=self, Path=DeviceData.IsServoNoWarning, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  76. <Rectangle Grid.Row="8" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  77. <TextBlock Grid.Row="8" Grid.Column="0" FontSize="15" Text="Servo No Alarm" Foreground="White" TextAlignment="Center"/>
  78. <Rectangle Grid.Row="8" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  79. <Ellipse Grid.Row="8" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  80. Fill="{Binding ElementName=self, Path=DeviceData.IsServoNoAlarm, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  81. <Rectangle Grid.Row="9" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  82. <TextBlock Grid.Row="9" Grid.Column="0" FontSize="15" Text="NOP" Foreground="White" TextAlignment="Center"/>
  83. <Rectangle Grid.Row="9" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  84. <Ellipse Grid.Row="9" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  85. Fill="{Binding ElementName=self, Path=DeviceData.IsNop, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  86. <Rectangle Grid.Row="10" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  87. <TextBlock Grid.Row="10" Grid.Column="0" FontSize="15" Text="Servo On" Foreground="White" TextAlignment="Center"/>
  88. <Rectangle Grid.Row="10" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  89. <Ellipse Grid.Row="10" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  90. Fill="{Binding ElementName=self, Path=DeviceData.IsServoOn, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  91. <Rectangle Grid.Row="11" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  92. <TextBlock Grid.Row="11" Grid.Column="0" FontSize="15" Text="Position Done" Foreground="White" TextAlignment="Center"/>
  93. <Rectangle Grid.Row="11" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  94. <Ellipse Grid.Row="11" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  95. Fill="{Binding ElementName=self, Path=DeviceData.IsPositionComplete, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  96. <Rectangle Grid.Row="12" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  97. <TextBlock Grid.Row="12" Grid.Column="0" FontSize="15" Text="N Limit" Foreground="White" TextAlignment="Center"/>
  98. <Rectangle Grid.Row="12" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  99. <Ellipse Grid.Row="12" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  100. Fill="{Binding ElementName=self, Path=DeviceData.IsNLimit, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  101. <Rectangle Grid.Row="13" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  102. <TextBlock Grid.Row="13" Grid.Column="0" FontSize="15" Text="P Limit" Foreground="White" TextAlignment="Center"/>
  103. <Rectangle Grid.Row="13" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  104. <Ellipse Grid.Row="13" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  105. Fill="{Binding ElementName=self, Path=DeviceData.IsPLimit, Converter={StaticResource BoolSensorConverter}}" Style="{x:Null}"/>
  106. <Rectangle Grid.Row="14" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  107. <TextBlock Grid.Row="14" Grid.Column="0" FontSize="15" Text="Error Code" Foreground="White" TextAlignment="Center"/>
  108. <Rectangle Grid.Row="14" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  109. <TextBlock Grid.Row="14" Grid.Column="1" FontSize="15" Text="{Binding ElementName=self, Path=DeviceData.ErrorCode}" Foreground="White" TextAlignment="Center"/>
  110. <Rectangle Grid.Row="15" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  111. <TextBlock Grid.Row="15" Grid.Column="0" FontSize="15" Text="Position" Foreground="White" TextAlignment="Center"/>
  112. <Rectangle Grid.Row="15" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  113. <TextBlock Grid.Row="15" Grid.Column="1" FontSize="15" Text="{Binding ElementName=self, Path=DeviceData.CurrentPosition}" Foreground="White" TextAlignment="Center"/>
  114. <Rectangle Grid.Row="16" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  115. <TextBlock Grid.Row="16" Grid.Column="0" FontSize="15" Text="Speed" Foreground="White" TextAlignment="Center"/>
  116. <Rectangle Grid.Row="16" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  117. <TextBlock Grid.Row="16" Grid.Column="1" FontSize="15" Text="{Binding ElementName=self, Path=DeviceData.CurrentSpeed}" Foreground="White" TextAlignment="Center"/>
  118. </Grid>
  119. <Grid Canvas.Left="364" Canvas.Top="21">
  120. <Grid.RowDefinitions>
  121. <RowDefinition Height="48"/>
  122. <RowDefinition Height="48"/>
  123. <RowDefinition Height="48"/>
  124. <RowDefinition Height="48"/>
  125. <RowDefinition Height="48"/>
  126. </Grid.RowDefinitions>
  127. <Grid.ColumnDefinitions>
  128. <ColumnDefinition Width="270"/>
  129. <ColumnDefinition Width="270"/>
  130. </Grid.ColumnDefinitions>
  131. <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"/>
  132. <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" FontSize="20" TextAlignment="Center" Text="Mode" Foreground="White" />
  133. <Rectangle Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
  134. <Ellipse Grid.Row="1" Grid.Column="0" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  135. Fill="{Binding ElementName=self, Path=DeviceData.IsServoOn, Converter={StaticResource BoolSensorConverter}}"
  136. Style="{x:Null}" Margin="22,16,233,17"/>
  137. <Button Grid.Row="1" Grid.Column="0" Foreground="White" Content="Servo ON" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="ServoOn" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
  138. <Button Grid.Row="1" Grid.Column="1" Foreground="White" Content="Servo OFF" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="ServoOff" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
  139. <Rectangle Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
  140. <Ellipse Grid.Row="2" Grid.Column="0" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  141. Fill="{Binding ElementName=self, Path=DeviceData.IsError, Converter={StaticResource BoolSensorConverter}}"
  142. Style="{x:Null}" Margin="22,16,233,17"/>
  143. <Button Grid.Row="2" Grid.Column="0" Foreground="White" Content="Reset Alarm" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="ResetAlarm" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
  144. <Rectangle Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
  145. <Ellipse Grid.Row="3" Grid.Column="0" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  146. Fill="{Binding ElementName=self, Path=DeviceData.IsManual, Converter={StaticResource BoolSensorConverter}}"
  147. Style="{x:Null}" Margin="22,16,233,17"/>
  148. <Button Grid.Row="3" Grid.Column="0" Foreground="White" Content="Manual" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Manual" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
  149. <Ellipse Grid.Row="3" Grid.Column="1" Stroke="Gray" StrokeThickness="2" Width="15" Height="15"
  150. Fill="{Binding ElementName=self, Path=DeviceData.IsAuto, Converter={StaticResource BoolSensorConverter}}"
  151. Style="{x:Null}" Margin="22,16,233,17"/>
  152. <Button Grid.Row="3" Grid.Column="1" Foreground="White" Content="Auto" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Auto" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
  153. <Rectangle Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"/>
  154. <Button Grid.Row="4" Grid.Column="0" Foreground="White" Content="Home" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Home" FontSize="17" Width="150" Height="35" VerticalAlignment="Center" />
  155. </Grid>
  156. <Grid Canvas.Left="364" Canvas.Top="283">
  157. <Grid.RowDefinitions>
  158. <RowDefinition Height="48"/>
  159. <RowDefinition Height="48"/>
  160. <RowDefinition Height="48"/>
  161. <RowDefinition Height="48"/>
  162. <RowDefinition Height="48"/>
  163. </Grid.RowDefinitions>
  164. <Grid.ColumnDefinitions>
  165. <ColumnDefinition Width="200" />
  166. <ColumnDefinition Width="120" />
  167. <ColumnDefinition Width="120" />
  168. <ColumnDefinition Width="100" />
  169. </Grid.ColumnDefinitions>
  170. <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"/>
  171. <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" FontSize="20" TextAlignment="Center" Text="Speed" Foreground="White" />
  172. <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  173. <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="Jog Speed(MM/Min)" Foreground="White" />
  174. <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  175. <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.JogSpeedSetPoint}" />
  176. <Rectangle Grid.Row="1" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  177. <TextBox x:Name="SetJogBox" Grid.Row="1" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="15" Width="{Binding ElementName=self, Path=JogSpeedInput }" Height="35" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding ElementName=self,Path=ScSetPoint}" />
  178. <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  179. <Button Grid.Row="1" Grid.Column="3" Content="Set" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="{Binding ElementName=SetJogBox,Path=Text, Converter={StaticResource commandConverter}, ConverterParameter=SetJogSpeed}"/>
  180. <Rectangle Grid.Row="2" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  181. <TextBlock Grid.Row="2" Grid.Column="0" FontSize="15" Text="Auto Speed(MM/Min)" Foreground="White" />
  182. <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  183. <TextBlock Grid.Row="2" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.AutoSpeedSetPoint}" />
  184. <Rectangle Grid.Row="2" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  185. <TextBox x:Name="SetAutoBox" Grid.Row="2" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="15" Width="{Binding ElementName=self, Path=AutoSpeedInput }" Height="35" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding ElementName=self,Path=ScSetPoint}" />
  186. <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  187. <Button Grid.Row="2" Grid.Column="3" Content="Set" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="{Binding ElementName=SetAutoBox,Path=Text, Converter={StaticResource commandConverter}, ConverterParameter=SetAutoSpeed}"/>
  188. <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  189. <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="Acc. Speed(ms)" Foreground="White" />
  190. <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  191. <TextBlock Grid.Row="3" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.AccSpeedSetPoint}" />
  192. <Rectangle Grid.Row="3" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  193. <TextBox x:Name="SetAccBox" Grid.Row="3" Grid.Column="2" PreviewTextInput="OnPreviewTextInput" TextAlignment="Center" FontSize="15" Width="{Binding ElementName=self, Path=AccSpeedInput}" Height="35" Margin="3,3,0,0" Padding="0,0,0,0" Text="{Binding ElementName=self,Path=ScSetPoint}" />
  194. <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  195. <Button Grid.Row="3" Grid.Column="3" Content="Set" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="{Binding ElementName=SetAutoBox,Path=Text, Converter={StaticResource commandConverter}, ConverterParameter=SetAccSpeed}"/>
  196. </Grid>
  197. <Grid Canvas.Left="944" Canvas.Top="21">
  198. <Grid.RowDefinitions>
  199. <RowDefinition Height="48"/>
  200. <RowDefinition Height="48"/>
  201. <RowDefinition Height="48"/>
  202. <RowDefinition Height="38"/>
  203. <RowDefinition Height="38"/>
  204. <RowDefinition Height="38"/>
  205. <RowDefinition Height="38"/>
  206. <RowDefinition Height="38"/>
  207. <RowDefinition Height="38"/>
  208. <RowDefinition Height="38"/>
  209. <RowDefinition Height="38"/>
  210. <RowDefinition Height="38"/>
  211. <RowDefinition Height="38"/>
  212. <RowDefinition Height="38"/>
  213. <RowDefinition Height="38"/>
  214. <RowDefinition Height="38"/>
  215. <RowDefinition Height="38"/>
  216. <RowDefinition Height="38"/>
  217. <RowDefinition Height="38"/>
  218. </Grid.RowDefinitions>
  219. <Grid.ColumnDefinitions>
  220. <ColumnDefinition Width="180" />
  221. <ColumnDefinition Width="120" />
  222. <ColumnDefinition Width="180" />
  223. <ColumnDefinition Width="100" />
  224. </Grid.ColumnDefinitions>
  225. <Rectangle Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"/>
  226. <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" FontSize="20" TextAlignment="Center" Text="Position Teaching" Foreground="White" />
  227. <Rectangle Grid.Row="1" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  228. <TextBlock Grid.Row="1" Grid.Column="0" FontSize="15" Text="Current Position(mm)" Foreground="White" />
  229. <Rectangle Grid.Row="1" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  230. <TextBlock Grid.Row="1" Grid.Column="1" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.CurrentPosition}" />
  231. <Rectangle Grid.Row="1" Grid.Column="2" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  232. <TextBlock Grid.Row="1" Grid.Column="2" FontSize="15" Text="Current Speed(mm/Min)" Foreground="White" />
  233. <Rectangle Grid.Row="1" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  234. <TextBlock Grid.Row="1" Grid.Column="3" TextAlignment="Center" FontSize="12" Height="25" Margin="3" Padding="0,0,0,0" Text="{Binding ElementName=self, Path=DeviceData.CurrentSpeed}" />
  235. <Rectangle Grid.Row="2" Grid.Column="0" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  236. <Button Grid.Row="2" Grid.Column="0" Content="PMove(+)" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="PMove"/>
  237. <Rectangle Grid.Row="2" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  238. <Button Grid.Row="2" Grid.Column="1" Content="NMove(-)" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="NMove"/>
  239. <Rectangle Grid.Row="2" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  240. <Button Grid.Row="2" Grid.Column="2" Content="Stop" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Stop"/>
  241. <Rectangle Grid.Row="2" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  242. <Button Grid.Row="2" Grid.Column="3" Content="EMO Abort" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Abort"/>
  243. <Rectangle Grid.Row="3" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  244. <TextBlock Grid.Row="3" Grid.Column="0" FontSize="15" Text="Position 0 (Home)" Foreground="White" />
  245. <Rectangle Grid.Row="3" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  246. <Button Grid.Row="3" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,0"/>
  247. <Rectangle Grid.Row="3" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  248. <Button Grid.Row="3" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,0"/>
  249. <Rectangle Grid.Row="3" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  250. <Rectangle Grid.Row="4" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  251. <TextBlock Grid.Row="4" Grid.Column="0" FontSize="15" Text="Position 1 (LP1)" Foreground="White" />
  252. <Rectangle Grid.Row="4" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  253. <Button Grid.Row="4" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,1"/>
  254. <Rectangle Grid.Row="4" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  255. <Button Grid.Row="4" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,1"/>
  256. <Rectangle Grid.Row="4" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  257. <Rectangle Grid.Row="5" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  258. <TextBlock Grid.Row="5" Grid.Column="0" FontSize="15" Text="Position 2 (LP2)" Foreground="White" />
  259. <Rectangle Grid.Row="5" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  260. <Button Grid.Row="5" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,2"/>
  261. <Rectangle Grid.Row="5" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  262. <Button Grid.Row="5" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,2"/>
  263. <Rectangle Grid.Row="5" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  264. <Rectangle Grid.Row="6" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  265. <TextBlock Grid.Row="6" Grid.Column="0" FontSize="15" Text="Position 3 (LP3)" Foreground="White" />
  266. <Rectangle Grid.Row="6" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  267. <Button Grid.Row="6" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,3"/>
  268. <Rectangle Grid.Row="6" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  269. <Button Grid.Row="6" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,3"/>
  270. <Rectangle Grid.Row="6" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  271. <Rectangle Grid.Row="7" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  272. <TextBlock Grid.Row="7" Grid.Column="0" FontSize="15" Text="Position 4 (LP4)" Foreground="White" />
  273. <Rectangle Grid.Row="7" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  274. <Button Grid.Row="7" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,4"/>
  275. <Rectangle Grid.Row="7" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  276. <Button Grid.Row="7" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,4"/>
  277. <Rectangle Grid.Row="7" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  278. <Rectangle Grid.Row="8" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  279. <TextBlock Grid.Row="8" Grid.Column="0" FontSize="15" Text="Position 5 (LP5)" Foreground="White" />
  280. <Rectangle Grid.Row="8" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  281. <Button Grid.Row="8" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,5"/>
  282. <Rectangle Grid.Row="8" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  283. <Button Grid.Row="8" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,5"/>
  284. <Rectangle Grid.Row="8" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  285. <Rectangle Grid.Row="9" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  286. <TextBlock Grid.Row="9" Grid.Column="0" FontSize="15" Text="Position 6 (LP6)" Foreground="White" />
  287. <Rectangle Grid.Row="9" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  288. <Button Grid.Row="9" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,6"/>
  289. <Rectangle Grid.Row="9" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  290. <Button Grid.Row="9" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,6"/>
  291. <Rectangle Grid.Row="9" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  292. <Rectangle Grid.Row="10" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  293. <TextBlock Grid.Row="10" Grid.Column="0" FontSize="15" Text="Position 7 (LP7)" Foreground="White" />
  294. <Rectangle Grid.Row="10" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  295. <Button Grid.Row="10" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,7"/>
  296. <Rectangle Grid.Row="10" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  297. <Button Grid.Row="10" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,7"/>
  298. <Rectangle Grid.Row="10" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  299. <Rectangle Grid.Row="11" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  300. <TextBlock Grid.Row="11" Grid.Column="0" FontSize="15" Text="Position 8 (LP8)" Foreground="White" />
  301. <Rectangle Grid.Row="11" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  302. <Button Grid.Row="11" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,8"/>
  303. <Rectangle Grid.Row="11" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  304. <Button Grid.Row="11" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,8"/>
  305. <Rectangle Grid.Row="11" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  306. <Rectangle Grid.Row="12" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  307. <TextBlock Grid.Row="12" Grid.Column="0" FontSize="15" Text="Position 9 (LP9)" Foreground="White" />
  308. <Rectangle Grid.Row="12" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  309. <Button Grid.Row="12" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,9"/>
  310. <Rectangle Grid.Row="12" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  311. <Button Grid.Row="12" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,9"/>
  312. <Rectangle Grid.Row="12" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  313. <Rectangle Grid.Row="13" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  314. <TextBlock Grid.Row="13" Grid.Column="0" FontSize="15" Text="Position 10 (LP10)" Foreground="White" />
  315. <Rectangle Grid.Row="13" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  316. <Button Grid.Row="13" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,10"/>
  317. <Rectangle Grid.Row="13" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  318. <Button Grid.Row="13" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,10"/>
  319. <Rectangle Grid.Row="13" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  320. <Rectangle Grid.Row="14" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  321. <TextBlock Grid.Row="14" Grid.Column="0" FontSize="15" Text="Position 11 (Aligner)" Foreground="White" />
  322. <Rectangle Grid.Row="14" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  323. <Button Grid.Row="14" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,11"/>
  324. <Rectangle Grid.Row="14" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  325. <Button Grid.Row="14" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,11"/>
  326. <Rectangle Grid.Row="14" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  327. <Rectangle Grid.Row="15" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  328. <TextBlock Grid.Row="15" Grid.Column="0" FontSize="15" Text="Position 12 (LL1)" Foreground="White" />
  329. <Rectangle Grid.Row="15" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  330. <Button Grid.Row="15" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,12"/>
  331. <Rectangle Grid.Row="15" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  332. <Button Grid.Row="15" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,12"/>
  333. <Rectangle Grid.Row="15" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  334. <Rectangle Grid.Row="16" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  335. <TextBlock Grid.Row="16" Grid.Column="0" FontSize="15" Text="Position 13 (LL2)" Foreground="White" />
  336. <Rectangle Grid.Row="16" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  337. <Button Grid.Row="16" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,13"/>
  338. <Rectangle Grid.Row="16" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  339. <Button Grid.Row="16" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,13"/>
  340. <Rectangle Grid.Row="16" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  341. <Rectangle Grid.Row="17" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  342. <TextBlock Grid.Row="17" Grid.Column="0" FontSize="15" Text="Position 14 (LL3)" Foreground="White" />
  343. <Rectangle Grid.Row="17" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  344. <Button Grid.Row="17" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,14"/>
  345. <Rectangle Grid.Row="17" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  346. <Button Grid.Row="17" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,14"/>
  347. <Rectangle Grid.Row="17" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  348. <Rectangle Grid.Row="18" Grid.Column="0" Fill="#376092" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  349. <TextBlock Grid.Row="18" Grid.Column="0" FontSize="15" Text="Position 15 (LL4)" Foreground="White" />
  350. <Rectangle Grid.Row="18" Grid.Column="1" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  351. <Button Grid.Row="18" Grid.Column="1" Content="MoveTo" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="MoveTo,15"/>
  352. <Rectangle Grid.Row="18" Grid.Column="2" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  353. <Button Grid.Row="18" Grid.Column="2" Content="Save" VerticalAlignment="Center" FontSize="16" Width="90" Height="36" Margin="5" Command="{Binding ElementName=self, Path=AxisCommand}" CommandParameter="Save,15"/>
  354. <Rectangle Grid.Row="18" Grid.Column="3" Fill="#95B3D7" Margin="0" Stroke="White" StrokeThickness="1"></Rectangle>
  355. </Grid>
  356. </Canvas>
  357. </UserControl>