SystemSafetyView.xaml 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. <UserControl x:Class="CyberX8_MainPages.Views.SystemSafetyView"
  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:CyberX8_MainPages.Views"
  7. xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  8. xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  9. xmlns:prism="http://prismlibrary.com/"
  10. prism:ViewModelLocator.AutoWireViewModel="True"
  11. mc:Ignorable="d"
  12. d:DesignHeight="850" d:DesignWidth="1800">
  13. <UserControl.Resources>
  14. <converters:BoolToErrorColor x:Key="boolToErrorColor"></converters:BoolToErrorColor>
  15. <converters:BoolToYellowColor x:Key="boolToYellowColor"></converters:BoolToYellowColor>
  16. <converters:BoolToYellowColor2 x:Key="boolToYellowColor2"></converters:BoolToYellowColor2>
  17. <converters:BoolToRedColor x:Key="boolToRedColor"></converters:BoolToRedColor>
  18. <converters:boolToRedColor2 x:Key="boolToRedColor2"></converters:boolToRedColor2>
  19. <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"></converters:BoolToGreenRedColor>
  20. <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"></converters:BoolToRedGreenColor>
  21. <converters:BoolToColor x:Key="boolToColor"></converters:BoolToColor>
  22. <converters:BoolToColor4 x:Key="boolToColor4"></converters:BoolToColor4>
  23. <converters:BoolToColor6 x:Key="boolToColor6"></converters:BoolToColor6>
  24. <converters:BoolToColor7 x:Key="boolToColor7"></converters:BoolToColor7>
  25. <converters:BoolToBool x:Key="boolReverse"></converters:BoolToBool>
  26. </UserControl.Resources>
  27. <Grid>
  28. <Grid.ColumnDefinitions>
  29. <ColumnDefinition Width="380"></ColumnDefinition>
  30. <ColumnDefinition Width="660"></ColumnDefinition>
  31. <ColumnDefinition Width="380"></ColumnDefinition>
  32. <ColumnDefinition Width="380"></ColumnDefinition>
  33. <ColumnDefinition/>
  34. </Grid.ColumnDefinitions>
  35. <Grid Grid.Column="0">
  36. <Grid.RowDefinitions>
  37. <RowDefinition Height="200"></RowDefinition>
  38. <RowDefinition Height="650"></RowDefinition>
  39. </Grid.RowDefinitions>
  40. <!--<GroupBox Grid.Row="0" Header="Scheduler/Job Status" VerticalAlignment="Top" Margin="5,0,5,0" Height="180">
  41. <Grid>
  42. <Grid.RowDefinitions>
  43. <RowDefinition Height="30"></RowDefinition>
  44. <RowDefinition Height="30"></RowDefinition>
  45. <RowDefinition Height="30"></RowDefinition>
  46. <RowDefinition Height="30"></RowDefinition>
  47. </Grid.RowDefinitions>
  48. <Grid.ColumnDefinitions>
  49. <ColumnDefinition Width="130"></ColumnDefinition>
  50. <ColumnDefinition Width="110"></ColumnDefinition>
  51. <ColumnDefinition Width="110"></ColumnDefinition>
  52. </Grid.ColumnDefinitions>
  53. <Label Grid.Row="0" Grid.Column="0" Content="Scheduler Mode" VerticalAlignment="Center" FontWeight="Bold"/>
  54. <Label Grid.Row="2" Grid.Column="0" Content="Processing State" VerticalAlignment="Center" FontWeight="Bold"/>
  55. <TextBox Name="SchedulerMode" Grid.Row="1" Grid.Column="0" Width="80" Height="30" HorizontalContentAlignment="Left" VerticalContentAlignment="Center"/>
  56. <TextBox Name="ProcessingState" Grid.Row="3" Grid.Column="0" Width="80" Height="30" HorizontalContentAlignment="Left" VerticalContentAlignment="Center"/>
  57. <Button Grid.Row="1" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Pause" Width="75" Height="30" HorizontalAlignment="Center" Command="{Binding PauseCommand}"></Button>
  58. <Button Grid.Row="1" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Resume" Width="75" Height="30" HorizontalAlignment="Center" Command="{Binding ResumeCommand}"></Button>
  59. </Grid>
  60. </GroupBox>-->
  61. <GroupBox Grid.Row="0" Grid.RowSpan="2" Header="Safety I/O" VerticalAlignment="Top" Margin="5,0,5,0">
  62. <Grid>
  63. <Grid.RowDefinitions>
  64. <RowDefinition Height="80"></RowDefinition>
  65. <RowDefinition Height="40"></RowDefinition>
  66. <RowDefinition Height="40"></RowDefinition>
  67. <RowDefinition Height="40"></RowDefinition>
  68. <RowDefinition Height="400"></RowDefinition>
  69. </Grid.RowDefinitions>
  70. <Grid.ColumnDefinitions>
  71. <ColumnDefinition Width="200"></ColumnDefinition>
  72. <ColumnDefinition Width="100"></ColumnDefinition>
  73. <ColumnDefinition Width="50"></ColumnDefinition>
  74. </Grid.ColumnDefinitions>
  75. <Button Grid.Row="0" Grid.Column="0" Style="{StaticResource SysBtnStyle}" Content="Reset" Width="75" Height="30" HorizontalAlignment="Left" Command="{Binding ResetCommand}" Margin="10,0,0,0"></Button>
  76. <Grid Grid.Row="0" Grid.Column="1">
  77. <Grid.ColumnDefinitions>
  78. <ColumnDefinition Width="25"></ColumnDefinition>
  79. <ColumnDefinition Width="25"></ColumnDefinition>
  80. <ColumnDefinition Width="25"></ColumnDefinition>
  81. <ColumnDefinition Width="25"></ColumnDefinition>
  82. </Grid.ColumnDefinitions>
  83. <Label Grid.Column="0">
  84. <TextBlock Text="Main" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,40,0,0">
  85. <TextBlock.LayoutTransform>
  86. <RotateTransform Angle="-90"/>
  87. </TextBlock.LayoutTransform>
  88. </TextBlock>
  89. </Label>
  90. <Label Grid.Column="1">
  91. <TextBlock Text="Ldr/puf" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,25,0,0">
  92. <TextBlock.LayoutTransform>
  93. <RotateTransform Angle="-90"/>
  94. </TextBlock.LayoutTransform>
  95. </TextBlock>
  96. </Label>
  97. <Label Grid.Column="2">
  98. <TextBlock Text="SRD" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,45,0,0">
  99. <TextBlock.LayoutTransform>
  100. <RotateTransform Angle="-90"/>
  101. </TextBlock.LayoutTransform>
  102. </TextBlock>
  103. </Label>
  104. <Label Grid.Column="3">
  105. <TextBlock Text="Transp" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,30,0,0">
  106. <TextBlock.LayoutTransform>
  107. <RotateTransform Angle="-90"/>
  108. </TextBlock.LayoutTransform>
  109. </TextBlock>
  110. </Label>
  111. </Grid>
  112. <Label Grid.Row="1" Grid.Column="0" Content="Communication Status" VerticalAlignment="Center" FontWeight="Bold"/>
  113. <Label Grid.Row="2" Grid.Column="0" Content="Function Block Status" VerticalAlignment="Center" FontWeight="Bold"/>
  114. <Label Grid.Row="3" Grid.Column="0" Content="TwinCAT State" VerticalAlignment="Center" FontWeight="Bold"/>
  115. <Grid Grid.Row="1" Grid.Column="1">
  116. <Grid.ColumnDefinitions>
  117. <ColumnDefinition Width="25"></ColumnDefinition>
  118. <ColumnDefinition Width="25"></ColumnDefinition>
  119. <ColumnDefinition Width="25"></ColumnDefinition>
  120. <ColumnDefinition Width="25"></ColumnDefinition>
  121. </Grid.ColumnDefinitions>
  122. <Ellipse Grid.Column="0" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.MainCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  123. <Ellipse Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderPufCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  124. <Ellipse Grid.Column="2" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  125. <Ellipse Grid.Column="3" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransportCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  126. </Grid>
  127. <Grid Grid.Row="2" Grid.Column="1">
  128. <Grid.ColumnDefinitions>
  129. <ColumnDefinition Width="25"></ColumnDefinition>
  130. <ColumnDefinition Width="25"></ColumnDefinition>
  131. <ColumnDefinition Width="25"></ColumnDefinition>
  132. <ColumnDefinition Width="25"></ColumnDefinition>
  133. </Grid.ColumnDefinitions>
  134. <Ellipse Grid.Column="0" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.MainFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  135. <Ellipse Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderPufFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  136. <Ellipse Grid.Column="2" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  137. <Ellipse Grid.Column="3" Margin="4,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterFunctionBlockErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  138. </Grid>
  139. <TextBox Name="TwinCATState" Grid.Row="3" Grid.Column="1" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.TwincatState}"/>
  140. <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  141. <Ellipse.Style>
  142. <Style TargetType="Ellipse">
  143. <Setter Property="Fill" Value="red"/>
  144. <Style.Triggers>
  145. <DataTrigger Binding="{Binding CommonSafetyData.TwincatState}" Value="8">
  146. <Setter Property="Fill" Value="lime" />
  147. </DataTrigger>
  148. </Style.Triggers>
  149. </Style>
  150. </Ellipse.Style>
  151. </Ellipse>
  152. <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" >
  153. <GroupBox Header="Hot Connect Groups" Margin="10,10,20,20">
  154. <Grid>
  155. <Grid.RowDefinitions>
  156. <RowDefinition Height="30"></RowDefinition>
  157. <RowDefinition Height="30"></RowDefinition>
  158. <RowDefinition Height="30"></RowDefinition>
  159. <RowDefinition Height="30"></RowDefinition>
  160. <RowDefinition Height="30"></RowDefinition>
  161. <RowDefinition Height="30"></RowDefinition>
  162. <RowDefinition Height="30"></RowDefinition>
  163. <RowDefinition Height="30"></RowDefinition>
  164. <RowDefinition Height="30"></RowDefinition>
  165. </Grid.RowDefinitions>
  166. <Grid.ColumnDefinitions>
  167. <ColumnDefinition Width="200"></ColumnDefinition>
  168. <ColumnDefinition Width="100"></ColumnDefinition>
  169. </Grid.ColumnDefinitions>
  170. <Label Grid.Row="0" Grid.Column="0" Content="Transporter" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  171. <Label Grid.Row="1" Grid.Column="0" Content="Loader TX I/O" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  172. <Label Grid.Row="2" Grid.Column="0" Content="Process TX I/O" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  173. <Label Grid.Row="3" Grid.Column="0" Content="Loader" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  174. <Label Grid.Row="4" Grid.Column="0" Content="PUF" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  175. <Label Grid.Row="5" Grid.Column="0" Content="SRD" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  176. <Label Grid.Row="6" Grid.Column="0" Content="Reservoir 1" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  177. <Label Grid.Row="7" Grid.Column="0" Content="Reservoir 2" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  178. <Ellipse Grid.Row="0" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  179. <Ellipse.Style>
  180. <Style TargetType="Ellipse">
  181. <Setter Property="Fill" Value="red"/>
  182. <Style.Triggers>
  183. <DataTrigger Binding="{Binding CommonSafetyData.TransporterHotConnectState}" Value="8">
  184. <Setter Property="Fill" Value="lime" />
  185. </DataTrigger>
  186. </Style.Triggers>
  187. </Style>
  188. </Ellipse.Style>
  189. </Ellipse>
  190. <Ellipse Grid.Row="1" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  191. <Ellipse.Style>
  192. <Style TargetType="Ellipse">
  193. <Setter Property="Fill" Value="red"/>
  194. <Style.Triggers>
  195. <DataTrigger Binding="{Binding CommonSafetyData.LdrHotConnectState}" Value="8">
  196. <Setter Property="Fill" Value="lime" />
  197. </DataTrigger>
  198. </Style.Triggers>
  199. </Style>
  200. </Ellipse.Style>
  201. </Ellipse>
  202. <Ellipse Grid.Row="2" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  203. <Ellipse.Style>
  204. <Style TargetType="Ellipse">
  205. <Setter Property="Fill" Value="red"/>
  206. <Style.Triggers>
  207. <DataTrigger Binding="{Binding CommonSafetyData.PrcHotConnectState}" Value="8">
  208. <Setter Property="Fill" Value="lime" />
  209. </DataTrigger>
  210. </Style.Triggers>
  211. </Style>
  212. </Ellipse.Style>
  213. </Ellipse>
  214. <Ellipse Grid.Row="3" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  215. <Ellipse.Style>
  216. <Style TargetType="Ellipse">
  217. <Setter Property="Fill" Value="red"/>
  218. <Style.Triggers>
  219. <DataTrigger Binding="{Binding CommonSafetyData.LoaderHotConnectState}" Value="8">
  220. <Setter Property="Fill" Value="lime" />
  221. </DataTrigger>
  222. </Style.Triggers>
  223. </Style>
  224. </Ellipse.Style>
  225. </Ellipse>
  226. <Ellipse Grid.Row="4" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  227. <Ellipse.Style>
  228. <Style TargetType="Ellipse">
  229. <Setter Property="Fill" Value="red"/>
  230. <Style.Triggers>
  231. <DataTrigger Binding="{Binding CommonSafetyData.PufHotConnectState}" Value="8">
  232. <Setter Property="Fill" Value="lime" />
  233. </DataTrigger>
  234. </Style.Triggers>
  235. </Style>
  236. </Ellipse.Style>
  237. </Ellipse>
  238. <Ellipse Grid.Row="5" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  239. <Ellipse.Style>
  240. <Style TargetType="Ellipse">
  241. <Setter Property="Fill" Value="red"/>
  242. <Style.Triggers>
  243. <DataTrigger Binding="{Binding CommonSafetyData.SrdHotConnectState}" Value="8">
  244. <Setter Property="Fill" Value="lime" />
  245. </DataTrigger>
  246. </Style.Triggers>
  247. </Style>
  248. </Ellipse.Style>
  249. </Ellipse>
  250. <Ellipse Grid.Row="6" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  251. <Ellipse.Style>
  252. <Style TargetType="Ellipse">
  253. <Setter Property="Fill" Value="red"/>
  254. <Style.Triggers>
  255. <DataTrigger Binding="{Binding CommonSafetyData.Reservoir1HotConnectState}" Value="8">
  256. <Setter Property="Fill" Value="lime" />
  257. </DataTrigger>
  258. </Style.Triggers>
  259. </Style>
  260. </Ellipse.Style>
  261. </Ellipse>
  262. <Ellipse Grid.Row="7" Grid.Column="1" Margin="4,0,0,0" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">
  263. <Ellipse.Style>
  264. <Style TargetType="Ellipse">
  265. <Setter Property="Fill" Value="red"/>
  266. <Style.Triggers>
  267. <DataTrigger Binding="{Binding CommonSafetyData.Reservoir2HotConnectState}" Value="8">
  268. <Setter Property="Fill" Value="lime" />
  269. </DataTrigger>
  270. </Style.Triggers>
  271. </Style>
  272. </Ellipse.Style>
  273. </Ellipse>
  274. </Grid>
  275. </GroupBox>
  276. </Grid>
  277. </Grid>
  278. </GroupBox>
  279. </Grid>
  280. <Grid Grid.Column="1">
  281. <Grid.RowDefinitions>
  282. <RowDefinition Height="600"></RowDefinition>
  283. <RowDefinition Height="250"></RowDefinition>
  284. </Grid.RowDefinitions>
  285. <GroupBox Grid.Row="0" Header="System Access">
  286. <Grid>
  287. <Grid.RowDefinitions>
  288. <RowDefinition Height="150"></RowDefinition>
  289. <RowDefinition Height="270"></RowDefinition>
  290. <RowDefinition Height="180"></RowDefinition>
  291. </Grid.RowDefinitions>
  292. <Grid.ColumnDefinitions>
  293. <ColumnDefinition Width="320"></ColumnDefinition>
  294. <ColumnDefinition Width="320"></ColumnDefinition>
  295. </Grid.ColumnDefinitions>
  296. <GroupBox Grid.Row="0" Grid.Column="0" Header="Controls" Margin="5,0,5,0">
  297. <Grid>
  298. <Grid.RowDefinitions>
  299. <RowDefinition Height="30"></RowDefinition>
  300. <RowDefinition Height="30"></RowDefinition>
  301. <RowDefinition Height="30"></RowDefinition>
  302. <RowDefinition Height="30"></RowDefinition>
  303. </Grid.RowDefinitions>
  304. <Grid.ColumnDefinitions>
  305. <ColumnDefinition Width="150"></ColumnDefinition>
  306. <ColumnDefinition Width="100"></ColumnDefinition>
  307. <ColumnDefinition Width="50"></ColumnDefinition>
  308. </Grid.ColumnDefinitions>
  309. <Label Grid.Row="0" Grid.Column="0" Content="Access Key :" Margin="5,0,0,0" FontWeight="Bold"/>
  310. <Label Grid.Row="1" Grid.Column="0" Content="Process Halt Button 1" Margin="5,0,0,0" FontWeight="Bold"/>
  311. <Label Grid.Row="2" Grid.Column="0" Content="Process Halt Button 2" Margin="5,0,0,0" FontWeight="Bold"/>
  312. <Label Grid.Row="3" Grid.Column="0" Content="Loader Halt Button" Margin="5,0,0,0" FontWeight="Bold"/>
  313. <Ellipse Grid.Row="0" Grid.Column="0" Margin="0,0,10,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ModeSelectorSwitch,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
  314. <Label Grid.Row="0" Grid.Column="1" Content="Normal/Slow" Margin="5,0,0,0" FontWeight="Bold"/>
  315. <Ellipse Grid.Row="0" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ModeSelectorSwitch,Converter={StaticResource boolToColor6}}" Stroke="Silver" HorizontalAlignment="Right"/>
  316. <Ellipse Grid.Row="1" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessHaltButton1,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
  317. <Ellipse Grid.Row="2" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessHaltButton2,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
  318. <Ellipse Grid.Row="3" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderHaltButton,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
  319. </Grid>
  320. </GroupBox>
  321. <GroupBox Grid.Row="1" Grid.Column="0" Header="Loader Access" Margin="5,0,5,80">
  322. <Grid>
  323. <Grid.RowDefinitions>
  324. <RowDefinition Height="40"></RowDefinition>
  325. <RowDefinition Height="40"></RowDefinition>
  326. <RowDefinition Height="30"></RowDefinition>
  327. <RowDefinition Height="30"></RowDefinition>
  328. <RowDefinition Height="30"></RowDefinition>
  329. </Grid.RowDefinitions>
  330. <Grid.ColumnDefinitions>
  331. <ColumnDefinition Width="120"></ColumnDefinition>
  332. <ColumnDefinition Width="80"></ColumnDefinition>
  333. <ColumnDefinition Width="100"></ColumnDefinition>
  334. </Grid.ColumnDefinitions>
  335. <Label Grid.Row="0" Grid.Column="0" Content="Loader Side Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  336. <Label Grid.Row="1" Grid.Column="0" Content="Buffer Side Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  337. <Label Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Content="Transporter Loader Panel" Margin="5,0,0,0" FontWeight="Bold"/>
  338. <Label Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Content="Transporter Buffer Panel" Margin="5,0,0,0" FontWeight="Bold"/>
  339. <Button Grid.Row="0" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockLoaderDoorsCommand}"></Button>
  340. <Button Grid.Row="0" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockLoaderDoorsCommand}"></Button>
  341. <UserControls:LockControl Grid.Row="0" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.LoaderDoorLocked}"/>
  342. <Button Grid.Row="1" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockBufferDoorsCommand}"></Button>
  343. <Button Grid.Row="1" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockBufferDoorsCommand}"></Button>
  344. <UserControls:LockControl Grid.Row="1" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.BufferDoorLocked}"/>
  345. <Ellipse Grid.Row="2" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
  346. <Ellipse Grid.Row="3" Grid.Column="2" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.BufferPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>
  347. </Grid>
  348. </GroupBox>
  349. <GroupBox Grid.Row="1" Grid.Column="0" Header="Plumbing Access" VerticalAlignment="Bottom" Margin="5,0,5,0">
  350. <Grid Height="50">
  351. <Grid.ColumnDefinitions>
  352. <ColumnDefinition Width="200"></ColumnDefinition>
  353. <ColumnDefinition Width="100"></ColumnDefinition>
  354. </Grid.ColumnDefinitions>
  355. <Label Grid.Column="0" Content="Plumbing Doors Closed" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  356. <Ellipse Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PlumbingDoorClosed,Converter={StaticResource boolToColor4}}" Stroke="Silver" HorizontalAlignment="Right"/>
  357. </Grid>
  358. </GroupBox>
  359. <GroupBox Grid.Row="1" Grid.Column="1" Header="Process Access" Margin="5,0,5,25">
  360. <Grid>
  361. <Grid.RowDefinitions>
  362. <RowDefinition Height="40"></RowDefinition>
  363. <RowDefinition Height="40"></RowDefinition>
  364. <RowDefinition Height="40"></RowDefinition>
  365. <RowDefinition Height="40"></RowDefinition>
  366. <RowDefinition Height="40"></RowDefinition>
  367. <RowDefinition Height="30"></RowDefinition>
  368. </Grid.RowDefinitions>
  369. <Grid.ColumnDefinitions>
  370. <ColumnDefinition Width="150"></ColumnDefinition>
  371. <ColumnDefinition Width="75"></ColumnDefinition>
  372. <ColumnDefinition Width="75"></ColumnDefinition>
  373. </Grid.ColumnDefinitions>
  374. <Label Grid.Row="0" Grid.Column="0" Content="Process Doors" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  375. <Label Grid.Row="1" Grid.Column="0" Content="Process Door 1" Margin="5,0,0,0" FontWeight="Bold"/>
  376. <Label Grid.Row="2" Grid.Column="0" Content="Process Door 2" Margin="5,0,0,0" FontWeight="Bold"/>
  377. <Label Grid.Row="3" Grid.Column="0" Content="Process Door 3" Margin="5,0,0,0" FontWeight="Bold"/>
  378. <Label Grid.Row="4" Grid.Column="0" Content="Process Door 4" Margin="5,0,0,0" FontWeight="Bold"/>
  379. <UserControls:LockControl Grid.Row="1" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor1Locked}"/>
  380. <UserControls:LockControl Grid.Row="2" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor2Locked}"/>
  381. <UserControls:LockControl Grid.Row="3" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor3Locked}"/>
  382. <UserControls:LockControl Grid.Row="4" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,4" IsLocked="{Binding CommonSafetyData.ProcessDoor4Locked}"/>
  383. <Label Grid.Row="5" Grid.Column="0" Content="Upper Panel" Margin="5,0,0,0" FontWeight="Bold"/>
  384. <Button Grid.Row="0" Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="Lock" Width="65" Height="25" HorizontalAlignment="Center" Command="{Binding LockProcessDoorsCommand}"></Button>
  385. <Button Grid.Row="0" Grid.Column="2" Style="{StaticResource SysBtnStyle}" Content="Unlock" Width="65" Height="25" HorizontalAlignment="Center" Command="{Binding UnlockProcessDoorsCommand}"></Button>
  386. <Ellipse Grid.Row="5" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessUpperPanelsOn,Converter={StaticResource boolToColor4}}" Stroke="Silver" HorizontalAlignment="Center"/>
  387. </Grid>
  388. </GroupBox>
  389. <GroupBox Grid.Row="2" Grid.Column="1" Header="SRD Access" VerticalAlignment="Top" Margin="5,0,5,0">
  390. <Grid Height="80">
  391. <Grid.ColumnDefinitions>
  392. <ColumnDefinition Width="200"></ColumnDefinition>
  393. <ColumnDefinition Width="100"></ColumnDefinition>
  394. </Grid.ColumnDefinitions>
  395. <Grid.RowDefinitions>
  396. <RowDefinition Height="30"></RowDefinition>
  397. <RowDefinition Height="30"></RowDefinition>
  398. </Grid.RowDefinitions>
  399. <Label Grid.Row="0" Grid.Column="0" Content="SRD Top Panel" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  400. <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdTopPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  401. <Label Grid.Row="1" Grid.Column="0" Content="SRD Lower Panel" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  402. <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdLowerPanelRemoved,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  403. </Grid>
  404. </GroupBox>
  405. </Grid>
  406. </GroupBox>
  407. <Grid Grid.Row="1">
  408. <Grid.ColumnDefinitions>
  409. <ColumnDefinition Width="320"></ColumnDefinition>
  410. <ColumnDefinition Width="320"></ColumnDefinition>
  411. </Grid.ColumnDefinitions>
  412. <GroupBox Grid.Column="0" Header="Motion" Margin="5,0,5,20">
  413. <Grid>
  414. <Grid.ColumnDefinitions>
  415. <ColumnDefinition Width="220"></ColumnDefinition>
  416. <ColumnDefinition Width="100"></ColumnDefinition>
  417. </Grid.ColumnDefinitions>
  418. <Grid.RowDefinitions>
  419. <RowDefinition Height="40"></RowDefinition>
  420. <RowDefinition Height="30"></RowDefinition>
  421. <RowDefinition Height="30"></RowDefinition>
  422. <RowDefinition Height="30"></RowDefinition>
  423. <RowDefinition Height="30"></RowDefinition>
  424. <RowDefinition Height="30"></RowDefinition>
  425. </Grid.RowDefinitions>
  426. <Button Grid.Row="0" Grid.Column="0" Style="{StaticResource SysBtnStyle}" Margin="5,0,0,0" Content="All On" Width="65" Height="20" HorizontalAlignment="Left" Command="{Binding AllOnCommand}"></Button>
  427. <Label Grid.Row="0" Grid.Column="0" Content="All Amplifiers On" Margin="0,0,25,0" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Right"/>
  428. <Label Grid.Row="1" Grid.Column="0" Content="Process Transporter Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  429. <Label Grid.Row="2" Grid.Column="0" Content="Loader Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  430. <Label Grid.Row="3" Grid.Column="0" Content="DPUFs Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  431. <Label Grid.Row="4" Grid.Column="0" Content="SRDs Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  432. <Label Grid.Row="5" Grid.Column="0" Content="Loader Transporter Moving" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  433. <Ellipse Grid.Row="1" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsProcessTransMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  434. <Ellipse Grid.Row="2" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsLoaderMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  435. <Ellipse Grid.Row="3" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsPufsMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  436. <Ellipse Grid.Row="4" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsSRDsMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  437. <Ellipse Grid.Row="5" Grid.Column="1" Margin="10,0,0,0" Width="16" Height="16" Fill="{Binding IsLoaderTransMoving,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Left"/>
  438. </Grid>
  439. </GroupBox>
  440. </Grid>
  441. </Grid>
  442. <Grid Grid.Column="2">
  443. <Grid.RowDefinitions>
  444. <RowDefinition Height="240"></RowDefinition>
  445. <RowDefinition Height="290"></RowDefinition>
  446. <RowDefinition Height="110"></RowDefinition>
  447. <RowDefinition Height="200"></RowDefinition>
  448. </Grid.RowDefinitions>
  449. <GroupBox Grid.Row="0" Header="Loader" Margin="5,0,5,0">
  450. <Grid>
  451. <Grid.RowDefinitions>
  452. <RowDefinition Height="30"></RowDefinition>
  453. <RowDefinition Height="30"></RowDefinition>
  454. <RowDefinition Height="30"></RowDefinition>
  455. <RowDefinition Height="30"></RowDefinition>
  456. <RowDefinition Height="30"></RowDefinition>
  457. <RowDefinition Height="30"></RowDefinition>
  458. </Grid.RowDefinitions>
  459. <Grid.ColumnDefinitions>
  460. <ColumnDefinition Width="150"></ColumnDefinition>
  461. <ColumnDefinition Width="70"></ColumnDefinition>
  462. <ColumnDefinition Width="70"></ColumnDefinition>
  463. <ColumnDefinition Width="70"></ColumnDefinition>
  464. </Grid.ColumnDefinitions>
  465. <Label Grid.Row="1" Grid.Column="0" Content="Loader Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  466. <Label Grid.Row="2" Grid.Column="0" Content="Loader A Shuttle" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  467. <Label Grid.Row="3" Grid.Column="0" Content="Loader A Tilt" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  468. <Label Grid.Row="4" Grid.Column="0" Content="Loader B Shuttle" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  469. <Label Grid.Row="5" Grid.Column="0" Content="Loader B Tilt" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  470. <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  471. <Label Grid.Row="0" Grid.Column="2" Content="Slow" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  472. <Label Grid.Row="0" Grid.Column="3" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  473. <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderRotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  474. <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderRotationSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  475. <Ellipse Grid.Row="1" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  476. <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderAShuttleOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  477. <Ellipse Grid.Row="2" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderShuttleASls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  478. <Ellipse Grid.Row="2" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  479. <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderATiltOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  480. <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderTiltASls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  481. <Ellipse Grid.Row="3" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  482. <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderBShuttleOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  483. <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderShuttleBSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  484. <Ellipse Grid.Row="4" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  485. <Ellipse Grid.Row="5" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderBTiltOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  486. <Ellipse Grid.Row="5" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderTiltBSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  487. <Ellipse Grid.Row="5" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  488. </Grid>
  489. </GroupBox>
  490. <GroupBox Grid.Row="1" Header="PUFs" Margin="5,0,5,0">
  491. <Grid>
  492. <Grid.RowDefinitions>
  493. <RowDefinition Height="30"></RowDefinition>
  494. <RowDefinition Height="30"></RowDefinition>
  495. <RowDefinition Height="30"></RowDefinition>
  496. <RowDefinition Height="30"></RowDefinition>
  497. <RowDefinition Height="30"></RowDefinition>
  498. <RowDefinition Height="30"></RowDefinition>
  499. <RowDefinition Height="30"></RowDefinition>
  500. </Grid.RowDefinitions>
  501. <Grid.ColumnDefinitions>
  502. <ColumnDefinition Width="150"></ColumnDefinition>
  503. <ColumnDefinition Width="70"></ColumnDefinition>
  504. <ColumnDefinition Width="70"></ColumnDefinition>
  505. <ColumnDefinition Width="70"></ColumnDefinition>
  506. </Grid.ColumnDefinitions>
  507. <Label Grid.Row="1" Grid.Column="0" Content="PUF 1 Vertical" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  508. <Label Grid.Row="2" Grid.Column="0" Content="PUF 1 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  509. <Label Grid.Row="3" Grid.Column="0" Content="PUF 1 Flip" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  510. <Label Grid.Row="4" Grid.Column="0" Content="PUF 2 Vertical" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  511. <Label Grid.Row="5" Grid.Column="0" Content="PUF 2 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  512. <Label Grid.Row="6" Grid.Column="0" Content="PUF 2 Flip" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  513. <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  514. <Label Grid.Row="0" Grid.Column="2" Content="Slow" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  515. <Label Grid.Row="0" Grid.Column="3" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  516. <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf1VerticalOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  517. <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1VerticalSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  518. <Ellipse Grid.Row="1" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  519. <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf1RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  520. <Ellipse Grid.Row="2" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  521. <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf1FlipOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  522. <Ellipse Grid.Row="3" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  523. <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf2VerticalOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  524. <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2VerticalSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  525. <Ellipse Grid.Row="4" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  526. <Ellipse Grid.Row="5" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  527. <Ellipse Grid.Row="5" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  528. <Ellipse Grid.Row="6" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsPuf2FlipOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  529. <Ellipse Grid.Row="6" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2FlipRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  530. </Grid>
  531. </GroupBox>
  532. <GroupBox Grid.Row="2" Header="Loader Safety" VerticalAlignment="Center" Margin="5,0,5,0">
  533. <Grid Height="80">
  534. <Grid.ColumnDefinitions>
  535. <ColumnDefinition Width="200"></ColumnDefinition>
  536. <ColumnDefinition Width="100"></ColumnDefinition>
  537. </Grid.ColumnDefinitions>
  538. <Grid.RowDefinitions>
  539. <RowDefinition Height="30"></RowDefinition>
  540. <RowDefinition Height="30"></RowDefinition>
  541. </Grid.RowDefinitions>
  542. <Label Grid.Row="0" Grid.Column="0" Content="Loader Zone Safe STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  543. <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  544. <Label Grid.Row="1" Grid.Column="0" Content="Loader Zone Safe SLS" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  545. <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderSafeSls,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  546. </Grid>
  547. </GroupBox>
  548. <GroupBox Grid.Row="3" Header="PUF Safety" VerticalAlignment="Top" Margin="5,0,5,0">
  549. <Grid Height="150">
  550. <Grid.ColumnDefinitions>
  551. <ColumnDefinition Width="200"></ColumnDefinition>
  552. <ColumnDefinition Width="100"></ColumnDefinition>
  553. </Grid.ColumnDefinitions>
  554. <Grid.RowDefinitions>
  555. <RowDefinition Height="30"></RowDefinition>
  556. <RowDefinition Height="30"></RowDefinition>
  557. <RowDefinition Height="30"></RowDefinition>
  558. <RowDefinition Height="30"></RowDefinition>
  559. </Grid.RowDefinitions>
  560. <Label Grid.Row="0" Grid.Column="0" Content="DPUF Vertical Safe STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  561. <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  562. <Label Grid.Row="1" Grid.Column="0" Content="DPUF Vertical Safe SLS" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  563. <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PufVerticalSafeSls,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  564. <Label Grid.Row="2" Grid.Column="0" Content="DPUF A Pivot/Sup STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  565. <Ellipse Grid.Row="2" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf1FlipRotationSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  566. <Label Grid.Row="3" Grid.Column="0" Content="DPUF B Pivot/Sup STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  567. <Ellipse Grid.Row="3" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.Puf2FlipRotationSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  568. </Grid>
  569. </GroupBox>
  570. </Grid>
  571. <Grid Grid.Column="3">
  572. <Grid.RowDefinitions>
  573. <RowDefinition Height="200"></RowDefinition>
  574. <RowDefinition Height="200"></RowDefinition>
  575. <RowDefinition Height="80"></RowDefinition>
  576. <RowDefinition Height="100"></RowDefinition>
  577. <RowDefinition Height="100"></RowDefinition>
  578. <RowDefinition Height="150"></RowDefinition>
  579. </Grid.RowDefinitions>
  580. <GroupBox Grid.Row="0" Header="SRD" VerticalAlignment="Center" Margin="5,0,5,0">
  581. <Grid Height="180">
  582. <Grid.ColumnDefinitions>
  583. <ColumnDefinition Width="200"></ColumnDefinition>
  584. <ColumnDefinition Width="70"></ColumnDefinition>
  585. <ColumnDefinition Width="70"></ColumnDefinition>
  586. </Grid.ColumnDefinitions>
  587. <Grid.RowDefinitions>
  588. <RowDefinition Height="40"></RowDefinition>
  589. <RowDefinition Height="30"></RowDefinition>
  590. <RowDefinition Height="30"></RowDefinition>
  591. <RowDefinition Height="30"></RowDefinition>
  592. <RowDefinition Height="30"></RowDefinition>
  593. </Grid.RowDefinitions>
  594. <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  595. <Label Grid.Row="0" Grid.Column="2" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  596. <Label Grid.Row="1" Grid.Column="0" Content="SRD 1 ARM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  597. <Label Grid.Row="2" Grid.Column="0" Content="SRD 1 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  598. <Label Grid.Row="3" Grid.Column="0" Content="SRD 2 ARM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  599. <Label Grid.Row="4" Grid.Column="0" Content="SRD 2 Rotation" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  600. <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd1ArmOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  601. <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdArmDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  602. <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd1RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  603. <Ellipse Grid.Row="2" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  604. <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd2ArmOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  605. <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdArmDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  606. <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  607. <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdRotationDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  608. </Grid>
  609. </GroupBox>
  610. <GroupBox Grid.Row="1" Header="Transporters" Margin="5,0,5,0">
  611. <Grid>
  612. <Grid.RowDefinitions>
  613. <RowDefinition Height="30"></RowDefinition>
  614. <RowDefinition Height="30"></RowDefinition>
  615. <RowDefinition Height="30"></RowDefinition>
  616. <RowDefinition Height="30"></RowDefinition>
  617. <RowDefinition Height="30"></RowDefinition>
  618. </Grid.RowDefinitions>
  619. <Grid.ColumnDefinitions>
  620. <ColumnDefinition Width="150"></ColumnDefinition>
  621. <ColumnDefinition Width="70"></ColumnDefinition>
  622. <ColumnDefinition Width="70"></ColumnDefinition>
  623. <ColumnDefinition Width="70"></ColumnDefinition>
  624. </Grid.ColumnDefinitions>
  625. <Label Grid.Row="1" Grid.Column="0" Content="Loader Gantry" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  626. <Label Grid.Row="2" Grid.Column="0" Content="Loader Elevator" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  627. <Label Grid.Row="3" Grid.Column="0" Content="Process Gantry" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  628. <Label Grid.Row="4" Grid.Column="0" Content="Process Elevator" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  629. <Label Grid.Row="0" Grid.Column="1" Content="On" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  630. <Label Grid.Row="0" Grid.Column="2" Content="Slow" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  631. <Label Grid.Row="0" Grid.Column="3" Content="Disable" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  632. <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderGantryOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  633. <Ellipse Grid.Row="1" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderGantrySls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  634. <Ellipse Grid.Row="1" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  635. <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsLoaderElevatorOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  636. <Ellipse Grid.Row="2" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.LoaderElevatorSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  637. <Ellipse Grid.Row="2" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  638. <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsProcessGantryOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  639. <Ellipse Grid.Row="3" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessGantrySls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  640. <Ellipse Grid.Row="3" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  641. <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16" Fill="{Binding IsProcessElevatorOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  642. <Ellipse Grid.Row="4" Grid.Column="2" Width="16" Height="16" Fill="{Binding CommonSafetyData.ProcessElevatorSls,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  643. <Ellipse Grid.Row="4" Grid.Column="3" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterDisable,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  644. </Grid>
  645. </GroupBox>
  646. <GroupBox Grid.Row="3" Header="Transporter Safety" VerticalAlignment="Center" Margin="5,0,5,0">
  647. <Grid Height="80">
  648. <Grid.ColumnDefinitions>
  649. <ColumnDefinition Width="200"></ColumnDefinition>
  650. <ColumnDefinition Width="100"></ColumnDefinition>
  651. </Grid.ColumnDefinitions>
  652. <Grid.RowDefinitions>
  653. <RowDefinition Height="30"></RowDefinition>
  654. <RowDefinition Height="30"></RowDefinition>
  655. </Grid.RowDefinitions>
  656. <Label Grid.Row="0" Grid.Column="0" Content="Grantry Zone Safe STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  657. <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterSafeSto,Converter={StaticResource boolToYellowColor}}" Stroke="Silver" HorizontalAlignment="Center"/>
  658. <Label Grid.Row="1" Grid.Column="0" Content="Grantry Zone Safe SLS" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  659. <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.TransporterSafeSls,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  660. </Grid>
  661. </GroupBox>
  662. <GroupBox Grid.Row="4" Header="SRD Safety" VerticalAlignment="Center" Margin="5,0,5,0">
  663. <Grid Height="80">
  664. <Grid.ColumnDefinitions>
  665. <ColumnDefinition Width="200"></ColumnDefinition>
  666. <ColumnDefinition Width="100"></ColumnDefinition>
  667. </Grid.ColumnDefinitions>
  668. <Grid.RowDefinitions>
  669. <RowDefinition Height="30"></RowDefinition>
  670. <RowDefinition Height="30"></RowDefinition>
  671. </Grid.RowDefinitions>
  672. <Label Grid.Row="0" Grid.Column="0" Content="SRD Wash Arms STO" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  673. <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdArmSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  674. <Label Grid.Row="1" Grid.Column="0" Content="SRD Rotate STO" Margin="5,0,0,2" FontWeight="Bold" VerticalAlignment="Bottom"/>
  675. <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SrdRotationSafeSto,Converter={StaticResource boolToYellowColor2}}" Stroke="Silver" HorizontalAlignment="Center"/>
  676. </Grid>
  677. </GroupBox>
  678. <GroupBox Grid.Row="5" Header="Plumbing Safety" VerticalAlignment="Center" Margin="5,0,5,0">
  679. <Grid Height="120">
  680. <Grid.ColumnDefinitions>
  681. <ColumnDefinition Width="200"></ColumnDefinition>
  682. <ColumnDefinition Width="100"></ColumnDefinition>
  683. </Grid.ColumnDefinitions>
  684. <Grid.RowDefinitions>
  685. <RowDefinition Height="30"></RowDefinition>
  686. <RowDefinition Height="30"></RowDefinition>
  687. <RowDefinition Height="30"></RowDefinition>
  688. </Grid.RowDefinitions>
  689. <Label Grid.Row="0" Grid.Column="0" Content="Pump EDM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  690. <Ellipse Grid.Row="0" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PumpEdm,Converter={StaticResource boolToColor7}}" Stroke="Silver" HorizontalAlignment="Center"/>
  691. <Label Grid.Row="1" Grid.Column="0" Content="Reservoir Overflow" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  692. <Ellipse Grid.Row="1" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.ReservoirHighLevel,Converter={StaticResource boolToRedColor }}" Stroke="Silver" HorizontalAlignment="Center"/>
  693. <Label Grid.Row="2" Grid.Column="0" Content="Fluid Enable EDM" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>
  694. <Ellipse Grid.Row="2" Grid.Column="1" Margin="25,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.FluidEnableEdm,Converter={StaticResource boolToColor7}}" Stroke="Silver" HorizontalAlignment="Center"/>
  695. </Grid>
  696. </GroupBox>
  697. </Grid>
  698. </Grid>
  699. </UserControl>