PlcSettingPage.xaml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. <Page x:Class="CCDCountWpf.WpfPage.PlcSettingPage"
  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:local="clr-namespace:CCDCountWpf.WpfPage"
  7. mc:Ignorable="d"
  8. Title="PlcSettingPage">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="40"/>
  12. <RowDefinition Height="*"/>
  13. </Grid.RowDefinitions>
  14. <Grid x:Name ="BtnList" Height="40" VerticalAlignment="Center">
  15. <Button x:Name="PlcRunBtn" Content="PLC运行操作" HorizontalAlignment="Left" Margin="0,0,0,0" Width="165" Click="PlcRunBtn_Click" />
  16. <Button x:Name="PlcTestBtn" Content="PLC测试操作" HorizontalAlignment="Left" Margin="165,0,0,0" Width="165" Click="PlcTestBtn_Click" />
  17. <Button x:Name="PlcParaBtn" Content="PLC参数设置" HorizontalAlignment="Left" Margin="330,0,0,0" Width="165" Click="PlcParaBtn_Click" />
  18. </Grid>
  19. <Grid x:Name="ShowGrid" Grid.Row="1">
  20. <Grid x:Name="PLCRuningSetting" Visibility="Collapsed">
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="*"/>
  23. <ColumnDefinition Width="150"/>
  24. </Grid.ColumnDefinitions>
  25. <StackPanel Orientation="Vertical" Grid.Column="0">
  26. <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
  27. <Button Content="使能" Margin="60,0,0,0" Width="80" Height="40" Click="Button_Click"/>
  28. </StackPanel>
  29. <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
  30. <Button x:Name="InitiateBtn" Content="PLC启动" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="InitiateBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="InitiateBtn_PreviewMouseLeftButtonUp"/>
  31. <Button x:Name="StopBtn" Content="PLC停止" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="StopBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="StopBtn_PreviewMouseLeftButtonUp"/>
  32. </StackPanel>
  33. <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
  34. <Button x:Name="ReturnToZeroBtn" Content="回零" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ReturnToZeroBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ReturnToZeroBtn_PreviewMouseLeftButtonUp"/>
  35. <Button x:Name="RepositionBtn" Content="复位" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="RepositionBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="RepositionBtn_PreviewMouseLeftButtonUp"/>
  36. </StackPanel>
  37. <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
  38. <Button x:Name="ForwardRotatingJogBtn" Content="正转点动" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ForwardRotatingJogBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ForwardRotatingJogBtn_PreviewMouseLeftButtonUp"/>
  39. <Button x:Name="ReversalReverseJogBtn" Content="反转点动" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ReversalReverseJogBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ReversalReverseJogBtn_PreviewMouseLeftButtonUp"/>
  40. </StackPanel>
  41. <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
  42. <Button x:Name="ShaftStopsBtn" Content="轴停止" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ShaftStopsBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ShaftStopsBtn_PreviewMouseLeftButtonUp"/>
  43. <Button x:Name="SpeedRunBtn" Content="速度运行" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="SpeedRunBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="SpeedRunBtn_PreviewMouseLeftButtonUp"/>
  44. <Button x:Name="EquipmentOperationBtn" Content="设备运行" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="EquipmentOperationBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="EquipmentOperationBtn_PreviewMouseLeftButtonUp"/>
  45. </StackPanel>
  46. </StackPanel>
  47. <StackPanel Orientation="Vertical" Grid.Column="1">
  48. <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
  49. <Label Content="使能完成:"></Label>
  50. <Ellipse Width="20" Height="20" Margin="48,0,0,0" >
  51. <Ellipse.Style>
  52. <Style TargetType="Ellipse">
  53. <Setter Property="Fill" Value="Red" />
  54. <Style.Triggers>
  55. <DataTrigger Binding="{Binding EnableCompletion}" Value="True">
  56. <Setter Property="Fill" Value="Green" />
  57. </DataTrigger>
  58. </Style.Triggers>
  59. </Style>
  60. </Ellipse.Style>
  61. </Ellipse>
  62. </StackPanel>
  63. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  64. <Label Content="回零完成:"></Label>
  65. <Ellipse Width="20" Height="20" Margin="48,0,0,0">
  66. <Ellipse.Style>
  67. <Style TargetType="Ellipse">
  68. <Setter Property="Fill" Value="Red" />
  69. <Style.Triggers>
  70. <DataTrigger Binding="{Binding ReturnToZeroCompletion}" Value="True">
  71. <Setter Property="Fill" Value="Green" />
  72. </DataTrigger>
  73. </Style.Triggers>
  74. </Style>
  75. </Ellipse.Style>
  76. </Ellipse>
  77. </StackPanel>
  78. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  79. <Label Content="停止完成:"></Label>
  80. <Ellipse Width="20" Height="20" Margin="48,0,0,0">
  81. <Ellipse.Style>
  82. <Style TargetType="Ellipse">
  83. <Setter Property="Fill" Value="Red" />
  84. <Style.Triggers>
  85. <DataTrigger Binding="{Binding StopCompletion}" Value="True">
  86. <Setter Property="Fill" Value="Green" />
  87. </DataTrigger>
  88. </Style.Triggers>
  89. </Style>
  90. </Ellipse.Style>
  91. </Ellipse>
  92. </StackPanel>
  93. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  94. <Label Content="速度运行中:"></Label>
  95. <Ellipse Width="20" Height="20" Margin="36,0,0,0">
  96. <Ellipse.Style>
  97. <Style TargetType="Ellipse">
  98. <Setter Property="Fill" Value="Red" />
  99. <Style.Triggers>
  100. <DataTrigger Binding="{Binding SpeedRunning}" Value="True">
  101. <Setter Property="Fill" Value="Green" />
  102. </DataTrigger>
  103. </Style.Triggers>
  104. </Style>
  105. </Ellipse.Style>
  106. </Ellipse>
  107. </StackPanel>
  108. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  109. <Label Content="回零中:"></Label>
  110. <Ellipse Width="20" Height="20" Margin="60,0,0,0">
  111. <Ellipse.Style>
  112. <Style TargetType="Ellipse">
  113. <Setter Property="Fill" Value="Red" />
  114. <Style.Triggers>
  115. <DataTrigger Binding="{Binding ReturnToZero}" Value="True">
  116. <Setter Property="Fill" Value="Green" />
  117. </DataTrigger>
  118. </Style.Triggers>
  119. </Style>
  120. </Ellipse.Style>
  121. </Ellipse>
  122. </StackPanel>
  123. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  124. <Label Content="中转阀开定位完成:"></Label>
  125. <Ellipse Width="20" Height="20">
  126. <Ellipse.Style>
  127. <Style TargetType="Ellipse">
  128. <Setter Property="Fill" Value="Red" />
  129. <Style.Triggers>
  130. <DataTrigger Binding="{Binding TransferValveOpenCompletion}" Value="True">
  131. <Setter Property="Fill" Value="Green" />
  132. </DataTrigger>
  133. </Style.Triggers>
  134. </Style>
  135. </Ellipse.Style>
  136. </Ellipse>
  137. </StackPanel>
  138. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  139. <Label Content="中转阀关定位完成:"></Label>
  140. <Ellipse Width="20" Height="20">
  141. <Ellipse.Style>
  142. <Style TargetType="Ellipse">
  143. <Setter Property="Fill" Value="Red" />
  144. <Style.Triggers>
  145. <DataTrigger Binding="{Binding TransferValveCloseCompletion}" Value="True">
  146. <Setter Property="Fill" Value="Green" />
  147. </DataTrigger>
  148. </Style.Triggers>
  149. </Style>
  150. </Ellipse.Style>
  151. </Ellipse>
  152. </StackPanel>
  153. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  154. <Label Content="允许数据交换:"></Label>
  155. <Ellipse Width="20" Height="20" Margin="24,0,0,0">
  156. <Ellipse.Style>
  157. <Style TargetType="Ellipse">
  158. <Setter Property="Fill" Value="Red" />
  159. <Style.Triggers>
  160. <DataTrigger Binding="{Binding AllowsDataExchange}" Value="True">
  161. <Setter Property="Fill" Value="Green" />
  162. </DataTrigger>
  163. </Style.Triggers>
  164. </Style>
  165. </Ellipse.Style>
  166. </Ellipse>
  167. </StackPanel>
  168. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  169. <Label Content="暂停获取数据:"></Label>
  170. <Ellipse Width="20" Height="20" Margin="24,0,0,0">
  171. <Ellipse.Style>
  172. <Style TargetType="Ellipse">
  173. <Setter Property="Fill" Value="Red" />
  174. <Style.Triggers>
  175. <DataTrigger Binding="{Binding PauseDataExchange}" Value="True">
  176. <Setter Property="Fill" Value="Green" />
  177. </DataTrigger>
  178. </Style.Triggers>
  179. </Style>
  180. </Ellipse.Style>
  181. </Ellipse>
  182. </StackPanel>
  183. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  184. <Label Content="缓存计数延时完成:"></Label>
  185. <Ellipse Width="20" Height="20">
  186. <Ellipse.Style>
  187. <Style TargetType="Ellipse">
  188. <Setter Property="Fill" Value="Red" />
  189. <Style.Triggers>
  190. <DataTrigger Binding="{Binding CacheCountDelayed}" Value="True">
  191. <Setter Property="Fill" Value="Green" />
  192. </DataTrigger>
  193. </Style.Triggers>
  194. </Style>
  195. </Ellipse.Style>
  196. </Ellipse>
  197. </StackPanel>
  198. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  199. <Label Content="使能:"></Label>
  200. <Ellipse Width="20" Height="20" Margin="72,0,0,0">
  201. <Ellipse.Style>
  202. <Style TargetType="Ellipse">
  203. <Setter Property="Fill" Value="Red" />
  204. <Style.Triggers>
  205. <DataTrigger Binding="{Binding Enable}" Value="True">
  206. <Setter Property="Fill" Value="Green" />
  207. </DataTrigger>
  208. </Style.Triggers>
  209. </Style>
  210. </Ellipse.Style>
  211. </Ellipse>
  212. </StackPanel>
  213. </StackPanel>
  214. </Grid>
  215. <Grid x:Name="PLCTestSetting" Visibility="Collapsed">
  216. <StackPanel Orientation="Vertical">
  217. </StackPanel>
  218. </Grid>
  219. <Grid x:Name="PlcParaSetting" Visibility="Visible">
  220. <Grid.ColumnDefinitions>
  221. <ColumnDefinition Width="*"/>
  222. <ColumnDefinition Width="*"/>
  223. <ColumnDefinition Width="*"/>
  224. </Grid.ColumnDefinitions>
  225. <StackPanel Grid.Column="0" Orientation="Vertical">
  226. <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
  227. <TextBlock Text="速度模式运行速度:" FontSize="16" Margin="5,0,16,0" VerticalAlignment="Center"/>
  228. <Button x:Name="SpeedModeRunningSpeedUpBtn" Content="+" Width="30" Height="30" Click="SpeedModeRunningSpeedUpBtn_Click" />
  229. <TextBox Text="{Binding SpeedModeRunningSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  230. <Button x:Name="SpeedModeRunningSpeedDownBtn" Content="-" Width="30" Click="SpeedModeRunningSpeedDownBtn_Click" />
  231. </StackPanel>
  232. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  233. <TextBlock Text="点动速度:" FontSize="16" Margin="5,0,80,0" VerticalAlignment="Center"/>
  234. <Button x:Name="JogSpeedUpBtn" Content="+" Width="30" Height="30" Click="JogSpeedUpBtn_Click" />
  235. <TextBox Text="{Binding JogSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  236. <Button x:Name="JogSpeedDownBtn" Content="-" Width="30" Click="JogSpeedDownBtn_Click" />
  237. </StackPanel>
  238. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  239. <TextBlock Text="瓶装设定值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  240. <Button x:Name="BottValueSetUpBtn" Content="+" Width="30" Height="30" Click="BottValueSetUpBtn_Click" />
  241. <TextBox Text="{Binding BottValueSet,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  242. <Button x:Name="BottValueSetDownBtn" Content="-" Width="30" Click="BottValueSetDownBtn_Click" />
  243. </StackPanel>
  244. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  245. <TextBlock Text="中转阀打开速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  246. <Button x:Name="TransferValveOpeningSpeedUpBtn" Content="+" Width="30" Height="30" Click="TransferValveOpeningSpeedUpBtn_Click" />
  247. <TextBox Text="{Binding TransferValveOpeningSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  248. <Button x:Name="TransferValveOpeningSpeedDownBtn" Content="-" Width="30" Click="TransferValveOpeningSpeedDownBtn_Click" />
  249. </StackPanel>
  250. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  251. <TextBlock Text="中转阀打开时间:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  252. <Button x:Name="TransferValveOpeningTimeUpBtn" Content="+" Width="30" Height="30" Click="TransferValveOpeningTimeUpBtn_Click" />
  253. <TextBox Text="{Binding TransferValveOpeningTime,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  254. <Button x:Name="TransferValveOpeningTimeDownBtn" Content="-" Width="30" Click="TransferValveOpeningTimeDownBtn_Click" />
  255. </StackPanel>
  256. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  257. <TextBlock Text="罐装减速值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  258. <Button x:Name="BottingDecelerationValueUpBtn" Content="+" Width="30" Height="30" Click="BottingDecelerationValueUpBtn_Click" />
  259. <TextBox Text="{Binding BottingDecelerationValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  260. <Button x:Name="BottingDecelerationValueDownBtn" Content="-" Width="30" Click="BottingDecelerationValueDownBtn_Click" />
  261. </StackPanel>
  262. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  263. <TextBlock Text="缓存减速值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  264. <Button x:Name="CacheDecelerationValueUpBtn" Content="+" Width="30" Height="30" Click="CacheDecelerationValueUpBtn_Click" />
  265. <TextBox Text="{Binding CacheDecelerationValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  266. <Button x:Name="CacheDecelerationValueDownBtn" Content="-" Width="30" Click="CacheDecelerationValueDownBtn_Click" />
  267. </StackPanel>
  268. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  269. <TextBlock Text="缓存计数延迟时间:" FontSize="16" Margin="5,0,16,0" VerticalAlignment="Center"/>
  270. <Button x:Name="CacheCountDelayTimingUpBtn" Content="+" Width="30" Height="30" Click="CacheCountDelayTimingUpBtn_Click" />
  271. <TextBox Text="{Binding CacheCountDelayTiming,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  272. <Button x:Name="CacheCountDelayTimingDownBtn" Content="-" Width="30" Click="CacheCountDelayTimingDownBtn_Click" />
  273. </StackPanel>
  274. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  275. <TextBlock Text="缓存停机值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  276. <Button x:Name="CacheShutdownValueUpBtn" Content="+" Width="30" Height="30" Click="CacheShutdownValueUpBtn_Click" />
  277. <TextBox Text="{Binding CacheShutdownValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  278. <Button x:Name="CacheShutdownValueDownBtn" Content="-" Width="30" Click="CacheShutdownValueDownBtn_Click" />
  279. </StackPanel>
  280. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  281. <TextBlock Text="罐装料筒震台高速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
  282. <Button x:Name="BottingMaterialCylinderVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingMaterialCylinderVibrationTableHighSpeedValueUpBtn_Click" />
  283. <TextBox Text="{Binding BottingMaterialCylinderVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="79"/>
  284. <Button x:Name="BottingMaterialCylinderVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="BottingMaterialCylinderVibrationTableHighSpeedValueDownBtn_Click" />
  285. </StackPanel>
  286. </StackPanel>
  287. <StackPanel Grid.Column="1" Orientation="Vertical">
  288. <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
  289. <TextBlock Text="罐装过滤震台高速值:" FontSize="16" VerticalAlignment="Center"/>
  290. <Button x:Name="BottingFilterVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingFilterVibrationTableHighSpeedValueUpBtn_Click" />
  291. <TextBox x:Name="___无名称_" Text="{Binding BottingFilterVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  292. <Button x:Name="BottingFilterVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="BottingFilterVibrationTableHighSpeedValueDownBtn_Click" />
  293. </StackPanel>
  294. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  295. <TextBlock Text="罐装计数震台高速值:" FontSize="16" VerticalAlignment="Center"/>
  296. <Button x:Name="BottingCountVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingCountVibrationTableHighSpeedValueUpBtn_Click" />
  297. <TextBox Text="{Binding BottingCountVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  298. <Button x:Name="BottingCountVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="BottingCountVibrationTableHighSpeedValueDownBtn_Click" />
  299. </StackPanel>
  300. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  301. <TextBlock Text="罐装料筒震台减速值:" FontSize="16" VerticalAlignment="Center"/>
  302. <Button x:Name="BottingMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn_Click" />
  303. <TextBox Text="{Binding BottingMaterialCylinderVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  304. <Button x:Name="BottingMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="BottingMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn_Click" />
  305. </StackPanel>
  306. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  307. <TextBlock Text="罐装过滤震台减速值:" FontSize="16" VerticalAlignment="Center"/>
  308. <Button x:Name="BottingFilterVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingFilterVibrationTableDecelerationSpeedValueUpBtn_Click" />
  309. <TextBox Text="{Binding BottingFilterVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  310. <Button x:Name="BottingFilterVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="BottingFilterVibrationTableDecelerationSpeedValueDownBtn_Click" />
  311. </StackPanel>
  312. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  313. <TextBlock Text="罐装计数震台减速值:" FontSize="16" VerticalAlignment="Center"/>
  314. <Button x:Name="BottingCountVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingCountVibrationTableDecelerationSpeedValueUpBtn_Click" />
  315. <TextBox Text="{Binding BottingCountVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  316. <Button x:Name="BottingCountVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="BottingCountVibrationTableDecelerationSpeedValueDownBtn_Click" />
  317. </StackPanel>
  318. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  319. <TextBlock Text="缓存料筒震台高速值:" FontSize="16" VerticalAlignment="Center"/>
  320. <Button x:Name="CacheMaterialCylinderVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheMaterialCylinderVibrationTableHighSpeedValueUpBtn_Click" />
  321. <TextBox Text="{Binding CacheMaterialCylinderVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  322. <Button x:Name="CacheMaterialCylinderVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="CacheMaterialCylinderVibrationTableHighSpeedValueDownBtn_Click" />
  323. </StackPanel>
  324. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  325. <TextBlock Text="缓存过滤震台高速值:" FontSize="16" VerticalAlignment="Center"/>
  326. <Button x:Name="CacheFilterVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheFilterVibrationTableHighSpeedValueUpBtn_Click" />
  327. <TextBox Text="{Binding CacheFilterVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  328. <Button x:Name="CacheFilterVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="CacheFilterVibrationTableHighSpeedValueDownBtn_Click" />
  329. </StackPanel>
  330. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  331. <TextBlock Text="缓存计数震台高速值:" FontSize="16" VerticalAlignment="Center"/>
  332. <Button x:Name="CacheCountVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheCountVibrationTableHighSpeedValueUpBtn_Click" />
  333. <TextBox Text="{Binding CacheCountVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  334. <Button x:Name="CacheCountVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="CacheCountVibrationTableHighSpeedValueDownBtn_Click" />
  335. </StackPanel>
  336. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  337. <TextBlock Text="缓存料筒震台减速值:" FontSize="16" VerticalAlignment="Center"/>
  338. <Button x:Name="CacheMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn_Click" />
  339. <TextBox Text="{Binding CacheMaterialCylinderVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  340. <Button x:Name="CacheMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="CacheMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn_Click" />
  341. </StackPanel>
  342. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  343. <TextBlock Text="缓存过滤震台减速值:" FontSize="16" VerticalAlignment="Center"/>
  344. <Button x:Name="CacheFilterVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheFilterVibrationTableDecelerationSpeedValueUpBtn_Click" />
  345. <TextBox Text="{Binding CacheFilterVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  346. <Button x:Name="CacheFilterVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="CacheFilterVibrationTableDecelerationSpeedValueDownBtn_Click" />
  347. </StackPanel>
  348. </StackPanel>
  349. <StackPanel Grid.Column="2" Orientation="Vertical">
  350. <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
  351. <TextBlock Text="缓存计数震台减速值:" FontSize="16" VerticalAlignment="Center"/>
  352. <Button x:Name="CacheCountVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheCountVibrationTableDecelerationSpeedValueUpBtn_Click" />
  353. <TextBox Text="{Binding CacheCountVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  354. <Button x:Name="CacheCountVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="CacheCountVibrationTableDecelerationSpeedValueDownBtn_Click" />
  355. </StackPanel>
  356. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  357. <TextBlock Text="阀门打开延时:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
  358. <Button x:Name="GateOpeningDelayUpBtn" Content="+" Width="30" Height="30" Click="GateOpeningDelayUpBtn_Click" />
  359. <TextBox Text="{Binding GateOpeningDelay,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  360. <Button x:Name="GateOpeningDelayDownBtn" Content="-" Width="30" Click="GateOpeningDelayDownBtn_Click" />
  361. </StackPanel>
  362. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  363. <TextBlock Text="回零偏移值:" FontSize="16" Margin="0,0,64,0" VerticalAlignment="Center"/>
  364. <Button x:Name="ReturnToZeroOffsetValueUpDownBtn" Content="+" Width="30" Height="30" Click="ReturnToZeroOffsetValueUpDownBtn_Click" />
  365. <TextBox Text="{Binding ReturnToZeroOffsetValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  366. <Button x:Name="ReturnToZeroOffsetValueDownBtn" Content="-" Width="30" Click="ReturnToZeroOffsetValueDownBtn_Click" />
  367. </StackPanel>
  368. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  369. <TextBlock Text="回零偏移速度:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
  370. <Button x:Name="ReturnToZeroOffsetSpeedUpBtn" Content="+" Width="30" Height="30" Click="ReturnToZeroOffsetSpeedUpBtn_Click" />
  371. <TextBox Text="{Binding ReturnToZeroOffsetSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  372. <Button x:Name="ReturnToZeroOffsetSpeedDownBtn" Content="-" Width="30" Click="ReturnToZeroOffsetSpeedDownBtn_Click" />
  373. </StackPanel>
  374. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  375. <TextBlock Text="中转阀关闭速度:" FontSize="16" Margin="0,0,32,0" VerticalAlignment="Center"/>
  376. <Button x:Name="TransferValveClosingSpeedUpBtn" Content="+" Width="30" Height="30" Click="TransferValveClosingSpeedUpBtn_Click" />
  377. <TextBox Text="{Binding TransferValveClosingSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  378. <Button x:Name="TransferValveClosingSpeedDownBtn" Content="-" Width="30" Click="TransferValveClosingSpeedDownBtn_Click" />
  379. </StackPanel>
  380. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  381. <TextBlock Text="中转阀开位置:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
  382. <Button x:Name="TransferValveOpenPositionUpBtn" Content="+" Width="30" Height="30" Click="TransferValveOpenPositionUpBtn_Click" />
  383. <TextBox Text="{Binding TransferValveOpenPosition,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  384. <Button x:Name="TransferValveOpenPositionDownBtn" Content="-" Width="30" Click="TransferValveOpenPositionDownBtn_Click" />
  385. </StackPanel>
  386. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  387. <TextBlock Text="中转阀关位置:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
  388. <Button x:Name="TransferValveClosePositionUpBtn" Content="+" Width="30" Height="30" Click="TransferValveClosePositionUpBtn_Click" />
  389. <TextBox Text="{Binding TransferValveClosePosition,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  390. <Button x:Name="TransferValveClosePositionDownBtn" Content="-" Width="30" Click="TransferValveClosePositionDownBtn_Click" />
  391. </StackPanel>
  392. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  393. <TextBlock Text="气阀开延时:" FontSize="16" Margin="0,0,64,0" VerticalAlignment="Center"/>
  394. <Button x:Name="AirValveOpeningDelayUpBtn" Content="+" Width="30" Height="30" Click="AirValveOpeningDelayUpBtn_Click" />
  395. <TextBox Text="{Binding AirValveOpeningDelay,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  396. <Button x:Name="AirValveOpeningDelayDownBtn" Content="-" Width="30" Click="AirValveOpeningDelayDownBtn_Click" />
  397. </StackPanel>
  398. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  399. <TextBlock Text="装瓶停机值:" FontSize="16" Margin="0,0,64,0" VerticalAlignment="Center"/>
  400. <Button x:Name="BottlingShutdownValueUpBtn" Content="+" Width="30" Height="30" Click="BottlingShutdownValueUpBtn_Click" />
  401. <TextBox Text="{Binding BottlingShutdownValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  402. <Button x:Name="BottlingShutdownValueDownBtn" Content="-" Width="30" Click="BottlingShutdownValueDownBtn_Click" />
  403. </StackPanel>
  404. <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
  405. <TextBlock Text="装瓶停机时间:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
  406. <Button x:Name="BottlingShutdownTimeUpBtn" Content="+" Width="30" Height="30" Click="BottlingShutdownTimeUpBtn_Click" />
  407. <TextBox Text="{Binding BottlingShutdownTime,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
  408. <Button x:Name="BottlingShutdownTimeDownBtn" Content="-" Width="30" Click="BottlingShutdownTimeDownBtn_Click" />
  409. </StackPanel>
  410. </StackPanel>
  411. </Grid>
  412. </Grid>
  413. </Grid>
  414. </Page>