终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

DeviceMotion_2View.xaml 91 KiB

2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
2 miesięcy temu
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346
  1. <UserControl
  2. x:Class="BPASmartClient.Academy.View.DeviceMotion_2View"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:bpa="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:local="clr-namespace:BPASmartClient.Academy.View"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel" d:DesignHeight="450" d:DesignWidth="800"
  10. mc:Ignorable="d">
  11. <UserControl.Resources>
  12. <Style x:Key="checkBox" TargetType="{x:Type CheckBox}">
  13. <Setter Property="HorizontalContentAlignment" Value="Center" />
  14. <Setter Property="VerticalContentAlignment" Value="Center" />
  15. <Setter Property="Template">
  16. <Setter.Value>
  17. <ControlTemplate TargetType="{x:Type CheckBox}">
  18. <Border
  19. x:Name="bord"
  20. Width="{TemplateBinding Width}"
  21. Height="{TemplateBinding Height}"
  22. Background="{TemplateBinding Background}"
  23. BorderBrush="{TemplateBinding BorderBrush}"
  24. BorderThickness="{TemplateBinding BorderThickness}">
  25. <ContentControl
  26. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  27. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  28. Content="{TemplateBinding Content}"
  29. Foreground="{TemplateBinding Foreground}" />
  30. </Border>
  31. <ControlTemplate.Triggers>
  32. <Trigger Property="IsChecked" Value="True">
  33. <Setter TargetName="bord" Property="Background">
  34. <Setter.Value>
  35. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/红色圆角矩形背景.png" />
  36. </Setter.Value>
  37. </Setter>
  38. </Trigger>
  39. <Trigger Property="IsChecked" Value="False">
  40. <Setter TargetName="bord" Property="Background">
  41. <Setter.Value>
  42. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOff.png" />
  43. </Setter.Value>
  44. </Setter>
  45. </Trigger>
  46. </ControlTemplate.Triggers>
  47. </ControlTemplate>
  48. </Setter.Value>
  49. </Setter>
  50. </Style>
  51. <Style x:Key="radiobutton" TargetType="RadioButton">
  52. <Setter Property="HorizontalContentAlignment" Value="Center" />
  53. <Setter Property="VerticalContentAlignment" Value="Center" />
  54. <Setter Property="Template">
  55. <Setter.Value>
  56. <ControlTemplate TargetType="RadioButton">
  57. <Border
  58. x:Name="bord"
  59. Width="{TemplateBinding Width}"
  60. Height="{TemplateBinding Height}"
  61. Background="{TemplateBinding Background}"
  62. BorderBrush="{TemplateBinding BorderBrush}"
  63. BorderThickness="{TemplateBinding BorderThickness}">
  64. <ContentControl
  65. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  66. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  67. Content="{TemplateBinding Content}"
  68. Foreground="{TemplateBinding Foreground}" />
  69. </Border>
  70. <ControlTemplate.Triggers>
  71. <Trigger Property="IsChecked" Value="True">
  72. <Setter TargetName="bord" Property="Background">
  73. <Setter.Value>
  74. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/红色圆角矩形背景.png" />
  75. </Setter.Value>
  76. </Setter>
  77. </Trigger>
  78. <Trigger Property="IsChecked" Value="False">
  79. <Setter TargetName="bord" Property="Background">
  80. <Setter.Value>
  81. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOff.png" />
  82. </Setter.Value>
  83. </Setter>
  84. </Trigger>
  85. </ControlTemplate.Triggers>
  86. </ControlTemplate>
  87. </Setter.Value>
  88. </Setter>
  89. </Style>
  90. </UserControl.Resources>
  91. <Grid>
  92. <Grid
  93. Height="50" HorizontalAlignment="Right" VerticalAlignment="Top">
  94. <Border Margin="0,0,100,0" HorizontalAlignment="Center">
  95. <Button
  96. Margin="20,5"
  97. Command="{Binding DataRecordCommand}"
  98. Content="选择设备类型"
  99. Style="{StaticResource ButtonStyle}" />
  100. </Border>
  101. </Grid>
  102. <Grid
  103. x:Name="ooo" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsHitTestVisible="False"
  104. Opacity="0.5">
  105. <Grid.RowDefinitions>
  106. <RowDefinition />
  107. <RowDefinition Height="0" />
  108. </Grid.RowDefinitions>
  109. <Grid>
  110. <Grid Margin="150,100">
  111. <Viewbox Stretch="Uniform">
  112. <Canvas Width="800" Height="450">
  113. <!--#region 配料搅拌-->
  114. <TextBlock
  115. Canvas.Left="60" Canvas.Top="10"
  116. Foreground="{Binding DeviceStatus.M101, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  117. Text="配料搅拌" />
  118. <StackPanel
  119. Canvas.Left="56" Canvas.Top="35" Orientation="Horizontal">
  120. <bpa:MotorTwo
  121. Width="60" Height="30" Margin="0,-20,0,0"
  122. MotorColors="{Binding DeviceStatus.M101, Converter={StaticResource deviceConvert}, ConverterParameter=3}" />
  123. <bpa:MotorHousing
  124. Width="50" Height="50" Margin="-20,0,0,0" />
  125. </StackPanel>
  126. <!--#endregion-->
  127. <!--#region 阀门1 进料阀-->
  128. <StackPanel
  129. Canvas.Left="87" Canvas.Top="150" Width="70" Height="120">
  130. <bpa:PipeLineV
  131. Width="15" Height="80"
  132. Direction="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  133. Fill="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  134. Speed="10" />
  135. <bpa:PipeLineTR
  136. Width="30" Margin="0,-1,-15,0"
  137. Direction="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  138. Fill="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  139. LineWidth="15" Speed="10" />
  140. </StackPanel>
  141. <TextBlock
  142. Canvas.Left="70" Canvas.Top="130"
  143. Foreground="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  144. Text="进料阀" />
  145. <StackPanel
  146. Canvas.Left="90" Canvas.Top="65" Width="65" Height="130">
  147. <bpa:JAR Width="65" Height="65" />
  148. <bpa:HandValve
  149. Width="45" Height="65" Margin="0,-20,-12,0"
  150. EdgeColor="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  151. OpenEnable="{Binding DeviceStatus.VX100}"
  152. RenderTransformOrigin="0.5,0.5">
  153. <bpa:HandValve.RenderTransform>
  154. <TransformGroup>
  155. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  156. <SkewTransform />
  157. <RotateTransform Angle="90" />
  158. <TranslateTransform />
  159. </TransformGroup>
  160. </bpa:HandValve.RenderTransform>
  161. </bpa:HandValve>
  162. </StackPanel>
  163. <bpa:PipeLineH
  164. Canvas.Left="144" Canvas.Top="244" Width="65" Height="15"
  165. Direction="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  166. Fill="{Binding DeviceStatus.VX100, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  167. Speed="10" />
  168. <!--#endregion-->
  169. <!--#region 阀门3 回油阀-->
  170. <bpa:PipeLineTL
  171. Canvas.Left="427" Canvas.Top="200" Width="16" Margin="0,0,0,-8"
  172. Direction="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  173. Fill="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  174. LineWidth="25" Speed="10" />
  175. <bpa:PipeLineV
  176. Canvas.Left="435" Canvas.Top="177" Width="8" Height="23"
  177. Direction="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  178. Fill="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  179. Speed="10" />
  180. <TextBlock
  181. Canvas.Left="495" Canvas.Top="140"
  182. Foreground="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  183. Text="回油阀" />
  184. <StackPanel
  185. Canvas.Left="435" Canvas.Top="160" Orientation="Horizontal">
  186. <bpa:PipeLineBR
  187. Width="16" Margin="0,0,0,-8"
  188. Direction="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  189. Fill="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  190. LineWidth="25" Speed="10" />
  191. <bpa:PipeLineH
  192. Width="50" Height="8"
  193. Direction="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  194. Fill="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  195. Speed="10" />
  196. <bpa:HandValve
  197. Width="25" Margin="-1,-7,0,0" Panel.ZIndex="1"
  198. EdgeColor="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  199. OpenEnable="{Binding DeviceStatus.VX102}" />
  200. <bpa:PipeLineH
  201. Width="50" Height="8" Margin="-6,0,0,0" Panel.ZIndex="0"
  202. Direction="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  203. Fill="{Binding DeviceStatus.VX102, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  204. Speed="10" />
  205. </StackPanel>
  206. <!--#endregion-->
  207. <!--#region 阀门4 回水阀-->
  208. <TextBlock
  209. Canvas.Left="495" Canvas.Top="220"
  210. Foreground="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  211. Text="回水阀" />
  212. <StackPanel
  213. Canvas.Left="427" Canvas.Top="200" Orientation="Horizontal">
  214. <bpa:PipeLineH
  215. Width="73" Height="8"
  216. Direction="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  217. Fill="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  218. Speed="10" />
  219. <bpa:HandValve
  220. Width="25" Margin="-1,-7,0,0" Panel.ZIndex="1"
  221. EdgeColor="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  222. OpenEnable="{Binding DeviceStatus.VX103}" />
  223. <bpa:PipeLineH
  224. Width="120" Height="8" Margin="-6,0,0,0" Panel.ZIndex="0"
  225. Direction="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  226. Fill="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  227. Speed="10" />
  228. <bpa:PipeLineTL
  229. Width="16" Margin="0,0,0,8"
  230. Direction="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  231. Fill="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  232. LineWidth="25" Speed="10" />
  233. </StackPanel>
  234. <bpa:PipeLineV
  235. Canvas.Left="646" Canvas.Top="170" Width="8" Height="30"
  236. Direction="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  237. Fill="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  238. Speed="10" />
  239. <bpa:PipeLineBL
  240. Canvas.Left="638" Canvas.Top="154" Width="16"
  241. Direction="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  242. Fill="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  243. LineWidth="25" Speed="10" />
  244. <bpa:PipeLineH
  245. Canvas.Left="607" Canvas.Top="154" Width="31" Height="8"
  246. Direction="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  247. Fill="{Binding DeviceStatus.VX103, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  248. Speed="10" />
  249. <!--#endregion-->
  250. <!--#region 阀门3-4连接-->
  251. <bpa:PipeLineH
  252. Canvas.Left="229" Canvas.Top="208" Width="198" Height="8"
  253. Direction="{Binding PipeLine.PipeH_1.Direction}"
  254. Fill="{Binding PipeLine.PipeH_1.Fill, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  255. Speed="10" />
  256. <!--#endregion-->
  257. <!--#region 阀门5 汇馏阀-->
  258. <TextBlock
  259. Canvas.Left="610" Canvas.Top="240"
  260. Foreground="{Binding DeviceStatus.VX104, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  261. Text="汇馏阀" />
  262. <bpa:PipeLineV
  263. Canvas.Left="584" Canvas.Top="185" Width="8" Height="95"
  264. Direction="{Binding DeviceStatus.VX104, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  265. Fill="{Binding DeviceStatus.VX104, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  266. Speed="10" />
  267. <bpa:HandValve
  268. Canvas.Left="579" Canvas.Top="240" Width="25"
  269. EdgeColor="{Binding DeviceStatus.VX104, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  270. OpenEnable="{Binding DeviceStatus.VX104}"
  271. RenderTransformOrigin="0.5,0.5">
  272. <bpa:HandValve.RenderTransform>
  273. <TransformGroup>
  274. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  275. <SkewTransform />
  276. <RotateTransform Angle="90" />
  277. <TranslateTransform />
  278. </TransformGroup>
  279. </bpa:HandValve.RenderTransform>
  280. </bpa:HandValve>
  281. <!--#endregion-->
  282. <!--#region 阀门2 蒸馏阀-->
  283. <bpa:PipeLineH
  284. Canvas.Left="258" Canvas.Top="244" Width="65" Height="15"
  285. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  286. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  287. Speed="10" />
  288. <bpa:PipeLineTL
  289. Canvas.Left="321" Canvas.Top="229" Width="30"
  290. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  291. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  292. LineWidth="15" Speed="10" />
  293. <bpa:PipeLineV
  294. Canvas.Left="336" Canvas.Top="180" Width="15" Height="50"
  295. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  296. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  297. Speed="10" />
  298. <bpa:PipeLineV
  299. Canvas.Left="336" Canvas.Top="40" Width="15" Height="110"
  300. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  301. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  302. Speed="10" />
  303. <bpa:PipeLineBR
  304. Canvas.Left="336" Canvas.Top="10" Width="30"
  305. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  306. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  307. LineWidth="15" Speed="10" />
  308. <bpa:PipeLineH
  309. Canvas.Left="366" Canvas.Top="10" Width="200" Height="15"
  310. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  311. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  312. Speed="10" />
  313. <TextBlock
  314. Canvas.Left="280" Canvas.Top="160"
  315. Foreground="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  316. Text="蒸馏阀" />
  317. <bpa:HandValve
  318. Canvas.Left="327" Canvas.Top="136" Width="45" Height="65"
  319. EdgeColor="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  320. OpenEnable="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  321. RenderTransformOrigin="0.5,0.5">
  322. <bpa:HandValve.RenderTransform>
  323. <TransformGroup>
  324. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  325. <SkewTransform />
  326. <RotateTransform Angle="90" />
  327. <TranslateTransform />
  328. </TransformGroup>
  329. </bpa:HandValve.RenderTransform>
  330. </bpa:HandValve>
  331. <StackPanel Canvas.Left="555" Canvas.Top="10">
  332. <bpa:PipeLineBL
  333. Width="30"
  334. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  335. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  336. LineWidth="15" Speed="10" />
  337. <bpa:Condenser
  338. Width="65" Height="80" Margin="0,0,-15,0" />
  339. <bpa:PipeLineV
  340. Width="8" Height="20" Margin="0,-4,-15,0"
  341. Direction="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  342. Fill="{Binding DeviceStatus.VX101, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  343. Speed="10" />
  344. <bpa:Tanks
  345. Width="60" Height="60" Margin="0,-5,-15,0" />
  346. </StackPanel>
  347. <!--#endregion-->
  348. <!--#region 阀门6 排馏阀-->
  349. <TextBlock
  350. Canvas.Left="620" Canvas.Top="350"
  351. Foreground="{Binding DeviceStatus.VX105, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  352. Text="排馏阀" />
  353. <bpa:PipeLineV
  354. Canvas.Left="596" Canvas.Top="330" Width="8" Height="50"
  355. Direction="{Binding DeviceStatus.VX105, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  356. Fill="{Binding DeviceStatus.VX105, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  357. Speed="10" />
  358. <bpa:HandValve
  359. Canvas.Left="591" Canvas.Top="350" Width="25"
  360. EdgeColor="{Binding DeviceStatus.VX105, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  361. OpenEnable="{Binding DeviceStatus.VX105}"
  362. RenderTransformOrigin="0.5,0.5">
  363. <bpa:HandValve.RenderTransform>
  364. <TransformGroup>
  365. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  366. <SkewTransform />
  367. <RotateTransform Angle="90" />
  368. <TranslateTransform />
  369. </TransformGroup>
  370. </bpa:HandValve.RenderTransform>
  371. </bpa:HandValve>
  372. <!--#endregion-->
  373. <!--#region 阀门7 冷凝器冷却水阀-->
  374. <TextBlock
  375. Canvas.Left="610" Canvas.Top="30"
  376. Foreground="{Binding DeviceStatus.VX106, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  377. Text="冷凝器冷却水阀" />
  378. <bpa:PipeLineH
  379. Width="65" Height="8" Margin="607,68,402,154"
  380. Direction="{Binding DeviceStatus.VX106, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  381. Fill="{Binding DeviceStatus.VX106, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  382. LineWidth="2" />
  383. <bpa:HandValve
  384. x:Name="VX106" Width="30" Height="20" Margin="617,58,402,154"
  385. OpenEnable="{Binding DeviceStatus.VX106}"
  386. RenderTransformOrigin="0.5,0.5" />
  387. <!--#endregion-->
  388. <!--#region 阀门8 配料釜蒸汽阀-->
  389. <bpa:PipeLineH
  390. Canvas.Left="149" Canvas.Top="85" Width="70" Height="10"
  391. Direction="{Binding DeviceStatus.VX107, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  392. Fill="{Binding DeviceStatus.VX107, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  393. Speed="10" />
  394. <bpa:HandValve
  395. Canvas.Left="179" Canvas.Top="74" Width="30" Height="25"
  396. OpenEnable="{Binding DeviceStatus.VX107}" />
  397. <TextBlock
  398. Canvas.Left="160" Canvas.Top="54" Foreground="White" Text="配料釜蒸汽阀" />
  399. <!--#endregion-->
  400. <!--#region 阀门9 反应釜蒸汽阀-->
  401. <TextBlock
  402. Canvas.Left="30" Canvas.Top="250"
  403. Foreground="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  404. Text="蒸汽阀" />
  405. <bpa:PipeLineTR
  406. Width="24" Height="24" Margin="81,266,402,154"
  407. Direction="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  408. Fill="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  409. LineWidth="18" Speed="10" />
  410. <bpa:PipeLineTR
  411. Width="24" Height="24" Margin="81,266,402,154"
  412. Direction="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=5}"
  413. Fill="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  414. LineWidth="18" Speed="10" />
  415. <bpa:PipeLineV
  416. Width="12" Height="40" Margin="81,226,402,154"
  417. Direction="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  418. Fill="{Binding DeviceStatus.VX108, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  419. LineWidth="4" />
  420. <bpa:HandValve
  421. x:Name="VX108" Width="35" Height="35" Margin="65,240,402,154"
  422. OpenEnable="{Binding DeviceStatus.VX108}"
  423. RenderTransformOrigin="0.5,0.5">
  424. <bpa:HandValve.RenderTransform>
  425. <TransformGroup>
  426. <ScaleTransform ScaleX="-0.926" ScaleY="1.08" />
  427. <SkewTransform />
  428. <RotateTransform Angle="270" />
  429. <TranslateTransform />
  430. </TransformGroup>
  431. </bpa:HandValve.RenderTransform>
  432. </bpa:HandValve>
  433. <!--#endregion-->
  434. <!--#region 阀门10 反应釜蒸汽疏水阀-->
  435. <TextBlock
  436. Canvas.Left="280" Canvas.Top="315"
  437. Foreground="{Binding DeviceStatus.VX109, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  438. Text="蒸汽疏水阀" />
  439. <bpa:PipeLineV
  440. Width="12" Height="50" Margin="348,287,402,154"
  441. Direction="{Binding DeviceStatus.VX109, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  442. Fill="{Binding DeviceStatus.VX109, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  443. LineWidth="4" />
  444. <bpa:HandValve
  445. Width="35" Height="35" Margin="341,296,402,154"
  446. OpenEnable="{Binding DeviceStatus.VX109}"
  447. RenderTransformOrigin="0.5,0.5">
  448. <bpa:HandValve.RenderTransform>
  449. <TransformGroup>
  450. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  451. <SkewTransform />
  452. <RotateTransform Angle="90" />
  453. <TranslateTransform />
  454. </TransformGroup>
  455. </bpa:HandValve.RenderTransform>
  456. </bpa:HandValve>
  457. <!--#endregion-->
  458. <!--#region 阀门11 反应釜冷却水给水阀-->
  459. <TextBlock
  460. Canvas.Left="390" Canvas.Top="260"
  461. Foreground="{Binding DeviceStatus.VX110, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  462. Text="冷却水给水阀" />
  463. <bpa:PipeLineTL
  464. Width="24" Height="24" Margin="360,266,402,154"
  465. Direction="{Binding DeviceStatus.VX110, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  466. Fill="{Binding DeviceStatus.VX110, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  467. LineWidth="18" Speed="1" />
  468. <bpa:PipeLineV
  469. Width="12" Height="40" Margin="372,226,402,154"
  470. Direction="{Binding DeviceStatus.VX110, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  471. Fill="{Binding DeviceStatus.VX110, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  472. LineWidth="4" Speed="10" />
  473. <bpa:HandValve
  474. x:Name="VX110" Width="35" Height="35" Margin="365,232,402,154"
  475. OpenEnable="{Binding DeviceStatus.VX110}"
  476. RenderTransformOrigin="0.5,0.5">
  477. <bpa:HandValve.RenderTransform>
  478. <TransformGroup>
  479. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  480. <SkewTransform />
  481. <RotateTransform Angle="90" />
  482. <TranslateTransform />
  483. </TransformGroup>
  484. </bpa:HandValve.RenderTransform>
  485. </bpa:HandValve>
  486. <!--#endregion-->
  487. <!--#region 阀门12 冷却水排水阀-->
  488. <TextBlock
  489. Canvas.Left="14" Canvas.Top="306"
  490. Foreground="{Binding DeviceStatus.VX111, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  491. Text="冷却水排水阀" />
  492. <bpa:PipeLineV
  493. Width="12" Height="50" Margin="105,290,402,154"
  494. Direction="{Binding DeviceStatus.VX111, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  495. Fill="{Binding DeviceStatus.VX111, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  496. LineWidth="4" />
  497. <bpa:HandValve
  498. x:Name="VX111" Width="35" Height="35" Margin="89,297,402,154"
  499. OpenEnable="{Binding DeviceStatus.VX111}"
  500. RenderTransformOrigin="0.5,0.5">
  501. <bpa:HandValve.RenderTransform>
  502. <TransformGroup>
  503. <ScaleTransform ScaleX="-0.926" ScaleY="1.08" />
  504. <SkewTransform />
  505. <RotateTransform Angle="270" />
  506. <TranslateTransform />
  507. </TransformGroup>
  508. </bpa:HandValve.RenderTransform>
  509. </bpa:HandValve>
  510. <!--#endregion-->
  511. <!--#region 阀门9-12链接-->
  512. <bpa:PipeLineH
  513. Width="95" Height="12" Margin="105,278,402,154"
  514. Direction="{Binding PipeLine.PipeH_3.Direction}"
  515. Fill="{Binding PipeLine.PipeH_3.Fill, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  516. LineWidth="4" />
  517. <!--#endregion-->
  518. <!--#region 阀门10-11连接-->
  519. <bpa:PipeLineH
  520. Width="95" Height="12" Margin="265,278,402,154"
  521. Direction="{Binding PipeLine.PipeH_2.Direction}"
  522. Fill="{Binding PipeLine.PipeH_2.Fill, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  523. LineWidth="4" />
  524. <!--#endregion-->
  525. <!--#region 阀门13分馏真空阀-->
  526. <bpa:PipeLineH
  527. Canvas.Left="607" Canvas.Top="142" Width="140" Height="10"
  528. Direction="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  529. Fill="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  530. Speed="10" />
  531. <bpa:PipeLineBL
  532. Canvas.Left="746" Canvas.Top="142" Width="20" Height="20"
  533. Direction="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  534. Fill="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  535. LineWidth="20" Speed="2" />
  536. <bpa:PipeLineV
  537. Canvas.Left="756" Canvas.Top="161" Width="10" Height="150"
  538. Direction="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  539. Fill="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  540. Speed="10" />
  541. <bpa:HandValve
  542. Canvas.Left="750" Canvas.Top="181" Width="30" Height="25"
  543. OpenEnable="{Binding DeviceStatus.VX112}"
  544. RenderTransformOrigin="0.5,0.5">
  545. <bpa:HandValve.RenderTransform>
  546. <TransformGroup>
  547. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  548. <SkewTransform />
  549. <RotateTransform Angle="90" />
  550. <TranslateTransform />
  551. </TransformGroup>
  552. </bpa:HandValve.RenderTransform>
  553. </bpa:HandValve>
  554. <TextBlock
  555. Canvas.Left="780" Canvas.Top="183"
  556. Foreground="{Binding DeviceStatus.VX112, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  557. Text="分馏真空阀" />
  558. <!--#endregion-->
  559. <!--#region 阀门14蒸馏真空阀-->
  560. <bpa:PipeLineH
  561. Canvas.Left="619" Canvas.Top="292" Width="128" Height="10"
  562. Direction="{Binding DeviceStatus.VX113, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  563. Fill="{Binding DeviceStatus.VX113, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  564. Speed="10" />
  565. <bpa:PipeLineBL
  566. Canvas.Left="746" Canvas.Top="292" Width="20" Height="20"
  567. Direction="{Binding DeviceStatus.VX113, Converter={StaticResource deviceConvert}, ConverterParameter=1}"
  568. Fill="{Binding DeviceStatus.VX113, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  569. LineWidth="20" Speed="2" />
  570. <bpa:HandValve
  571. Canvas.Left="696" Canvas.Top="281" Width="30" Height="25"
  572. OpenEnable="{Binding DeviceStatus.VX113}" />
  573. <TextBlock
  574. Canvas.Left="680" Canvas.Top="310"
  575. Foreground="{Binding DeviceStatus.VX113, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  576. Text="蒸馏真空阀" />
  577. <!--#endregion-->
  578. <!--#region 阀门13-14连接-->
  579. <bpa:PipeLineV
  580. Canvas.Left="756" Canvas.Top="311" Width="10" Height="40"
  581. Direction="{Binding PipeLine.PipeH_4.Direction}"
  582. Fill="{Binding PipeLine.PipeH_4.Fill, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  583. Speed="4" />
  584. <bpa:PipeLineBR
  585. Canvas.Left="756" Canvas.Top="370" Width="20" Height="20"
  586. Direction="{Binding PipeLine.PipeH_4.Direction}"
  587. Fill="{Binding PipeLine.PipeH_4.Fill, Converter={StaticResource deviceConvert}, ConverterParameter=2}"
  588. LineWidth="20" Speed="4">
  589. <bpa:PipeLineBR.RenderTransform>
  590. <ScaleTransform ScaleY="-1.0" />
  591. </bpa:PipeLineBR.RenderTransform>
  592. </bpa:PipeLineBR>
  593. <!--#endregion-->
  594. <!--#region 反应釜搅拌-->
  595. <TextBlock
  596. Canvas.Left="170" Canvas.Top="150"
  597. Foreground="{Binding DeviceStatus.M102, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  598. Text="反应釜搅拌" />
  599. <StackPanel
  600. Canvas.Left="200" Canvas.Top="175" Width="65" Height="220">
  601. <bpa:MotorTwo
  602. Width="40" Height="30" Margin="0,0,0,-1"
  603. MotorColors="{Binding DeviceStatus.M102, Converter={StaticResource deviceConvert}, ConverterParameter=3}"
  604. RenderTransformOrigin="0.5,0.5">
  605. <bpa:MotorTwo.RenderTransform>
  606. <TransformGroup>
  607. <ScaleTransform />
  608. <SkewTransform />
  609. <RotateTransform Angle="90" />
  610. <TranslateTransform />
  611. </TransformGroup>
  612. </bpa:MotorTwo.RenderTransform>
  613. </bpa:MotorTwo>
  614. <bpa:Joint
  615. Width="40" Height="30" Margin="0,0,0,-3" />
  616. <local:RetortTank
  617. Width="65" Height="120" Margin="0,4,0,0" />
  618. <bpa:HandValve
  619. Width="48" Height="65" Margin="0,-24,-14,0"
  620. OpenEnable="{Binding DeviceStatus.VX114}"
  621. RenderTransformOrigin="0.5,0.5">
  622. <bpa:HandValve.RenderTransform>
  623. <TransformGroup>
  624. <ScaleTransform ScaleX="0.926" ScaleY="1.08" />
  625. <SkewTransform />
  626. <RotateTransform Angle="90" />
  627. <TranslateTransform />
  628. </TransformGroup>
  629. </bpa:HandValve.RenderTransform>
  630. </bpa:HandValve>
  631. </StackPanel>
  632. <TextBlock
  633. Canvas.Left="140" Canvas.Top="340"
  634. Foreground="{Binding DeviceStatus.VX114, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  635. Text="反应釜出料阀" />
  636. <!--#endregion-->
  637. <!--#region 水罐-->
  638. <bpa:Tanks
  639. Canvas.Left="570" Canvas.Top="280" Width="60" Height="60"
  640. Margin="0,-5,-15,0" />
  641. <!--#endregion-->
  642. <!--#region 真空泵-->
  643. <bpa:MotorTwo
  644. Canvas.Left="841" Canvas.Top="380" Width="40" Height="25"
  645. MotorColors="{Binding DeviceStatus.M103, Converter={StaticResource deviceConvert}, ConverterParameter=3}">
  646. <bpa:MotorTwo.RenderTransform>
  647. <RotateTransform Angle="180" />
  648. </bpa:MotorTwo.RenderTransform>
  649. </bpa:MotorTwo>
  650. <bpa:Joint
  651. Canvas.Left="817" Canvas.Top="355" Height="36">
  652. <bpa:Joint.RenderTransform>
  653. <ScaleTransform ScaleX="-1.0" />
  654. </bpa:Joint.RenderTransform>
  655. </bpa:Joint>
  656. <bpa:Tanks
  657. Canvas.Left="770" Canvas.Top="384" Width="50" Height="50" />
  658. <TextBlock
  659. Canvas.Left="775" Canvas.Top="333"
  660. Foreground="{Binding DeviceStatus.M103, Converter={StaticResource deviceConvert}, ConverterParameter=4}"
  661. Text="分馏真空泵" />
  662. <!--#endregion-->
  663. <!--#region 仪器标注-->
  664. <TextBlock
  665. Canvas.Left="104" Canvas.Top="84" Foreground="Blue" Text="配料罐" />
  666. <TextBlock
  667. Canvas.Left="92" Canvas.Top="70" Width="60" Foreground="Red"
  668. Text="{Binding DeviceStatus.TempMaterial, StringFormat='{}{0}℃'}"
  669. TextAlignment="Center" />
  670. <TextBlock
  671. Canvas.Left="214" Canvas.Top="290" Foreground="Blue" Text="反应釜" />
  672. <TextBlock
  673. Canvas.Left="203" Canvas.Top="250" Width="60" Foreground="Red"
  674. Text="{Binding DeviceStatus.TempWok, StringFormat='{}{0}℃'}"
  675. TextAlignment="Center" />
  676. <TextBlock
  677. Canvas.Left="203" Canvas.Top="270" Width="60" Foreground="Red"
  678. Text="{Binding DeviceStatus.PressureWok, StringFormat='{}{0:f2}mpa'}"
  679. TextAlignment="Center" />
  680. <StackPanel
  681. Canvas.Left="-10" Canvas.Top="169" Orientation="Horizontal">
  682. <TextBlock Foreground="White" Text="蒸汽压力:" />
  683. <TextBlock
  684. Margin="10,0,0,0" Foreground="Red"
  685. Text="{Binding DeviceStatus.PressureWeek, StringFormat='{}{0:f2}mpa'}" />
  686. </StackPanel>
  687. <StackPanel
  688. Canvas.Left="-20" Canvas.Top="199" Orientation="Horizontal">
  689. <TextBlock Foreground="White" Text="比例阀开度:" />
  690. <TextBlock
  691. Margin="10,0,0,0" Foreground="Red"
  692. Text="{Binding DeviceStatus.OpenValue, StringFormat='{}{0:f2}%'}" />
  693. </StackPanel>
  694. <TextBlock
  695. Canvas.Left="569" Canvas.Top="88" Foreground="Blue" Text="冷凝器" />
  696. <TextBlock
  697. Canvas.Left="389" Canvas.Top="30" Width="150" Foreground="Red"
  698. Text="{Binding DeviceStatus.TempVent, StringFormat='反应釜排气温度:{0}℃'}"
  699. TextAlignment="Center" />
  700. <TextBlock
  701. Canvas.Left="569" Canvas.Top="168" Foreground="Blue" Text="蒸馏罐" />
  702. <TextBlock
  703. Canvas.Left="589" Canvas.Top="312" Foreground="Blue" Text="水罐" />
  704. <TextBlock
  705. Canvas.Left="570" Canvas.Top="295" Width="60" FontSize="9"
  706. Foreground="Red"
  707. Text="{Binding DeviceStatus.WeightWok, StringFormat='{}{0:f2}g'}"
  708. TextAlignment="Center" />
  709. <TextBlock
  710. Canvas.Left="780" Canvas.Top="414" FontSize="10" Foreground="Blue"
  711. Text="真空泵" />
  712. <TextBlock
  713. Canvas.Left="-85" Canvas.Top="135" HorizontalAlignment="Center" VerticalAlignment="Top"
  714. d:Foreground="Red"
  715. Foreground="{Binding DeviceStatus.Compressor, Converter={StaticResource BoolToColorConverter}}"
  716. Text="⚫" TextAlignment="Center" />
  717. <TextBlock
  718. Canvas.Left="-117" Canvas.Top="151" Canvas.Right="384.8" HorizontalAlignment="Center"
  719. VerticalAlignment="Top" Foreground="White" Text="空压机启动反馈" TextAlignment="Center" />
  720. <TextBlock
  721. Canvas.Left="275" Canvas.Top="68.5" HorizontalAlignment="Center" VerticalAlignment="Top"
  722. d:Foreground="Red"
  723. Foreground="{Binding DeviceStatus.ByPassMaterial, Converter={StaticResource BoolToColorConverter}}"
  724. Text="⚫" TextAlignment="Center" />
  725. <TextBlock
  726. Canvas.Left="245" Canvas.Top="53.5" Canvas.Right="384.8" HorizontalAlignment="Center"
  727. VerticalAlignment="Top" Foreground="White" Text="配料釜旁通阀" TextAlignment="Center" />
  728. <TextBlock
  729. Canvas.Left="-80" Canvas.Top="20" HorizontalAlignment="Center" VerticalAlignment="Top"
  730. d:Foreground="Red"
  731. Foreground="{Binding DeviceStatus.ByPassReact, Converter={StaticResource BoolToColorConverter}}"
  732. Text="⚫" TextAlignment="Center" />
  733. <TextBlock
  734. Canvas.Left="-107" Canvas.Top="40" Canvas.Right="384.8" HorizontalAlignment="Center"
  735. VerticalAlignment="Top" Foreground="White" Text="反应釜旁通阀" TextAlignment="Center" />
  736. <!--#endregion-->
  737. <!--#region 水罐重量清零-->
  738. <Button
  739. Canvas.Left="480" Canvas.Top="370" Width="100" Height="25"
  740. VerticalAlignment="Center" Click="ClearBtn_CLick" Content="水罐重量清零" FontSize="10"
  741. Style="{StaticResource ButtonStyle}" />
  742. <!--#endregion-->
  743. <!--#region 控制按钮-->
  744. <StackPanel
  745. Canvas.Left="-20" Canvas.Top="-5" Orientation="Vertical">
  746. <RadioButton
  747. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  748. Click="Open_Click" Content="配料搅拌:开" FontSize="10" Foreground="White"
  749. GroupName="1"
  750. Style="{StaticResource radiobutton}"
  751. Tag="0" />
  752. <RadioButton
  753. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  754. Content="配料搅拌:关" FontSize="10" Foreground="White" GroupName="1"
  755. IsChecked="True"
  756. Style="{StaticResource radiobutton}"
  757. Tag="0" />
  758. </StackPanel>
  759. <StackPanel
  760. Canvas.Left="-5" Canvas.Top="118" Orientation="Vertical">
  761. <RadioButton
  762. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  763. Click="Open_Click" Content="进料阀:开" FontSize="10" Foreground="White"
  764. GroupName="2"
  765. Style="{StaticResource radiobutton}"
  766. Tag="3" />
  767. <RadioButton
  768. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  769. Content="进料阀:关" FontSize="10" Foreground="White" GroupName="2"
  770. IsChecked="True"
  771. Style="{StaticResource radiobutton}"
  772. Tag="3" />
  773. </StackPanel>
  774. <StackPanel
  775. Canvas.Left="144" Canvas.Top="180" Orientation="Vertical">
  776. <RadioButton
  777. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  778. Click="Open_Click" Content="反应釜搅拌:开" FontSize="10" Foreground="White"
  779. GroupName="3"
  780. Style="{StaticResource radiobutton}"
  781. Tag="1" />
  782. <RadioButton
  783. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  784. Content="反应釜搅拌:关" FontSize="10" Foreground="White" GroupName="3"
  785. IsChecked="True"
  786. Style="{StaticResource radiobutton}"
  787. Tag="1" />
  788. </StackPanel>
  789. <StackPanel
  790. Canvas.Left="265" Canvas.Top="110" Orientation="Vertical">
  791. <RadioButton
  792. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  793. Click="Open_Click" Content="蒸馏阀:开" FontSize="10" Foreground="White"
  794. GroupName="4"
  795. Style="{StaticResource radiobutton}"
  796. Tag="4" />
  797. <RadioButton
  798. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  799. Content="蒸馏阀:关" FontSize="10" Foreground="White" GroupName="4"
  800. IsChecked="True"
  801. Style="{StaticResource radiobutton}"
  802. Tag="4" />
  803. </StackPanel>
  804. <StackPanel
  805. Canvas.Left="475" Canvas.Top="90" Orientation="Vertical">
  806. <RadioButton
  807. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  808. Click="Open_Click" Content="回油阀:开" FontSize="10" Foreground="White"
  809. GroupName="5"
  810. Style="{StaticResource radiobutton}"
  811. Tag="5" />
  812. <RadioButton
  813. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  814. Content="回油阀:关" FontSize="10" Foreground="White" GroupName="5"
  815. IsChecked="True"
  816. Style="{StaticResource radiobutton}"
  817. Tag="5" />
  818. </StackPanel>
  819. <StackPanel
  820. Canvas.Left="475" Canvas.Top="240" Orientation="Vertical">
  821. <RadioButton
  822. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  823. Click="Open_Click" Content="回水阀:开" FontSize="10" Foreground="White"
  824. GroupName="6"
  825. Style="{StaticResource radiobutton}"
  826. Tag="6" />
  827. <RadioButton
  828. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  829. Content="回水阀:关" FontSize="10" Foreground="White" GroupName="6"
  830. IsChecked="True"
  831. Style="{StaticResource radiobutton}"
  832. Tag="6" />
  833. </StackPanel>
  834. <StackPanel
  835. Canvas.Left="645" Canvas.Top="224" Orientation="Vertical">
  836. <RadioButton
  837. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  838. Click="Open_Click" Content="汇馏阀:开" FontSize="10" Foreground="White"
  839. GroupName="7"
  840. Style="{StaticResource radiobutton}"
  841. Tag="7" />
  842. <RadioButton
  843. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  844. Content="汇馏阀:关" FontSize="10" Foreground="White" GroupName="7"
  845. IsChecked="True"
  846. Style="{StaticResource radiobutton}"
  847. Tag="7" />
  848. </StackPanel>
  849. <StackPanel
  850. Canvas.Left="605" Canvas.Top="376" Orientation="Vertical">
  851. <RadioButton
  852. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  853. Click="Open_Click" Content="排馏阀:开" FontSize="10" Foreground="White"
  854. GroupName="8"
  855. Style="{StaticResource radiobutton}"
  856. Tag="8" />
  857. <RadioButton
  858. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  859. Content="排馏阀:关" FontSize="10" Foreground="White" GroupName="8"
  860. IsChecked="True"
  861. Style="{StaticResource radiobutton}"
  862. Tag="8" />
  863. </StackPanel>
  864. <StackPanel
  865. Canvas.Left="603" Canvas.Top="-30" Orientation="Vertical">
  866. <RadioButton
  867. Width="100" Height="28" Margin="0,0,0,2" BorderThickness="0"
  868. Click="Open_Click" Content="冷凝器冷却水阀:开" FontSize="10" Foreground="White"
  869. GroupName="9"
  870. Style="{StaticResource radiobutton}"
  871. Tag="9" />
  872. <RadioButton
  873. Width="100" Height="28" BorderThickness="0" Click="Close_Click"
  874. Content="冷凝器冷却水阀:关" FontSize="10" Foreground="White" GroupName="9"
  875. IsChecked="True"
  876. Style="{StaticResource radiobutton}"
  877. Tag="9" />
  878. </StackPanel>
  879. <StackPanel
  880. Canvas.Left="150" Canvas.Top="0" Orientation="Vertical">
  881. <RadioButton
  882. Width="90" Height="25" Margin="0,0,0,2" BorderThickness="0"
  883. Click="Open_Click" Content="配料釜蒸汽阀:开" FontSize="10" Foreground="White"
  884. GroupName="10"
  885. Style="{StaticResource radiobutton}"
  886. Tag="10" />
  887. <RadioButton
  888. Width="90" Height="25" BorderThickness="0" Click="Close_Click"
  889. Content="配料釜蒸汽阀:关" FontSize="10" Foreground="White" GroupName="10"
  890. IsChecked="True"
  891. Style="{StaticResource radiobutton}"
  892. Tag="10" />
  893. </StackPanel>
  894. <StackPanel
  895. Canvas.Left="-65" Canvas.Top="234" Orientation="Vertical">
  896. <RadioButton
  897. Width="90" Height="25" Margin="0,0,0,2" BorderThickness="0"
  898. Click="Open_Click" Content="反应釜蒸汽阀:开" FontSize="10" Foreground="White"
  899. GroupName="11"
  900. Style="{StaticResource radiobutton}"
  901. Tag="11" />
  902. <RadioButton
  903. Width="90" Height="25" BorderThickness="0" Click="Close_Click"
  904. Content="反应釜蒸汽阀:关" FontSize="10" Foreground="White" GroupName="11"
  905. IsChecked="True"
  906. Style="{StaticResource radiobutton}"
  907. Tag="11" />
  908. </StackPanel>
  909. <StackPanel
  910. Canvas.Left="265" Canvas.Top="346" Orientation="Vertical">
  911. <RadioButton
  912. Width="110" Height="30" Margin="0,0,0,2" BorderThickness="0"
  913. Click="Open_Click" Content="反应釜蒸汽疏水阀:开" FontSize="10" Foreground="White"
  914. GroupName="12"
  915. Style="{StaticResource radiobutton}"
  916. Tag="12" />
  917. <RadioButton
  918. Width="110" Height="30" BorderThickness="0" Click="Close_Click"
  919. Content="反应釜蒸汽疏水阀:关" FontSize="10" Foreground="White" GroupName="12"
  920. IsChecked="True"
  921. Style="{StaticResource radiobutton}"
  922. Tag="12" />
  923. </StackPanel>
  924. <StackPanel
  925. Canvas.Left="370" Canvas.Top="288" Orientation="Vertical">
  926. <RadioButton
  927. Width="120" Height="30" Margin="0,0,0,2" BorderThickness="0"
  928. Click="Open_Click" Content="反应釜冷却水给水阀:开" FontSize="10" Foreground="White"
  929. GroupName="13"
  930. Style="{StaticResource radiobutton}"
  931. Tag="13" />
  932. <RadioButton
  933. Width="120" Height="30" BorderThickness="0" Click="Close_Click"
  934. Content="反应釜冷却水给水阀:关" FontSize="10" Foreground="White" GroupName="13"
  935. IsChecked="True"
  936. Style="{StaticResource radiobutton}"
  937. Tag="13" />
  938. </StackPanel>
  939. <StackPanel
  940. Canvas.Left="-20" Canvas.Top="328" Orientation="Vertical">
  941. <RadioButton
  942. Width="120" Height="30" Margin="0,0,0,2" BorderThickness="0"
  943. Click="Open_Click" Content="反应釜冷却水排水阀:开" FontSize="10" Foreground="White"
  944. GroupName="18"
  945. Style="{StaticResource radiobutton}"
  946. Tag="18" />
  947. <RadioButton
  948. Width="120" Height="30" BorderThickness="0" Click="Close_Click"
  949. Content="反应釜冷却水排水阀:关" FontSize="10" Foreground="White" GroupName="18"
  950. IsChecked="True"
  951. Style="{StaticResource radiobutton}"
  952. Tag="18" />
  953. </StackPanel>
  954. <StackPanel
  955. Canvas.Left="775" Canvas.Top="128" Orientation="Vertical">
  956. <RadioButton
  957. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  958. Click="Open_Click" Content="分馏真空阀:开" FontSize="10" Foreground="White"
  959. GroupName="19"
  960. Style="{StaticResource radiobutton}"
  961. Tag="19" />
  962. <RadioButton
  963. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  964. Content="分馏真空阀:关" FontSize="10" Foreground="White" GroupName="19"
  965. IsChecked="True"
  966. Style="{StaticResource radiobutton}"
  967. Tag="19" />
  968. </StackPanel>
  969. <StackPanel
  970. Canvas.Left="678" Canvas.Top="336" Orientation="Vertical">
  971. <RadioButton
  972. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  973. Click="Open_Click" Content="蒸馏真空阀:开" FontSize="10" Foreground="White"
  974. GroupName="20"
  975. Style="{StaticResource radiobutton}"
  976. Tag="20" />
  977. <RadioButton
  978. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  979. Content="蒸馏真空阀:关" FontSize="10" Foreground="White" GroupName="20"
  980. IsChecked="True"
  981. Style="{StaticResource radiobutton}"
  982. Tag="20" />
  983. </StackPanel>
  984. <StackPanel
  985. Canvas.Left="772" Canvas.Top="286" Orientation="Vertical">
  986. <RadioButton
  987. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  988. Click="Open_Click" Content="真空泵:开" FontSize="10" Foreground="White"
  989. GroupName="21"
  990. Style="{StaticResource radiobutton}"
  991. Tag="2" />
  992. <RadioButton
  993. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  994. Content="真空泵:关" FontSize="10" Foreground="White" GroupName="21"
  995. IsChecked="True"
  996. Style="{StaticResource radiobutton}"
  997. Tag="2" />
  998. </StackPanel>
  999. <StackPanel
  1000. Canvas.Left="135" Canvas.Top="366" Orientation="Vertical">
  1001. <RadioButton
  1002. Width="80" Height="25" Margin="0,0,0,2" BorderThickness="0"
  1003. Click="Open_Click" Content="出料阀:开" FontSize="10" Foreground="White"
  1004. GroupName="22"
  1005. Style="{StaticResource radiobutton}"
  1006. Tag="33" />
  1007. <RadioButton
  1008. Width="80" Height="25" BorderThickness="0" Click="Close_Click"
  1009. Content="出料阀:关" FontSize="10" Foreground="White" GroupName="22"
  1010. IsChecked="True"
  1011. Style="{StaticResource radiobutton}"
  1012. Tag="33" />
  1013. </StackPanel>
  1014. <StackPanel
  1015. Canvas.Left="-110" Canvas.Top="170" Orientation="Vertical">
  1016. <RadioButton
  1017. Width="70" Height="22" Margin="0,0,0,2" BorderThickness="0"
  1018. Click="Open_Click" Content="空压机:开" FontSize="10" Foreground="White"
  1019. GroupName="23"
  1020. Style="{StaticResource radiobutton}"
  1021. Tag="21" />
  1022. <RadioButton
  1023. Width="70" Height="22" BorderThickness="0" Click="Close_Click"
  1024. Content="空压机:关" FontSize="10" Foreground="White" GroupName="23"
  1025. IsChecked="True"
  1026. Style="{StaticResource radiobutton}"
  1027. Tag="21" />
  1028. </StackPanel>
  1029. <StackPanel
  1030. Canvas.Left="240" Canvas.Top="0" Orientation="Vertical">
  1031. <RadioButton
  1032. Width="90" Height="22" Margin="0,0,0,2" BorderThickness="0"
  1033. Click="Open_Click" Content="配料釜旁通阀:开" FontSize="10" Foreground="White"
  1034. GroupName="24"
  1035. Style="{StaticResource radiobutton}"
  1036. Tag="35" />
  1037. <RadioButton
  1038. Width="90" Height="22" BorderThickness="0" Click="Close_Click"
  1039. Content="配料釜旁通阀:关" FontSize="10" Foreground="White" GroupName="24"
  1040. IsChecked="True"
  1041. Style="{StaticResource radiobutton}"
  1042. Tag="35" />
  1043. </StackPanel>
  1044. <StackPanel
  1045. Canvas.Left="-120" Canvas.Top="60" Orientation="Vertical">
  1046. <RadioButton
  1047. Width="90" Height="22" Margin="0,0,0,2" BorderThickness="0"
  1048. Click="Open_Click" Content="反应釜旁通阀:开" FontSize="10" Foreground="White"
  1049. GroupName="25"
  1050. Style="{StaticResource radiobutton}"
  1051. Tag="36" />
  1052. <RadioButton
  1053. Width="90" Height="22" BorderThickness="0" Click="Close_Click"
  1054. Content="反应釜旁通阀:关" FontSize="10" Foreground="White" GroupName="25"
  1055. IsChecked="True"
  1056. Style="{StaticResource radiobutton}"
  1057. Tag="36" />
  1058. </StackPanel>
  1059. <!--#endregion-->
  1060. <!--#region 新增按钮-->
  1061. <StackPanel
  1062. Canvas.Left="705" Canvas.Top="-30" Orientation="Vertical">
  1063. <RadioButton
  1064. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1065. Click="new_Click" Content="闪蒸:开" FontSize="8" Foreground="White"
  1066. GroupName="t1"
  1067. Style="{StaticResource radiobutton}"
  1068. Tag="0" />
  1069. <RadioButton
  1070. Width="70" Height="20" BorderThickness="0" Click="new_Click"
  1071. Content="闪蒸:关" FontSize="8" Foreground="White" GroupName="t1"
  1072. IsChecked="True"
  1073. Style="{StaticResource radiobutton}"
  1074. Tag="0" />
  1075. </StackPanel>
  1076. <StackPanel
  1077. Canvas.Left="785" Canvas.Top="-30" Orientation="Vertical">
  1078. <RadioButton
  1079. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1080. Click="new_Click" Content="真空蒸馏:开" FontSize="8" Foreground="White"
  1081. GroupName="t2"
  1082. Style="{StaticResource radiobutton}"
  1083. Tag="1" />
  1084. <RadioButton
  1085. Width="70" Height="20" BorderThickness="0" Click="new_Click"
  1086. Content="真空蒸馏:关" FontSize="8" Foreground="White" GroupName="t2"
  1087. IsChecked="True"
  1088. Style="{StaticResource radiobutton}"
  1089. Tag="1" />
  1090. </StackPanel>
  1091. <StackPanel
  1092. Canvas.Left="705" Canvas.Top="20" Orientation="Vertical">
  1093. <RadioButton
  1094. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1095. Click="new_Click" Content="真空下料:开" FontSize="8" Foreground="White"
  1096. GroupName="t3"
  1097. Style="{StaticResource radiobutton}"
  1098. Tag="2" />
  1099. <RadioButton
  1100. Width="70" Height="20" BorderThickness="0" Click="new_Click"
  1101. Content="真空下料:关" FontSize="8" Foreground="White" GroupName="t3"
  1102. IsChecked="True"
  1103. Style="{StaticResource radiobutton}"
  1104. Tag="2" />
  1105. </StackPanel>
  1106. <StackPanel
  1107. Canvas.Left="785" Canvas.Top="20" Orientation="Vertical">
  1108. <RadioButton
  1109. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1110. Click="new_Click" Content="加压出料:开" FontSize="8" Foreground="White"
  1111. GroupName="t4"
  1112. Style="{StaticResource radiobutton}"
  1113. Tag="3" />
  1114. <RadioButton
  1115. Width="70" Height="20" BorderThickness="0" Click="new_Click"
  1116. Content="加压出料:关" FontSize="8" Foreground="White" GroupName="t4"
  1117. IsChecked="True"
  1118. Style="{StaticResource radiobutton}"
  1119. Tag="3" />
  1120. </StackPanel>
  1121. <StackPanel
  1122. Canvas.Left="745" Canvas.Top="70" Orientation="Vertical">
  1123. <RadioButton
  1124. Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
  1125. Click="new_Click" Content="排空阀:开" FontSize="8" Foreground="White"
  1126. GroupName="t5"
  1127. Style="{StaticResource radiobutton}"
  1128. Tag="4" />
  1129. <RadioButton
  1130. Width="70" Height="20" BorderThickness="0" Click="new_Click"
  1131. Content="排空阀:关" FontSize="8" Foreground="White" GroupName="t5"
  1132. IsChecked="True"
  1133. Style="{StaticResource radiobutton}"
  1134. Tag="4" />
  1135. </StackPanel>
  1136. <!--#endregion-->
  1137. </Canvas>
  1138. </Viewbox>
  1139. </Grid>
  1140. <Grid>
  1141. <Grid>
  1142. <Grid.RowDefinitions>
  1143. <RowDefinition Height="50" />
  1144. <RowDefinition />
  1145. <RowDefinition Height="200" />
  1146. </Grid.RowDefinitions>
  1147. <StackPanel
  1148. Margin="200,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Horizontal">
  1149. <TextBlock
  1150. VerticalAlignment="Center" FontSize="20" Foreground="White" Text="请输入产品编号:" />
  1151. <TextBox
  1152. x:Name="recipeName" Width="200" Height="40" VerticalAlignment="Center"
  1153. FontSize="20"
  1154. Text="{Binding Name}" />
  1155. </StackPanel>
  1156. <CheckBox
  1157. x:Name="start_check" Width="160" Height="50" HorizontalAlignment="Left"
  1158. VerticalAlignment="Top"
  1159. Command="{Binding Start}"
  1160. Content="{Binding Content}"
  1161. FontSize="30"
  1162. IsChecked="{Binding IsChecked}"
  1163. Style="{StaticResource Beveledcheck}" />
  1164. <Grid Grid.Row="2">
  1165. <Grid.RowDefinitions>
  1166. <RowDefinition Height="30" />
  1167. <RowDefinition Height="50" />
  1168. <RowDefinition />
  1169. </Grid.RowDefinitions>
  1170. <TextBlock
  1171. Margin="20,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="20"
  1172. Foreground="White" Text="温度控制及校准:" />
  1173. <StackPanel
  1174. Grid.Row="1" Margin="20,2,30,0" HorizontalAlignment="Left" VerticalAlignment="Bottom"
  1175. Orientation="Horizontal">
  1176. <RadioButton
  1177. Height="40" Click="auto_click" Content="配料罐升温" GroupName="heat"
  1178. IsChecked="True"
  1179. Style="{StaticResource RectangleRadioButtonStyle}" />
  1180. <RadioButton
  1181. Height="40" Click="auto_click" Content="反应釜升温" GroupName="heat"
  1182. Style="{StaticResource RectangleRadioButtonStyle}" />
  1183. <RadioButton
  1184. Height="40" Click="auto_click" Content="反应釜降温" GroupName="heat"
  1185. Style="{StaticResource RectangleRadioButtonStyle}" />
  1186. <RadioButton
  1187. Height="40" Click="auto_click" Content="温度校准" GroupName="heat"
  1188. Style="{StaticResource RectangleRadioButtonStyle}" />
  1189. </StackPanel>
  1190. <Border
  1191. Grid.Row="2" Margin="20,0,30,10" BorderBrush="#ff2AB2E7" BorderThickness="2">
  1192. <UniformGrid Rows="2">
  1193. <Grid>
  1194. <WrapPanel x:Name="wokTemp" Margin="0,15,0,0">
  1195. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1196. <TextBlock
  1197. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1198. Foreground="White" Text="设置温度:" />
  1199. <TextBox
  1200. x:Name="temp_1" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1201. Text="0" />
  1202. <TextBlock
  1203. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1204. Foreground="White" Text="℃" />
  1205. <RadioButton
  1206. Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1207. BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
  1208. GroupName="tempctrl"
  1209. Style="{StaticResource radiobutton}" />
  1210. <RadioButton
  1211. Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
  1212. Click="TempCLose_CLick" Content="停止" Foreground="White" GroupName="tempctrl"
  1213. IsChecked="True"
  1214. Style="{StaticResource radiobutton}" />
  1215. </StackPanel>
  1216. </WrapPanel>
  1217. <WrapPanel
  1218. x:Name="caliTemp" Margin="0,15,0,0" Visibility="Collapsed">
  1219. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1220. <TextBlock
  1221. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"
  1222. Foreground="White" Text="反应釜排气温度校准:" />
  1223. <TextBox
  1224. x:Name="tempvent" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1225. Text="0" />
  1226. <TextBlock
  1227. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"
  1228. Foreground="White" Text="℃" />
  1229. </StackPanel>
  1230. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1231. <TextBlock
  1232. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
  1233. Foreground="White" Text="配料罐温度校准:" />
  1234. <TextBox
  1235. x:Name="tempmaterial" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1236. Text="0" />
  1237. <TextBlock
  1238. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"
  1239. Foreground="White" Text="℃" />
  1240. </StackPanel>
  1241. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  1242. <TextBlock
  1243. Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"
  1244. Foreground="White" Text="反应釜温度校准:" />
  1245. <TextBox
  1246. x:Name="tempwok" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
  1247. Text="0" />
  1248. <TextBlock
  1249. Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"
  1250. Foreground="White" Text="℃" />
  1251. </StackPanel>
  1252. <Button
  1253. Width="120" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
  1254. Click="TempSet_CLick" Content="确认"
  1255. Style="{StaticResource ButtonStyle}" />
  1256. </WrapPanel>
  1257. </Grid>
  1258. </UniformGrid>
  1259. </Border>
  1260. </Grid>
  1261. </Grid>
  1262. </Grid>
  1263. </Grid>
  1264. </Grid>
  1265. <TextBlock
  1266. x:Name="state" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="100"
  1267. FontWeight="Black" Text="设备未连接" Visibility="Collapsed" />
  1268. <Grid
  1269. x:Name="hzSet" Width="800" Height="500" Visibility="Collapsed">
  1270. <Grid.Background>
  1271. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/容器边框.png" />
  1272. </Grid.Background>
  1273. <Grid.RowDefinitions>
  1274. <RowDefinition />
  1275. <RowDefinition Height="5*" />
  1276. </Grid.RowDefinitions>
  1277. <TextBlock
  1278. HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30" Foreground="White"
  1279. Text="设置频率" />
  1280. <UniformGrid
  1281. Grid.Row="1" Margin="0,0,0,40" Rows="3">
  1282. <TextBlock
  1283. x:Name="motorName" Margin="60,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center"
  1284. FontSize="25" Foreground="White" Text="配料搅拌频率:" />
  1285. <StackPanel
  1286. HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
  1287. <TextBox
  1288. x:Name="motorValue" Width="260" Height="46" HorizontalContentAlignment="Center"
  1289. VerticalContentAlignment="Center" FontSize="25" Foreground="White" TextAlignment="Center" />
  1290. <TextBlock
  1291. Margin="20,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="25"
  1292. Foreground="White" Text="%(范围:20-100)" />
  1293. </StackPanel>
  1294. <StackPanel
  1295. Margin="0,0,50,0" HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Horizontal">
  1296. <Button
  1297. Width="120" Height="40" HorizontalAlignment="Right" VerticalAlignment="Center"
  1298. Click="hzSet_Click" Content="确认"
  1299. Style="{StaticResource ButtonStyle}" />
  1300. <Button
  1301. Width="120" Height="40" HorizontalAlignment="Right" VerticalAlignment="Center"
  1302. Click="hzCancel_Click" Content="取消"
  1303. Style="{StaticResource ButtonStyle}" />
  1304. </StackPanel>
  1305. </UniformGrid>
  1306. </Grid>
  1307. </Grid>
  1308. </UserControl>