PlcSettingPage.xaml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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" Width="1002" Height="1200">
  9. <Grid>
  10. <Grid x:Name="ShowGrid" Margin="0,0,0,0">
  11. <Button x:Name="ReloadBtn" Height="50" Width="80" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,10,10,0" Click="ReloadBtn_Click"></Button>
  12. <WrapPanel Orientation="Horizontal" Grid.Column="0"
  13. ItemHeight="50" ItemWidth="300" HorizontalAlignment="Left"
  14. VerticalAlignment="Top" Margin="0,60,0,0">
  15. <StackPanel Height="30" Orientation="Horizontal">
  16. <TextBlock Text="罐装料筒震台高速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
  17. <Button x:Name="ShakeTable1H_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1H_FillingSpeedUpBtn_Click" />
  18. <TextBox Text="{Binding ShakeTable1H_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  19. <Button x:Name="ShakeTable1H_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1H_FillingSpeedDownBtn_Click" />
  20. </StackPanel>
  21. <StackPanel Height="30" Orientation="Horizontal">
  22. <TextBlock Text="罐装过滤震台高速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
  23. <Button x:Name="ShakeTable2H_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2H_FillingSpeedUpBtn_Click" />
  24. <TextBox Text="{Binding ShakeTable2H_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  25. <Button x:Name="ShakeTable2H_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2H_FillingSpeedDownBtn_Click" />
  26. </StackPanel>
  27. <StackPanel Height="30" Orientation="Horizontal">
  28. <TextBlock Text="罐装计数震台高速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
  29. <Button x:Name="ShakeTable3H_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3H_FillingSpeedUpBtn_Click" />
  30. <TextBox Text="{Binding ShakeTable3H_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  31. <Button x:Name="ShakeTable3H_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3H_FillingSpeedDownBtn_Click" />
  32. </StackPanel>
  33. <StackPanel Height="30" Orientation="Horizontal">
  34. <TextBlock Text="罐装料筒震台减速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
  35. <Button x:Name="ShakeTable1M_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1M_FillingSpeedUpBtn_Click" />
  36. <TextBox Text="{Binding ShakeTable1M_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  37. <Button x:Name="ShakeTable1M_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1M_FillingSpeedDownBtn_Click" />
  38. </StackPanel>
  39. <StackPanel Height="30" Orientation="Horizontal">
  40. <TextBlock Text="罐装过滤震台减速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  41. <Button x:Name="ShakeTable2M_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2M_FillingSpeedUpBtn_Click" />
  42. <TextBox Text="{Binding ShakeTable2M_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  43. <Button x:Name="ShakeTable2M_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2M_FillingSpeedDownBtn_Click" />
  44. </StackPanel>
  45. <StackPanel Height="30" Orientation="Horizontal">
  46. <TextBlock Text="罐装计数震台减速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  47. <Button x:Name="ShakeTable3M_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3M_FillingSpeedUpBtn_Click" />
  48. <TextBox Text="{Binding ShakeTable3M_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  49. <Button x:Name="ShakeTable3M_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3M_FillingSpeedDownBtn_Click" />
  50. </StackPanel>
  51. <StackPanel Height="30" Orientation="Horizontal">
  52. <TextBlock Text="罐装料筒震台低速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
  53. <Button x:Name="ShakeTable1L_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1L_FillingSpeedUpBtn_Click" />
  54. <TextBox Text="{Binding ShakeTable1L_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  55. <Button x:Name="ShakeTable1L_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1L_FillingSpeedDownBtn_Click" />
  56. </StackPanel>
  57. <StackPanel Height="30" Orientation="Horizontal">
  58. <TextBlock Text="罐装过滤震台低速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  59. <Button x:Name="ShakeTable2L_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2L_FillingSpeedUpBtn_Click" />
  60. <TextBox Text="{Binding ShakeTable2L_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  61. <Button x:Name="ShakeTable2L_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2L_FillingSpeedDownBtn_Click" />
  62. </StackPanel>
  63. <StackPanel Height="30" Orientation="Horizontal">
  64. <TextBlock Text="罐装计数震台低速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  65. <Button x:Name="ShakeTable3L_FillingSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3L_FillingSpeedUpBtn_Click" />
  66. <TextBox Text="{Binding ShakeTable3L_FillingSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  67. <Button x:Name="ShakeTable3L_FillingSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3L_FillingSpeedDownBtn_Click" />
  68. </StackPanel>
  69. <StackPanel Height="30" Orientation="Horizontal">
  70. <TextBlock Text="缓存料筒震台高速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  71. <Button x:Name="ShakeTable1H_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1H_CacheSpeedUpBtn_Click" />
  72. <TextBox Text="{Binding ShakeTable1H_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  73. <Button x:Name="ShakeTable1H_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1H_CacheSpeedDownBtn_Click" />
  74. </StackPanel>
  75. <StackPanel Height="30" Orientation="Horizontal">
  76. <TextBlock Text="缓存过滤震台高速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  77. <Button x:Name="ShakeTable2H_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2H_CacheSpeedUpBtn_Click" />
  78. <TextBox Text="{Binding ShakeTable2H_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  79. <Button x:Name="ShakeTable2H_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2H_CacheSpeedDownBtn_Click" />
  80. </StackPanel>
  81. <StackPanel Height="30" Orientation="Horizontal">
  82. <TextBlock Text="缓存计数震台高速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  83. <Button x:Name="ShakeTable3H_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3H_CacheSpeedUpBtn_Click" />
  84. <TextBox Text="{Binding ShakeTable3H_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  85. <Button x:Name="ShakeTable3H_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3H_CacheSpeedDownBtn_Click" />
  86. </StackPanel>
  87. <StackPanel Height="30" Orientation="Horizontal">
  88. <TextBlock Text="缓存料筒震台减速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  89. <Button x:Name="ShakeTable1M_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1M_CacheSpeedUpBtn_Click" />
  90. <TextBox Text="{Binding ShakeTable1M_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  91. <Button x:Name="ShakeTable1M_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1M_CacheSpeedDownBtn_Click" />
  92. </StackPanel>
  93. <StackPanel Height="30" Orientation="Horizontal">
  94. <TextBlock Text="缓存过滤震台减速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  95. <Button x:Name="ShakeTable2M_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2M_CacheSpeedUpBtn_Click" />
  96. <TextBox Text="{Binding ShakeTable2M_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  97. <Button x:Name="ShakeTable2M_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2M_CacheSpeedDownBtn_Click" />
  98. </StackPanel>
  99. <StackPanel Height="30" Orientation="Horizontal">
  100. <TextBlock Text="缓存计数震台减速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  101. <Button x:Name="ShakeTable3M_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3M_CacheSpeedUpBtn_Click" />
  102. <TextBox Text="{Binding ShakeTable3M_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  103. <Button x:Name="ShakeTable3M_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3M_CacheSpeedDownBtn_Click" />
  104. </StackPanel>
  105. <StackPanel Height="30" Orientation="Horizontal">
  106. <TextBlock Text="缓存料筒震台低速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  107. <Button x:Name="ShakeTable1L_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1L_CacheSpeedUpBtn_Click" />
  108. <TextBox Text="{Binding ShakeTable1L_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  109. <Button x:Name="ShakeTable1L_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1L_CacheSpeedDownBtn_Click" />
  110. </StackPanel>
  111. <StackPanel Height="30" Orientation="Horizontal">
  112. <TextBlock Text="缓存过滤震台低速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  113. <Button x:Name="ShakeTable2L_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2L_CacheSpeedUpBtn_Click" />
  114. <TextBox Text="{Binding ShakeTable2L_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  115. <Button x:Name="ShakeTable2L_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2L_CacheSpeedDownBtn_Click" />
  116. </StackPanel>
  117. <StackPanel Height="30" Orientation="Horizontal">
  118. <TextBlock Text="缓存计数震台低速值:" FontSize="16" VerticalAlignment="Center" Margin="5,0,0,0"/>
  119. <Button x:Name="ShakeTable3L_CacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3L_CacheSpeedUpBtn_Click" />
  120. <TextBox Text="{Binding ShakeTable3L_CacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  121. <Button x:Name="ShakeTable3L_CacheSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3L_CacheSpeedDownBtn_Click" />
  122. </StackPanel>
  123. <StackPanel Height="30" Orientation="Horizontal">
  124. <TextBlock Text="料筒震台测试速度:" FontSize="16" VerticalAlignment="Center" Margin="5,0,16,0"/>
  125. <Button x:Name="ShakeTable1_TestSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable1_TestSpeedUpBtn_Click" />
  126. <TextBox Text="{Binding ShakeTable1_TestSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  127. <Button x:Name="ShakeTable1_TestSpeedDownBtn" Content="-" Width="30" Click="ShakeTable1_TestSpeedDownBtn_Click" />
  128. </StackPanel>
  129. <StackPanel Height="30" Orientation="Horizontal">
  130. <TextBlock Text="过滤震台测试速度:" FontSize="16" VerticalAlignment="Center" Margin="5,0,16,0"/>
  131. <Button x:Name="ShakeTable2_TestSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable2_TestSpeedUpBtn_Click" />
  132. <TextBox Text="{Binding ShakeTable2_TestSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  133. <Button x:Name="ShakeTable2_TestSpeedDownBtn" Content="-" Width="30" Click="ShakeTable2_TestSpeedDownBtn_Click" />
  134. </StackPanel>
  135. <StackPanel Height="30" Orientation="Horizontal">
  136. <TextBlock Text="计数震台测试速度:" FontSize="16" VerticalAlignment="Center" Margin="5,0,16,0"/>
  137. <Button x:Name="ShakeTable3_TestSpeedUpBtn" Content="+" Width="30" Height="30" Click="ShakeTable3_TestSpeedUpBtn_Click" />
  138. <TextBox Text="{Binding ShakeTable3_TestSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  139. <Button x:Name="ShakeTable3_TestSpeedDownBtn" Content="-" Width="30" Click="ShakeTable3_TestSpeedDownBtn_Click" />
  140. </StackPanel>
  141. <StackPanel Height="30" Orientation="Horizontal">
  142. <TextBlock Text="罐装高速区间:" FontSize="16" VerticalAlignment="Center" Margin="5,0,48,0"/>
  143. <Button x:Name="FillingH_SpeedRatioUpBtn" Content="+" Width="30" Height="30" Click="FillingH_SpeedRatioUpBtn_Click" />
  144. <TextBox Text="{Binding FillingH_SpeedRatio,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  145. <Button x:Name="FillingH_SpeedRatioDownBtn" Content="-" Width="30" Click="FillingH_SpeedRatioDownBtn_Click" />
  146. </StackPanel>
  147. <StackPanel Height="30" Orientation="Horizontal">
  148. <TextBlock Text="罐装减速区间:" FontSize="16" VerticalAlignment="Center" Margin="5,0,48,0"/>
  149. <Button x:Name="FillingM_SpeedRatioUpBtn" Content="+" Width="30" Height="30" Click="FillingM_SpeedRatioUpBtn_Click" />
  150. <TextBox Text="{Binding FillingM_SpeedRatio,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  151. <Button x:Name="FillingM_SpeedRatioDownBtn" Content="-" Width="30" Click="FillingM_SpeedRatioDownBtn_Click" />
  152. </StackPanel>
  153. <StackPanel Height="30" Orientation="Horizontal">
  154. <TextBlock Text="罐装低速区间:" FontSize="16" VerticalAlignment="Center" Margin="5,0,48,0"/>
  155. <Button x:Name="FillingL_SpeedRatioUpBtn" Content="+" Width="30" Height="30" Click="FillingL_SpeedRatioUpBtn_Click" />
  156. <TextBox Text="{Binding FillingL_SpeedRatio,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  157. <Button x:Name="FillingL_SpeedRatioDownBtn" Content="-" Width="30" Click="FillingL_SpeedRatioDownBtn_Click" />
  158. </StackPanel>
  159. <StackPanel Height="30" Orientation="Horizontal">
  160. <TextBlock Text="缓存高速区间:" FontSize="16" VerticalAlignment="Center" Margin="5,0,48,0"/>
  161. <Button x:Name="CacheH_SpeedRatioUpBtn" Content="+" Width="30" Height="30" Click="CacheH_SpeedRatioUpBtn_Click" />
  162. <TextBox Text="{Binding CacheH_SpeedRatio,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  163. <Button x:Name="CacheH_SpeedRatioDownBtn" Content="-" Width="30" Click="CacheH_SpeedRatioDownBtn_Click" />
  164. </StackPanel>
  165. <StackPanel Height="30" Orientation="Horizontal">
  166. <TextBlock Text="缓存减速区间:" FontSize="16" VerticalAlignment="Center" Margin="5,0,48,0"/>
  167. <Button x:Name="CacheM_SpeedRatioUpBtn" Content="+" Width="30" Height="30" Click="CacheM_SpeedRatioUpBtn_Click" />
  168. <TextBox Text="{Binding CacheM_SpeedRatio,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  169. <Button x:Name="CacheM_SpeedRatioDownBtn" Content="-" Width="30" Click="CacheM_SpeedRatioDownBtn_Click" />
  170. </StackPanel>
  171. <StackPanel Height="30" Orientation="Horizontal">
  172. <TextBlock Text="缓存低速区间:" FontSize="16" VerticalAlignment="Center" Margin="5,0,48,0"/>
  173. <Button x:Name="CacheL_SpeedRatioUpBtn" Content="+" Width="30" Height="30" Click="CacheL_SpeedRatioUpBtn_Click" />
  174. <TextBox Text="{Binding CacheL_SpeedRatio,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  175. <Button x:Name="CacheL_SpeedRatio" Content="-" Width="30" Click="CacheL_SpeedRatioDownBtn_Click" />
  176. </StackPanel>
  177. <StackPanel Height="30" Orientation="Horizontal">
  178. <TextBlock Text="中转阀打开速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  179. <Button x:Name="FillingValveOpenSpeedUpBtn" Content="+" Width="30" Height="30" Click="FillingValveOpenSpeedUpBtn_Click" />
  180. <TextBox Text="{Binding FillingValveOpenSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  181. <Button x:Name="FillingValveOpenSpeedDownBtn" Content="-" Width="30" Click="FillingValveOpenSpeedDownBtn_Click" />
  182. </StackPanel>
  183. <StackPanel Height="30" Orientation="Horizontal">
  184. <TextBlock Text="中转阀打开位置:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  185. <Button x:Name="TransferValveOpenPositionUpBtn" Content="+" Width="30" Height="30" Click="FillingValveOpenPositionUpBtn_Click" />
  186. <TextBox Text="{Binding FillingValveOpenPosition,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  187. <Button x:Name="FillingValveOpenPositionDownBtn" Content="-" Width="30" Click="FillingValveOpenPositionDownBtn_Click" />
  188. </StackPanel>
  189. <StackPanel Height="30" Orientation="Horizontal">
  190. <TextBlock Text="中转阀关闭速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  191. <Button x:Name="FillingValveCloseSpeedUpBtn" Content="+" Width="30" Height="30" Click="FillingValveCloseSpeedUpBtn_Click" />
  192. <TextBox Text="{Binding FillingValveCloseSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  193. <Button x:Name="FillingValveCloseSpeedDownBtn" Content="-" Width="30" Click="FillingValveCloseSpeedDownBtn_Click" />
  194. </StackPanel>
  195. <StackPanel Height="30" Orientation="Horizontal">
  196. <TextBlock Text="中转阀关闭位置:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  197. <Button x:Name="FillingValveClosePositionUpBtn" Content="+" Width="30" Height="30" Click="FillingValveClosePositionUpBtn_Click" />
  198. <TextBox Text="{Binding FillingValveClosePosition,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  199. <Button x:Name="FillingValveClosePositionDownBtn" Content="-" Width="30" Click="FillingValveClosePositionDownBtn_Click" />
  200. </StackPanel>
  201. <StackPanel Height="30" Orientation="Horizontal">
  202. <TextBlock Text="中转阀缓存速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  203. <Button x:Name="FillingValveCacheSpeedUpBtn" Content="+" Width="30" Height="30" Click="FillingValveCacheSpeedUpBtn_Click" />
  204. <TextBox Text="{Binding FillingValveCacheSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  205. <Button x:Name="FillingValveCacheSpeedDownBtn" Content="-" Width="30" Click="FillingValveCacheSpeedDownBtn_Click" />
  206. </StackPanel>
  207. <StackPanel Height="30" Orientation="Horizontal">
  208. <TextBlock Text="中转阀缓存位置:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  209. <Button x:Name="FillingValveCachePositionUpBtn" Content="+" Width="30" Height="30" Click="FillingValveCachePositionUpBtn_Click" />
  210. <TextBox Text="{Binding FillingValveCachePosition,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  211. <Button x:Name="FillingValveCachePositionDownBtn" Content="-" Width="30" Click="FillingValveCachePositionDownBtn_Click" />
  212. </StackPanel>
  213. <StackPanel Height="30" Orientation="Horizontal">
  214. <TextBlock Text="传动轴定位速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  215. <Button x:Name="BottlePosSpeedUpBtn" Content="+" Width="30" Height="30" Click="BottlePosSpeedUpBtn_Click" />
  216. <TextBox Text="{Binding BottlePosSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  217. <Button x:Name="BottlePosSpeedDownBtn" Content="-" Width="30" Click="BottlePosSpeedDownBtn_Click" />
  218. </StackPanel>
  219. <StackPanel Height="30" Orientation="Horizontal">
  220. <TextBlock Text="传动轴定位位置:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  221. <Button x:Name="BottlePosPositionUpBtn" Content="+" Width="30" Height="30" Click="BottlePosPositionUpBtn_Click" />
  222. <TextBox Text="{Binding BottlePosPosition,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  223. <Button x:Name="BottlePosPositionDownBtn" Content="-" Width="30" Click="BottlePosPositionDownBtn_Click" />
  224. </StackPanel>
  225. <StackPanel Height="30" Orientation="Horizontal">
  226. <TextBlock Text="传动轴点动速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  227. <Button x:Name="ScrewJogSpeedUpBtn" Content="+" Width="30" Height="30" Click="ScrewJogSpeedUpBtn_Click" />
  228. <TextBox Text="{Binding ScrewJogSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  229. <Button x:Name="ScrewJogSpeedDownBtn" Content="-" Width="30" Click="ScrewJogSpeedDownBtn_Click" />
  230. </StackPanel>
  231. <StackPanel Height="30" Orientation="Horizontal">
  232. <TextBlock Text="进瓶速度:" FontSize="16" Margin="5,0,80,0" VerticalAlignment="Center"/>
  233. <Button x:Name="InBottleSpeedUpBtn" Content="+" Width="30" Height="30" Click="InBottleSpeedUpBtn_Click" />
  234. <TextBox Text="{Binding InBottleSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  235. <Button x:Name="InBottleSpeedDownBtn" Content="-" Width="30" Click="InBottleSpeedDownBtn_Click" />
  236. </StackPanel>
  237. <StackPanel Height="30" Orientation="Horizontal">
  238. <TextBlock Text="中转阀点动速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  239. <Button x:Name="FillingValueJogSpeedUpBtn" Content="+" Width="30" Height="30" Click="FillingValueJogSpeedUpBtn_Click" />
  240. <TextBox Text="{Binding FillingValveJogSpeed,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  241. <Button x:Name="FillingValueJogSpeedDownBtn" Content="-" Width="30" Click="FillingValueJogSpeedDownBtn_Click" />
  242. </StackPanel>
  243. <StackPanel Height="30" Orientation="Horizontal">
  244. <TextBlock Text="漏斗下降延时:" FontSize="16" Margin="5,0,48,0" VerticalAlignment="Center"/>
  245. <Button x:Name="MachineDelayFunneDownTimeUpBtn" Content="+" Width="30" Height="30" Click="MachineDelayFunneDownTimeUpBtn_Click" />
  246. <TextBox Text="{Binding MachineDelayFunneDownTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  247. <Button x:Name="MachineDelayFunneDownTimeDownBtn" Content="-" Width="30" Click="MachineDelayFunneDownTimeDownBtn_Click" />
  248. </StackPanel>
  249. <StackPanel Height="30" Orientation="Horizontal">
  250. <TextBlock Text="漏斗上升延时:" FontSize="16" Margin="5,0,48,0" VerticalAlignment="Center"/>
  251. <Button x:Name="MachineDelayFunneUpTimeUpBtn" Content="+" Width="30" Height="30" Click="MachineDelayFunneUpTimeUpBtn_Click" />
  252. <TextBox Text="{Binding MachineDelayFunneUpTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  253. <Button x:Name="MachineDelayFunneUpTimeDownBtn" Content="-" Width="30" Click="MachineDelayFunneUpTimeDownBtn_Click" />
  254. </StackPanel>
  255. <StackPanel Height="30" Orientation="Horizontal">
  256. <TextBlock Text="中转阀打开延时:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  257. <Button x:Name="MachineDelayFillingValveOpenTimeUpBtn" Content="+" Width="30" Height="30" Click="MachineDelayFillingValveOpenTimeUpBtn_Click" />
  258. <TextBox Text="{Binding MachineDelayFillingValveOpenTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  259. <Button x:Name="MachineDelayFillingValveOpenTimeDownBtn" Content="-" Width="30" Click="MachineDelayFillingValveOpenTimeDownBtn_Click" />
  260. </StackPanel>
  261. <StackPanel Height="30" Orientation="Horizontal">
  262. <TextBlock Text="中转阀关闭延时:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
  263. <Button x:Name="MachineDelayFillingValveCloseTimeUpBtn" Content="+" Width="30" Height="30" Click="MachineDelayFillingValveCloseTimeUpBtn_Click" />
  264. <TextBox Text="{Binding MachineDelayFillingValveCloseTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  265. <Button x:Name="MachineDelayFillingValveCloseTimeDownBtn" Content="-" Width="30" Click="MachineDelayFillingValveCloseTimeDownBtn_Click" />
  266. </StackPanel>
  267. <StackPanel Height="30" Orientation="Horizontal">
  268. <TextBlock Text="进瓶延时:" FontSize="16" Margin="5,0,80,0" VerticalAlignment="Center"/>
  269. <Button x:Name="MachineDelayInBottleTimeUpBtn" Content="+" Width="30" Height="30" Click="MachineDelayInBottleTimeUpBtn_Click" />
  270. <TextBox Text="{Binding MachineDelayInBottleTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  271. <Button x:Name="MachineDelayInBottleTimeDownBtn" Content="-" Width="30" Click="MachineDelayInBottleTimeDownBtn_Click" />
  272. </StackPanel>
  273. <StackPanel Height="30" Orientation="Horizontal">
  274. <TextBlock Text="气阀开延时:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  275. <Button x:Name="ValveDelytimeUpBtn" Content="+" Width="30" Height="30" Click="ValveDelytimeUpBtn_Click" />
  276. <TextBox Text="{Binding ValveDelytime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  277. <Button x:Name="ValveDelytimeDownBtn" Content="-" Width="30" Click="ValveDelytimeDownBtn_Click" />
  278. </StackPanel>
  279. <StackPanel Height="30" Orientation="Horizontal">
  280. <TextBlock Text="缺瓶检测时间:" FontSize="16" Margin="5,0,48,0" VerticalAlignment="Center"/>
  281. <Button x:Name="MissingDelaytimeUpBtn" Content="+" Width="30" Height="30" Click="MissingDelaytimeUpBtn_Click" />
  282. <TextBox Text="{Binding MissingDelaytime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  283. <Button x:Name="MissingDelaytimeDownBtn" Content="-" Width="30" Click="MissingDelaytimeDownBtn_Click" />
  284. </StackPanel>
  285. <StackPanel Height="30" Orientation="Horizontal">
  286. <TextBlock Text="堵瓶检测时间:" FontSize="16" Margin="5,0,48,0" VerticalAlignment="Center"/>
  287. <Button x:Name="BottleJamDelaytimeUpBtn" Content="+" Width="30" Height="30" Click="BottleJamDelaytimeUpBtn_Click" />
  288. <TextBox Text="{Binding BottleJamDelaytime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  289. <Button x:Name="BottleJamDelaytimeDownBtn" Content="-" Width="30" Click="BottleJamDelaytimeDownBtn_Click" />
  290. </StackPanel>
  291. <StackPanel Height="30" Orientation="Horizontal">
  292. <TextBlock Text="剔废气缸延时时间:" FontSize="16" Margin="5,0,16,0" VerticalAlignment="Center"/>
  293. <Button x:Name="EliminateCylinderDelayTimeUpBtn" Content="+" Width="30" Height="30" Click="EliminateCylinderDelayTimeUpBtn_Click" />
  294. <TextBox Text="{Binding EliminateCylinderDelayTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  295. <Button x:Name="EliminateCylinderDelayTimeDownBtn" Content="-" Width="30" Click="EliminateCylinderDelayTimeDownBtn_Click" />
  296. </StackPanel>
  297. <StackPanel Height="30" Orientation="Horizontal">
  298. <TextBlock Text="剔废气缸保持时间:" FontSize="16" Margin="5,0,16,0" VerticalAlignment="Center"/>
  299. <Button x:Name="EliminateCylinderHoldingTimeUpBtn" Content="+" Width="30" Height="30" Click="EliminateCylinderHoldingTimeUpBtn_Click" />
  300. <TextBox Text="{Binding EliminateCylinderHoldingTime,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  301. <Button x:Name="EliminateCylinderHoldingTimeDownBtn" Content="-" Width="30" Click="EliminateCylinderHoldingTimeDownBtn_Click" />
  302. </StackPanel>
  303. <StackPanel Height="30" Orientation="Horizontal">
  304. <TextBlock Text="瓶装设定值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  305. <Button x:Name="BottValueSetUpBtn" Content="+" Width="30" Height="30" Click="BottValueSetUpBtn_Click" />
  306. <TextBox Text="{Binding BottValueSet,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  307. <Button x:Name="BottValueSetDownBtn" Content="-" Width="30" Click="BottValueSetDownBtn_Click" />
  308. </StackPanel>
  309. <StackPanel Height="30" Orientation="Horizontal">
  310. <TextBlock Text="缓存停机值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
  311. <Button x:Name="CacheShutdownValueUpBtn" Content="+" Width="30" Height="30" Click="CacheShutdownValueUpBtn_Click" />
  312. <TextBox Text="{Binding CacheShutdownValue,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" FontSize="16" Width="80" KeyDown="TextBox_KeyDown"/>
  313. <Button x:Name="CacheShutdownValueDownBtn" Content="-" Width="30" Click="CacheShutdownValueDownBtn_Click" />
  314. </StackPanel>
  315. </WrapPanel>
  316. </Grid>
  317. </Grid>
  318. </Page>