DMReservoirUIControl.xaml 25 KB

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