DMReservoirUIControl.xaml 27 KB

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