DMReservoirUIControl.xaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. <UserControl x:Class="PunkHPX8_Themes.UserControls.DMReservoirUIControl"
  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:userControls="clr-namespace:PunkHPX8_Themes.UserControls"
  7. xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls"
  8. xmlns:ctrls="clr-namespace:PunkHPX8_Themes.UserControls"
  9. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters"
  10. xmlns:local="clr-namespace:PunkHPX8_Themes.UserControls"
  11. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  12. mc:Ignorable="d" Name="self"
  13. d:DesignHeight="700" d:DesignWidth="1000">
  14. <UserControl.Resources>
  15. <converters:BoolToVisibility2 x:Key="boolToVisibility2"></converters:BoolToVisibility2>
  16. <converters:BoolToVisibility x:Key="boolToVisibility"></converters:BoolToVisibility>
  17. <converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>
  18. <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"/>
  19. <converters:BoolToRedColor x:Key="boolToRedColor"/>
  20. <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
  21. <ContextMenu x:Key="ANIsolationValve">
  22. <MenuItem Header="Open" Click="OpenANIsolationValve_Click"/>
  23. <MenuItem Header="Close" Click="CloseANIsolationValve_Click"/>
  24. </ContextMenu>
  25. <ContextMenu x:Key="CAIsolationValve">
  26. <MenuItem Header="Open" Click="OpenCAIsolationValve_Click"/>
  27. <MenuItem Header="Close" Click="CloseCAIsolationValve_Click"/>
  28. </ContextMenu>
  29. <ContextMenu x:Key="ReturnFlowValve">
  30. <MenuItem Header="Open" Click="OpenReturnFlowValve_Click"/>
  31. <MenuItem Header="Close" Click="CloseReturnFlowValve_Click"/>
  32. </ContextMenu>
  33. <ContextMenu x:Key="DegasValve">
  34. <MenuItem Header="Open" Click="OpenDegasValve_Click"/>
  35. <MenuItem Header="Close" Click="CloseDegasValve_Click"/>
  36. </ContextMenu>
  37. <ContextMenu x:Key="SampleValve">
  38. <MenuItem Header="Open" Click="OpenSampleValve_Click"/>
  39. <MenuItem Header="Close" Click="CloseSampleValve_Click"/>
  40. </ContextMenu>
  41. <ContextMenu x:Key="ANDiReplenInValve">
  42. <MenuItem Header="Open" Click="OpenANDiReplenInValve_Click"/>
  43. <MenuItem Header="Close" Click="CloseANDiReplenInValve_Click"/>
  44. </ContextMenu>
  45. <ContextMenu x:Key="CADiReplenInValve">
  46. <MenuItem Header="Open" Click="OpenCADiReplenInValve_Click"/>
  47. <MenuItem Header="Close" Click="CloseCADiReplenInValve_Click"/>
  48. </ContextMenu>
  49. </UserControl.Resources>
  50. <Canvas>
  51. <Canvas Canvas.Left="171" Canvas.Top="428" HorizontalAlignment="Center" VerticalAlignment="Top" >
  52. <Border
  53. Width="220"
  54. Height="220"
  55. CornerRadius="10"
  56. Background="AntiqueWhite"
  57. BorderBrush="Gray"
  58. BorderThickness="2" Canvas.Left="-83" Canvas.Top="-21"
  59. />
  60. <i:Interaction.Triggers>
  61. <i:EventTrigger EventName="MouseLeftButtonUp">
  62. <i:InvokeCommandAction Command="{Binding JumpToPlatingCellCommand}"/>
  63. </i:EventTrigger>
  64. </i:Interaction.Triggers>
  65. </Canvas>
  66. <Rectangle x:Name="ErrorRectangle" Fill="Red" Height="200" Width="200" VerticalAlignment="Center" Opacity="0.5" Panel.ZIndex="3"
  67. Visibility="{Binding ElementName=self,Path=IsError,Converter={StaticResource boolToVisibility2}}" Canvas.Left="99" Canvas.Top="417" HorizontalAlignment="Left"/>
  68. <Canvas Width="200" Height="120" Canvas.Left="430" Canvas.Top="124">
  69. <Rectangle Width="200" Height="100" Fill="Yellow" Canvas.Top="0" />
  70. <!-- 中间橙色矩形 -->
  71. <Rectangle Width="160" Height="60" Fill="Gold" Canvas.Top="26" Canvas.Left="20" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  72. <!-- 顶部浅色矩形 -->
  73. <Rectangle Width="180" Height="40" Fill="#FFF5F5DC" Canvas.Top="0" Canvas.Left="7" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  74. <!-- 左右三角形装饰 -->
  75. <Polygon Points="0,20 10,0 20,20" Fill="Yellow" Canvas.Left="7" Canvas.Top="0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Top">
  76. <Polygon.RenderTransform>
  77. <TransformGroup>
  78. <ScaleTransform/>
  79. <SkewTransform/>
  80. <RotateTransform Angle="90"/>
  81. <TranslateTransform/>
  82. </TransformGroup>
  83. </Polygon.RenderTransform>
  84. </Polygon>
  85. <Polygon Points="0,20 10,0 20,20" Fill="Yellow" Canvas.Left="168" Canvas.Top="0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" VerticalAlignment="Center">
  86. <Polygon.RenderTransform>
  87. <TransformGroup>
  88. <ScaleTransform/>
  89. <SkewTransform/>
  90. <RotateTransform Angle="-90"/>
  91. <TranslateTransform/>
  92. </TransformGroup>
  93. </Polygon.RenderTransform>
  94. </Polygon>
  95. <Polygon Points="50,50 210,50 200,60 60,60"
  96. Fill="White"
  97. StrokeThickness="1" Canvas.Left="-30" Canvas.Top="-10"/>
  98. </Canvas>
  99. <Canvas Width="50" Height="100" Canvas.Left="536" Canvas.Top="458">
  100. <Ellipse
  101. Width="30"
  102. Height="17"
  103. Fill="#A9B0E5"
  104. Stroke="Black"
  105. StrokeThickness="1"
  106. Canvas.Left="20"
  107. Canvas.Top="33" />
  108. <Rectangle
  109. Width="30"
  110. Height="75"
  111. Fill="#A9B0E5"
  112. Stroke="Black"
  113. StrokeThickness="1"
  114. Canvas.Left="20"
  115. Canvas.Top="43" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  116. <Rectangle
  117. Width="50"
  118. Height="20"
  119. Fill="#A9B0E5"
  120. Stroke="Black"
  121. StrokeThickness="1"
  122. Canvas.Left="11"
  123. Canvas.Top="115" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  124. </Canvas>
  125. <Canvas Width="50" Height="100" Canvas.Left="203" Canvas.Top="26">
  126. <Ellipse
  127. Width="45"
  128. Height="25"
  129. Fill="AntiqueWhite"
  130. Stroke="Black"
  131. StrokeThickness="1"
  132. Canvas.Left="23"
  133. Canvas.Top="33" />
  134. <Rectangle
  135. Width="50"
  136. Height="150"
  137. Fill="AntiqueWhite"
  138. Stroke="Black"
  139. StrokeThickness="1"
  140. Canvas.Left="20"
  141. Canvas.Top="43" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  142. <Ellipse
  143. Width="45"
  144. Height="26"
  145. Fill="AntiqueWhite"
  146. Stroke="Black"
  147. StrokeThickness="1"
  148. Canvas.Left="25"
  149. Canvas.Top="158" HorizontalAlignment="Left" VerticalAlignment="Center" />
  150. <Rectangle
  151. Width="20"
  152. Height="100"
  153. Fill="AntiqueWhite"
  154. Stroke="Black"
  155. StrokeThickness="1"
  156. Canvas.Left="30"
  157. Canvas.Top="61" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  158. </Canvas>
  159. <Canvas Width="40" Height="200" Canvas.Left="760" Canvas.Top="205">
  160. <Rectangle Canvas.Left="11" Canvas.Top="51" Width="45" Height="160" RadiusX="50" RadiusY="10" Fill="AntiqueWhite" Stroke="Black" StrokeThickness="1" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  161. <Line X1="18" Y1="100" X2="50" Y2="100" Stroke="Black" StrokeThickness="1" StrokeDashArray="3,2"/>
  162. <Line X1="18" Y1="140" X2="50" Y2="140" Stroke="Black" StrokeThickness="1" StrokeDashArray="3,2"/>
  163. <Line X1="18" Y1="180" X2="50" Y2="180" Stroke="Black" StrokeThickness="1" StrokeDashArray="3,2"/>
  164. </Canvas>
  165. <Label Canvas.Left="30" Canvas.Top="280" Height="30" Width="80" FontSize="10" FontWeight="Bold" Content="AN Pump" />
  166. <Label Canvas.Left="391" Canvas.Top="599" Height="30" Width="80" FontSize="10" FontWeight="Bold" Content="CA Pump" />
  167. <Label Canvas.Left="269" Canvas.Top="97" Height="30" Width="60" FontSize="10" FontWeight="Bold" Content="High" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  168. <Label Canvas.Left="269" Canvas.Top="158" Height="30" Width="60" FontSize="10" FontWeight="Bold" Content="Low" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  169. <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="ANPump" RotateTransformValue="0" IsOpenPump="{Binding IsANPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60" Tag="26" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Left="94" Canvas.Top="233" RenderTransformOrigin="0.25,0.517" >
  170. <local:ReservoirPump.RenderTransform>
  171. <TransformGroup>
  172. <ScaleTransform/>
  173. <SkewTransform/>
  174. <RotateTransform Angle="-89.495"/>
  175. <TranslateTransform/>
  176. </TransformGroup>
  177. </local:ReservoirPump.RenderTransform>
  178. </userControls:ReservoirPump>
  179. <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="CAPump" RotateTransformValue="0" IsOpenPump="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60" Tag="26" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Left="385" Canvas.Top="530" />
  180. <Grid Height="50" Width="100" Canvas.Left="200" Canvas.Top="305" HorizontalAlignment="Left" VerticalAlignment="Top" >
  181. <Grid.RowDefinitions>
  182. <RowDefinition Height="30"></RowDefinition>
  183. <RowDefinition Height="20"></RowDefinition>
  184. </Grid.RowDefinitions>
  185. <Grid Grid.Row="0">
  186. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  187. Status="{Binding ElementName=self,Path=ANIsolationValve}"
  188. IsCanEdit="True"
  189. ContextMenu="{StaticResource ANIsolationValve}"/>
  190. </Grid>
  191. <Grid Grid.Row="1">
  192. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="AN Isolation" />
  193. </Grid>
  194. </Grid>
  195. <Grid Height="50" Width="100" Canvas.Left="657" Canvas.Top="188" HorizontalAlignment="Left" VerticalAlignment="Top" >
  196. <Grid.RowDefinitions>
  197. <RowDefinition Height="30"></RowDefinition>
  198. <RowDefinition Height="20"></RowDefinition>
  199. </Grid.RowDefinitions>
  200. <Grid Grid.Row="0">
  201. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  202. Status="{Binding ElementName=self,Path=CAIsolationValve}"
  203. IsCanEdit="True"
  204. ContextMenu="{StaticResource CAIsolationValve}"/>
  205. </Grid>
  206. <Grid Grid.Row="1">
  207. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="CA Isolation" />
  208. </Grid>
  209. </Grid>
  210. <Grid Height="50" Width="100" Canvas.Left="814" Canvas.Top="412" HorizontalAlignment="Left" VerticalAlignment="Top" >
  211. <Grid.RowDefinitions>
  212. <RowDefinition Height="30"></RowDefinition>
  213. <RowDefinition Height="20"></RowDefinition>
  214. </Grid.RowDefinitions>
  215. <Grid Grid.Row="0">
  216. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  217. Status="{Binding ElementName=self,Path=DegasValve}"
  218. IsCanEdit="True"
  219. ContextMenu="{StaticResource DegasValve}" RenderTransformOrigin="0.5,0.5">
  220. <customControls:CommonValveControl.RenderTransform>
  221. <TransformGroup>
  222. <ScaleTransform/>
  223. <SkewTransform/>
  224. <RotateTransform Angle="90"/>
  225. <TranslateTransform/>
  226. </TransformGroup>
  227. </customControls:CommonValveControl.RenderTransform>
  228. </customControls:CommonValveControl>
  229. </Grid>
  230. </Grid>
  231. <Label Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="Degas Valve" Canvas.Left="876" Canvas.Top="435" />
  232. <Grid Height="50" Width="100" Canvas.Left="536" Canvas.Top="608" HorizontalAlignment="Left" VerticalAlignment="Top" >
  233. <Grid.RowDefinitions>
  234. <RowDefinition Height="30"></RowDefinition>
  235. <RowDefinition Height="20"></RowDefinition>
  236. </Grid.RowDefinitions>
  237. <Grid Grid.Row="0">
  238. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  239. Status="{Binding ElementName=self,Path=SampleValve}"
  240. IsCanEdit="True"
  241. ContextMenu="{StaticResource SampleValve}" RenderTransformOrigin="0.5,0.5">
  242. <customControls:CommonValveControl.RenderTransform>
  243. <TransformGroup>
  244. <ScaleTransform/>
  245. <SkewTransform/>
  246. <RotateTransform Angle="90"/>
  247. <TranslateTransform/>
  248. </TransformGroup>
  249. </customControls:CommonValveControl.RenderTransform>
  250. </customControls:CommonValveControl>
  251. </Grid>
  252. </Grid>
  253. <Label Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="Sample Valve" Canvas.Left="599" Canvas.Top="596" />
  254. <Grid Height="50" Width="120" Canvas.Left="539" Canvas.Top="326" HorizontalAlignment="Left" VerticalAlignment="Top" >
  255. <Grid.RowDefinitions>
  256. <RowDefinition Height="30"></RowDefinition>
  257. <RowDefinition Height="20"></RowDefinition>
  258. </Grid.RowDefinitions>
  259. <Grid Grid.Row="0" RenderTransformOrigin="0.5,0.5">
  260. <Grid.RenderTransform>
  261. <TransformGroup>
  262. <ScaleTransform/>
  263. <SkewTransform/>
  264. <RotateTransform Angle="90.829"/>
  265. <TranslateTransform/>
  266. </TransformGroup>
  267. </Grid.RenderTransform>
  268. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  269. Status="{Binding ElementName=self,Path=ReturnFlowValve}"
  270. IsCanEdit="True"
  271. ContextMenu="{StaticResource ReturnFlowValve}"/>
  272. </Grid>
  273. </Grid>
  274. <Label Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="ReturnFlow Valve" Canvas.Left="605" Canvas.Top="351" />
  275. <Canvas Width="150" Height="100" Canvas.Left="727" Canvas.Top="528" HorizontalAlignment="Left" VerticalAlignment="Top">
  276. <userControls:TempControl TempValue="{Binding ElementName=self,Path=ReservoirTemperature}" Status="{Binding ElementName=self,Path=TCStatus}"
  277. DisableStatus="{Binding ElementName=self,Path=TCEnableStatus}"
  278. MouseLeftButtonUp="JumpToTCAction">
  279. </userControls:TempControl>
  280. </Canvas>
  281. <Grid Canvas.Left="178" Canvas.Top="430" HorizontalAlignment="Center" VerticalAlignment="Top">
  282. <Grid.ColumnDefinitions>
  283. <ColumnDefinition Width="140"/>
  284. </Grid.ColumnDefinitions>
  285. <Grid.RowDefinitions>
  286. <RowDefinition Height="25"/>
  287. <RowDefinition Height="25"/>
  288. <RowDefinition Height="25"/>
  289. <RowDefinition Height="25"/>
  290. <RowDefinition Height="25"/>
  291. <RowDefinition Height="25"/>
  292. </Grid.RowDefinitions>
  293. <Grid Grid.Row="0" Grid.Column="0">
  294. <Label Content="CA Level" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  295. </Grid>
  296. <Border Grid.Row="1" Grid.Column="0" Margin="5,0,15,5" Background="Black" Width="100">
  297. <TextBlock Text="{Binding ElementName=self,Path=CALevel, StringFormat={}{0:F2} L}" Foreground="Lime" FontSize="12" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  298. </Border>
  299. <Grid Grid.Row="2" Grid.Column="0">
  300. <Label Content="CA LevelRaw" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  301. </Grid>
  302. <Border Grid.Row="3" Grid.Column="0" Margin="5,0,15,5" Background="Black" Width="100">
  303. <TextBlock Text="{Binding ElementName=self,Path=CALevelRaw, StringFormat={}{0:F2} %}" Foreground="Lime" FontSize="12" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  304. </Border>
  305. <Grid Grid.Row="4" Grid.Column="0">
  306. <Label Content="High" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>
  307. <Ellipse Margin="61,2,20,2" Width="16" Height="16" Stroke="Silver"
  308. Fill="{Binding ElementName=self,Path=IsCALevelHigh,Converter={StaticResource boolToRedGreenColor}}"/>
  309. </Grid>
  310. <Grid Grid.Row="5" Grid.Column="0">
  311. <Label Content="Low" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>
  312. <Ellipse Margin="61,2,20,2" Width="16" Height="16" Fill="{Binding ElementName=self,Path=IsCALevelLow,Converter={StaticResource boolToRedGreenColor}}" Stroke="Gray"/>
  313. </Grid>
  314. </Grid>
  315. <ctrls:TextboxWithLabel Canvas.Top="271" Canvas.Left="326" LabelValue="AN Flow" TextBoxValue="{Binding ANFlow, StringFormat={}{0:F2} L/min,ElementName=self}" TextBoxColor="Black" HorizontalAlignment="Center" VerticalAlignment="Top" />
  316. <ctrls:TextboxWithLabel Canvas.Top="141" Canvas.Left="671" LabelValue="CA Flow" TextBoxValue="{Binding CAFlow, StringFormat={}{0:F2} L/min,ElementName=self}" TextBoxColor="Black" HorizontalAlignment="Center" VerticalAlignment="Top" />
  317. <Ellipse Canvas.Left="256" Canvas.Top="100" Width="16" Height="16" Fill="{Binding IsANLevelHigh,ElementName=self, Converter={StaticResource boolToRedColor}}" Stroke="Silver"/>
  318. <Ellipse Canvas.Left="256" Canvas.Top="160" Width="16" Height="16" Fill="{Binding IsANLevelLow, ElementName=self, Converter={StaticResource boolToRedColor}}" Stroke="Silver" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  319. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding IsANPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="120" Canvas.Left="135" Canvas.Top="198" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  320. <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=ANIsolationValve}" Height="8" Width="95" Canvas.Left="463" Canvas.Top="224" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  321. <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=ReturnFlowValve}" Height="8" Width="200" Canvas.Left="603" Canvas.Top="224" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  322. <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=SampleValve}" Height="8" Width="80" Canvas.Left="590" Canvas.Top="591" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  323. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="120" Canvas.Left="797" Canvas.Top="415" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  324. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="60" Canvas.Left="797" Canvas.Top="210" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  325. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=DegasValve}" Height="8" Width="160" Canvas.Left="868" Canvas.Top="328" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  326. <ctrls:FlowPipe IsFlowing="{Binding IsCAPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="420" Canvas.Left="308" Canvas.Top="580" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  327. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=ReturnFlowValve}" Height="8" Width="290" Canvas.Left="308" Canvas.Top="420" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  328. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=ANIsolationValve}" Height="8" Width="325" Canvas.Left="131" Canvas.Top="317" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  329. <ctrls:FlowPipe IsFlowing="{Binding IsANPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="325" Canvas.Left="135" Canvas.Top="191" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  330. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=CAIsolationValve}" Height="8" Width="160" Canvas.Left="629" Canvas.Top="200" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="-1"/>
  331. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=DegasValve}" Height="8" Width="50" Canvas.Left="812" Canvas.Top="319" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  332. <ctrls:FlowPipe IsReverse="True" IsFlowing="{Binding ElementName=self,Path=DegasValve}" Height="8" Width="50" Canvas.Left="812" Canvas.Top="380" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="-1"/>
  333. <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=ANDiReplenValve}" Height="8" Width="120" Canvas.Left="104" Canvas.Top="79" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  334. <ctrls:FlowPipe IsFlowing="{Binding ElementName=self,Path=CADiReplenValve}" Height="8" Width="80" Canvas.Left="9" Canvas.Top="423" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  335. <customControls:CommonValveControl IsEnabled="{Binding IsEnabled}" Canvas.Left="156" Canvas.Top="72" Status="{Binding ElementName=self,Path=ANDiReplenValve,Mode=TwoWay}" ContextMenu="{StaticResource ANDiReplenInValve}" ValveOrientation="Horizontal" Height="20" Width="20" IsCanEdit="True" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  336. <customControls:CommonValveControl IsEnabled="{Binding IsEnabled}" Canvas.Left="43" Canvas.Top="416" Status="{Binding ElementName=self,Path=CADiReplenValve,Mode=TwoWay}" ContextMenu="{StaticResource CADiReplenInValve}" ValveOrientation="Horizontal" Height="20" Width="20" IsCanEdit="True" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  337. <Label Canvas.Left="129" Canvas.Top="92" Height="30" Width="80" FontSize="10" FontWeight="Bold" Content="AN DI RepleIn" />
  338. <Label Canvas.Left="10" Canvas.Top="435" Height="30" Width="80" FontSize="10" FontWeight="Bold" Content="CA DI RepleIn" />
  339. <ctrls:Pipe2 Canvas.Left="590" Canvas.Top="415" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >
  340. <local:Pipe2.RenderTransform>
  341. <TransformGroup>
  342. <ScaleTransform/>
  343. <SkewTransform/>
  344. <RotateTransform Angle="90"/>
  345. <TranslateTransform/>
  346. </TransformGroup>
  347. </local:Pipe2.RenderTransform>
  348. </ctrls:Pipe2>
  349. <ctrls:Pipe2 Canvas.Left="450" Canvas.Top="312" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >
  350. <local:Pipe2.RenderTransform>
  351. <TransformGroup>
  352. <ScaleTransform/>
  353. <SkewTransform/>
  354. <RotateTransform Angle="90"/>
  355. <TranslateTransform/>
  356. </TransformGroup>
  357. </local:Pipe2.RenderTransform>
  358. </ctrls:Pipe2>
  359. <ctrls:Pipe2 Canvas.Left="127" Canvas.Top="312" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >
  360. <local:Pipe2.RenderTransform>
  361. <TransformGroup>
  362. <ScaleTransform/>
  363. <SkewTransform/>
  364. <RotateTransform Angle="180"/>
  365. <TranslateTransform/>
  366. </TransformGroup>
  367. </local:Pipe2.RenderTransform>
  368. </ctrls:Pipe2>
  369. <ctrls:Pipe2 Canvas.Left="127" Canvas.Top="191" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >
  370. <local:Pipe2.RenderTransform>
  371. <TransformGroup>
  372. <ScaleTransform/>
  373. <SkewTransform/>
  374. <RotateTransform Angle="270"/>
  375. <TranslateTransform/>
  376. </TransformGroup>
  377. </local:Pipe2.RenderTransform>
  378. </ctrls:Pipe2>
  379. <ctrls:Pipe2 Canvas.Left="784" Canvas.Top="200" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >
  380. <local:Pipe2.RenderTransform>
  381. <TransformGroup>
  382. <ScaleTransform/>
  383. <SkewTransform/>
  384. <RotateTransform Angle="0"/>
  385. <TranslateTransform/>
  386. </TransformGroup>
  387. </local:Pipe2.RenderTransform>
  388. </ctrls:Pipe2>
  389. <ctrls:Pipe2 Canvas.Left="855" Canvas.Top="319" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="0" RenderTransformOrigin="0.5,0.5" >
  390. <local:Pipe2.RenderTransform>
  391. <TransformGroup>
  392. <ScaleTransform/>
  393. <SkewTransform/>
  394. <RotateTransform Angle="0"/>
  395. <TranslateTransform/>
  396. </TransformGroup>
  397. </local:Pipe2.RenderTransform>
  398. </ctrls:Pipe2>
  399. </Canvas>
  400. </UserControl>