终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

1798 行
130 KiB

  1. <UserControl
  2. x:Class="BPASmartClient.Academy.View.ReactionKettle50LView"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:bpa="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:local="clr-namespace:BPASmartClient.Academy.View"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel"
  10. d:DataContext="{d:DesignInstance Type=vm:ReactionKettle50LViewModel}"
  11. d:DesignHeight="900" d:DesignWidth="1440" mc:Ignorable="d">
  12. <UserControl.Resources>
  13. <Style x:Key="move" TargetType="{x:Type CheckBox}">
  14. <Setter Property="Template">
  15. <Setter.Value>
  16. <ControlTemplate TargetType="{x:Type CheckBox}">
  17. <Grid
  18. x:Name="pathgrid" Width="100" Height="50">
  19. <Viewbox Stretch="Uniform">
  20. <Grid Width="45" Height="20">
  21. <Path
  22. x:Name="path" HorizontalAlignment="Center" VerticalAlignment="Center" Fill="Red"
  23. StrokeThickness="0">
  24. <Path.Data>
  25. <GeometryGroup>
  26. <PathGeometry>
  27. <PathFigureCollection>
  28. <PathFigure StartPoint="0,6">
  29. <BezierSegment
  30. Point1="0,6" Point2="10,15" Point3="20,6" />
  31. <LineSegment Point="16,5.5" />
  32. <LineSegment Point="26,0" />
  33. <LineSegment Point="32,7.6" />
  34. <LineSegment Point="28.2,7.1" />
  35. <BezierSegment
  36. Point1="28.2,7.1" Point2="17,20" Point3="0,6" />
  37. </PathFigure>
  38. </PathFigureCollection>
  39. </PathGeometry>
  40. </GeometryGroup>
  41. </Path.Data>
  42. </Path>
  43. </Grid>
  44. </Viewbox>
  45. </Grid>
  46. <ControlTemplate.Triggers>
  47. <Trigger Property="IsChecked" Value="True">
  48. <Trigger.EnterActions>
  49. <BeginStoryboard x:Name="On">
  50. <Storyboard
  51. AutoReverse="True" RepeatBehavior="Forever" Duration="0:0:1">
  52. <DoubleAnimation
  53. AutoReverse="True" RepeatBehavior="1" Storyboard.TargetName="pathgrid"
  54. Storyboard.TargetProperty="Height" From="50" To="48" />
  55. <DoubleAnimation
  56. AutoReverse="True" RepeatBehavior="1" Storyboard.TargetName="pathgrid"
  57. Storyboard.TargetProperty="Width" From="100" To="95" />
  58. </Storyboard>
  59. </BeginStoryboard>
  60. </Trigger.EnterActions>
  61. <Setter TargetName="path" Property="Fill" Value="Red" />
  62. </Trigger>
  63. <Trigger Property="IsChecked" Value="False">
  64. <Setter TargetName="path" Property="Fill" Value="blue" />
  65. <Trigger.EnterActions>
  66. <RemoveStoryboard BeginStoryboardName="On" />
  67. </Trigger.EnterActions>
  68. </Trigger>
  69. </ControlTemplate.Triggers>
  70. </ControlTemplate>
  71. </Setter.Value>
  72. </Setter>
  73. </Style>
  74. <Style x:Key="wind" TargetType="{x:Type CheckBox}">
  75. <Setter Property="Template">
  76. <Setter.Value>
  77. <ControlTemplate TargetType="{x:Type CheckBox}">
  78. <Grid
  79. x:Name="pathgrid" Width="100" Height="100">
  80. <Viewbox Stretch="Uniform">
  81. <Grid Width="40" Height="40">
  82. <!--#region 扇叶-->
  83. <Grid Width="40" Height="40">
  84. <Grid.RenderTransform>
  85. <RotateTransform x:Name="rotateTransform" Angle="60" CenterX="20" CenterY="20" />
  86. </Grid.RenderTransform>
  87. <Ellipse
  88. Width="6" Height="6" StrokeThickness="0">
  89. <Ellipse.Fill>
  90. <RadialGradientBrush GradientOrigin="0.5,0.5">
  91. <GradientStop Offset="0" Color="White" />
  92. <GradientStop Offset="0.9" Color="#606060" />
  93. </RadialGradientBrush>
  94. </Ellipse.Fill>
  95. </Ellipse>
  96. <Path
  97. Fill="White" Stroke="White" StrokeThickness="0">
  98. <Path.Data>
  99. <PathGeometry>
  100. <PathFigureCollection>
  101. <PathFigure StartPoint="17,20">
  102. <LineSegment Point="10,20" />
  103. <BezierSegment
  104. Point1="10,20" Point2="8,8" Point3="20,10" />
  105. <LineSegment Point="20,17" />
  106. <BezierSegment
  107. Point1="20,17" Point2="17,17" Point3="17,20" />
  108. </PathFigure>
  109. <PathFigure StartPoint="20,23">
  110. <LineSegment Point="20,30" />
  111. <BezierSegment
  112. Point1="20,30" Point2="32,32" Point3="30,20" />
  113. <LineSegment Point="23,20" />
  114. <BezierSegment
  115. Point1="23,20" Point2="23,23" Point3="20,23" />
  116. </PathFigure>
  117. </PathFigureCollection>
  118. </PathGeometry>
  119. </Path.Data>
  120. </Path>
  121. </Grid>
  122. <!--#endregion-->
  123. <!--#region 外壳及管道-->
  124. <Ellipse
  125. x:Name="waike" Width="24" Height="24" Opacity="0.8"
  126. Stroke="#606060" StrokeThickness="0">
  127. <Ellipse.Fill>
  128. <RadialGradientBrush GradientOrigin="0.5,0.5">
  129. <GradientStop Offset="0" Color="White" />
  130. <GradientStop Offset="0.9" Color="#606060" />
  131. </RadialGradientBrush>
  132. </Ellipse.Fill>
  133. </Ellipse>
  134. <Path
  135. x:Name="guandao" Stroke="White" StrokeThickness="0">
  136. <Path.Data>
  137. <PathGeometry>
  138. <PathFigureCollection>
  139. <PathFigure StartPoint="20,8">
  140. <LineSegment Point="30,8" />
  141. <LineSegment Point="30,10" />
  142. <LineSegment Point="26.7,10" />
  143. <BezierSegment
  144. Point1="26.7,10" Point2="24,8" Point3="20,8" />
  145. </PathFigure>
  146. </PathFigureCollection>
  147. </PathGeometry>
  148. </Path.Data>
  149. <Path.Fill>
  150. <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
  151. <GradientStop Offset="0" Color="#606060" />
  152. <GradientStop Offset="0.5" Color="Snow" />
  153. <GradientStop Offset="1" Color="#606060" />
  154. </LinearGradientBrush>
  155. </Path.Fill>
  156. </Path>
  157. <!--#endregion-->
  158. </Grid>
  159. </Viewbox>
  160. </Grid>
  161. <ControlTemplate.Triggers>
  162. <Trigger Property="IsChecked" Value="True">
  163. <Trigger.EnterActions>
  164. <BeginStoryboard x:Name="On">
  165. <Storyboard AutoReverse="False" RepeatBehavior="Forever">
  166. <DoubleAnimation
  167. AutoReverse="False" RepeatBehavior="Forever" Storyboard.TargetName="rotateTransform"
  168. Storyboard.TargetProperty="Angle" From="0" To="360" Duration="0:0:0.6" />
  169. </Storyboard>
  170. </BeginStoryboard>
  171. </Trigger.EnterActions>
  172. <Setter TargetName="waike" Property="Fill">
  173. <Setter.Value>
  174. <RadialGradientBrush GradientOrigin="0.5,0.5">
  175. <GradientStop Offset="0" Color="White" />
  176. <GradientStop Offset="0.9" Color="Red" />
  177. </RadialGradientBrush>
  178. </Setter.Value>
  179. </Setter>
  180. <Setter TargetName="guandao" Property="Fill">
  181. <Setter.Value>
  182. <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
  183. <GradientStop Offset="0" Color="#606060" />
  184. <GradientStop Offset="0.5" Color="Red" />
  185. <GradientStop Offset="1" Color="#606060" />
  186. </LinearGradientBrush>
  187. </Setter.Value>
  188. </Setter>
  189. </Trigger>
  190. <Trigger Property="IsChecked" Value="False">
  191. <Trigger.EnterActions>
  192. <RemoveStoryboard BeginStoryboardName="On" />
  193. </Trigger.EnterActions>
  194. </Trigger>
  195. </ControlTemplate.Triggers>
  196. </ControlTemplate>
  197. </Setter.Value>
  198. </Setter>
  199. </Style>
  200. <Style x:Key="radiobutton" TargetType="RadioButton">
  201. <Setter Property="HorizontalContentAlignment" Value="Center" />
  202. <Setter Property="VerticalContentAlignment" Value="Center" />
  203. <Setter Property="Template">
  204. <Setter.Value>
  205. <ControlTemplate TargetType="RadioButton">
  206. <Border
  207. x:Name="bord"
  208. Width="{TemplateBinding Width}"
  209. Height="{TemplateBinding Height}"
  210. Background="{TemplateBinding Background}"
  211. BorderBrush="{TemplateBinding BorderBrush}"
  212. BorderThickness="{TemplateBinding BorderThickness}">
  213. <ContentControl
  214. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  215. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  216. Content="{TemplateBinding Content}"
  217. Foreground="{TemplateBinding Foreground}" />
  218. </Border>
  219. <ControlTemplate.Triggers>
  220. <Trigger Property="IsChecked" Value="True">
  221. <Setter TargetName="bord" Property="Background">
  222. <Setter.Value>
  223. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/红色圆角矩形背景.png" />
  224. </Setter.Value>
  225. </Setter>
  226. </Trigger>
  227. <Trigger Property="IsChecked" Value="False">
  228. <Setter TargetName="bord" Property="Background">
  229. <Setter.Value>
  230. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOff.png" />
  231. </Setter.Value>
  232. </Setter>
  233. </Trigger>
  234. </ControlTemplate.Triggers>
  235. </ControlTemplate>
  236. </Setter.Value>
  237. </Setter>
  238. </Style>
  239. <Style x:Key="NotchedSigalInArrow" TargetType="TextBlock" />
  240. </UserControl.Resources>
  241. <Grid>
  242. <!--#region 设备未连接时的遮罩-->
  243. <TextBlock
  244. x:Name="state" Grid.RowSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"
  245. Panel.ZIndex="299" d:Visibility="Collapsed" FontSize="100" FontWeight="Black"
  246. Foreground="Red" Text="设 备 未 连 接"
  247. Visibility="{Binding PLCIsConnected, Converter={StaticResource BoolToVisibilityReverseConverter}}" />
  248. <!--#endregion-->
  249. <!--#region 切换设备类型-->
  250. <Grid
  251. Height="50" HorizontalAlignment="Right" VerticalAlignment="Top">
  252. <Border Margin="0,0,100,0" HorizontalAlignment="Center">
  253. <Button
  254. Margin="20,5"
  255. Command="{Binding DataRecordCommand}"
  256. Content="选择设备类型"
  257. Style="{StaticResource ButtonStyle}" />
  258. </Border>
  259. </Grid>
  260. <!--#endregion-->
  261. <Grid
  262. x:Name="ooo" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" d:Opacity="1.0"
  263. IsHitTestVisible="{Binding PLCIsConnected}"
  264. Opacity="{Binding PLCIsConnected, Converter={StaticResource BoolToDoubleConverter}}">
  265. <Grid.RowDefinitions>
  266. <RowDefinition Height="50" />
  267. <RowDefinition Height="*" />
  268. <RowDefinition Height="150" />
  269. </Grid.RowDefinitions>
  270. <StackPanel
  271. Grid.Row="0" Height="50" Orientation="Horizontal">
  272. <CheckBox
  273. Width="160" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top"
  274. d:Content="系统启动"
  275. Command="{Binding Start}"
  276. Content="{Binding Content}"
  277. FontSize="30"
  278. IsChecked="{Binding IsChecked}"
  279. Style="{StaticResource Beveledcheck}" />
  280. <TextBlock
  281. VerticalAlignment="Center" FontSize="20" Foreground="White" Text="请输入产品编号:" />
  282. <TextBox
  283. x:Name="recipeName" Width="200" Height="40" VerticalAlignment="Center"
  284. FontSize="20"
  285. Text="{Binding Name}" />
  286. </StackPanel>
  287. <Viewbox
  288. Grid.Row="1" Margin="10" Stretch="Uniform">
  289. <Canvas Width="1200" Height="490">
  290. <!--#region 开关控制按钮-->
  291. <!--#region 压缩空气进气阀-->
  292. <bpa:PipeLineTL
  293. Canvas.Left="742" Canvas.Top="384" Canvas.Right="238.3" Width="20"
  294. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
  295. Direction="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  296. Fill="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  297. LineWidth="10" Speed="1.5" />
  298. <!--#region 压缩空气进气阀-->
  299. <bpa:PipeLineTL
  300. Canvas.Left="746.5" Canvas.Top="410" Canvas.Right="277.3" Width="10"
  301. Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  302. Direction="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  303. Fill="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  304. LineWidth="10" Speed="1.5" />
  305. <!--#region 开关控制按钮-->
  306. <bpa:PipeLineV
  307. Canvas.Left="744" Canvas.Top="31" Canvas.Right="250.9" Width="5"
  308. Height="30" HorizontalAlignment="Center" VerticalAlignment="Center"
  309. Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  310. Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  311. LineWidth="1" />
  312. <!--#region 开关控制按钮-->
  313. <bpa:PipeLineH
  314. Canvas.Left="332" Canvas.Top="22" Canvas.Right="260.7" Width="100"
  315. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  316. Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  317. Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  318. LineWidth="1" Speed="25" />
  319. <bpa:PipeLineV
  320. Canvas.Left="242" Canvas.Top="59" Width="5" Height="140"
  321. HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  322. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  323. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  324. LineWidth="1" RenderTransformOrigin="0.5,0.5" />
  325. <bpa:PipeLineH
  326. Canvas.Left="133" Canvas.Top="69" Width="152" Height="5"
  327. HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  328. Direction="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  329. Fill="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  330. LineWidth="1" />
  331. <!--#region 开关控制按钮-->
  332. <bpa:PipeLineH
  333. Canvas.Left="115" Canvas.Top="456" Canvas.Right="257.5" Width="95"
  334. Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
  335. Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  336. Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  337. LineWidth="1" Speed="10" />
  338. <!--#region 开关控制按钮-->
  339. <bpa:PipeLineBR
  340. Canvas.Left="216" Canvas.Top="438" Canvas.Right="272.3" Width="11"
  341. Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  342. Direction="{Binding DeviceStatus.BrinePumpState, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  343. Fill="{Binding DeviceStatus.BrinePumpState, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  344. LineWidth="10" Speed="1.5" />
  345. <!--#region 开关控制按钮-->
  346. <bpa:PipeLineH
  347. Canvas.Left="226" Canvas.Top="438" Canvas.Right="257.5" Width="366"
  348. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  349. Direction="{Binding DeviceStatus.BrinePumpState, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  350. Fill="{Binding DeviceStatus.BrinePumpState, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  351. LineWidth="1" Speed="10" />
  352. <!--#region 开关控制按钮-->
  353. <bpa:PipeLineTL
  354. Canvas.Left="746.5" Canvas.Top="433" Canvas.Right="272.3" Width="10"
  355. Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  356. Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  357. Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  358. LineWidth="10" Speed="1.5" />
  359. <!--#region 开关控制按钮-->
  360. <StackPanel
  361. Canvas.Left="913" Canvas.Top="142" HorizontalAlignment="Center" VerticalAlignment="Top"
  362. Panel.ZIndex="99" Orientation="Vertical">
  363. <RadioButton
  364. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  365. Click="open_Click" Content="旋转电机:开" FontSize="8" Foreground="White"
  366. Style="{StaticResource radiobutton}"
  367. Tag="反应釜旋转电机" />
  368. <RadioButton
  369. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  370. Content="旋转电机:关" FontSize="8" Foreground="White" IsChecked="True"
  371. Style="{StaticResource radiobutton}"
  372. Tag="反应釜旋转电机" />
  373. </StackPanel>
  374. <StackPanel
  375. Canvas.Left="13" Canvas.Top="156" HorizontalAlignment="Center" VerticalAlignment="Top"
  376. Panel.ZIndex="99" Orientation="Vertical">
  377. <RadioButton
  378. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  379. Click="open_Click" Content="负压风机:开" FontSize="8" Foreground="White"
  380. Style="{StaticResource radiobutton}"
  381. Tag="负压风机" />
  382. <RadioButton
  383. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  384. Content="负压风机:关" FontSize="8" Foreground="White" IsChecked="True"
  385. Style="{StaticResource radiobutton}"
  386. Tag="负压风机" />
  387. </StackPanel>
  388. <StackPanel
  389. Canvas.Left="247" Canvas.Top="446" HorizontalAlignment="Left" VerticalAlignment="Top"
  390. Panel.ZIndex="99" Orientation="Vertical">
  391. <RadioButton
  392. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  393. Click="open_Click" Content="卤水泵:开" FontSize="8" Foreground="White"
  394. Style="{StaticResource radiobutton}"
  395. Tag="卤水泵" />
  396. <RadioButton
  397. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  398. Content="卤水泵:关" FontSize="8" Foreground="White" IsChecked="True"
  399. Style="{StaticResource radiobutton}"
  400. Tag="卤水泵" />
  401. </StackPanel>
  402. <StackPanel
  403. Canvas.Left="772" Canvas.Top="331" HorizontalAlignment="Center" VerticalAlignment="Top"
  404. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  405. <RadioButton
  406. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  407. Click="open_Click" Content="反应釜回原点:开" FontSize="8" Foreground="White"
  408. Style="{StaticResource radiobutton}"
  409. Tag="反应釜回原点" />
  410. <RadioButton
  411. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  412. Content="反应釜回原点:关" FontSize="8" Foreground="White" IsChecked="True"
  413. Style="{StaticResource radiobutton}"
  414. Tag="反应釜回原点" />
  415. </StackPanel>
  416. <StackPanel
  417. Canvas.Left="813" Canvas.Top="322" HorizontalAlignment="Left" VerticalAlignment="Center"
  418. Panel.ZIndex="99" Orientation="Vertical">
  419. <RadioButton
  420. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  421. Click="open_Click" Content="反应釜反转:开" FontSize="8" Foreground="White"
  422. Style="{StaticResource radiobutton}"
  423. Tag="反应釜反转" />
  424. <RadioButton
  425. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  426. Content="反应釜反转:关" FontSize="8" Foreground="White" IsChecked="True"
  427. Style="{StaticResource radiobutton}"
  428. Tag="反应釜反转" />
  429. </StackPanel>
  430. <StackPanel
  431. Canvas.Left="875" Canvas.Top="382" HorizontalAlignment="Center" VerticalAlignment="Top"
  432. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  433. <RadioButton
  434. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  435. Click="open_Click" Content="反应釜去倒料位:开" FontSize="8" Foreground="White"
  436. Style="{StaticResource radiobutton}"
  437. Tag="反应釜去倒料位" />
  438. <RadioButton
  439. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  440. Content="反应釜去倒料位:关" FontSize="8" Foreground="White" IsChecked="True"
  441. Style="{StaticResource radiobutton}"
  442. Tag="反应釜去倒料位" />
  443. </StackPanel>
  444. <StackPanel
  445. Canvas.Left="772" Canvas.Top="382" HorizontalAlignment="Left" VerticalAlignment="Top"
  446. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  447. <RadioButton
  448. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  449. Click="open_Click" Content="反应釜去加料位:开" FontSize="8" Foreground="White"
  450. Style="{StaticResource radiobutton}"
  451. Tag="去加料位" />
  452. <RadioButton
  453. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  454. Content="反应釜去加料位:关" FontSize="8" Foreground="White" IsChecked="True"
  455. Style="{StaticResource radiobutton}"
  456. Tag="去加料位" />
  457. </StackPanel>
  458. <StackPanel
  459. Canvas.Left="870" Canvas.Top="394" HorizontalAlignment="Center" VerticalAlignment="Top"
  460. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  461. <RadioButton
  462. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  463. Click="open_Click" Content="反应釜进料:开" FontSize="8" Foreground="White"
  464. Style="{StaticResource radiobutton}"
  465. Tag="反应釜进料" />
  466. <RadioButton
  467. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  468. Content="反应釜进料:关" FontSize="8" Foreground="White" IsChecked="True"
  469. Style="{StaticResource radiobutton}"
  470. Tag="反应釜进料" />
  471. </StackPanel>
  472. <StackPanel
  473. Canvas.Left="921.095" Canvas.Top="264.326" HorizontalAlignment="Left" VerticalAlignment="Top"
  474. Panel.ZIndex="99" Orientation="Vertical">
  475. <RadioButton
  476. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  477. Click="open_Click" Content="旋转电机点动:开" FontSize="8" Foreground="White"
  478. Style="{StaticResource radiobutton}"
  479. Tag="反应釜旋转电机点动" />
  480. <RadioButton
  481. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  482. Content="旋转电机点动:关" FontSize="8" Foreground="White" IsChecked="True"
  483. Style="{StaticResource radiobutton}"
  484. Tag="反应釜旋转电机点动" />
  485. </StackPanel>
  486. <StackPanel
  487. Canvas.Left="800" Canvas.Top="440.853" HorizontalAlignment="Left" VerticalAlignment="Top"
  488. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  489. <RadioButton
  490. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  491. Click="open_Click" Content="反应釜升温:开" FontSize="8" Foreground="White"
  492. Style="{StaticResource radiobutton}"
  493. Tag="反应釜升温" />
  494. <RadioButton
  495. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  496. Content="反应釜升温:关" FontSize="8" Foreground="White" IsChecked="True"
  497. Style="{StaticResource radiobutton}"
  498. Tag="反应釜升温" />
  499. </StackPanel>
  500. <StackPanel
  501. Canvas.Left="886.095" Canvas.Top="440.953" HorizontalAlignment="Left" VerticalAlignment="Top"
  502. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  503. <RadioButton
  504. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  505. Click="open_Click" Content="反应釜降温:开" FontSize="8" Foreground="White"
  506. Style="{StaticResource radiobutton}"
  507. Tag="反应釜降温" />
  508. <RadioButton
  509. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  510. Content="反应釜降温:关" FontSize="8" Foreground="White" IsChecked="True"
  511. Style="{StaticResource radiobutton}"
  512. Tag="反应釜降温" />
  513. </StackPanel>
  514. <StackPanel
  515. Canvas.Left="886.095" Canvas.Top="389.9" HorizontalAlignment="Left" VerticalAlignment="Top"
  516. Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
  517. <RadioButton
  518. Width="70" Height="20" BorderThickness="0" Click="open_Click"
  519. Content="冷凝水罐降温:开" FontSize="8" Foreground="White"
  520. Style="{StaticResource radiobutton}"
  521. Tag="冷凝水罐降温" />
  522. <RadioButton
  523. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  524. Content="冷凝水罐降温:关" FontSize="8" Foreground="White" IsChecked="True"
  525. Style="{StaticResource radiobutton}"
  526. Tag="冷凝水罐降温" />
  527. </StackPanel>
  528. <StackPanel
  529. Canvas.Left="800" Canvas.Top="78" HorizontalAlignment="Left" VerticalAlignment="Top"
  530. Panel.ZIndex="99" Orientation="Vertical">
  531. <RadioButton
  532. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  533. Click="open_Click" Content="反应釜泄压阀:开" FontSize="8" Foreground="White"
  534. Style="{StaticResource radiobutton}"
  535. Tag="反应釜泄压阀" />
  536. <RadioButton
  537. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  538. Content="反应釜泄压阀:关" FontSize="8" Foreground="White" IsChecked="True"
  539. Style="{StaticResource radiobutton}"
  540. Tag="反应釜泄压阀" />
  541. </StackPanel>
  542. <!-- 之前抽真空阀叫排热空气阀,后面改了 -->
  543. <StackPanel
  544. Canvas.Left="607" Canvas.Top="230" HorizontalAlignment="Left" VerticalAlignment="Center"
  545. Panel.ZIndex="99" Orientation="Vertical">
  546. <RadioButton
  547. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  548. Click="open_Click" Content="抽真空阀:开" FontSize="8" Foreground="White"
  549. Style="{StaticResource radiobutton}"
  550. Tag="抽真空阀" />
  551. <RadioButton
  552. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  553. Content="抽真空阀:关" FontSize="8" Foreground="White" IsChecked="True"
  554. Style="{StaticResource radiobutton}"
  555. Tag="抽真空阀" />
  556. </StackPanel>
  557. <StackPanel
  558. Canvas.Left="632" Canvas.Top="149" HorizontalAlignment="Left" VerticalAlignment="Center"
  559. Panel.ZIndex="99" Orientation="Vertical">
  560. <RadioButton
  561. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  562. Click="open_Click" Content="热气排空阀:开" FontSize="8" Foreground="White"
  563. Style="{StaticResource radiobutton}"
  564. Tag="热气排空阀" />
  565. <RadioButton
  566. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  567. Content="热气排空阀:关" FontSize="8" Foreground="White" IsChecked="True"
  568. Style="{StaticResource radiobutton}"
  569. Tag="热气排空阀" />
  570. </StackPanel>
  571. <StackPanel
  572. Canvas.Left="496" Canvas.Top="99" HorizontalAlignment="Left" VerticalAlignment="Center"
  573. Panel.ZIndex="99" Orientation="Vertical">
  574. <RadioButton
  575. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  576. Click="open_Click" Content="冷凝水进气阀:开" FontSize="8" Foreground="White"
  577. Style="{StaticResource radiobutton}"
  578. Tag="冷凝水进气阀" />
  579. <RadioButton
  580. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  581. Content="冷凝水进气阀:关" FontSize="8" Foreground="White" IsChecked="True"
  582. Style="{StaticResource radiobutton}"
  583. Tag="冷凝水进气阀" />
  584. </StackPanel>
  585. <StackPanel
  586. Canvas.Left="478" Canvas.Top="251" HorizontalAlignment="Left" VerticalAlignment="Center"
  587. Panel.ZIndex="99" Orientation="Vertical">
  588. <RadioButton
  589. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  590. Click="open_Click" Content="反应釜排水阀:开" FontSize="8" Foreground="White"
  591. Style="{StaticResource radiobutton}"
  592. Tag="反应釜排水阀" />
  593. <RadioButton
  594. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  595. Content="反应釜排水阀:关" FontSize="8" Foreground="White" IsChecked="True"
  596. Style="{StaticResource radiobutton}"
  597. Tag="反应釜排水阀" />
  598. </StackPanel>
  599. <StackPanel
  600. Canvas.Left="364" Canvas.Top="285" Width="102" HorizontalAlignment="Left"
  601. VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  602. <RadioButton
  603. Width="85" Height="20" Margin="0,0,0,2" BorderThickness="0"
  604. Click="open_Click" Content="反应釜出冷却水阀:开" FontSize="8" Foreground="White"
  605. Style="{StaticResource radiobutton}"
  606. Tag="反应釜出冷却水阀" />
  607. <RadioButton
  608. Width="85" Height="20" BorderThickness="0" Click="close_Click"
  609. Content="反应釜出冷却水阀:关" FontSize="8" Foreground="White" IsChecked="True"
  610. Style="{StaticResource radiobutton}"
  611. Tag="反应釜出冷却水阀" />
  612. </StackPanel>
  613. <StackPanel
  614. Canvas.Left="543" Canvas.Top="370" HorizontalAlignment="Left" VerticalAlignment="Top"
  615. Panel.ZIndex="99" Orientation="Vertical">
  616. <RadioButton
  617. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  618. Click="open_Click" Content="进清水阀:开" FontSize="8" Foreground="White"
  619. Style="{StaticResource radiobutton}"
  620. Tag="反应釜进清水阀" />
  621. <RadioButton
  622. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  623. Content="进清水阀:关" FontSize="8" Foreground="White" IsChecked="True"
  624. Style="{StaticResource radiobutton}"
  625. Tag="反应釜进清水阀" />
  626. </StackPanel>
  627. <StackPanel
  628. Canvas.Left="306" Canvas.Top="378" HorizontalAlignment="Center" VerticalAlignment="Top"
  629. Panel.ZIndex="99" Orientation="Vertical">
  630. <RadioButton
  631. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  632. Click="open_Click" Content="压缩空气进气阀:开" FontSize="8" Foreground="White"
  633. Style="{StaticResource radiobutton}"
  634. Tag="反应釜压缩空气进气阀" />
  635. <RadioButton
  636. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  637. Content="压缩空气进气阀:关" FontSize="8" Foreground="White" IsChecked="True"
  638. Style="{StaticResource radiobutton}"
  639. Tag="反应釜压缩空气进气阀" />
  640. </StackPanel>
  641. <StackPanel
  642. Canvas.Left="503" Canvas.Top="446" HorizontalAlignment="Left" VerticalAlignment="Center"
  643. Panel.ZIndex="99" Orientation="Vertical">
  644. <RadioButton
  645. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  646. Click="open_Click" Content="反应釜进卤水阀:开" FontSize="8" Foreground="White"
  647. Style="{StaticResource radiobutton}"
  648. Tag="反应釜进卤水阀" />
  649. <RadioButton
  650. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  651. Content="反应釜进卤水阀:关" FontSize="8" Foreground="White" IsChecked="True"
  652. Style="{StaticResource radiobutton}"
  653. Tag="反应釜进卤水阀" />
  654. </StackPanel>
  655. <StackPanel
  656. Canvas.Left="95" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top"
  657. Panel.ZIndex="99" Orientation="Vertical">
  658. <RadioButton
  659. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  660. Click="open_Click" Content="冷凝水罐真空阀:开" FontSize="8" Foreground="White"
  661. Style="{StaticResource radiobutton}"
  662. Tag="冷凝水罐真空阀" />
  663. <RadioButton
  664. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  665. Content="冷凝水罐真空阀:关" FontSize="8" Foreground="White" IsChecked="True"
  666. Style="{StaticResource radiobutton}"
  667. Tag="冷凝水罐真空阀" />
  668. </StackPanel>
  669. <StackPanel
  670. Canvas.Left="141" Canvas.Top="148" HorizontalAlignment="Center" VerticalAlignment="Top"
  671. Panel.ZIndex="99" Orientation="Vertical">
  672. <RadioButton
  673. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  674. Click="open_Click" Content="冷凝水罐进水阀:开" FontSize="8" Foreground="White"
  675. Style="{StaticResource radiobutton}"
  676. Tag="冷凝水罐进水阀" />
  677. <RadioButton
  678. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  679. Content="冷凝水罐进水阀:关" FontSize="8" Foreground="White" IsChecked="True"
  680. Style="{StaticResource radiobutton}"
  681. Tag="冷凝水罐进水阀" />
  682. </StackPanel>
  683. <StackPanel
  684. Canvas.Left="14" Canvas.Top="249" HorizontalAlignment="Center" VerticalAlignment="Top"
  685. Panel.ZIndex="99" Orientation="Vertical">
  686. <RadioButton
  687. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  688. Click="open_Click" Content="空压机:开" FontSize="8" Foreground="White"
  689. Style="{StaticResource radiobutton}"
  690. Tag="空压机启动" />
  691. <RadioButton
  692. Width="70" Height="20" BorderThickness="0" Click="close_Click"
  693. Content="空压机:关" FontSize="8" Foreground="White" IsChecked="True"
  694. Style="{StaticResource radiobutton}"
  695. Tag="空压机启动" />
  696. </StackPanel>
  697. <Button
  698. Canvas.Left="133" Canvas.Top="283" Width="100" Height="20"
  699. HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="99" BorderThickness="0"
  700. Click="open_Click" Content="称重水罐重量清零" FontSize="8" Foreground="White"
  701. Style="{StaticResource ButtonStyle}"
  702. Tag="称重水罐重量清零" />
  703. <Button
  704. Canvas.Left="53" Canvas.Top="467" Width="100" Height="20"
  705. HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="99" BorderThickness="0"
  706. Click="open_Click" Content="卤水配制罐重量清零" FontSize="8" Foreground="White"
  707. Style="{StaticResource ButtonStyle}"
  708. Tag="卤水配制罐重量清零" />
  709. <!--#region 进卤水阀、压缩空气进气阀连接处-->
  710. <Image
  711. Canvas.Left="429" Canvas.Top="59" Width="235" Height="264"
  712. HorizontalAlignment="Left" VerticalAlignment="Center" Source="../50L/Page/罐.png">
  713. <Image.RenderTransform>
  714. <TransformGroup>
  715. <ScaleTransform ScaleX="-1.0" />
  716. </TransformGroup>
  717. </Image.RenderTransform>
  718. </Image>
  719. <Image
  720. Canvas.Left="700" Canvas.Top="128" Canvas.Right="0" Width="300"
  721. Height="224" HorizontalAlignment="Center" VerticalAlignment="Center" Source="../50L/Page/50L反应釜.png" />
  722. <CheckBox
  723. Canvas.Left="800" Canvas.Top="195.5" Canvas.Right="100" HorizontalAlignment="Center"
  724. VerticalAlignment="Top" Background="Red"
  725. IsChecked="{Binding DeviceStatus.ReactTurnMotor}"
  726. IsEnabled="False"
  727. Style="{StaticResource move}" />
  728. <local:BrineTank
  729. Canvas.Left="71" Canvas.Top="400" Width="78" HorizontalAlignment="Center"
  730. VerticalAlignment="Top" />
  731. <!--#region 标记信息-->
  732. <TextBlock
  733. Canvas.Left="292" Canvas.Top="257" HorizontalAlignment="Left" VerticalAlignment="Center"
  734. FontSize="12" Foreground="White" Text="称重水罐" />
  735. <TextBlock
  736. Canvas.Left="340" Canvas.Top="126" HorizontalAlignment="Left" VerticalAlignment="Center"
  737. FontSize="10" Foreground="White" Text="冷&#xA;凝&#xA;水&#xA;罐" />
  738. <TextBlock
  739. Canvas.Left="933" Canvas.Top="204" Canvas.Right="384.8" Height="20"
  740. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  741. Foreground="{Binding DeviceStatus.ReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
  742. Text="⚫" TextAlignment="Center" />
  743. <TextBlock
  744. Canvas.Left="927" Canvas.Top="224" Canvas.Right="384.8" HorizontalAlignment="Left"
  745. VerticalAlignment="Center" FontSize="12" Foreground="White" Text="反应釜&#xA;原点"
  746. TextAlignment="Center" />
  747. <TextBlock
  748. Canvas.Left="875" Canvas.Top="118" Canvas.Right="384.8" Height="20"
  749. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  750. Foreground="{Binding DeviceStatus.ReactPressureReliefValve, Converter={StaticResource BoolToColorConverter}}"
  751. Text="⚫" TextAlignment="Center" />
  752. <!--#region 模拟量反馈-->
  753. <TextBlock
  754. Canvas.Left="799" Canvas.Top="265" Width="110" HorizontalAlignment="Center"
  755. VerticalAlignment="Top" d:Text="温度:199℃" Foreground="Red"
  756. Text="{Binding DeviceStatus.ReactTemp, StringFormat=温度:\{0:F2\}℃}"
  757. TextAlignment="Center" />
  758. <TextBlock
  759. Canvas.Left="768" Canvas.Top="30" Width="123" HorizontalAlignment="Left"
  760. VerticalAlignment="Top" d:Text="蒸汽压力:0.62MPa" Foreground="Red"
  761. Text="{Binding DeviceStatus.ReactSteamPressure, StringFormat=蒸汽压力:\{0:F2\}MPa}"
  762. TextAlignment="Center" />
  763. <TextBlock
  764. Canvas.Left="768" Canvas.Top="50" Width="123" HorizontalAlignment="Left"
  765. VerticalAlignment="Top" d:Text="蒸汽流量:30.02m³/H" Foreground="Red"
  766. Text="{Binding DeviceStatus.ReactSteamFlow, StringFormat=蒸汽流量:\{0:F2\}m³/H}"
  767. TextAlignment="Center" />
  768. <TextBlock
  769. Canvas.Left="377" Canvas.Top="156" Width="135" HorizontalAlignment="Center"
  770. VerticalAlignment="Top" d:Text="冷凝水罐温度:30.02℃" Foreground="Red"
  771. Text="{Binding DeviceStatus.ColdWaterTankTemp, StringFormat=冷凝水罐温度:\{0:F2\}℃}"
  772. TextAlignment="Center" />
  773. <TextBlock
  774. Canvas.Left="379" Canvas.Top="171" Width="145" HorizontalAlignment="Center"
  775. VerticalAlignment="Top" d:Text="冷凝水罐湿度:30.20%RH" Foreground="Red"
  776. Text="{Binding DeviceStatus.ColdWaterTankHumidity, StringFormat=冷凝水罐湿度:\{0:F2\}%RH}"
  777. TextAlignment="Center" />
  778. <TextBlock
  779. Canvas.Left="57" Canvas.Top="44" Width="98" HorizontalAlignment="Left"
  780. VerticalAlignment="Center" d:Text="流量:30.02m³/H" Foreground="Red"
  781. Text="{Binding DeviceStatus.VacuumFlow, StringFormat=流量:\{0:F2\}m³/H}"
  782. TextAlignment="Center" />
  783. <TextBlock
  784. Canvas.Left="261" Canvas.Top="274" Width="107" Height="18"
  785. HorizontalAlignment="Left" VerticalAlignment="Center" d:Text="重量:30.22Kg" Foreground="Red"
  786. Text="{Binding DeviceStatus.WaterTankWeight, StringFormat=重量:\{0:F2\}Kg}"
  787. TextAlignment="Center" />
  788. <TextBlock
  789. Canvas.Left="799" Canvas.Top="186" Width="110" HorizontalAlignment="Left"
  790. VerticalAlignment="Top" d:Text="角度:30.0°" Foreground="Red"
  791. Text="{Binding DeviceStatus.ReactEncoderValue, StringFormat=角度:\{0:F2\}°}"
  792. TextAlignment="Center" />
  793. <TextBlock
  794. Canvas.Left="234" Canvas.Top="2" Width="110" HorizontalAlignment="Left"
  795. VerticalAlignment="Center" d:Text="开度:13.22" Foreground="Red"
  796. Text="{Binding DeviceStatus.SteamProportValveRealOpening, StringFormat=开度:\{0:F2\}}"
  797. TextAlignment="Center" />
  798. <TextBlock
  799. Canvas.Left="60" Canvas.Top="426" Width="110" HorizontalAlignment="Center"
  800. VerticalAlignment="Top" d:Text="重量:30.23Kg" Foreground="Red"
  801. Text="{Binding DeviceStatus.BrineTankWeight, StringFormat=重量:\{0:F2\}Kg}"
  802. TextAlignment="Center" />
  803. <TextBlock
  804. Canvas.Left="799" Canvas.Top="281" Width="110" HorizontalAlignment="Center"
  805. VerticalAlignment="Top" d:Text="压力:0.53MPa" Foreground="Red"
  806. Text="{Binding DeviceStatus.ReactPressure, StringFormat=压力:\{0:F2\}MPa}"
  807. TextAlignment="Center" />
  808. <!--#region 冷却水出水阀-->
  809. <bpa:PipeLineV
  810. Canvas.Left="735" Canvas.Top="224.571" Canvas.Right="260" Width="5"
  811. Height="67" HorizontalAlignment="Center" VerticalAlignment="Top" LineWidth="1">
  812. <bpa:PipeLineV.Fill>
  813. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="2">
  814. <Binding Path="DeviceStatus.ReactOutHotGasValve" />
  815. <Binding Path="DeviceStatus.ReactDrainValve" />
  816. </MultiBinding>
  817. </bpa:PipeLineV.Fill>
  818. <bpa:PipeLineV.Direction>
  819. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="1">
  820. <Binding Path="DeviceStatus.ReactOutHotGasValve" />
  821. <Binding Path="DeviceStatus.ReactDrainValve" />
  822. </MultiBinding>
  823. </bpa:PipeLineV.Direction>
  824. </bpa:PipeLineV>
  825. <!--#region 冷凝水罐进气阀-->
  826. <bpa:PipeLineV
  827. Canvas.Left="591" Canvas.Top="73" Canvas.Right="404.2" Width="5"
  828. Height="137" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
  829. Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  830. Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  831. LineWidth="1" />
  832. <bpa:PipeLineBL
  833. Canvas.Left="585.8" Canvas.Top="63.4" Canvas.Right="404.2" Width="10"
  834. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
  835. Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  836. Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  837. LineWidth="10" Speed="1.5" />
  838. <bpa:PipeLineH
  839. Canvas.Left="349" Canvas.Top="63" Canvas.Right="413.9" Width="238"
  840. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  841. Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  842. Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  843. LineWidth="1" />
  844. <bpa:PipeLineBR
  845. Canvas.Left="339" Canvas.Top="63" Canvas.Right="480.2" Width="10"
  846. Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  847. Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  848. Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  849. LineWidth="10" Speed="1.5" />
  850. <bpa:HandValve
  851. Canvas.Left="603" Canvas.Top="114" Canvas.Right="380.8" Width="16"
  852. Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
  853. EdgeColor="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  854. OpenEnable="{Binding DeviceStatus.ColdWaterTankInAirValve}">
  855. <bpa:HandValve.RenderTransform>
  856. <RotateTransform Angle="90" />
  857. </bpa:HandValve.RenderTransform>
  858. </bpa:HandValve>
  859. <TextBlock
  860. Canvas.Left="607" Canvas.Top="68" Canvas.Right="384.8" HorizontalAlignment="Center"
  861. VerticalAlignment="Top" FontSize="12" Foreground="White"
  862. Text="冷&#xA;凝&#xA;水&#xA;罐&#xA;进&#xA;气&#xA;阀"
  863. TextAlignment="Center" />
  864. <!--#region 热气排空阀-->
  865. <bpa:PipeLineH
  866. Canvas.Left="601" Canvas.Top="215" Canvas.Right="339.4" Width="78"
  867. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center"
  868. Direction="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  869. Fill="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  870. LineWidth="1" Speed="0.23" />
  871. <bpa:HandValve
  872. Canvas.Left="662" Canvas.Top="207" Canvas.Right="343.4" Width="16"
  873. Height="16" HorizontalAlignment="Left" VerticalAlignment="Center"
  874. EdgeColor="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  875. OpenEnable="{Binding DeviceStatus.HotGasEmptyValve}" />
  876. <TextBlock
  877. Canvas.Left="639" Canvas.Top="192" Canvas.Right="312.8" HorizontalAlignment="Left"
  878. VerticalAlignment="Center" FontSize="12" Foreground="White" Text="热气排空阀"
  879. TextAlignment="Center" />
  880. <!--#region 抽真空阀-->
  881. <bpa:PipeLineH
  882. Canvas.Left="600.3" Canvas.Top="295.5" Canvas.Right="269.7" Width="130"
  883. Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
  884. Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  885. Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  886. LineWidth="1" />
  887. <bpa:PipeLineTR
  888. Canvas.Left="591" Canvas.Top="290.5" Canvas.Right="399.2" Width="10"
  889. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top"
  890. Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  891. Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  892. LineWidth="10" Speed="1.5" />
  893. <bpa:PipeLineV
  894. Canvas.Left="591" Canvas.Top="210" Canvas.Right="404.2" Width="5"
  895. Height="81" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
  896. Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  897. Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  898. LineWidth="1" />
  899. <bpa:HandValve
  900. Canvas.Left="635.883" Canvas.Top="288.036" Canvas.Right="380.8" Width="16"
  901. Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
  902. EdgeColor="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  903. OpenEnable="{Binding DeviceStatus.ReactOutHotGasValve}" />
  904. <!-- 之前抽真空阀叫排热空气阀,后面改了 -->
  905. <TextBlock
  906. Canvas.Left="618" Canvas.Top="272" Canvas.Right="384.8" HorizontalAlignment="Left"
  907. VerticalAlignment="Center" FontSize="12" Foreground="White" Text="抽真空阀"
  908. TextAlignment="Center" />
  909. <!--#region 反应釜排水阀-->
  910. <bpa:PipeLineV
  911. Canvas.Left="735" Canvas.Top="292" Canvas.Right="260" Width="5"
  912. Height="22" HorizontalAlignment="Center" VerticalAlignment="Top"
  913. Direction="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  914. Fill="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  915. LineWidth="1" />
  916. <bpa:PipeLineTL
  917. Canvas.Left="725" Canvas.Top="313" Canvas.Right="255" Width="20"
  918. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top"
  919. Direction="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  920. Fill="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  921. LineWidth="10" Speed="1.5" />
  922. <bpa:PipeLineH
  923. Canvas.Left="505" Canvas.Top="318" Canvas.Right="269" Width="226"
  924. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  925. Direction="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  926. Fill="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  927. LineWidth="1" />
  928. <bpa:HandValve
  929. Canvas.Left="514" Canvas.Top="310" Canvas.Right="339" Width="16"
  930. Height="16" HorizontalAlignment="Left" VerticalAlignment="Center"
  931. EdgeColor="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  932. OpenEnable="{Binding DeviceStatus.ReactDrainValve}" />
  933. <TextBlock
  934. Canvas.Left="484" Canvas.Top="297" HorizontalAlignment="Left" VerticalAlignment="Center"
  935. FontSize="12" Foreground="White" Text="反应釜排水阀" TextAlignment="Center" />
  936. <!--#region 冷却水、疏水-->
  937. <bpa:PipeLineV
  938. Canvas.Left="744" Canvas.Top="225" Canvas.Right="250.9" Width="5"
  939. Height="122" HorizontalAlignment="Center" VerticalAlignment="Top"
  940. Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  941. Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=7, Converter={StaticResource deviceConvert}}"
  942. LineWidth="1" />
  943. <bpa:PipeLineTL
  944. Canvas.Left="734" Canvas.Top="347" Canvas.Right="245.9" Width="20"
  945. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top"
  946. Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  947. Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=7, Converter={StaticResource deviceConvert}}"
  948. LineWidth="10" Speed="1.5" />
  949. <bpa:PipeLineH
  950. Canvas.Left="340" Canvas.Top="352" Canvas.Right="260.6" Width="399"
  951. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  952. Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  953. Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=7, Converter={StaticResource deviceConvert}}"
  954. LineWidth="1" Speed="16" />
  955. <bpa:HandValve
  956. Canvas.Left="406" Canvas.Top="345" Canvas.Right="360" Width="16"
  957. Height="16" HorizontalAlignment="Left" VerticalAlignment="Center"
  958. EdgeColor="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  959. OpenEnable="{Binding DeviceStatus.ReactOutColdValve}" />
  960. <TextBlock
  961. Canvas.Left="378" Canvas.Top="330" HorizontalAlignment="Left" VerticalAlignment="Center"
  962. FontSize="12" Foreground="White" Text="冷却水、疏水" TextAlignment="Center" />
  963. <!--#region 进清水阀、进卤水阀、压缩空气进气阀进连接处-->
  964. <bpa:PipeLineV
  965. Canvas.Left="751.7" Canvas.Top="224.571" Canvas.Right="243.3" Width="5"
  966. Height="160" HorizontalAlignment="Center" VerticalAlignment="Top" LineWidth="1">
  967. <bpa:PipeLineV.Fill>
  968. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="2">
  969. <Binding Path="DeviceStatus.ReactInCleanWaterValve" />
  970. <Binding Path="DeviceStatus.ReactPressureAirInValve" />
  971. <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
  972. </MultiBinding>
  973. </bpa:PipeLineV.Fill>
  974. <bpa:PipeLineV.Direction>
  975. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="5">
  976. <Binding Path="DeviceStatus.ReactInCleanWaterValve" />
  977. <Binding Path="DeviceStatus.ReactPressureAirInValve" />
  978. <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
  979. </MultiBinding>
  980. </bpa:PipeLineV.Direction>
  981. </bpa:PipeLineV>
  982. <!--#region 进清水阀-->
  983. <bpa:PipeLineH
  984. Canvas.Left="641" Canvas.Top="389" Canvas.Right="272.9" Width="106"
  985. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  986. Direction="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  987. Fill="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  988. LineWidth="1" />
  989. <bpa:HandValve
  990. Canvas.Left="644" Canvas.Top="382" Canvas.Right="384" Width="16"
  991. Height="16" HorizontalAlignment="Left" VerticalAlignment="Center"
  992. EdgeColor="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  993. OpenEnable="{Binding DeviceStatus.ReactInCleanWaterValve}" />
  994. <TextBlock
  995. Canvas.Left="628" Canvas.Top="362" HorizontalAlignment="Center" VerticalAlignment="Top"
  996. FontSize="12" Foreground="White" Text="进清水阀" TextAlignment="Center" />
  997. <bpa:PipeLineV
  998. Canvas.Left="751.5" Canvas.Top="385" Canvas.Right="277.3" Width="5"
  999. Height="29" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  1000. LineWidth="1" Speed="1.5">
  1001. <bpa:PipeLineV.Fill>
  1002. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="2">
  1003. <Binding Path="DeviceStatus.ReactPressureAirInValve" />
  1004. <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
  1005. </MultiBinding>
  1006. </bpa:PipeLineV.Fill>
  1007. <bpa:PipeLineV.Direction>
  1008. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="5">
  1009. <Binding Path="DeviceStatus.ReactPressureAirInValve" />
  1010. <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
  1011. </MultiBinding>
  1012. </bpa:PipeLineV.Direction>
  1013. </bpa:PipeLineV>
  1014. <!--#region 进卤水阀-->
  1015. <bpa:PipeLineV
  1016. Canvas.Left="751.5" Canvas.Top="414" Canvas.Right="277.3" Width="5"
  1017. Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
  1018. Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  1019. Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1020. LineWidth="1" Speed="1" />
  1021. <TextBlock
  1022. Canvas.Left="574" Canvas.Top="447" Canvas.Right="240" HorizontalAlignment="Left"
  1023. VerticalAlignment="Center" FontSize="12" Foreground="White" Text="进卤水阀" />
  1024. <bpa:MotorTwo
  1025. Canvas.Left="244" Canvas.Top="463" Canvas.Right="197.5" Width="25"
  1026. Height="12" HorizontalAlignment="Center" VerticalAlignment="Top">
  1027. <bpa:MotorTwo.RenderTransform>
  1028. <RotateTransform Angle="180" />
  1029. </bpa:MotorTwo.RenderTransform>
  1030. </bpa:MotorTwo>
  1031. <TextBlock
  1032. Canvas.Left="205" Canvas.Top="465" Canvas.Right="206.5" HorizontalAlignment="Left"
  1033. VerticalAlignment="Top" Foreground="White" Text="卤水泵" />
  1034. <bpa:PipeLineH
  1035. Canvas.Left="379" Canvas.Top="415" Canvas.Right="286.9" Width="368"
  1036. Height="5" HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
  1037. Direction="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1038. Fill="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1039. LineWidth="1" />
  1040. <bpa:HandValve
  1041. Canvas.Left="383.99" Canvas.Top="407.437" Canvas.Right="400" Width="16"
  1042. Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
  1043. EdgeColor="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1044. OpenEnable="{Binding DeviceStatus.ReactPressureAirInValve}" />
  1045. <TextBlock
  1046. Canvas.Left="350" Canvas.Top="423" HorizontalAlignment="Left" VerticalAlignment="Top"
  1047. FontSize="12" Foreground="White" Text="压缩空气进气阀" TextAlignment="Center" />
  1048. <!--#region 冷却水进水阀-->
  1049. <bpa:PipeLineV
  1050. Canvas.Left="744" Canvas.Top="61" Canvas.Right="255.9" Width="5"
  1051. Height="140" HorizontalAlignment="Center" VerticalAlignment="Top" LineWidth="1">
  1052. <bpa:PipeLineV.Fill>
  1053. <MultiBinding Converter="{StaticResource MultiBoolToColorConverter}" ConverterParameter="Lime,Red">
  1054. <Binding Path="DeviceStatus.ReactInColdValve" />
  1055. <Binding Path="DeviceStatus.ReactInSteamValue" />
  1056. </MultiBinding>
  1057. </bpa:PipeLineV.Fill>
  1058. <bpa:PipeLineV.Direction>
  1059. <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="1">
  1060. <Binding Path="DeviceStatus.ReactInColdValve" />
  1061. <Binding Path="DeviceStatus.ReactInSteamValue" />
  1062. </MultiBinding>
  1063. </bpa:PipeLineV.Direction>
  1064. </bpa:PipeLineV>
  1065. <bpa:PipeLineBL
  1066. Canvas.Left="739.1" Canvas.Top="51.0" Canvas.Right="250.9" Width="10"
  1067. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top"
  1068. Direction="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1069. Fill="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1070. LineWidth="10" Speed="1.5" />
  1071. <bpa:PipeLineH
  1072. Canvas.Left="220" Canvas.Top="51" Canvas.Right="260.7" Width="519"
  1073. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  1074. Direction="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  1075. Fill="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1076. LineWidth="1" Speed="1.55" />
  1077. <bpa:PipeLineH
  1078. Canvas.Left="252" Canvas.Top="203" Width="26" Height="5"
  1079. HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
  1080. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1081. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1082. LineWidth="1" />
  1083. <bpa:PipeLineTR
  1084. Canvas.Left="242" Canvas.Top="198" Width="10" Height="10"
  1085. HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
  1086. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  1087. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1088. LineWidth="10" Speed="1" />
  1089. <bpa:HandValve
  1090. Canvas.Left="670" Canvas.Top="44" Width="16" Height="16"
  1091. HorizontalAlignment="Left" VerticalAlignment="Center"
  1092. EdgeColor="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1093. OpenEnable="{Binding DeviceStatus.ReactInColdValve}" />
  1094. <TextBlock
  1095. Canvas.Left="640" Canvas.Top="30" HorizontalAlignment="Left" VerticalAlignment="Center"
  1096. FontSize="12" Foreground="White" Text="冷却水进水阀" TextAlignment="Center" />
  1097. <!--#region 风机-->
  1098. <bpa:PipeLineBL
  1099. Canvas.Left="285" Canvas.Top="69" Width="10" Height="10"
  1100. HorizontalAlignment="Left" VerticalAlignment="Center"
  1101. Direction="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1102. Fill="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1103. LineWidth="10" Speed="1" />
  1104. <bpa:PipeLineH
  1105. Canvas.Left="74" Canvas.Top="69" Width="54" Height="5"
  1106. HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  1107. Direction="{Binding DeviceStatus.Fans, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1108. Fill="{Binding DeviceStatus.Fans, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1109. LineWidth="1" />
  1110. <CheckBox
  1111. Canvas.Left="-1" Canvas.Top="49" Width="92" Height="81"
  1112. HorizontalAlignment="Left" VerticalAlignment="Top"
  1113. IsChecked="{Binding DeviceStatus.Fans}"
  1114. IsEnabled="False"
  1115. Style="{StaticResource wind}" />
  1116. <TextBlock
  1117. Canvas.Left="38" Canvas.Top="213" Canvas.Right="384.8" Height="20"
  1118. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1119. Foreground="{Binding DeviceStatus.CompressorRunning, Converter={StaticResource BoolToColorConverter}}"
  1120. Text="⚫" TextAlignment="Center" />
  1121. <TextBlock
  1122. Canvas.Left="10" Canvas.Top="232" Canvas.Right="384.8" HorizontalAlignment="Center"
  1123. VerticalAlignment="Top" FontSize="12" Foreground="White" Text="空压机启动反馈"
  1124. TextAlignment="Center" />
  1125. <TextBlock
  1126. Canvas.Left="38" Canvas.Top="138" HorizontalAlignment="Center" VerticalAlignment="Top"
  1127. Foreground="White" Text="风机" />
  1128. <bpa:HandValve
  1129. Canvas.Left="121.876" Canvas.Top="61.412" Canvas.Right="343.4" Width="16"
  1130. Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
  1131. EdgeColor="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1132. OpenEnable="{Binding DeviceStatus.ColdWaterTankVacuumValve}" />
  1133. <TextBlock
  1134. Canvas.Left="88" Canvas.Top="77" HorizontalAlignment="Left" VerticalAlignment="Top"
  1135. FontSize="12" Foreground="White" Text="冷凝水管负压阀" TextAlignment="Center" />
  1136. <bpa:PipeLineH
  1137. Canvas.Left="437" Canvas.Top="22" Canvas.Right="260.7" Width="303"
  1138. Height="5" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  1139. Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1140. Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1141. LineWidth="1" Speed="25" />
  1142. <bpa:HandValve
  1143. Canvas.Left="360" Canvas.Top="14.331" Width="16" Height="16"
  1144. HorizontalAlignment="Center" VerticalAlignment="Top"
  1145. EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1146. OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" />
  1147. <TextBlock
  1148. Canvas.Left="336" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
  1149. Foreground="White" Text="蒸汽比例阀" TextAlignment="Center" />
  1150. <bpa:HandValve
  1151. Canvas.Left="429.972" Canvas.Top="14.331" Width="16" Height="16"
  1152. HorizontalAlignment="Left" VerticalAlignment="Center"
  1153. EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1154. OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" />
  1155. <TextBlock
  1156. Canvas.Left="417" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
  1157. Foreground="White" Text="蒸汽阀" TextAlignment="Center" />
  1158. <bpa:PipeLineBL
  1159. Canvas.Left="739.1" Canvas.Top="21.963" Canvas.Right="250.9" Width="10"
  1160. Height="10" HorizontalAlignment="Center" VerticalAlignment="Center"
  1161. Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1162. Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1163. LineWidth="10" Speed="1.5" />
  1164. <bpa:PipeLineV
  1165. Canvas.Left="366" Canvas.Top="111" Canvas.Right="404.2" Width="5"
  1166. Height="236" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
  1167. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1168. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1169. LineWidth="1" />
  1170. <bpa:PipeLineBL
  1171. Canvas.Left="361" Canvas.Top="101" Canvas.Right="404.2" Width="10"
  1172. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
  1173. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1174. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1175. LineWidth="10" Speed="1.5" />
  1176. <bpa:PipeLineTL
  1177. Canvas.Left="356" Canvas.Top="347" Canvas.Right="238.3" Width="20"
  1178. Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
  1179. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1180. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1181. LineWidth="10" Speed="1.5" />
  1182. <TextBlock
  1183. Canvas.Left="798" Canvas.Top="120" Canvas.Right="312.8" HorizontalAlignment="Left"
  1184. VerticalAlignment="Center" FontSize="12" Foreground="White" Text="反应釜泄压阀"
  1185. TextAlignment="Center" />
  1186. <bpa:HandValve
  1187. Canvas.Left="234" Canvas.Top="175" Canvas.Right="343.4" Width="16"
  1188. Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
  1189. EdgeColor="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1190. OpenEnable="{Binding DeviceStatus.ColdWaterTankInWaterValve}">
  1191. <bpa:HandValve.RenderTransform>
  1192. <RotateTransform Angle="270" />
  1193. </bpa:HandValve.RenderTransform>
  1194. </bpa:HandValve>
  1195. <bpa:PipeLineH
  1196. Canvas.Left="603" Canvas.Top="438" Canvas.Right="257.5" Width="144"
  1197. Height="5" HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
  1198. Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1199. Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1200. LineWidth="1" Speed="10" />
  1201. <TextBlock
  1202. Canvas.Left="255" Canvas.Top="92" Canvas.Right="312.8" HorizontalAlignment="Center"
  1203. VerticalAlignment="Top" FontSize="12" Foreground="White"
  1204. Text="冷&#xA;凝&#xA;水&#xA;罐&#xA;进&#xA;水&#xA;阀"
  1205. TextAlignment="Center" />
  1206. <bpa:HandValve
  1207. Canvas.Left="590.8" Canvas.Top="430.945" Canvas.Right="253.9" Width="16"
  1208. Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
  1209. EdgeColor="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1210. OpenEnable="{Binding DeviceStatus.ReactInBrineWaterValve}" />
  1211. <TextBlock
  1212. Canvas.Left="85" Canvas.Top="410" HorizontalAlignment="Center" VerticalAlignment="Top"
  1213. FontSize="12" Foreground="White" Text="卤水配制罐" />
  1214. <bpa:Joint
  1215. Canvas.Left="229" Canvas.Top="465" Canvas.Right="219.2" Width="20"
  1216. Height=" 20" HorizontalAlignment="Left" VerticalAlignment="Center">
  1217. <bpa:Joint.RenderTransform>
  1218. <TransformGroup>
  1219. <ScaleTransform />
  1220. <SkewTransform />
  1221. <RotateTransform Angle="180.434" />
  1222. <TranslateTransform />
  1223. </TransformGroup>
  1224. </bpa:Joint.RenderTransform>
  1225. </bpa:Joint>
  1226. <GroupBox
  1227. Canvas.Left="990" Canvas.Top="467" Foreground="White" Header="显示图例">
  1228. <StackPanel Orientation="Vertical">
  1229. <TextBlock
  1230. HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Red"
  1231. Text=" ⬛ :该阀/电机/功能指令为关闭" TextAlignment="Center" />
  1232. <TextBlock
  1233. HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Green"
  1234. Text=" ⬛ :该阀/电机/功能指令为打开" TextAlignment="Center" />
  1235. <TextBlock
  1236. HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Red"
  1237. Text="⚫ :该阀/电机/功能当前反馈状态为关闭" TextAlignment="Center" />
  1238. <TextBlock
  1239. HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Green"
  1240. Text="⚫ :该阀/电机/功能当前反馈状态为打开" TextAlignment="Center" />
  1241. </StackPanel>
  1242. </GroupBox>
  1243. <!--#region 联动按钮-->
  1244. <GroupBox
  1245. Canvas.Left="1037" Canvas.Top="51" HorizontalAlignment="Left" VerticalAlignment="Top"
  1246. Foreground="White" Header="联动按钮">
  1247. <StackPanel>
  1248. <!--#region 排水启动-->
  1249. <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
  1250. <StackPanel
  1251. HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  1252. <RadioButton
  1253. Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1254. Click="open_Click" Content="排水启动:开" FontSize="8" Foreground="White"
  1255. Style="{StaticResource radiobutton}"
  1256. Tag="排水启动" />
  1257. <RadioButton
  1258. Width="90" Height="20" BorderThickness="0" Click="close_Click"
  1259. Content="排水启动:关" FontSize="8" Foreground="White" IsChecked="True"
  1260. Style="{StaticResource radiobutton}"
  1261. Tag="排水启动" />
  1262. </StackPanel>
  1263. <TextBlock
  1264. Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
  1265. d:Foreground="Red" FontSize="16"
  1266. Foreground="{Binding DeviceStatus.IsSetStartEmptyWater, Converter={StaticResource BoolToColorConverter}}"
  1267. Text="⬛" TextAlignment="Center" />
  1268. </StackPanel>
  1269. <!--#endregion-->
  1270. <!--#region 清洗启动-->
  1271. <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
  1272. <StackPanel
  1273. HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  1274. <RadioButton
  1275. Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1276. Click="open_Click" Content="清洗启动:开" FontSize="8" Foreground="White"
  1277. Style="{StaticResource radiobutton}"
  1278. Tag="清洗启动按钮" />
  1279. <RadioButton
  1280. Width="90" Height="20" BorderThickness="0" Click="close_Click"
  1281. Content="清洗启动:关" FontSize="8" Foreground="White" IsChecked="True"
  1282. Style="{StaticResource radiobutton}"
  1283. Tag="清洗启动按钮" />
  1284. </StackPanel>
  1285. <TextBlock
  1286. Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
  1287. d:Foreground="Red" FontSize="16"
  1288. Foreground="{Binding DeviceStatus.IsSetStartClean, Converter={StaticResource BoolToColorConverter}}"
  1289. Text="⬛" TextAlignment="Center" />
  1290. </StackPanel>
  1291. <!--#endregion-->
  1292. <!--#region 真空蒸馏-->
  1293. <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
  1294. <StackPanel
  1295. HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  1296. <RadioButton
  1297. Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1298. Click="open_Click" Content="真空蒸馏:开" FontSize="8" Foreground="White"
  1299. Style="{StaticResource radiobutton}"
  1300. Tag="真空蒸馏" />
  1301. <RadioButton
  1302. Width="90" Height="20" BorderThickness="0" Click="close_Click"
  1303. Content="真空蒸馏:关" FontSize="8" Foreground="White" IsChecked="True"
  1304. Style="{StaticResource radiobutton}"
  1305. Tag="真空蒸馏" />
  1306. </StackPanel>
  1307. <TextBlock
  1308. Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
  1309. d:Foreground="Red" FontSize="16"
  1310. Foreground="{Binding DeviceStatus.IsSetVacuumDistill, Converter={StaticResource BoolToColorConverter}}"
  1311. Text="⬛" TextAlignment="Center" />
  1312. </StackPanel>
  1313. <!--#endregion-->
  1314. <!--#region 反应釜回原点-->
  1315. <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
  1316. <StackPanel
  1317. HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  1318. <RadioButton
  1319. Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1320. Click="open_Click" Content="反应釜回原点:开" FontSize="8" Foreground="White"
  1321. Style="{StaticResource radiobutton}"
  1322. Tag="反应釜回原点" />
  1323. <RadioButton
  1324. Width="90" Height="20" BorderThickness="0" Click="close_Click"
  1325. Content="反应釜回原点:关" FontSize="8" Foreground="White" IsChecked="True"
  1326. Style="{StaticResource radiobutton}"
  1327. Tag="反应釜回原点" />
  1328. </StackPanel>
  1329. <TextBlock
  1330. Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
  1331. d:Foreground="Red" FontSize="16"
  1332. Foreground="{Binding DeviceStatus.IsSetReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
  1333. Text="⬛" TextAlignment="Center" />
  1334. </StackPanel>
  1335. <!--#endregion-->
  1336. <!--#region 反应釜去加料位-->
  1337. <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
  1338. <StackPanel
  1339. HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  1340. <RadioButton
  1341. Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1342. Click="open_Click" Content="反应釜去加料位:开" FontSize="8" Foreground="White"
  1343. Style="{StaticResource radiobutton}"
  1344. Tag="去加料位" />
  1345. <RadioButton
  1346. Width="90" Height="20" BorderThickness="0" Click="close_Click"
  1347. Content="反应釜去加料位:关" FontSize="8" Foreground="White" IsChecked="True"
  1348. Style="{StaticResource radiobutton}"
  1349. Tag="去加料位" />
  1350. </StackPanel>
  1351. <TextBlock
  1352. Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
  1353. d:Foreground="Red" FontSize="16"
  1354. Foreground="{Binding DeviceStatus.IsSetGoAddPosition, Converter={StaticResource BoolToColorConverter}}"
  1355. Text="⬛" TextAlignment="Center" />
  1356. </StackPanel>
  1357. <!--#endregion-->
  1358. <!--#region 反应釜去倒料位-->
  1359. <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
  1360. <StackPanel
  1361. HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
  1362. <RadioButton
  1363. Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1364. Click="open_Click" Content="反应釜去倒料位:开" FontSize="8" Foreground="White"
  1365. Style="{StaticResource radiobutton}"
  1366. Tag="反应釜去倒料位" />
  1367. <RadioButton
  1368. Width="90" Height="20" BorderThickness="0" Click="close_Click"
  1369. Content="反应釜去倒料位:关" FontSize="8" Foreground="White" IsChecked="True"
  1370. Style="{StaticResource radiobutton}"
  1371. Tag="反应釜去倒料位" />
  1372. </StackPanel>
  1373. <TextBlock
  1374. Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
  1375. d:Foreground="Red" FontSize="16"
  1376. Foreground="{Binding DeviceStatus.IsSetReactOut, Converter={StaticResource BoolToColorConverter}}"
  1377. Text="⬛" TextAlignment="Center" />
  1378. </StackPanel>
  1379. <!--#endregion-->
  1380. <!--#region 进卤水启动-->
  1381. <StackPanel
  1382. Width="127" Margin="0,5" Orientation="Horizontal">
  1383. <Button
  1384. Width="90" Height="20" Panel.ZIndex="99" Click="open_Click"
  1385. Content="进卤水启动" FontSize="12" Foreground="White"
  1386. Style="{StaticResource ButtonStyle}"
  1387. Tag="进卤水启动" />
  1388. <TextBlock
  1389. Height="20" HorizontalAlignment="Center" VerticalAlignment="Center" d:Foreground="Red"
  1390. FontSize="16"
  1391. Foreground="{Binding DeviceStatus.IsSetStartEnterBrine, Converter={StaticResource BoolToColorConverter}}"
  1392. Text="⬛" TextAlignment="Center" />
  1393. </StackPanel>
  1394. </StackPanel>
  1395. <!--#endregion-->
  1396. </GroupBox>
  1397. <!--#endregion-->
  1398. <bpa:PipeLineTR
  1399. Canvas.Left="591" Canvas.Top="210" Canvas.Right="399.2" Width="10"
  1400. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
  1401. Direction="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1402. Fill="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1403. LineWidth="10" Speed="1.5" />
  1404. <TextBlock
  1405. Canvas.Left="85" Canvas.Top="166" Canvas.Right="384.8" Height="20"
  1406. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1407. Foreground="{Binding DeviceStatus.IsSetFans, Converter={StaticResource BoolToColorConverter}}"
  1408. Text="⬛" TextAlignment="Center" />
  1409. <TextBlock
  1410. Canvas.Left="85" Canvas.Top="260" Canvas.Right="384.8" Height="20"
  1411. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1412. Foreground="{Binding DeviceStatus.IsSetCompressorRunning, Converter={StaticResource BoolToColorConverter}}"
  1413. Text="⬛" TextAlignment="Center" />
  1414. <TextBlock
  1415. Canvas.Left="170" Canvas.Top="106" Canvas.Right="384.8" Height="20"
  1416. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1417. Foreground="{Binding DeviceStatus.IsSetColdWaterTankVacuumValve, Converter={StaticResource BoolToColorConverter}}"
  1418. Text="⬛" TextAlignment="Center" />
  1419. <TextBlock
  1420. Canvas.Left="214" Canvas.Top="158" Canvas.Right="384.8" Height="20"
  1421. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1422. Foreground="{Binding DeviceStatus.IsSetColdWaterTankInWaterValve, Converter={StaticResource BoolToColorConverter}}"
  1423. Text="⬛" TextAlignment="Center" />
  1424. <TextBlock
  1425. Canvas.Left="569" Canvas.Top="110" Canvas.Right="384.8" Height="20"
  1426. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1427. Foreground="{Binding DeviceStatus.IsSetColdWaterTankInAirValve, Converter={StaticResource BoolToColorConverter}}"
  1428. Text="⬛" TextAlignment="Center" />
  1429. <TextBlock
  1430. Canvas.Left="705" Canvas.Top="159" Canvas.Right="384.8" Height="20"
  1431. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1432. Foreground="{Binding DeviceStatus.IsSetHotGasEmptyValve, Converter={StaticResource BoolToColorConverter}}"
  1433. Text="⬛" TextAlignment="Center" />
  1434. <TextBlock
  1435. Canvas.Left="680" Canvas.Top="240" Canvas.Right="384.8" Height="20"
  1436. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1437. Foreground="{Binding DeviceStatus.IsSetReactOutHotGasValve, Converter={StaticResource BoolToColorConverter}}"
  1438. Text="⬛" TextAlignment="Center" />
  1439. <TextBlock
  1440. Canvas.Left="550" Canvas.Top="262" Canvas.Right="384.8" Height="20"
  1441. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1442. Foreground="{Binding DeviceStatus.IsSetReactDrainValve, Converter={StaticResource BoolToColorConverter}}"
  1443. Text="⬛" TextAlignment="Center" />
  1444. <TextBlock
  1445. Canvas.Left="460" Canvas.Top="295" Canvas.Right="384.8" Height="20"
  1446. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1447. Foreground="{Binding DeviceStatus.IsSetReactOutColdValve, Converter={StaticResource BoolToColorConverter}}"
  1448. Text="⬛" TextAlignment="Center" />
  1449. <TextBlock
  1450. Canvas.Left="251" Canvas.Top="282" Canvas.Right="384.8" Height="20"
  1451. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1452. Foreground="{Binding DeviceStatus.IsSetBrineTankZero, Converter={StaticResource BoolToColorConverter}}"
  1453. Text="⬛" TextAlignment="Center" />
  1454. <TextBlock
  1455. Canvas.Left="384" Canvas.Top="389" Canvas.Right="384.8" Height="20"
  1456. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1457. Foreground="{Binding DeviceStatus.IsSetReactPressureAirInValve, Converter={StaticResource BoolToColorConverter}}"
  1458. Text="⬛" TextAlignment="Center" />
  1459. <TextBlock
  1460. Canvas.Left="618" Canvas.Top="379" Canvas.Right="384.8" Height="20"
  1461. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1462. Foreground="{Binding DeviceStatus.IsSetReactInCleanWaterValve, Converter={StaticResource BoolToColorConverter}}"
  1463. Text="⬛" TextAlignment="Center" />
  1464. <TextBlock
  1465. Canvas.Left="318" Canvas.Top="455" Canvas.Right="384.8" Height="20"
  1466. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1467. Foreground="{Binding DeviceStatus.IsSetBrinePumpState, Converter={StaticResource BoolToColorConverter}}"
  1468. Text="⬛" TextAlignment="Center" />
  1469. <TextBlock
  1470. Canvas.Left="168" Canvas.Top="467" Canvas.Right="384.8" Height="20"
  1471. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1472. Foreground="{Binding DeviceStatus.IsSetBrineTankZero, Converter={StaticResource BoolToColorConverter}}"
  1473. Text="⬛" TextAlignment="Center" />
  1474. <TextBlock
  1475. Canvas.Left="588" Canvas.Top="460" Canvas.Right="384.8" Height="20"
  1476. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1477. Foreground="{Binding DeviceStatus.IsSetReactInBrineWaterValve, Converter={StaticResource BoolToColorConverter}}"
  1478. Text="⬛" TextAlignment="Center" />
  1479. <TextBlock
  1480. Canvas.Left="844" Canvas.Top="392" Canvas.Right="384.8" Height="20"
  1481. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1482. Foreground="{Binding DeviceStatus.IsSetGoAddPosition, Converter={StaticResource BoolToColorConverter}}"
  1483. Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
  1484. <TextBlock
  1485. Canvas.Left="898" Canvas.Top="434" Canvas.Right="384.8" Height="20"
  1486. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1487. Foreground="{Binding DeviceStatus.IsSetReactEnter, Converter={StaticResource BoolToColorConverter}}"
  1488. Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
  1489. <TextBlock
  1490. Canvas.Left="950" Canvas.Top="392" Canvas.Right="384.8" Height="20"
  1491. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1492. Foreground="{Binding DeviceStatus.IsSetReactOut, Converter={StaticResource BoolToColorConverter}}"
  1493. Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
  1494. <TextBlock
  1495. Canvas.Left="844" Canvas.Top="343" Canvas.Right="384.8" Height="20"
  1496. HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1497. Foreground="{Binding DeviceStatus.IsSetReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
  1498. Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
  1499. <TextBlock
  1500. Canvas.Left="887" Canvas.Top="332" Canvas.Right="384.8" Height="20"
  1501. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1502. Foreground="{Binding DeviceStatus.IsSetReactReverse, Converter={StaticResource BoolToColorConverter}}"
  1503. Text="⬛" TextAlignment="Center" />
  1504. <TextBlock
  1505. Canvas.Left="996" Canvas.Top="274" Canvas.Right="384.8" Height="20"
  1506. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1507. Foreground="{Binding DeviceStatus.IsSetReactTurnMotorJogging, Converter={StaticResource BoolToColorConverter}}"
  1508. Text="⬛" TextAlignment="Center" />
  1509. <TextBlock
  1510. Canvas.Left="989" Canvas.Top="152" Canvas.Right="384.8" Height="20"
  1511. HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
  1512. Foreground="{Binding DeviceStatus.IsSetReactTurnMotor, Converter={StaticResource BoolToColorConverter}}"
  1513. Text="⬛" TextAlignment="Center" />
  1514. <TextBlock
  1515. Canvas.Left="878" Canvas.Top="88" Canvas.Right="384.8" Height="20"
  1516. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
  1517. Foreground="{Binding DeviceStatus.IsSetReactPressureReliefValve, Converter={StaticResource BoolToColorConverter}}"
  1518. Text="⬛" TextAlignment="Center" />
  1519. <bpa:PipeLineTL
  1520. Canvas.Left="730" Canvas.Top="290.5" Canvas.Right="260" Width="10"
  1521. Height="10" HorizontalAlignment="Center" VerticalAlignment="Top"
  1522. Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
  1523. Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
  1524. LineWidth="10" Speed="1.5" />
  1525. <bpa:PipeLineBL
  1526. Canvas.Left="237" Canvas.Top="51" Width="10" Height="10"
  1527. HorizontalAlignment="Left" VerticalAlignment="Center"
  1528. Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
  1529. Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
  1530. LineWidth="10" Speed="2" />
  1531. <!--#endregion-->
  1532. </Canvas>
  1533. </Viewbox>
  1534. <Grid Grid.Row="2">
  1535. <Grid.RowDefinitions>
  1536. <RowDefinition Height="30" />
  1537. <RowDefinition Height="50" />
  1538. <RowDefinition />
  1539. </Grid.RowDefinitions>
  1540. <TextBlock
  1541. Margin="20,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="20"
  1542. Foreground="White" Text="参数控制及校准:" />
  1543. <StackPanel
  1544. Grid.Row="1" Margin="20,2,30,0" HorizontalAlignment="Left" VerticalAlignment="Bottom"
  1545. Orientation="Horizontal">
  1546. <RadioButton
  1547. x:Name="reactorHeatUp" Width="150" Height="40" Content="反应釜升温"
  1548. GroupName="heat" IsChecked="true"
  1549. Style="{StaticResource RectangleRadioButtonStyle}" />
  1550. <RadioButton
  1551. x:Name="reactorCoolDown" Width="150" Height="40" Content="反应釜降温"
  1552. GroupName="heat"
  1553. Style="{StaticResource RectangleRadioButtonStyle}" />
  1554. <RadioButton
  1555. x:Name="coldWaterTankCoolDown" Width="150" Height="40" Content="冷凝水罐降温"
  1556. GroupName="heat"
  1557. Style="{StaticResource RectangleRadioButtonStyle}" />
  1558. <RadioButton
  1559. x:Name="tempratureAdjusting" Width="150" Height="40" Content="温度校准"
  1560. GroupName="heat"
  1561. Style="{StaticResource RectangleRadioButtonStyle}" />
  1562. <RadioButton
  1563. x:Name="reactorRotateSpeed" Width="150" Height="40" Content="反应釜旋转速度"
  1564. GroupName="heat"
  1565. Style="{StaticResource RectangleRadioButtonStyle}" />
  1566. <RadioButton
  1567. x:Name="steamParamsSet" Width="150" Height="40" Content="蒸汽及压力参数"
  1568. GroupName="heat"
  1569. Style="{StaticResource RectangleRadioButtonStyle}" />
  1570. </StackPanel>
  1571. <Border
  1572. Grid.Row="2" Margin="20,0,30,10" BorderBrush="#ff2AB2E7" BorderThickness="2">
  1573. <Grid>
  1574. <!--#region 反应釜升温参数写入界面-->
  1575. <WrapPanel
  1576. Margin="0,15,0,0" d:Visibility="Visible"
  1577. Visibility="{Binding ElementName=reactorHeatUp, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
  1578. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1579. <TextBlock
  1580. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1581. Foreground="White" Text="反应釜升温设置温度:" />
  1582. <TextBox
  1583. x:Name="reactorHeatUpTemp" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1584. Text="0" />
  1585. <TextBlock
  1586. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1587. Foreground="White" Text="℃" />
  1588. <RadioButton
  1589. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1590. BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
  1591. Style="{StaticResource radiobutton}"
  1592. Tag="反应釜升温" />
  1593. <RadioButton
  1594. Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
  1595. Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
  1596. Style="{StaticResource radiobutton}"
  1597. Tag="反应釜升温" />
  1598. <TextBlock
  1599. Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
  1600. Text="当前状态:" TextAlignment="Center" />
  1601. <TextBlock
  1602. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
  1603. Foreground="{Binding DeviceStatus.IsSetReactHeat, Converter={StaticResource BoolToColorConverter}}"
  1604. Text="⬛" TextAlignment="Center" />
  1605. </StackPanel>
  1606. </WrapPanel>
  1607. <!--#endregion-->
  1608. <!--#region 反应釜降温参数写入界面-->
  1609. <WrapPanel
  1610. Margin="0,15,0,0" d:Visibility="Visible"
  1611. Visibility="{Binding ElementName=reactorCoolDown, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
  1612. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1613. <TextBlock
  1614. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1615. Foreground="White" Text="反应釜降温设置温度:" />
  1616. <TextBox
  1617. x:Name="reactorCoolDownTemp" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1618. Text="0" />
  1619. <TextBlock
  1620. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1621. Foreground="White" Text="℃" />
  1622. <RadioButton
  1623. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1624. BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
  1625. Style="{StaticResource radiobutton}"
  1626. Tag="反应釜降温" />
  1627. <RadioButton
  1628. Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
  1629. Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
  1630. Style="{StaticResource radiobutton}"
  1631. Tag="反应釜降温" />
  1632. <TextBlock
  1633. Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
  1634. Text="当前状态:" TextAlignment="Center" />
  1635. <TextBlock
  1636. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
  1637. Foreground="{Binding DeviceStatus.IsSetReactCool, Converter={StaticResource BoolToColorConverter}}"
  1638. Text="⬛" TextAlignment="Center" />
  1639. </StackPanel>
  1640. </WrapPanel>
  1641. <!--#endregion-->
  1642. <!--#region 冷凝水罐降温参数写入界面-->
  1643. <WrapPanel
  1644. Margin="0,15,0,0" d:Visibility="Visible"
  1645. Visibility="{Binding ElementName=coldWaterTankCoolDown, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
  1646. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1647. <TextBlock
  1648. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1649. Foreground="White" Text="冷凝水罐降温设置温度:" />
  1650. <TextBox
  1651. x:Name="ColdWaterTankCoolDownTemp" Width="120" HorizontalAlignment="Center"
  1652. VerticalAlignment="Center" Text="0" />
  1653. <TextBlock
  1654. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1655. Foreground="White" Text="℃" />
  1656. <RadioButton
  1657. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1658. BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
  1659. Style="{StaticResource radiobutton}"
  1660. Tag="冷凝水罐降温" />
  1661. <RadioButton
  1662. Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
  1663. Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
  1664. Style="{StaticResource radiobutton}"
  1665. Tag="冷凝水罐降温" />
  1666. <TextBlock
  1667. Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
  1668. Text="当前状态:" TextAlignment="Center" />
  1669. <TextBlock
  1670. HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
  1671. Foreground="{Binding DeviceStatus.IsSetCWTCool, Converter={StaticResource BoolToColorConverter}}"
  1672. Text="⬛" TextAlignment="Center" />
  1673. </StackPanel>
  1674. </WrapPanel>
  1675. <!--#endregion-->
  1676. <!--#region 温度校准参数写入界面-->
  1677. <WrapPanel
  1678. Margin="0,15,0,0" d:Visibility="Visible"
  1679. Visibility="{Binding ElementName=tempratureAdjusting, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
  1680. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1681. <TextBlock
  1682. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1683. Foreground="White" Text="反应釜温度校准:" />
  1684. <TextBox
  1685. x:Name="reactorTempAdjustValue" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1686. Text="0" />
  1687. <TextBlock
  1688. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1689. Foreground="White" Text="℃" />
  1690. <TextBlock
  1691. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1692. Foreground="White" Text="冷凝水罐温度校准:" />
  1693. <TextBox
  1694. x:Name="coldWaterTankTempAdjustValue" Width="120" HorizontalAlignment="Center"
  1695. VerticalAlignment="Center" Text="0" />
  1696. <TextBlock
  1697. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1698. Foreground="White" Text="℃" />
  1699. <Button
  1700. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1701. BorderThickness="0" Click="TempAdjust_Click" Content="校准" Foreground="White"
  1702. Style="{StaticResource ButtonStyle}" />
  1703. </StackPanel>
  1704. </WrapPanel>
  1705. <!--#endregion-->
  1706. <!--#region 反应釜旋转参数写入界面-->
  1707. <WrapPanel
  1708. Margin="0,15,0,0" d:Visibility="Visible"
  1709. Visibility="{Binding ElementName=reactorRotateSpeed, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
  1710. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1711. <TextBlock
  1712. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1713. Foreground="White" Text="反应釜旋转炒制速度:" />
  1714. <TextBox
  1715. x:Name="reactorRotateStirSpeedValue" Width="120" HorizontalAlignment="Center"
  1716. VerticalAlignment="Center" Text="0" />
  1717. <TextBlock
  1718. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1719. Foreground="White" Text="限值:0-100" />
  1720. <TextBlock
  1721. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1722. Foreground="White" Text="反应釜旋转慢速度:" />
  1723. <TextBox
  1724. x:Name="reactorRotateSlowSpeedValue" Width="120" HorizontalAlignment="Center"
  1725. VerticalAlignment="Center" Text="0" />
  1726. <TextBlock
  1727. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1728. Foreground="White" Text="限值:0-100" />
  1729. <Button
  1730. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1731. BorderThickness="0" Click="SetReactorSpeed_Click" Content="写入" Foreground="White"
  1732. Style="{StaticResource ButtonStyle}" />
  1733. </StackPanel>
  1734. </WrapPanel>
  1735. <!--#endregion-->
  1736. <!--#region 蒸汽及压力参数写入界面-->
  1737. <WrapPanel
  1738. Margin="0,15,0,0" d:Visibility="Visible"
  1739. Visibility="{Binding ElementName=steamParamsSet, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
  1740. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1741. <TextBlock
  1742. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1743. Foreground="White" Text="蒸汽比例阀开度:" />
  1744. <TextBox
  1745. x:Name="steamValveApertureValve" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1746. Text="0" />
  1747. <TextBlock
  1748. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1749. Foreground="White" Text="%,限值:0-100" />
  1750. <TextBlock
  1751. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1752. Foreground="White" Text="反应釜蒸汽压力上限:" />
  1753. <TextBox
  1754. x:Name="reactorSteamPressureLimitValue" Width="120" HorizontalAlignment="Center"
  1755. VerticalAlignment="Center" Text="0" />
  1756. <TextBlock
  1757. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1758. Foreground="White" Text="反应釜压力上限:" />
  1759. <TextBox
  1760. x:Name="reactorPressureLimitValue" Width="120" HorizontalAlignment="Center"
  1761. VerticalAlignment="Center" Text="0" />
  1762. <TextBlock
  1763. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1764. Foreground="White" Text="MPa,限值:-0.1至0.6" />
  1765. <Button
  1766. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1767. BorderThickness="0" Click="steamParamsSet_Click" Content="写入" Foreground="White"
  1768. Style="{StaticResource ButtonStyle}" />
  1769. </StackPanel>
  1770. </WrapPanel>
  1771. <!--#endregion-->
  1772. </Grid>
  1773. </Border>
  1774. </Grid>
  1775. </Grid>
  1776. </Grid>
  1777. </UserControl>