终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

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