BoatRobotView.xaml 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. <UserControl x:Class="FurnaceUI.Views.Maintenances.BoatRobotView"
  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.Maintenances"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:cal="http://www.caliburn.org"
  9. xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core" xmlns:parts="clr-namespace:FurnaceUI.Controls.Parts"
  10. mc:Ignorable="d"
  11. Width="1280" Height="900"
  12. >
  13. <Grid>
  14. <Canvas >
  15. <Grid Margin="10,10,0,0" >
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="24"/>
  18. <RowDefinition Height="35"/>
  19. <RowDefinition Height="35"/>
  20. <RowDefinition Height="35"/>
  21. <RowDefinition Height="35"/>
  22. <RowDefinition Height="35"/>
  23. <RowDefinition Height="35"/>
  24. <RowDefinition Height="35"/>
  25. <RowDefinition Height="35"/>
  26. <RowDefinition Height="35"/>
  27. <RowDefinition Height="35"/>
  28. <RowDefinition Height="35"/>
  29. <RowDefinition Height="115"/>
  30. </Grid.RowDefinitions>
  31. <Grid.ColumnDefinitions>
  32. <ColumnDefinition Width="110"/>
  33. <ColumnDefinition Width="80"/>
  34. <ColumnDefinition Width="110"/>
  35. <ColumnDefinition Width="180"/>
  36. </Grid.ColumnDefinitions>
  37. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  38. <Label.Content>
  39. <TextBlock Text="Boat E Axis Information" Foreground="White"></TextBlock>
  40. </Label.Content>
  41. </Label>
  42. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="0" Padding="10,1,0,1">
  43. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  44. </Border>
  45. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="1" Padding="5,1">
  46. <TextBlock Text="{Binding BoatZAxisStatus}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  47. </Border>
  48. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="2" Padding="10,1,0,1">
  49. <TextBlock Text="Servo On/Off" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  50. </Border>
  51. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="3" Padding="5,1">
  52. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatZAxisIsServoOn}" EnableToolTip="False"/>
  53. </Border>
  54. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Grid.Column="0" Padding="10,1,0,1">
  55. <TextBlock Text="Error Code" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  56. </Border>
  57. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column ="1" Padding="5,1">
  58. <TextBlock Text="{Binding BoatZAxisErrorCode,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  59. </Border>
  60. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Grid.Column="2" Padding="10,1,0,1">
  61. <TextBlock Text="Motor Warning" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  62. </Border>
  63. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column ="3" Padding="5,1">
  64. <deviceControl:AITSensor CustomColorOn="Red" IsCustomRender="True" CustomColorOff="#FF07FF07" LightOnValue="{Binding BoatZAxisIsWarning}" EnableToolTip="False"/>
  65. </Border>
  66. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Grid.Column="0" Padding="10,1,0,1">
  67. <TextBlock Text="Current Speed(mm/min)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  68. </Border>
  69. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column ="1" Padding="5,1">
  70. <TextBlock Text="{Binding BoatZAxisCurrentSpeed,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  71. </Border>
  72. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Grid.Column="2" Padding="10,1,0,1">
  73. <TextBlock Text="Motor Alarm" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  74. </Border>
  75. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column ="3" Padding="5,1">
  76. <deviceControl:AITSensor CustomColorOn="Red" IsCustomRender="True" CustomColorOff="#FF07FF07" LightOnValue="{Binding BoatZAxisIsAlarm}" EnableToolTip="False"/>
  77. </Border>
  78. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.Column="0" Padding="10,1,0,1">
  79. <TextBlock Text="Current Position(mm)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  80. </Border>
  81. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column ="1" Padding="5,1">
  82. <TextBlock Text="{Binding BoatZAxisCurrentPosition,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  83. </Border>
  84. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.Column="2" Padding="10,1,0,1">
  85. <TextBlock Text="Motor Moving" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  86. </Border>
  87. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column ="3" Padding="5,1">
  88. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatZAxisIsMoving}" EnableToolTip="False"/>
  89. </Border>
  90. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Grid.Column="0" Padding="10,1,0,1">
  91. <TextBlock Text="At Position1" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  92. </Border>
  93. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1">
  94. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatZAxisAtPosition2}" EnableToolTip="False"/>
  95. </Border>
  96. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="2">
  97. <Button Content="Move To Position1" Width="150" Height="30" Margin="0,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  98. <i:Interaction.Triggers>
  99. <i:EventTrigger EventName="Click">
  100. <cal:ActionMessage MethodName="MoveTo">
  101. <cal:Parameter Value="Position2" />
  102. </cal:ActionMessage>
  103. </i:EventTrigger>
  104. </i:Interaction.Triggers>
  105. </Button>
  106. </Border>
  107. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Grid.Column="0" Padding="10,1,0,1">
  108. <TextBlock Text="At Position2" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  109. </Border>
  110. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1">
  111. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatZAxisAtPosition1}" EnableToolTip="False"/>
  112. </Border>
  113. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="2">
  114. <Button Content="Move To Position2" Width="150" Height="30" Margin="0,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  115. <i:Interaction.Triggers>
  116. <i:EventTrigger EventName="Click">
  117. <cal:ActionMessage MethodName="MoveTo">
  118. <cal:Parameter Value="Position1" />
  119. </cal:ActionMessage>
  120. </i:EventTrigger>
  121. </i:Interaction.Triggers>
  122. </Button>
  123. </Border>
  124. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Grid.Column="0" Padding="10,1,0,1">
  125. <TextBlock Text="At Position3" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  126. </Border>
  127. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1">
  128. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatZAxisAtPosition3}" EnableToolTip="False"/>
  129. </Border>
  130. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="2" Grid.ColumnSpan="2">
  131. <Button Content="Move To Position3" Width="150" Height="30" Margin="0,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  132. <i:Interaction.Triggers>
  133. <i:EventTrigger EventName="Click">
  134. <cal:ActionMessage MethodName="MoveTo">
  135. <cal:Parameter Value="Position3" />
  136. </cal:ActionMessage>
  137. </i:EventTrigger>
  138. </i:Interaction.Triggers>
  139. </Button>
  140. </Border>
  141. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="8" Grid.Column="0" Padding="10,1,0,1">
  142. <TextBlock Text="At Home Position" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  143. </Border>
  144. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="1">
  145. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatZAxisAtHomePosition}" EnableToolTip="False"/>
  146. </Border>
  147. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="8" Grid.Column="2" Grid.ColumnSpan="2">
  148. </Border>
  149. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="9" Grid.Column="0" Padding="10,1,0,1">
  150. <TextBlock Text="Move Speed(mm/min)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  151. </Border>
  152. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column="1">
  153. <TextBlock Text="{Binding ZAxisMoveSpeed, StringFormat={}{0:f2}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  154. </Border>
  155. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="9" Grid.Column ="2" Grid.ColumnSpan="3" Padding="5,1">
  156. <StackPanel Orientation="Horizontal" >
  157. <TextBox Text="{Binding ZAxisMoveSpeed,Mode=OneTime}" x:Name="tbMoveSpeed" HorizontalContentAlignment="Center" Width="90" Height="30" Tag="Number"></TextBox>
  158. <Button Content="Save" Width="80" Height="30" Margin="10,0,10,0">
  159. <i:Interaction.Triggers>
  160. <i:EventTrigger EventName="Click">
  161. <cal:ActionMessage MethodName="BoatZSaveValue">
  162. <cal:Parameter Value="MoveSpeed" />
  163. <cal:Parameter Value="{Binding ElementName=tbMoveSpeed}" />
  164. </cal:ActionMessage>
  165. </i:EventTrigger>
  166. </i:Interaction.Triggers>
  167. </Button>
  168. </StackPanel>
  169. </Border>
  170. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="10" Grid.Column="0" Padding="10,1,0,1">
  171. <TextBlock Text="Acc(mm/min)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  172. </Border>
  173. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column="1">
  174. <TextBlock Text="{Binding ZAxisAcc, StringFormat={}{0:f2}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  175. </Border>
  176. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="10" Grid.Column ="2" Grid.ColumnSpan="3" Padding="5,1">
  177. <StackPanel Orientation="Horizontal" >
  178. <TextBox Text="{Binding ZAxisAcc,Mode=OneTime}" x:Name="tbZAxisAcc" HorizontalContentAlignment="Center" Width="90" Height="30" Tag="Number"></TextBox>
  179. <Button Content="Save" Width="80" Height="30" Margin="10,0,10,0">
  180. <i:Interaction.Triggers>
  181. <i:EventTrigger EventName="Click">
  182. <cal:ActionMessage MethodName="BoatZSaveValue">
  183. <cal:Parameter Value="Acc" />
  184. <cal:Parameter Value="{Binding ElementName=tbZAxisAcc}" />
  185. </cal:ActionMessage>
  186. </i:EventTrigger>
  187. </i:Interaction.Triggers>
  188. </Button>
  189. </StackPanel>
  190. </Border>
  191. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="11" Grid.Column="0" Padding="10,1,0,1">
  192. <TextBlock Text="Dec(mm/min)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  193. </Border>
  194. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column="1">
  195. <TextBlock Text="{Binding ZAxisDec, StringFormat={}{0:f2}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  196. </Border>
  197. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="11" Grid.Column ="2" Grid.ColumnSpan="3" Padding="5,1">
  198. <StackPanel Orientation="Horizontal" >
  199. <TextBox Text="{Binding ZAxisDec,Mode=OneTime}" x:Name="tbZAxisDec" HorizontalContentAlignment="Center" Width="90" Height="30" Tag="Number"></TextBox>
  200. <Button Content="Save" Width="80" Height="30" Margin="10,0,10,0">
  201. <i:Interaction.Triggers>
  202. <i:EventTrigger EventName="Click">
  203. <cal:ActionMessage MethodName="BoatZSaveValue">
  204. <cal:Parameter Value="Dec" />
  205. <cal:Parameter Value="{Binding ElementName=tbZAxisDec}" />
  206. </cal:ActionMessage>
  207. </i:EventTrigger>
  208. </i:Interaction.Triggers>
  209. </Button>
  210. </StackPanel>
  211. </Border>
  212. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="12" Grid.ColumnSpan="4" Padding="0,0,0,0">
  213. <StackPanel Orientation="Horizontal" Margin="80,0,0,0" >
  214. <Button Content="Stop" Width="92" Height="30" Margin="22,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  215. <i:Interaction.Triggers>
  216. <i:EventTrigger EventName="Click">
  217. <cal:ActionMessage MethodName="Stop">
  218. <cal:Parameter Value="PM1.BoatElevatorServo" />
  219. </cal:ActionMessage>
  220. </i:EventTrigger>
  221. </i:Interaction.Triggers>
  222. </Button>
  223. <Button Content="Reset" Width="92" Height="30" Margin="5,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  224. <i:Interaction.Triggers>
  225. <i:EventTrigger EventName="Click">
  226. <cal:ActionMessage MethodName="Reset">
  227. <cal:Parameter Value="PM1.BoatElevatorServo" />
  228. </cal:ActionMessage>
  229. </i:EventTrigger>
  230. </i:Interaction.Triggers>
  231. </Button>
  232. <Button Content="Home" Width="92" Height="30" Margin="5,-70,0,0" IsEnabled="{Binding IsSystemStaus}">
  233. <i:Interaction.Triggers>
  234. <i:EventTrigger EventName="Click">
  235. <cal:ActionMessage MethodName="Home">
  236. <cal:Parameter Value="PM1.BoatElevatorServo" />
  237. </cal:ActionMessage>
  238. </i:EventTrigger>
  239. </i:Interaction.Triggers>
  240. </Button>
  241. <StackPanel Orientation="Horizontal" Height="34" Margin="-405,80,0,0">
  242. <Label Content="From: "></Label>
  243. <ComboBox x:Name="cbModulesCassetteRobot" Margin="0,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestStartPosition}" />
  244. <Label Content="To: "></Label>
  245. <ComboBox x:Name="cbSlotsCassetteRobot" Margin="3,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestEndPosition}" />
  246. <Button Content="Move Test" Width="100" Height="30" Margin="3,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  247. <i:Interaction.Triggers>
  248. <i:EventTrigger EventName="Click">
  249. <cal:ActionMessage MethodName="BoatZServoTest"/>
  250. </i:EventTrigger>
  251. </i:Interaction.Triggers>
  252. </Button>
  253. </StackPanel>
  254. </StackPanel>
  255. </Border>
  256. </Grid>
  257. <Image Source="/FurnaceUI;component/Resources/Images/Controls3/01.png" Canvas.Left="573" Canvas.Top="10"/>
  258. <parts:BoatElevatorRobot RobotTarget="{Binding BoatPosition}" BoatStatus="{Binding BoatStatus}" StationPosition="{Binding StationPosition3}" Canvas.Left="630" Canvas.Top="373" Visibility="{Binding IsShowBoatElevatorRobot, Converter={StaticResource bool2VisibilityConverter}}"/>
  259. <TextBlock Text="Position 3 ----->" Canvas.Left="505" Canvas.Top="655" FontSize="14"/>
  260. <TextBlock Text="Position 2 -------->" Canvas.Left="505" Canvas.Top="500" FontSize="14"/>
  261. <TextBlock Text="Position 1 -------->" Canvas.Left="505" Canvas.Top="350" FontSize="14"/>
  262. <Grid Margin="780,20,0,0" Visibility="{Binding IsBoatRAxisInstalled,Converter={StaticResource bool2VisibilityConverter}}">
  263. <Grid.RowDefinitions>
  264. <RowDefinition Height="24"/>
  265. <RowDefinition Height="35"/>
  266. <RowDefinition Height="35"/>
  267. <RowDefinition Height="35"/>
  268. <RowDefinition Height="35"/>
  269. <RowDefinition Height="35"/>
  270. <RowDefinition Height="35"/>
  271. <RowDefinition Height="115"/>
  272. </Grid.RowDefinitions>
  273. <Grid.ColumnDefinitions>
  274. <ColumnDefinition Width="100"/>
  275. <ColumnDefinition Width="90"/>
  276. <ColumnDefinition Width="110"/>
  277. <ColumnDefinition Width="180"/>
  278. </Grid.ColumnDefinitions>
  279. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  280. <Label.Content>
  281. <TextBlock Text="Boat R Axis Information" Foreground="White"></TextBlock>
  282. </Label.Content>
  283. </Label>
  284. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="0" Padding="5,1,0,1">
  285. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  286. </Border>
  287. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="1" Padding="5,1">
  288. <TextBlock Text="{Binding BoatRAxisStatus}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  289. </Border>
  290. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="2" Padding="5,1,0,1">
  291. <TextBlock Text="Rotating" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  292. </Border>
  293. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="3" Padding="5,1">
  294. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsMoving}" EnableToolTip="False"/>
  295. </Border>
  296. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Grid.Column="0" Padding="5,1,0,1">
  297. <TextBlock Text="Error Code" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  298. </Border>
  299. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column ="1" Padding="5,1">
  300. <TextBlock Text="{Binding BoatRAxisErrorCode,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  301. </Border>
  302. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Grid.Column="2" Padding="5,1,0,1">
  303. <TextBlock Text="Motor Warning" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  304. </Border>
  305. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column ="3" Padding="5,1">
  306. <deviceControl:AITSensor CustomColorOn="Red" IsCustomRender="True" CustomColorOff="#FF07FF07" LightOnValue="{Binding BoatRAxisIsWarning}" EnableToolTip="False"/>
  307. </Border>
  308. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Grid.Column="0" Padding="5,1,0,1">
  309. <TextBlock Text="Current Speed(rpm)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  310. </Border>
  311. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column ="1" Padding="5,1">
  312. <TextBlock Text="{Binding BoatRAxisCurrentSpeed,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  313. </Border>
  314. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Grid.Column="2" Padding="5,1,0,1">
  315. <TextBlock Text="Motor Alarm" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  316. </Border>
  317. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column ="3" Padding="5,1">
  318. <deviceControl:AITSensor CustomColorOn="Red" IsCustomRender="True" CustomColorOff="#FF07FF07" LightOnValue="{Binding BoatRAxisIsAlarm}" EnableToolTip="False"/>
  319. </Border>
  320. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.Column="0" Padding="5,1,0,1">
  321. <TextBlock Text="Home Done" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  322. </Border>
  323. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column ="1" Padding="5,1">
  324. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsHomeDone}" EnableToolTip="False"/>
  325. </Border>
  326. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Grid.Column="2" Padding="5,1,0,1">
  327. <TextBlock Text="Homing" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  328. </Border>
  329. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column ="3" Padding="5,1">
  330. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsHoming}" EnableToolTip="False"/>
  331. </Border>
  332. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Grid.Column="0" Padding="5,1,0,1">
  333. <TextBlock Text="Origin Done" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  334. </Border>
  335. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1">
  336. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsInitDone}" EnableToolTip="False"/>
  337. </Border>
  338. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Grid.Column ="2" Padding="5,1">
  339. <TextBlock Text="Origin" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  340. </Border>
  341. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="3">
  342. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsInitializing}" EnableToolTip="False"/>
  343. </Border>
  344. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Grid.Column="0" Padding="5,1,0,1">
  345. <TextBlock Text="Rotation Direction" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  346. </Border>
  347. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column ="1" Padding="5,1">
  348. <TextBlock Text="{Binding BoatRAxisDirection,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  349. </Border>
  350. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="2" Padding="5,1,0,1">
  351. <StackPanel Orientation="Horizontal" >
  352. <Button Content="CW" Width="80" Height="30" Margin="40,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  353. <i:Interaction.Triggers>
  354. <i:EventTrigger EventName="Click">
  355. <cal:ActionMessage MethodName="RAxisMoveTo">
  356. <cal:Parameter Value="CW" />
  357. </cal:ActionMessage>
  358. </i:EventTrigger>
  359. </i:Interaction.Triggers>
  360. </Button>
  361. <Button Content="CCW" Width="80" Height="30" Margin="30,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  362. <i:Interaction.Triggers>
  363. <i:EventTrigger EventName="Click">
  364. <cal:ActionMessage MethodName="RAxisMoveTo">
  365. <cal:Parameter Value="CCW" />
  366. </cal:ActionMessage>
  367. </i:EventTrigger>
  368. </i:Interaction.Triggers>
  369. </Button>
  370. </StackPanel>
  371. </Border>
  372. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.ColumnSpan="4" Padding="80,0,0,0">
  373. <StackPanel Orientation="Horizontal" >
  374. <Button Content="Home" Width="92" Height="30" Margin="22,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  375. <i:Interaction.Triggers>
  376. <i:EventTrigger EventName="Click">
  377. <cal:ActionMessage MethodName="Home">
  378. <cal:Parameter Value="PM1.BoatRotationServo" />
  379. </cal:ActionMessage>
  380. </i:EventTrigger>
  381. </i:Interaction.Triggers>
  382. </Button>
  383. <Button Content="Stop" Width="92" Height="30" Margin="5,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  384. <i:Interaction.Triggers>
  385. <i:EventTrigger EventName="Click">
  386. <cal:ActionMessage MethodName="Stop">
  387. <cal:Parameter Value="PM1.BoatRotationServo" />
  388. </cal:ActionMessage>
  389. </i:EventTrigger>
  390. </i:Interaction.Triggers>
  391. </Button>
  392. <Button Content="Reset" Width="92" Height="30" Margin="5,-70,0,0" IsEnabled="{Binding IsSystemStaus}">
  393. <i:Interaction.Triggers>
  394. <i:EventTrigger EventName="Click">
  395. <cal:ActionMessage MethodName="Reset">
  396. <cal:Parameter Value="PM1.BoatRotationServo" />
  397. </cal:ActionMessage>
  398. </i:EventTrigger>
  399. </i:Interaction.Triggers>
  400. </Button>
  401. <Button Content="CW Test" Width="92" Height="30" Margin="-520,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  402. <i:Interaction.Triggers>
  403. <i:EventTrigger EventName="Click">
  404. <cal:ActionMessage MethodName="BoatRotationServoTest">
  405. <cal:Parameter Value="CW" />
  406. </cal:ActionMessage>
  407. </i:EventTrigger>
  408. </i:Interaction.Triggers>
  409. </Button>
  410. <Button Content="CCW Test" Width="92" Height="30" Margin="-305,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  411. <i:Interaction.Triggers>
  412. <i:EventTrigger EventName="Click">
  413. <cal:ActionMessage MethodName="BoatRotationServoTest">
  414. <cal:Parameter Value="CCW" />
  415. </cal:ActionMessage>
  416. </i:EventTrigger>
  417. </i:Interaction.Triggers>
  418. </Button>
  419. <Button Content="Stop Test" Width="92" Height="30" Margin="-92,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  420. <i:Interaction.Triggers>
  421. <i:EventTrigger EventName="Click">
  422. <cal:ActionMessage MethodName="BoatRotationServoStopTest">
  423. </cal:ActionMessage>
  424. </i:EventTrigger>
  425. </i:Interaction.Triggers>
  426. </Button>
  427. </StackPanel>
  428. </Border>
  429. </Grid>
  430. <Grid Margin="780,430,0,0" Visibility="{Binding IsBoatRAxisInstalled,Converter={StaticResource bool2VisibilityConverter}}">
  431. <Grid.RowDefinitions>
  432. <RowDefinition Height="24"/>
  433. <RowDefinition Height="35"/>
  434. </Grid.RowDefinitions>
  435. <Grid.ColumnDefinitions>
  436. <ColumnDefinition Width="160"/>
  437. <ColumnDefinition Width="100"/>
  438. <ColumnDefinition Width="100"/>
  439. <ColumnDefinition Width="120"/>
  440. </Grid.ColumnDefinitions>
  441. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  442. <Label.Content>
  443. <TextBlock Text="Shutter Information" Foreground="White"></TextBlock>
  444. </Label.Content>
  445. </Label>
  446. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Grid.Column="0" Padding="5,1,0,1">
  447. <TextBlock Text="Open/Close Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  448. </Border>
  449. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  450. <TextBlock Text="{Binding AutoDoorOpenCloseStatus}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  451. </Border>
  452. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="2" Grid.ColumnSpan="2" Padding="5,1">
  453. <StackPanel Orientation="Horizontal" >
  454. <Button Content="Open" Width="80" Height="25" Margin="10,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  455. <i:Interaction.Triggers>
  456. <i:EventTrigger EventName="Click">
  457. <cal:ActionMessage MethodName="SetOpen">
  458. <cal:Parameter Value="PM1.SetAutoShutterOpen" />
  459. <cal:Parameter Value="True"/>
  460. </cal:ActionMessage>
  461. </i:EventTrigger>
  462. </i:Interaction.Triggers>
  463. </Button>
  464. <Button Content="Close" Width="80" Height="25" Margin="10,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  465. <i:Interaction.Triggers>
  466. <i:EventTrigger EventName="Click">
  467. <cal:ActionMessage MethodName="SetOpen">
  468. <cal:Parameter Value="PM1.SetAutoShutterOpen" />
  469. <cal:Parameter Value="False"/>
  470. </cal:ActionMessage>
  471. </i:EventTrigger>
  472. </i:Interaction.Triggers>
  473. </Button>
  474. </StackPanel>
  475. </Border>
  476. </Grid>
  477. <Grid Margin="780,515,0,0">
  478. <Grid.RowDefinitions>
  479. <RowDefinition Height="24"/>
  480. <RowDefinition Height="100"/>
  481. </Grid.RowDefinitions>
  482. <Grid.ColumnDefinitions>
  483. <ColumnDefinition Width="480"/>
  484. </Grid.ColumnDefinitions>
  485. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  486. <Label.Content>
  487. <TextBlock Text="Boat Cycle Test" Foreground="White"></TextBlock>
  488. </Label.Content>
  489. </Label>
  490. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="0" Padding="0,0,0,0">
  491. <StackPanel Orientation="Vertical" Margin="0,0,0,0" >
  492. <StackPanel Orientation="Horizontal" Height="35" Margin="0,10,0,0">
  493. <Label Content="From: "></Label>
  494. <ComboBox Margin="0,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestStartPosition}" />
  495. <Label Content="To: "></Label>
  496. <ComboBox Margin="3,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestEndPosition}" />
  497. <ComboBox Margin="3,0,3,0" Height="25" Width="120" ItemsSource="{Binding RPositions}" SelectedItem="{Binding RAxisTestDirection}" />
  498. </StackPanel>
  499. <StackPanel Orientation="Horizontal" Height="50" Margin="0,0,0,0">
  500. <TextBlock Text="{Binding BoatCycleDisplay}" Width="180" VerticalAlignment="Center"></TextBlock>
  501. <Button Content="Move Test Start" Width="120" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  502. <i:Interaction.Triggers>
  503. <i:EventTrigger EventName="Click">
  504. <cal:ActionMessage MethodName="BoatTestStart"/>
  505. </i:EventTrigger>
  506. </i:Interaction.Triggers>
  507. </Button>
  508. <Button Content="Move Test Stop" Width="120" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  509. <i:Interaction.Triggers>
  510. <i:EventTrigger EventName="Click">
  511. <cal:ActionMessage MethodName="BoatTestStop"/>
  512. </i:EventTrigger>
  513. </i:Interaction.Triggers>
  514. </Button>
  515. </StackPanel>
  516. </StackPanel>
  517. </Border>
  518. </Grid>
  519. <Grid Margin="780,655,0,0">
  520. <Grid.RowDefinitions>
  521. <RowDefinition Height="24"/>
  522. <RowDefinition Height="50"/>
  523. </Grid.RowDefinitions>
  524. <Grid.ColumnDefinitions>
  525. <ColumnDefinition Width="480"/>
  526. </Grid.ColumnDefinitions>
  527. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  528. <Label.Content>
  529. <TextBlock Text="Shutter Cycle Test" Foreground="White"></TextBlock>
  530. </Label.Content>
  531. </Label>
  532. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="0" Padding="0,0,0,0">
  533. <StackPanel Orientation="Vertical" Margin="0,0,0,0" >
  534. <StackPanel Orientation="Horizontal" Height="40" Margin="0,0,0,0">
  535. <TextBlock Text="{Binding ShutterCycleDisplay}" Width="140" VerticalAlignment="Center"></TextBlock>
  536. <Button Content="Shutter Test Start" Width="140" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  537. <i:Interaction.Triggers>
  538. <i:EventTrigger EventName="Click">
  539. <cal:ActionMessage MethodName="ShutterTestStart"/>
  540. </i:EventTrigger>
  541. </i:Interaction.Triggers>
  542. </Button>
  543. <Button Content="Shutter Test Stop" Width="140" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  544. <i:Interaction.Triggers>
  545. <i:EventTrigger EventName="Click">
  546. <cal:ActionMessage MethodName="ShutterTestStop"/>
  547. </i:EventTrigger>
  548. </i:Interaction.Triggers>
  549. </Button>
  550. </StackPanel>
  551. </StackPanel>
  552. </Border>
  553. </Grid>
  554. </Canvas>
  555. </Grid>
  556. </UserControl>