PMPIDView.xaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. <UserControl x:Class="EfemDualUI.Views.PMs.PMPIDView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:clean1="clr-namespace:EfemDualUI.Views.PMs" xmlns:cal="http://www.caliburn.org" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
  7. mc:Ignorable="d"
  8. d:DesignHeight="770" d:DesignWidth="1920" >
  9. <Grid Margin="10,20,10,10" >
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="380"/>
  12. <RowDefinition Height="380"/>
  13. </Grid.RowDefinitions>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="940"/>
  16. <ColumnDefinition Width="950"/>
  17. </Grid.ColumnDefinitions>
  18. <Canvas Background="#FFC5D0D8" Width="800" Height="300" Grid.Row="0" Grid.Column="0">
  19. <TextBlock Text="CHB Wall 自整定学习" FontSize="30" Canvas.Left="254" Canvas.Top="13">
  20. </TextBlock>
  21. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding CHBHeaterOn}" Canvas.Left="700" Canvas.Top="180"/>
  22. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding CHBHeaterPIDATRunning}" Canvas.Left="700" Canvas.Top="210"/>
  23. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding CHBHeaterPIDATFinished}" Canvas.Left="700" Canvas.Top="240"/>
  24. <Button Content="Set" Canvas.Left="280" Canvas.Top="132">
  25. <i:Interaction.Triggers>
  26. <i:EventTrigger EventName="Click">
  27. <cal:ActionMessage MethodName="CHBSetTemperature">
  28. <cal:Parameter Value="{Binding}"></cal:Parameter>
  29. </cal:ActionMessage>
  30. </i:EventTrigger>
  31. </i:Interaction.Triggers>
  32. </Button>
  33. <Button Content="开始加热" Canvas.Left="390" Canvas.Top="124">
  34. <i:Interaction.Triggers>
  35. <i:EventTrigger EventName="Click">
  36. <cal:ActionMessage MethodName="CHBSetHeaterOn">
  37. </cal:ActionMessage>
  38. </i:EventTrigger>
  39. </i:Interaction.Triggers>
  40. </Button>
  41. <Button Content="自整定模式开启" Canvas.Left="75" Canvas.Top="233">
  42. <i:Interaction.Triggers>
  43. <i:EventTrigger EventName="Click">
  44. <cal:ActionMessage MethodName="CHBHeatPIDATStart">
  45. </cal:ActionMessage>
  46. </i:EventTrigger>
  47. </i:Interaction.Triggers>
  48. </Button>
  49. <Button Content="自整定模式关闭" Canvas.Left="230" Canvas.Top="233">
  50. <i:Interaction.Triggers>
  51. <i:EventTrigger EventName="Click">
  52. <cal:ActionMessage MethodName="CHBHeatPIDATStop">
  53. </cal:ActionMessage>
  54. </i:EventTrigger>
  55. </i:Interaction.Triggers>
  56. </Button>
  57. <Button Content="停止加热" Canvas.Left="390" Canvas.Top="173">
  58. <i:Interaction.Triggers>
  59. <i:EventTrigger EventName="Click">
  60. <cal:ActionMessage MethodName="CHBSetHeaterOff">
  61. </cal:ActionMessage>
  62. </i:EventTrigger>
  63. </i:Interaction.Triggers>
  64. </Button>
  65. <TextBox Text="{Binding CHBTemperatureSetpoint, UpdateSourceTrigger=PropertyChanged}" Width="95" Canvas.Left="162" Canvas.Top="132" Height="26">
  66. </TextBox>
  67. <TextBlock Text="温度设定:" FontSize="16" Canvas.Left="89" Canvas.Top="134">
  68. </TextBlock>
  69. <TextBlock Text="控制用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="118">
  70. </TextBlock>
  71. <TextBlock Text="{Binding CHBControlTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="118">
  72. </TextBlock>
  73. <TextBlock Text="监控用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="148">
  74. </TextBlock>
  75. <TextBlock Text="{Binding CHBMonitorTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="148">
  76. </TextBlock>
  77. <TextBlock Text="加热控温中" FontSize="16" Canvas.Left="541" Canvas.Top="178">
  78. </TextBlock>
  79. <TextBlock Text="自整定学习中" FontSize="16" Canvas.Left="541" Canvas.Top="208">
  80. </TextBlock>
  81. <TextBlock Text="自整定完成" FontSize="16" Canvas.Left="541" Canvas.Top="238">
  82. </TextBlock>
  83. </Canvas>
  84. <Canvas Background="#FFC5D0D8" Width="800" Height="300" Grid.Row="0" Grid.Column="1">
  85. <TextBlock Text="Foreline Wall 自整定学习" FontSize="30" Canvas.Left="254" Canvas.Top="13">
  86. </TextBlock>
  87. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding ForelineHeaterOn}" Canvas.Left="700" Canvas.Top="180"/>
  88. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding ForelineHeaterPIDATRunning}" Canvas.Left="700" Canvas.Top="210"/>
  89. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding ForelineHeaterPIDATFinished}" Canvas.Left="700" Canvas.Top="240"/>
  90. <Button Content="Set" Canvas.Left="280" Canvas.Top="132">
  91. <i:Interaction.Triggers>
  92. <i:EventTrigger EventName="Click">
  93. <cal:ActionMessage MethodName="ForelineSetTemperature">
  94. <cal:Parameter Value="{Binding}"></cal:Parameter>
  95. </cal:ActionMessage>
  96. </i:EventTrigger>
  97. </i:Interaction.Triggers>
  98. </Button>
  99. <Button Content="开始加热" Canvas.Left="390" Canvas.Top="124">
  100. <i:Interaction.Triggers>
  101. <i:EventTrigger EventName="Click">
  102. <cal:ActionMessage MethodName="ForelineSetHeaterOn">
  103. </cal:ActionMessage>
  104. </i:EventTrigger>
  105. </i:Interaction.Triggers>
  106. </Button>
  107. <Button Content="自整定模式开启" Canvas.Left="75" Canvas.Top="233">
  108. <i:Interaction.Triggers>
  109. <i:EventTrigger EventName="Click">
  110. <cal:ActionMessage MethodName="ForelineHeatPIDATStart">
  111. </cal:ActionMessage>
  112. </i:EventTrigger>
  113. </i:Interaction.Triggers>
  114. </Button>
  115. <Button Content="自整定模式关闭" Canvas.Left="230" Canvas.Top="233">
  116. <i:Interaction.Triggers>
  117. <i:EventTrigger EventName="Click">
  118. <cal:ActionMessage MethodName="ForelineHeatPIDATStop">
  119. </cal:ActionMessage>
  120. </i:EventTrigger>
  121. </i:Interaction.Triggers>
  122. </Button>
  123. <Button Content="停止加热" Canvas.Left="390" Canvas.Top="173">
  124. <i:Interaction.Triggers>
  125. <i:EventTrigger EventName="Click">
  126. <cal:ActionMessage MethodName="ForelineSetHeaterOff">
  127. </cal:ActionMessage>
  128. </i:EventTrigger>
  129. </i:Interaction.Triggers>
  130. </Button>
  131. <TextBox Text="{Binding ForelineTemperatureSetpoint, UpdateSourceTrigger=PropertyChanged}" Width="95" Canvas.Left="162" Canvas.Top="132" Height="26">
  132. </TextBox>
  133. <TextBlock Text="温度设定:" FontSize="16" Canvas.Left="89" Canvas.Top="134">
  134. </TextBlock>
  135. <TextBlock Text="控制用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="118">
  136. </TextBlock>
  137. <TextBlock Text="{Binding ForelineControlTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="118">
  138. </TextBlock>
  139. <TextBlock Text="监控用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="148">
  140. </TextBlock>
  141. <TextBlock Text="{Binding ForelineMonitorTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="148">
  142. </TextBlock>
  143. <TextBlock Text="加热控温中" FontSize="16" Canvas.Left="541" Canvas.Top="178">
  144. </TextBlock>
  145. <TextBlock Text="自整定学习中" FontSize="16" Canvas.Left="541" Canvas.Top="208">
  146. </TextBlock>
  147. <TextBlock Text="自整定完成" FontSize="16" Canvas.Left="541" Canvas.Top="238">
  148. </TextBlock>
  149. </Canvas>
  150. <Canvas Background="#FFC5D0D8" Width="800" Height="300" Grid.Row="1" Grid.Column="0">
  151. <TextBlock Text="LE_1 Wall 自整定学习" FontSize="30" Canvas.Left="254" Canvas.Top="13">
  152. </TextBlock>
  153. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding LE1HeaterOn}" Canvas.Left="700" Canvas.Top="180"/>
  154. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding LE1HeaterPIDATRunning}" Canvas.Left="700" Canvas.Top="210"/>
  155. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding LE1HeaterPIDATFinished}" Canvas.Left="700" Canvas.Top="240"/>
  156. <Button Content="Set" Canvas.Left="280" Canvas.Top="132">
  157. <i:Interaction.Triggers>
  158. <i:EventTrigger EventName="Click">
  159. <cal:ActionMessage MethodName="LE1SetTemperature">
  160. <cal:Parameter Value="{Binding}"></cal:Parameter>
  161. </cal:ActionMessage>
  162. </i:EventTrigger>
  163. </i:Interaction.Triggers>
  164. </Button>
  165. <Button Content="开始加热" Canvas.Left="390" Canvas.Top="124">
  166. <i:Interaction.Triggers>
  167. <i:EventTrigger EventName="Click">
  168. <cal:ActionMessage MethodName="LE1SetHeaterOn">
  169. </cal:ActionMessage>
  170. </i:EventTrigger>
  171. </i:Interaction.Triggers>
  172. </Button>
  173. <Button Content="自整定模式开启" Canvas.Left="75" Canvas.Top="233">
  174. <i:Interaction.Triggers>
  175. <i:EventTrigger EventName="Click">
  176. <cal:ActionMessage MethodName="LE1HeatPIDATStart">
  177. </cal:ActionMessage>
  178. </i:EventTrigger>
  179. </i:Interaction.Triggers>
  180. </Button>
  181. <Button Content="自整定模式关闭" Canvas.Left="230" Canvas.Top="233">
  182. <i:Interaction.Triggers>
  183. <i:EventTrigger EventName="Click">
  184. <cal:ActionMessage MethodName="LE1HeatPIDATStop">
  185. </cal:ActionMessage>
  186. </i:EventTrigger>
  187. </i:Interaction.Triggers>
  188. </Button>
  189. <Button Content="停止加热" Canvas.Left="390" Canvas.Top="173">
  190. <i:Interaction.Triggers>
  191. <i:EventTrigger EventName="Click">
  192. <cal:ActionMessage MethodName="LE1SetHeaterOff">
  193. </cal:ActionMessage>
  194. </i:EventTrigger>
  195. </i:Interaction.Triggers>
  196. </Button>
  197. <TextBox Text="{Binding LE1TemperatureSetpoint, UpdateSourceTrigger=PropertyChanged}" Width="95" Canvas.Left="162" Canvas.Top="132" Height="26">
  198. </TextBox>
  199. <TextBlock Text="温度设定:" FontSize="16" Canvas.Left="89" Canvas.Top="134">
  200. </TextBlock>
  201. <TextBlock Text="控制用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="118">
  202. </TextBlock>
  203. <TextBlock Text="{Binding LE1ControlTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="118">
  204. </TextBlock>
  205. <TextBlock Text="监控用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="148">
  206. </TextBlock>
  207. <TextBlock Text="{Binding LE1MonitorTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="148">
  208. </TextBlock>
  209. <TextBlock Text="加热控温中" FontSize="16" Canvas.Left="541" Canvas.Top="178">
  210. </TextBlock>
  211. <TextBlock Text="自整定学习中" FontSize="16" Canvas.Left="541" Canvas.Top="208">
  212. </TextBlock>
  213. <TextBlock Text="自整定完成" FontSize="16" Canvas.Left="541" Canvas.Top="238">
  214. </TextBlock>
  215. </Canvas>
  216. <Canvas Background="#FFC5D0D8" Width="800" Height="300" Grid.Row="1" Grid.Column="1">
  217. <TextBlock Text="LE_2 Wall 自整定学习" FontSize="30" Canvas.Left="254" Canvas.Top="13">
  218. </TextBlock>
  219. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding LE2HeaterOn}" Canvas.Left="700" Canvas.Top="180"/>
  220. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding LE2HeaterPIDATRunning}" Canvas.Left="700" Canvas.Top="210"/>
  221. <deviceControl:AITSensor EnableToolTip="False" GreenColor="True" LightOnValue="{Binding LE2HeaterPIDATFinished}" Canvas.Left="700" Canvas.Top="240"/>
  222. <Button Content="Set" Canvas.Left="280" Canvas.Top="132">
  223. <i:Interaction.Triggers>
  224. <i:EventTrigger EventName="Click">
  225. <cal:ActionMessage MethodName="LE2SetTemperature">
  226. <cal:Parameter Value="{Binding}"></cal:Parameter>
  227. </cal:ActionMessage>
  228. </i:EventTrigger>
  229. </i:Interaction.Triggers>
  230. </Button>
  231. <Button Content="开始加热" Canvas.Left="390" Canvas.Top="124">
  232. <i:Interaction.Triggers>
  233. <i:EventTrigger EventName="Click">
  234. <cal:ActionMessage MethodName="LE2SetHeaterOn">
  235. </cal:ActionMessage>
  236. </i:EventTrigger>
  237. </i:Interaction.Triggers>
  238. </Button>
  239. <Button Content="自整定模式开启" Canvas.Left="75" Canvas.Top="233">
  240. <i:Interaction.Triggers>
  241. <i:EventTrigger EventName="Click">
  242. <cal:ActionMessage MethodName="LE2HeatPIDATStart">
  243. </cal:ActionMessage>
  244. </i:EventTrigger>
  245. </i:Interaction.Triggers>
  246. </Button>
  247. <Button Content="自整定模式关闭" Canvas.Left="230" Canvas.Top="233">
  248. <i:Interaction.Triggers>
  249. <i:EventTrigger EventName="Click">
  250. <cal:ActionMessage MethodName="LE2HeatPIDATStop">
  251. </cal:ActionMessage>
  252. </i:EventTrigger>
  253. </i:Interaction.Triggers>
  254. </Button>
  255. <Button Content="停止加热" Canvas.Left="390" Canvas.Top="173">
  256. <i:Interaction.Triggers>
  257. <i:EventTrigger EventName="Click">
  258. <cal:ActionMessage MethodName="LE2SetHeaterOff">
  259. </cal:ActionMessage>
  260. </i:EventTrigger>
  261. </i:Interaction.Triggers>
  262. </Button>
  263. <TextBox Text="{Binding LE2TemperatureSetpoint, UpdateSourceTrigger=PropertyChanged}" Width="95" Canvas.Left="162" Canvas.Top="132" Height="26">
  264. </TextBox>
  265. <TextBlock Text="温度设定:" FontSize="16" Canvas.Left="89" Canvas.Top="134">
  266. </TextBlock>
  267. <TextBlock Text="控制用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="118">
  268. </TextBlock>
  269. <TextBlock Text="{Binding LE2ControlTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="118">
  270. </TextBlock>
  271. <TextBlock Text="监控用TC温度:" FontSize="16" Canvas.Left="541" Canvas.Top="148">
  272. </TextBlock>
  273. <TextBlock Text="{Binding LE2MonitorTCTemp}" FontSize="16" Canvas.Left="671" Canvas.Top="148">
  274. </TextBlock>
  275. <TextBlock Text="加热控温中" FontSize="16" Canvas.Left="541" Canvas.Top="178">
  276. </TextBlock>
  277. <TextBlock Text="自整定学习中" FontSize="16" Canvas.Left="541" Canvas.Top="208">
  278. </TextBlock>
  279. <TextBlock Text="自整定完成" FontSize="16" Canvas.Left="541" Canvas.Top="238">
  280. </TextBlock>
  281. </Canvas>
  282. </Grid>
  283. </UserControl>