DMReservoirView.xaml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <UserControl x:Class="PunkHPX8_MainPages.Views.DMReservoirView"
  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:PunkHPX8_MainPages.Views"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls;assembly=PunkHPX8_Themes"
  9. xmlns:userControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  10. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters;assembly=PunkHPX8_Themes"
  11. xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  12. xmlns:Control1="clr-namespace:Aitex.Core.UI.Control;assembly=MECF.Framework.UI.Core"
  13. xmlns:cmd="http://www.galasoft.ch/mvvmlight"
  14. xmlns:prism="http://prismlibrary.com/"
  15. prism:ViewModelLocator.AutoWireViewModel="True"
  16. mc:Ignorable="d"
  17. d:DesignHeight="1000" d:DesignWidth="1500">
  18. <UserControl.Resources>
  19. <converters:StringToString x:Key="stringToString"/>
  20. <converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>
  21. <converters:BoolToOrientation2 x:Key="boolToOrientation2"></converters:BoolToOrientation2>
  22. <converters:BoolToColor x:Key="boolToColor"/>
  23. <converters:BoolToRedColor x:Key="boolToRedColor"/>
  24. <converters:boolToRedColor2 x:Key="boolToRedColor2"/>
  25. <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
  26. <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
  27. <converters:BoolToErrorColor x:Key="boolToErrorColor"></converters:BoolToErrorColor>
  28. <converters:BoolToYellowColor x:Key="boolToYellowColor"></converters:BoolToYellowColor>
  29. <converters:BoolToYellowColor2 x:Key="boolToYellowColor2"></converters:BoolToYellowColor2>
  30. <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"></converters:BoolToGreenRedColor>
  31. <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"></converters:BoolToRedGreenColor>
  32. <converters:BoolToColor4 x:Key="boolToColor4"></converters:BoolToColor4>
  33. <converters:BoolToColor6 x:Key="boolToColor6"></converters:BoolToColor6>
  34. <converters:BoolToColor7 x:Key="boolToColor7"></converters:BoolToColor7>
  35. <converters:BoolToBool x:Key="boolReverse"></converters:BoolToBool>
  36. </UserControl.Resources>
  37. <Canvas>
  38. <Grid>
  39. <Grid.RowDefinitions>
  40. <RowDefinition Height="5"/>
  41. <RowDefinition Height="150"/>
  42. <RowDefinition Height="350"/>
  43. <RowDefinition Height="150"/>
  44. <RowDefinition Height="350"/>
  45. <RowDefinition/>
  46. </Grid.RowDefinitions>
  47. <Grid.ColumnDefinitions>
  48. <ColumnDefinition Width="500"></ColumnDefinition>
  49. <ColumnDefinition Width="500"></ColumnDefinition>
  50. <ColumnDefinition Width="500"></ColumnDefinition>
  51. <ColumnDefinition Width="300"></ColumnDefinition>
  52. <ColumnDefinition/>
  53. </Grid.ColumnDefinitions>
  54. <Grid Grid.Row="1" Grid.Column="0">
  55. <userControls:ReservoirsInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  56. ModuleTitle="{Binding Module}"
  57. RecipeContentValue="{Binding CurrentRecipe.Ppid}"
  58. StateValue="{Binding State}"
  59. OperatingModeValue="{Binding ReservoirsPersistent.OperatingMode}"
  60. RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}"
  61. />
  62. </Grid>
  63. <GroupBox Header="CA DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="2" Grid.Column="0" Width="200" Grid.RowSpan="2" Height="320" Margin="0,0,270,180">
  64. <Grid>
  65. <Grid.RowDefinitions>
  66. <RowDefinition Height="35"></RowDefinition>
  67. <RowDefinition Height="30"></RowDefinition>
  68. <RowDefinition Height="35"></RowDefinition>
  69. <RowDefinition Height="35"></RowDefinition>
  70. <RowDefinition Height="30"></RowDefinition>
  71. <RowDefinition Height="35"></RowDefinition>
  72. <RowDefinition Height="35"></RowDefinition>
  73. <RowDefinition Height="35"></RowDefinition>
  74. <RowDefinition Height="35"></RowDefinition>
  75. </Grid.RowDefinitions>
  76. <Grid Grid.Row="0">
  77. <Label Content="Total On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  78. </Grid>
  79. <Border Grid.Row="1" Background="Black" Width="130" Margin="0 -3 0 0">
  80. <TextBlock Text="{Binding ReservoirsPersistent.TotalReplen,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  81. </Border>
  82. <Grid Grid.Row="2">
  83. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Command="{Binding ResetTotalCommand}" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="Reset Total"></Button>
  84. </Grid>
  85. <Grid Grid.Row="3">
  86. <Label Content="Max On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  87. </Grid>
  88. <Border Grid.Row="4" Background="Black" Width="130" Margin="0 -3 0 0">
  89. <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  90. </Border>
  91. <Grid Grid.Row="5">
  92. <Label Content="Manual Fill Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  93. </Grid>
  94. <Grid Grid.Row="6">
  95. <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="25,-3,0,0" Height="30" Width="100"/>
  96. <Label Content="sec" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="55" Margin="0 -3 0 0"></Label>
  97. </Grid>
  98. <Grid Grid.Row="7">
  99. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" HorizontalContentAlignment="Left" Padding="10 0 0 0" Grid.Column="1" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Manual Replen" Command="{Binding ManualDireplenCommand}"></Button>
  100. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 30 0" Fill="{Binding IsManualReplen, Converter={StaticResource boolToColor}}" Stroke="Silver"/>
  101. </Grid>
  102. <Grid Grid.Row="8">
  103. <Label Content="DI Replen Fault" HorizontalAlignment="Left" FontSize="14" VerticalAlignment="Center" Height="30" Margin="10 -3 0 0"></Label>
  104. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 -3 30 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
  105. </Grid>
  106. </Grid>
  107. </GroupBox>
  108. <GroupBox Header="AN DIW Replen" FontWeight="Bold" FontSize="15" Grid.Row="2" Grid.Column="0" Width="200" Grid.RowSpan="3" Height="320" Margin="0,130,270,0">
  109. <Grid>
  110. <Grid.RowDefinitions>
  111. <RowDefinition Height="35"></RowDefinition>
  112. <RowDefinition Height="30"></RowDefinition>
  113. <RowDefinition Height="35"></RowDefinition>
  114. <RowDefinition Height="35"></RowDefinition>
  115. <RowDefinition Height="30"></RowDefinition>
  116. <RowDefinition Height="35"></RowDefinition>
  117. <RowDefinition Height="35"></RowDefinition>
  118. <RowDefinition Height="35"></RowDefinition>
  119. <RowDefinition Height="35"></RowDefinition>
  120. </Grid.RowDefinitions>
  121. <Grid Grid.Row="0">
  122. <Label Content="Total On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  123. </Grid>
  124. <Border Grid.Row="1" Background="Black" Width="130" Margin="0 -3 0 0">
  125. <TextBlock Text="{Binding ReservoirsPersistent.TotalReplen,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  126. </Border>
  127. <Grid Grid.Row="2">
  128. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Command="{Binding ResetTotalCommand}" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="Reset Total"></Button>
  129. </Grid>
  130. <Grid Grid.Row="3">
  131. <Label Content="Max On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  132. </Grid>
  133. <Border Grid.Row="4" Background="Black" Width="130" Margin="0 -3 0 0">
  134. <TextBlock Text="{Binding DIValveMaxOnTime,StringFormat={}{0} sec}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  135. </Border>
  136. <Grid Grid.Row="5">
  137. <Label Content="Manual Fill Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  138. </Grid>
  139. <Grid Grid.Row="6">
  140. <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="25,-3,0,0" Height="30" Width="100"/>
  141. <Label Content="sec" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="55" Margin="0 -3 0 0"></Label>
  142. </Grid>
  143. <Grid Grid.Row="7">
  144. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" HorizontalContentAlignment="Left" Padding="10 0 0 0" Grid.Column="1" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Manual Replen" Command="{Binding ManualDireplenCommand}"></Button>
  145. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 30 0" Fill="{Binding IsManualReplen, Converter={StaticResource boolToColor}}" Stroke="Silver"/>
  146. </Grid>
  147. <Grid Grid.Row="8">
  148. <Label Content="DI Replen Fault" HorizontalAlignment="Left" FontSize="14" VerticalAlignment="Center" Height="30" Margin="10 -3 0 0"></Label>
  149. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 -3 30 0" Fill="{Binding IsDIReplenFault, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
  150. </Grid>
  151. </Grid>
  152. </GroupBox>
  153. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" Margin="10 0 0 200">
  154. <userControls:RecipeLoad Margin="10,10,0,0"
  155. Module="{Binding Module}"
  156. HeadName="Res Recipe"
  157. RecipeType="{Binding RecipeType}" IsEnabled="{Binding IsEnabled}"
  158. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  159. RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}" />
  160. </Grid>
  161. <Grid Grid.Row="1" Grid.Column="3">
  162. <Grid.RowDefinitions>
  163. <RowDefinition Height="50"></RowDefinition>
  164. <RowDefinition Height="50"></RowDefinition>
  165. <RowDefinition Height="50"></RowDefinition>
  166. </Grid.RowDefinitions>
  167. <Grid Grid.Row="0">
  168. <Label Content="{Binding Module}" FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0"></Label>
  169. </Grid>
  170. <Grid Grid.Row="1">
  171. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}"></Button>
  172. </Grid>
  173. <Grid Grid.Row="2">
  174. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
  175. </Grid>
  176. </Grid>
  177. <userControls:OperatingModeControl HorizontalAlignment="Center" Margin="0,0,0,100" VerticalAlignment="Center" Grid.Row="1" Grid.Column="3" Grid.RowSpan="2"
  178. ModuleName="{Binding Module}"
  179. OperationModeValue="{Binding ReservoirsPersistent.OperatingMode}"/>
  180. <Grid Grid.Row="2" Grid.Column="3">
  181. <Label Content="Recipe Mode" FontSize="15" FontWeight="Bold" Margin="0,0,0,90" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
  182. <userControls:RecipeModeControl HorizontalAlignment="Center" Margin="0,140,0,0" VerticalAlignment="Top" Width="190"
  183. ModuleName="{Binding Module}"
  184. RecipeModeValue="{Binding ReservoirsPersistent.RecipeOperatingMode}" />
  185. </Grid>
  186. <GroupBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Right" Height="200" VerticalAlignment="Center" Margin="0,0,50,180">
  187. <Grid>
  188. <Grid.RowDefinitions>
  189. <RowDefinition Height="30"/>
  190. <RowDefinition Height="30"/>
  191. <RowDefinition Height="30"/>
  192. <RowDefinition Height="30"/>
  193. <RowDefinition Height="30"/>
  194. <RowDefinition Height="30"/>
  195. </Grid.RowDefinitions>
  196. <Grid.ColumnDefinitions>
  197. <ColumnDefinition Width="100"></ColumnDefinition>
  198. <ColumnDefinition Width="100"></ColumnDefinition>
  199. <ColumnDefinition Width="100"></ColumnDefinition>
  200. </Grid.ColumnDefinitions>
  201. <Grid Grid.Row="0" Grid.ColumnSpan="2">
  202. <Label Content="CA Pump Speed" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  203. </Grid>
  204. <Grid Grid.Row="2" Grid.ColumnSpan="2">
  205. <Label Content="AN Pump Speed" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  206. </Grid>
  207. <Grid Grid.Row="4" Grid.ColumnSpan="2">
  208. <Label Content="Return Valve Open" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  209. </Grid>
  210. <Grid Grid.Row="1" Grid.Column="0" >
  211. <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding InputCAPumpSpeed,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
  212. </Grid>
  213. <Border Grid.Row="1" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
  214. <TextBlock Text="{Binding ReservoirData.CaPumpSpeed}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  215. </Border>
  216. <Grid Grid.Row="3" Grid.Column="2">
  217. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding ANPumpSpeedSetCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
  218. </Grid>
  219. <Grid Grid.Row="3" Grid.Column="0" >
  220. <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding InputANPumpSpeed,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
  221. </Grid>
  222. <Border Grid.Row="3" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
  223. <TextBlock Text="{Binding ReservoirData.AnPumpSpeed}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  224. </Border>
  225. <Grid Grid.Row="5" Grid.Column="2">
  226. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding ReturnFlowOpenPercentSetCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
  227. </Grid>
  228. <Grid Grid.Row="5" Grid.Column="0" >
  229. <Control:IntegerTextBox IsEnabled="{Binding IsEnabled}" Value="{Binding InputRetrunFlowOpenPercent,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0" Height="30" Width="70"/>
  230. </Grid>
  231. <Border Grid.Row="5" Grid.Column="1" Background="Black" Width="80" Height="30" Margin="0 0 0 0">
  232. <TextBlock Text="{Binding ReservoirData.ReturnValveOpening}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  233. </Border>
  234. <Grid Grid.Row="1" Grid.Column="2">
  235. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding CAPumpSpeedSetCommand}" Height="30" Width="50" Margin="0,0,10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Set"/>
  236. </Grid>
  237. </Grid>
  238. </GroupBox>
  239. <GroupBox Header="Status" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="2" HorizontalAlignment="Right" Height="150" VerticalAlignment="Center" Margin="0,0,50,170">
  240. <Grid>
  241. <Grid.RowDefinitions>
  242. <RowDefinition Height="30"/>
  243. <RowDefinition Height="30"/>
  244. <RowDefinition Height="30"/>
  245. <RowDefinition Height="30"/>
  246. </Grid.RowDefinitions>
  247. <Grid.ColumnDefinitions>
  248. <ColumnDefinition Width="200"></ColumnDefinition>
  249. <ColumnDefinition Width="100"></ColumnDefinition>
  250. </Grid.ColumnDefinitions>
  251. <Grid Grid.Row="0" Grid.ColumnSpan="2">
  252. <Label Content="CA Safety Pump" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  253. </Grid>
  254. <Grid Grid.Row="1" Grid.ColumnSpan="2">
  255. <Label Content="CA Safety High Level" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  256. </Grid>
  257. <Grid Grid.Row="2" Grid.ColumnSpan="2">
  258. <Label Content="Leak Detected" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  259. </Grid>
  260. <Grid Grid.Row="4" Grid.ColumnSpan="2">
  261. <Label Content="Chemistry" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  262. </Grid>
  263. <Grid Grid.Row="0" Grid.Column="1">
  264. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding CommonSafetyData.Reservoir12CAPumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver"/>
  265. </Grid>
  266. <Grid Grid.Row="1" Grid.Column="1">
  267. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding CommonSafetyData.Reservoir1CALevelHigh,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver"/>
  268. </Grid>
  269. <Grid Grid.Row="2" Grid.Column="1">
  270. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 70 0" Fill="{Binding CommonSafetyData.PlatingCell12LeakDetected,Converter={StaticResource boolToYellowColor}}" Stroke="Silver"/>
  271. </Grid>
  272. <Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" Background="Black" Width="80" Height="30" Margin="80 0 0 0">
  273. <TextBlock Text="{Binding CurrentRecipe.Metal}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  274. </Border>
  275. </Grid>
  276. </GroupBox>
  277. <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="3" Margin="210,-50,0,0">
  278. <userControls:DMReservoirUIControl
  279. ModuleName="{Binding Module}"
  280. ANIsolationValve="{Binding ReservoirData.AnIsolation}"
  281. CAIsolationValve="{Binding ReservoirData.CaIsolation}"
  282. ReturnFlowValve="{Binding ReservoirData.ReturnValveEnable}"
  283. DegasValve="{Binding ReservoirData.DegasEnable}"
  284. SampleValve="{Binding ReservoirData.SampleOut}"
  285. IsANPumpOpen="{Binding ReservoirData.AnPumpEnable}"
  286. IsCAPumpOpen="{Binding ReservoirData.CaPumpEnable}"
  287. IsCALevelHigh="{Binding IsCAHighLevel}"
  288. IsCALevelLow="{Binding IsCALowLevel}"
  289. IsANLevelHigh="{Binding ReservoirData.AnTowerHigh}"
  290. IsANLevelLow="{Binding ReservoirData.AnTowerLow}"
  291. ANFlow="{Binding ReservoirData.AnFlow}"
  292. CAFlow="{Binding ReservoirData.CaFlow}"
  293. CALevel="{Binding AvgCALevel}"
  294. CALevelRaw="{Binding ReservoirData.CaWaterLevel}"
  295. ReservoirTemperature ="{Binding TemperatureControlData.ReserviorTemperature}"
  296. TCStatus ="{Binding TemperatureControlData.Status}"
  297. TCEnableStatus ="{Binding TCEnableStatus}"
  298. >
  299. </userControls:DMReservoirUIControl>
  300. </Grid>
  301. </Grid>
  302. </Canvas>
  303. </UserControl>