BoatRobotView.xaml 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  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="0,0,0,0" >
  214. <Button Content="Continue" Width="92" Height="30" Margin="30,-70,0,0" IsEnabled="{Binding IsProcessing}">
  215. <i:Interaction.Triggers>
  216. <i:EventTrigger EventName="Click">
  217. <cal:ActionMessage MethodName="Continue">
  218. <cal:Parameter Value="PM1.BoatElevatorServo" />
  219. </cal:ActionMessage>
  220. </i:EventTrigger>
  221. </i:Interaction.Triggers>
  222. </Button>
  223. <Button Content="Stop" Width="92" Height="30" Margin="22,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  224. <i:Interaction.Triggers>
  225. <i:EventTrigger EventName="Click">
  226. <cal:ActionMessage MethodName="Stop">
  227. <cal:Parameter Value="PM1.BoatElevatorServo" />
  228. </cal:ActionMessage>
  229. </i:EventTrigger>
  230. </i:Interaction.Triggers>
  231. </Button>
  232. <Button Content="Reset" Width="92" Height="30" Margin="5,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  233. <i:Interaction.Triggers>
  234. <i:EventTrigger EventName="Click">
  235. <cal:ActionMessage MethodName="Reset">
  236. <cal:Parameter Value="PM1.BoatElevatorServo" />
  237. </cal:ActionMessage>
  238. </i:EventTrigger>
  239. </i:Interaction.Triggers>
  240. </Button>
  241. <Button Content="Home" Width="92" Height="30" Margin="5,-70,0,0" IsEnabled="{Binding IsSystemStaus}">
  242. <i:Interaction.Triggers>
  243. <i:EventTrigger EventName="Click">
  244. <cal:ActionMessage MethodName="Home">
  245. <cal:Parameter Value="PM1.BoatElevatorServo" />
  246. </cal:ActionMessage>
  247. </i:EventTrigger>
  248. </i:Interaction.Triggers>
  249. </Button>
  250. <StackPanel Orientation="Horizontal" Height="34" Margin="-405,80,0,0">
  251. <Label Content="From: "></Label>
  252. <ComboBox x:Name="cbModulesCassetteRobot" Margin="0,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestStartPosition}" />
  253. <Label Content="To: "></Label>
  254. <ComboBox x:Name="cbSlotsCassetteRobot" Margin="3,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestEndPosition}" />
  255. <Button Content="Move Test" Width="100" Height="30" Margin="3,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  256. <i:Interaction.Triggers>
  257. <i:EventTrigger EventName="Click">
  258. <cal:ActionMessage MethodName="BoatZServoTest"/>
  259. </i:EventTrigger>
  260. </i:Interaction.Triggers>
  261. </Button>
  262. </StackPanel>
  263. </StackPanel>
  264. </Border>
  265. </Grid>
  266. <Image Source="/FurnaceUI;component/Resources/Images/Controls3/01.png" Canvas.Left="573" Canvas.Top="10"/>
  267. <parts:BoatElevatorRobot RobotTarget="{Binding BoatPosition}" BoatStatus="{Binding BoatStatus}" StationPosition="{Binding StationPosition3}" Canvas.Left="630" Canvas.Top="373" Visibility="{Binding IsShowBoatElevatorRobot, Converter={StaticResource bool2VisibilityConverter}}"/>
  268. <TextBlock Text="Position 3 ----->" Canvas.Left="505" Canvas.Top="655" FontSize="14"/>
  269. <TextBlock Text="Position 2 -------->" Canvas.Left="505" Canvas.Top="500" FontSize="14"/>
  270. <TextBlock Text="Position 1 -------->" Canvas.Left="505" Canvas.Top="350" FontSize="14"/>
  271. <Grid Margin="780,20,0,0" Visibility="{Binding IsBoatRAxisInstalled,Converter={StaticResource bool2VisibilityConverter}}">
  272. <Grid.RowDefinitions>
  273. <RowDefinition Height="24"/>
  274. <RowDefinition Height="35"/>
  275. <RowDefinition Height="35"/>
  276. <RowDefinition Height="35"/>
  277. <RowDefinition Height="35"/>
  278. <RowDefinition Height="35"/>
  279. <RowDefinition Height="35"/>
  280. <RowDefinition Height="115"/>
  281. </Grid.RowDefinitions>
  282. <Grid.ColumnDefinitions>
  283. <ColumnDefinition Width="100"/>
  284. <ColumnDefinition Width="90"/>
  285. <ColumnDefinition Width="110"/>
  286. <ColumnDefinition Width="180"/>
  287. </Grid.ColumnDefinitions>
  288. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  289. <Label.Content>
  290. <TextBlock Text="Boat R Axis Information" Foreground="White"></TextBlock>
  291. </Label.Content>
  292. </Label>
  293. <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">
  294. <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  295. </Border>
  296. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="1" Padding="5,1">
  297. <TextBlock Text="{Binding BoatRAxisStatus}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  298. </Border>
  299. <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">
  300. <TextBlock Text="Rotating" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  301. </Border>
  302. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column ="3" Padding="5,1">
  303. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsMoving}" EnableToolTip="False"/>
  304. </Border>
  305. <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">
  306. <TextBlock Text="Error Code" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  307. </Border>
  308. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column ="1" Padding="5,1">
  309. <TextBlock Text="{Binding BoatRAxisErrorCode,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  310. </Border>
  311. <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">
  312. <TextBlock Text="Motor Warning" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  313. </Border>
  314. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column ="3" Padding="5,1">
  315. <deviceControl:AITSensor CustomColorOn="Red" IsCustomRender="True" CustomColorOff="#FF07FF07" LightOnValue="{Binding BoatRAxisIsWarning}" EnableToolTip="False"/>
  316. </Border>
  317. <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">
  318. <TextBlock Text="Current Speed(rpm)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  319. </Border>
  320. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column ="1" Padding="5,1">
  321. <TextBlock Text="{Binding BoatRAxisCurrentSpeed,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  322. </Border>
  323. <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">
  324. <TextBlock Text="Motor Alarm" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  325. </Border>
  326. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column ="3" Padding="5,1">
  327. <deviceControl:AITSensor CustomColorOn="Red" IsCustomRender="True" CustomColorOff="#FF07FF07" LightOnValue="{Binding BoatRAxisIsAlarm}" EnableToolTip="False"/>
  328. </Border>
  329. <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">
  330. <TextBlock Text="Home Done" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  331. </Border>
  332. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column ="1" Padding="5,1">
  333. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsHomeDone}" EnableToolTip="False"/>
  334. </Border>
  335. <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">
  336. <TextBlock Text="Homing" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  337. </Border>
  338. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column ="3" Padding="5,1">
  339. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsHoming}" EnableToolTip="False"/>
  340. </Border>
  341. <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">
  342. <TextBlock Text="Origin Done" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  343. </Border>
  344. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1">
  345. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsInitDone}" EnableToolTip="False"/>
  346. </Border>
  347. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Grid.Column ="2" Padding="5,1">
  348. <TextBlock Text="Origin" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  349. </Border>
  350. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="3">
  351. <deviceControl:AITSensor CustomColorOn="#FF07FF07" IsCustomRender="True" CustomColorOff="Gray" LightOnValue="{Binding BoatRAxisIsInitializing}" EnableToolTip="False"/>
  352. </Border>
  353. <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">
  354. <TextBlock Text="Rotation Direction" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" VerticalAlignment="Center" />
  355. </Border>
  356. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column ="1" Padding="5,1">
  357. <TextBlock Text="{Binding BoatRAxisDirection,StringFormat={}{0:f2}}" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14"/>
  358. </Border>
  359. <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">
  360. <StackPanel Orientation="Horizontal" >
  361. <Button Content="CW" Width="80" Height="30" Margin="40,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  362. <i:Interaction.Triggers>
  363. <i:EventTrigger EventName="Click">
  364. <cal:ActionMessage MethodName="RAxisMoveTo">
  365. <cal:Parameter Value="CW" />
  366. </cal:ActionMessage>
  367. </i:EventTrigger>
  368. </i:Interaction.Triggers>
  369. </Button>
  370. <Button Content="CCW" Width="80" Height="30" Margin="30,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  371. <i:Interaction.Triggers>
  372. <i:EventTrigger EventName="Click">
  373. <cal:ActionMessage MethodName="RAxisMoveTo">
  374. <cal:Parameter Value="CCW" />
  375. </cal:ActionMessage>
  376. </i:EventTrigger>
  377. </i:Interaction.Triggers>
  378. </Button>
  379. </StackPanel>
  380. </Border>
  381. <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">
  382. <StackPanel Orientation="Horizontal" >
  383. <Button Content="Home" Width="92" Height="30" Margin="22,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  384. <i:Interaction.Triggers>
  385. <i:EventTrigger EventName="Click">
  386. <cal:ActionMessage MethodName="Home">
  387. <cal:Parameter Value="PM1.BoatRotationServo" />
  388. </cal:ActionMessage>
  389. </i:EventTrigger>
  390. </i:Interaction.Triggers>
  391. </Button>
  392. <Button Content="Stop" Width="92" Height="30" Margin="5,-70,10,0" IsEnabled="{Binding IsSystemStaus}">
  393. <i:Interaction.Triggers>
  394. <i:EventTrigger EventName="Click">
  395. <cal:ActionMessage MethodName="Stop">
  396. <cal:Parameter Value="PM1.BoatRotationServo" />
  397. </cal:ActionMessage>
  398. </i:EventTrigger>
  399. </i:Interaction.Triggers>
  400. </Button>
  401. <Button Content="Reset" Width="92" Height="30" Margin="5,-70,0,0" IsEnabled="{Binding IsSystemStaus}">
  402. <i:Interaction.Triggers>
  403. <i:EventTrigger EventName="Click">
  404. <cal:ActionMessage MethodName="Reset">
  405. <cal:Parameter Value="PM1.BoatRotationServo" />
  406. </cal:ActionMessage>
  407. </i:EventTrigger>
  408. </i:Interaction.Triggers>
  409. </Button>
  410. <Button Content="CW Test" Width="92" Height="30" Margin="-520,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  411. <i:Interaction.Triggers>
  412. <i:EventTrigger EventName="Click">
  413. <cal:ActionMessage MethodName="BoatRotationServoTest">
  414. <cal:Parameter Value="CW" />
  415. </cal:ActionMessage>
  416. </i:EventTrigger>
  417. </i:Interaction.Triggers>
  418. </Button>
  419. <Button Content="CCW Test" Width="92" Height="30" Margin="-305,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  420. <i:Interaction.Triggers>
  421. <i:EventTrigger EventName="Click">
  422. <cal:ActionMessage MethodName="BoatRotationServoTest">
  423. <cal:Parameter Value="CCW" />
  424. </cal:ActionMessage>
  425. </i:EventTrigger>
  426. </i:Interaction.Triggers>
  427. </Button>
  428. <Button Content="Stop Test" Width="92" Height="30" Margin="-92,0,0,0" IsEnabled="{Binding IsSystemStaus}">
  429. <i:Interaction.Triggers>
  430. <i:EventTrigger EventName="Click">
  431. <cal:ActionMessage MethodName="BoatRotationServoStopTest">
  432. </cal:ActionMessage>
  433. </i:EventTrigger>
  434. </i:Interaction.Triggers>
  435. </Button>
  436. </StackPanel>
  437. </Border>
  438. </Grid>
  439. <Grid Margin="780,430,0,0" Visibility="{Binding IsBoatRAxisInstalled,Converter={StaticResource bool2VisibilityConverter}}">
  440. <Grid.RowDefinitions>
  441. <RowDefinition Height="24"/>
  442. <RowDefinition Height="35"/>
  443. </Grid.RowDefinitions>
  444. <Grid.ColumnDefinitions>
  445. <ColumnDefinition Width="160"/>
  446. <ColumnDefinition Width="100"/>
  447. <ColumnDefinition Width="100"/>
  448. <ColumnDefinition Width="120"/>
  449. </Grid.ColumnDefinitions>
  450. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  451. <Label.Content>
  452. <TextBlock Text="Shutter Information" Foreground="White"></TextBlock>
  453. </Label.Content>
  454. </Label>
  455. <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">
  456. <TextBlock Text="Open/Close Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" />
  457. </Border>
  458. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,0,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  459. <TextBlock Text="{Binding AutoDoorOpenCloseStatus}" TextAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  460. </Border>
  461. <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">
  462. <StackPanel Orientation="Horizontal" >
  463. <Button Content="Open" Width="80" Height="25" Margin="10,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  464. <i:Interaction.Triggers>
  465. <i:EventTrigger EventName="Click">
  466. <cal:ActionMessage MethodName="SetOpen">
  467. <cal:Parameter Value="PM1.SetAutoShutterOpen" />
  468. <cal:Parameter Value="True"/>
  469. </cal:ActionMessage>
  470. </i:EventTrigger>
  471. </i:Interaction.Triggers>
  472. </Button>
  473. <Button Content="Close" Width="80" Height="25" Margin="10,0,10,0" IsEnabled="{Binding IsSystemStaus}">
  474. <i:Interaction.Triggers>
  475. <i:EventTrigger EventName="Click">
  476. <cal:ActionMessage MethodName="SetOpen">
  477. <cal:Parameter Value="PM1.SetAutoShutterOpen" />
  478. <cal:Parameter Value="False"/>
  479. </cal:ActionMessage>
  480. </i:EventTrigger>
  481. </i:Interaction.Triggers>
  482. </Button>
  483. </StackPanel>
  484. </Border>
  485. </Grid>
  486. <Grid Margin="780,515,0,0">
  487. <Grid.RowDefinitions>
  488. <RowDefinition Height="24"/>
  489. <RowDefinition Height="100"/>
  490. </Grid.RowDefinitions>
  491. <Grid.ColumnDefinitions>
  492. <ColumnDefinition Width="480"/>
  493. </Grid.ColumnDefinitions>
  494. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  495. <Label.Content>
  496. <TextBlock Text="Boat Cycle Test" Foreground="White"></TextBlock>
  497. </Label.Content>
  498. </Label>
  499. <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">
  500. <StackPanel Orientation="Vertical" Margin="0,0,0,0" >
  501. <StackPanel Orientation="Horizontal" Height="35" Margin="0,10,0,0">
  502. <Label Content="From: "></Label>
  503. <ComboBox Margin="0,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestStartPosition}" />
  504. <Label Content="To: "></Label>
  505. <ComboBox Margin="3,0,3,0" Height="25" Width="120" ItemsSource="{Binding ZPositions}" SelectedItem="{Binding ZAxisTestEndPosition}" />
  506. <ComboBox Margin="3,0,3,0" Height="25" Width="120" ItemsSource="{Binding RPositions}" SelectedItem="{Binding RAxisTestDirection}" />
  507. </StackPanel>
  508. <StackPanel Orientation="Horizontal" Height="50" Margin="0,0,0,0">
  509. <TextBlock Text="{Binding BoatCycleDisplay}" Width="180" VerticalAlignment="Center"></TextBlock>
  510. <Button Content="Move Test Start" Width="120" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  511. <i:Interaction.Triggers>
  512. <i:EventTrigger EventName="Click">
  513. <cal:ActionMessage MethodName="BoatTestStart"/>
  514. </i:EventTrigger>
  515. </i:Interaction.Triggers>
  516. </Button>
  517. <Button Content="Move Test Stop" Width="120" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  518. <i:Interaction.Triggers>
  519. <i:EventTrigger EventName="Click">
  520. <cal:ActionMessage MethodName="BoatTestStop"/>
  521. </i:EventTrigger>
  522. </i:Interaction.Triggers>
  523. </Button>
  524. </StackPanel>
  525. </StackPanel>
  526. </Border>
  527. </Grid>
  528. <Grid Margin="780,655,0,0">
  529. <Grid.RowDefinitions>
  530. <RowDefinition Height="24"/>
  531. <RowDefinition Height="50"/>
  532. </Grid.RowDefinitions>
  533. <Grid.ColumnDefinitions>
  534. <ColumnDefinition Width="480"/>
  535. </Grid.ColumnDefinitions>
  536. <Label Style="{DynamicResource Table_TitleStyle}" Grid.Row="0" Grid.ColumnSpan="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  537. <Label.Content>
  538. <TextBlock Text="Shutter Cycle Test" Foreground="White"></TextBlock>
  539. </Label.Content>
  540. </Label>
  541. <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">
  542. <StackPanel Orientation="Vertical" Margin="0,0,0,0" >
  543. <StackPanel Orientation="Horizontal" Height="40" Margin="0,0,0,0">
  544. <TextBlock Text="{Binding ShutterCycleDisplay}" Width="140" VerticalAlignment="Center"></TextBlock>
  545. <Button Content="Shutter Test Start" Width="140" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  546. <i:Interaction.Triggers>
  547. <i:EventTrigger EventName="Click">
  548. <cal:ActionMessage MethodName="ShutterTestStart"/>
  549. </i:EventTrigger>
  550. </i:Interaction.Triggers>
  551. </Button>
  552. <Button Content="Shutter Test Stop" Width="140" Height="30" Margin="15,10,0,0" IsEnabled="{Binding IsSystemStaus}">
  553. <i:Interaction.Triggers>
  554. <i:EventTrigger EventName="Click">
  555. <cal:ActionMessage MethodName="ShutterTestStop"/>
  556. </i:EventTrigger>
  557. </i:Interaction.Triggers>
  558. </Button>
  559. </StackPanel>
  560. </StackPanel>
  561. </Border>
  562. </Grid>
  563. </Canvas>
  564. </Grid>
  565. </UserControl>