123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414 |
- <Page x:Class="CCDCountWpf.WpfPage.PlcSettingPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:CCDCountWpf.WpfPage"
- mc:Ignorable="d"
- Title="PlcSettingPage">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid x:Name ="BtnList" Height="40" VerticalAlignment="Center">
- <Button x:Name="PlcRunBtn" Content="PLC运行操作" HorizontalAlignment="Left" Margin="0,0,0,0" Width="165" Click="PlcRunBtn_Click" />
- <Button x:Name="PlcTestBtn" Content="PLC测试操作" HorizontalAlignment="Left" Margin="165,0,0,0" Width="165" Click="PlcTestBtn_Click" />
- <Button x:Name="PlcParaBtn" Content="PLC参数设置" HorizontalAlignment="Left" Margin="330,0,0,0" Width="165" Click="PlcParaBtn_Click" />
- </Grid>
- <Grid x:Name="ShowGrid" Grid.Row="1">
- <Grid x:Name="PLCRuningSetting" Visibility="Collapsed">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="150"/>
- </Grid.ColumnDefinitions>
- <StackPanel Orientation="Vertical" Grid.Column="0">
- <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
- <Button Content="使能" Margin="60,0,0,0" Width="80" Height="40" Click="Button_Click"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
- <Button x:Name="InitiateBtn" Content="PLC启动" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="InitiateBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="InitiateBtn_PreviewMouseLeftButtonUp"/>
- <Button x:Name="StopBtn" Content="PLC停止" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="StopBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="StopBtn_PreviewMouseLeftButtonUp"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
- <Button x:Name="ReturnToZeroBtn" Content="回零" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ReturnToZeroBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ReturnToZeroBtn_PreviewMouseLeftButtonUp"/>
- <Button x:Name="RepositionBtn" Content="复位" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="RepositionBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="RepositionBtn_PreviewMouseLeftButtonUp"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
- <Button x:Name="ForwardRotatingJogBtn" Content="正转点动" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ForwardRotatingJogBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ForwardRotatingJogBtn_PreviewMouseLeftButtonUp"/>
- <Button x:Name="ReversalReverseJogBtn" Content="反转点动" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ReversalReverseJogBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ReversalReverseJogBtn_PreviewMouseLeftButtonUp"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,30,0,0">
- <Button x:Name="ShaftStopsBtn" Content="轴停止" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="ShaftStopsBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="ShaftStopsBtn_PreviewMouseLeftButtonUp"/>
- <Button x:Name="SpeedRunBtn" Content="速度运行" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="SpeedRunBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="SpeedRunBtn_PreviewMouseLeftButtonUp"/>
- <Button x:Name="EquipmentOperationBtn" Content="设备运行" HorizontalAlignment="Left" Margin="60,0,0,0" Height="40" Width="80" PreviewMouseLeftButtonDown="EquipmentOperationBtn_PreviewMouseLeftButtonDown" PreviewMouseLeftButtonUp="EquipmentOperationBtn_PreviewMouseLeftButtonUp"/>
- </StackPanel>
- </StackPanel>
- <StackPanel Orientation="Vertical" Grid.Column="1">
- <StackPanel Orientation="Horizontal" Margin="0,20,0,0">
- <Label Content="使能完成:"></Label>
- <Ellipse Width="20" Height="20" Margin="48,0,0,0" >
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding EnableCompletion}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="回零完成:"></Label>
- <Ellipse Width="20" Height="20" Margin="48,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding ReturnToZeroCompletion}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="停止完成:"></Label>
- <Ellipse Width="20" Height="20" Margin="48,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding StopCompletion}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="速度运行中:"></Label>
- <Ellipse Width="20" Height="20" Margin="36,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding SpeedRunning}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="回零中:"></Label>
- <Ellipse Width="20" Height="20" Margin="60,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding ReturnToZero}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="中转阀开定位完成:"></Label>
- <Ellipse Width="20" Height="20">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding TransferValveOpenCompletion}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="中转阀关定位完成:"></Label>
- <Ellipse Width="20" Height="20">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding TransferValveCloseCompletion}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="允许数据交换:"></Label>
- <Ellipse Width="20" Height="20" Margin="24,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding AllowsDataExchange}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="暂停获取数据:"></Label>
- <Ellipse Width="20" Height="20" Margin="24,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding PauseDataExchange}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="缓存计数延时完成:"></Label>
- <Ellipse Width="20" Height="20">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding CacheCountDelayed}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Label Content="使能:"></Label>
- <Ellipse Width="20" Height="20" Margin="72,0,0,0">
- <Ellipse.Style>
- <Style TargetType="Ellipse">
- <Setter Property="Fill" Value="Red" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding Enable}" Value="True">
- <Setter Property="Fill" Value="Green" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Ellipse.Style>
- </Ellipse>
- </StackPanel>
- </StackPanel>
- </Grid>
- <Grid x:Name="PLCTestSetting" Visibility="Collapsed">
- <StackPanel Orientation="Vertical">
- </StackPanel>
- </Grid>
- <Grid x:Name="PlcParaSetting" Visibility="Visible">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <StackPanel Grid.Column="0" Orientation="Vertical">
- <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
- <TextBlock Text="速度模式运行速度:" FontSize="16" Margin="5,0,16,0" VerticalAlignment="Center"/>
- <Button x:Name="SpeedModeRunningSpeedUpBtn" Content="+" Width="30" Height="30" Click="SpeedModeRunningSpeedUpBtn_Click" />
- <TextBox Text="{Binding SpeedModeRunningSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="SpeedModeRunningSpeedDownBtn" Content="-" Width="30" Click="SpeedModeRunningSpeedDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="点动速度:" FontSize="16" Margin="5,0,80,0" VerticalAlignment="Center"/>
- <Button x:Name="JogSpeedUpBtn" Content="+" Width="30" Height="30" Click="JogSpeedUpBtn_Click" />
- <TextBox Text="{Binding JogSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="JogSpeedDownBtn" Content="-" Width="30" Click="JogSpeedDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="瓶装设定值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="BottValueSetUpBtn" Content="+" Width="30" Height="30" Click="BottValueSetUpBtn_Click" />
- <TextBox Text="{Binding BottValueSet,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottValueSetDownBtn" Content="-" Width="30" Click="BottValueSetDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="中转阀打开速度:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
- <Button x:Name="TransferValveOpeningSpeedUpBtn" Content="+" Width="30" Height="30" Click="TransferValveOpeningSpeedUpBtn_Click" />
- <TextBox Text="{Binding TransferValveOpeningSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="TransferValveOpeningSpeedDownBtn" Content="-" Width="30" Click="TransferValveOpeningSpeedDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="中转阀打开时间:" FontSize="16" Margin="5,0,32,0" VerticalAlignment="Center"/>
- <Button x:Name="TransferValveOpeningTimeUpBtn" Content="+" Width="30" Height="30" Click="TransferValveOpeningTimeUpBtn_Click" />
- <TextBox Text="{Binding TransferValveOpeningTime,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="TransferValveOpeningTimeDownBtn" Content="-" Width="30" Click="TransferValveOpeningTimeDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="罐装减速值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="BottingDecelerationValueUpBtn" Content="+" Width="30" Height="30" Click="BottingDecelerationValueUpBtn_Click" />
- <TextBox Text="{Binding BottingDecelerationValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottingDecelerationValueDownBtn" Content="-" Width="30" Click="BottingDecelerationValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存减速值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="CacheDecelerationValueUpBtn" Content="+" Width="30" Height="30" Click="CacheDecelerationValueUpBtn_Click" />
- <TextBox Text="{Binding CacheDecelerationValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheDecelerationValueDownBtn" Content="-" Width="30" Click="CacheDecelerationValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存计数延迟时间:" FontSize="16" Margin="5,0,16,0" VerticalAlignment="Center"/>
- <Button x:Name="CacheCountDelayTimingUpBtn" Content="+" Width="30" Height="30" Click="CacheCountDelayTimingUpBtn_Click" />
- <TextBox Text="{Binding CacheCountDelayTiming,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheCountDelayTimingDownBtn" Content="-" Width="30" Click="CacheCountDelayTimingDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存停机值:" FontSize="16" Margin="5,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="CacheShutdownValueUpBtn" Content="+" Width="30" Height="30" Click="CacheShutdownValueUpBtn_Click" />
- <TextBox Text="{Binding CacheShutdownValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheShutdownValueDownBtn" Content="-" Width="30" Click="CacheShutdownValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="罐装料筒震台高速值:" FontSize="16" Margin="5,0,0,0" VerticalAlignment="Center"/>
- <Button x:Name="BottingMaterialCylinderVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingMaterialCylinderVibrationTableHighSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding BottingMaterialCylinderVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="79"/>
- <Button x:Name="BottingMaterialCylinderVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="BottingMaterialCylinderVibrationTableHighSpeedValueDownBtn_Click" />
- </StackPanel>
- </StackPanel>
- <StackPanel Grid.Column="1" Orientation="Vertical">
- <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
- <TextBlock Text="罐装过滤震台高速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="BottingFilterVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingFilterVibrationTableHighSpeedValueUpBtn_Click" />
- <TextBox x:Name="___无名称_" Text="{Binding BottingFilterVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottingFilterVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="BottingFilterVibrationTableHighSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="罐装计数震台高速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="BottingCountVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingCountVibrationTableHighSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding BottingCountVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottingCountVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="BottingCountVibrationTableHighSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="罐装料筒震台减速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="BottingMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding BottingMaterialCylinderVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottingMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="BottingMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="罐装过滤震台减速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="BottingFilterVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingFilterVibrationTableDecelerationSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding BottingFilterVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottingFilterVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="BottingFilterVibrationTableDecelerationSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="罐装计数震台减速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="BottingCountVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="BottingCountVibrationTableDecelerationSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding BottingCountVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottingCountVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="BottingCountVibrationTableDecelerationSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存料筒震台高速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="CacheMaterialCylinderVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheMaterialCylinderVibrationTableHighSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding CacheMaterialCylinderVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheMaterialCylinderVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="CacheMaterialCylinderVibrationTableHighSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存过滤震台高速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="CacheFilterVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheFilterVibrationTableHighSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding CacheFilterVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheFilterVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="CacheFilterVibrationTableHighSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存计数震台高速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="CacheCountVibrationTableHighSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheCountVibrationTableHighSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding CacheCountVibrationTableHighSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheCountVibrationTableHighSpeedValueDownBtn" Content="-" Width="30" Click="CacheCountVibrationTableHighSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存料筒震台减速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="CacheMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheMaterialCylinderVibrationTableDecelerationSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding CacheMaterialCylinderVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="CacheMaterialCylinderVibrationTableDecelerationSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="缓存过滤震台减速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="CacheFilterVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheFilterVibrationTableDecelerationSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding CacheFilterVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheFilterVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="CacheFilterVibrationTableDecelerationSpeedValueDownBtn_Click" />
- </StackPanel>
- </StackPanel>
- <StackPanel Grid.Column="2" Orientation="Vertical">
- <StackPanel Orientation="Horizontal" Margin="0,3,0,0">
- <TextBlock Text="缓存计数震台减速值:" FontSize="16" VerticalAlignment="Center"/>
- <Button x:Name="CacheCountVibrationTableDecelerationSpeedValueUpBtn" Content="+" Width="30" Height="30" Click="CacheCountVibrationTableDecelerationSpeedValueUpBtn_Click" />
- <TextBox Text="{Binding CacheCountVibrationTableDecelerationSpeedValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="CacheCountVibrationTableDecelerationSpeedValueDownBtn" Content="-" Width="30" Click="CacheCountVibrationTableDecelerationSpeedValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="阀门打开延时:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
- <Button x:Name="GateOpeningDelayUpBtn" Content="+" Width="30" Height="30" Click="GateOpeningDelayUpBtn_Click" />
- <TextBox Text="{Binding GateOpeningDelay,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="GateOpeningDelayDownBtn" Content="-" Width="30" Click="GateOpeningDelayDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="回零偏移值:" FontSize="16" Margin="0,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="ReturnToZeroOffsetValueUpDownBtn" Content="+" Width="30" Height="30" Click="ReturnToZeroOffsetValueUpDownBtn_Click" />
- <TextBox Text="{Binding ReturnToZeroOffsetValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="ReturnToZeroOffsetValueDownBtn" Content="-" Width="30" Click="ReturnToZeroOffsetValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="回零偏移速度:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
- <Button x:Name="ReturnToZeroOffsetSpeedUpBtn" Content="+" Width="30" Height="30" Click="ReturnToZeroOffsetSpeedUpBtn_Click" />
- <TextBox Text="{Binding ReturnToZeroOffsetSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="ReturnToZeroOffsetSpeedDownBtn" Content="-" Width="30" Click="ReturnToZeroOffsetSpeedDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="中转阀关闭速度:" FontSize="16" Margin="0,0,32,0" VerticalAlignment="Center"/>
- <Button x:Name="TransferValveClosingSpeedUpBtn" Content="+" Width="30" Height="30" Click="TransferValveClosingSpeedUpBtn_Click" />
- <TextBox Text="{Binding TransferValveClosingSpeed,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="TransferValveClosingSpeedDownBtn" Content="-" Width="30" Click="TransferValveClosingSpeedDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="中转阀开位置:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
- <Button x:Name="TransferValveOpenPositionUpBtn" Content="+" Width="30" Height="30" Click="TransferValveOpenPositionUpBtn_Click" />
- <TextBox Text="{Binding TransferValveOpenPosition,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="TransferValveOpenPositionDownBtn" Content="-" Width="30" Click="TransferValveOpenPositionDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="中转阀关位置:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
- <Button x:Name="TransferValveClosePositionUpBtn" Content="+" Width="30" Height="30" Click="TransferValveClosePositionUpBtn_Click" />
- <TextBox Text="{Binding TransferValveClosePosition,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="TransferValveClosePositionDownBtn" Content="-" Width="30" Click="TransferValveClosePositionDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="气阀开延时:" FontSize="16" Margin="0,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="AirValveOpeningDelayUpBtn" Content="+" Width="30" Height="30" Click="AirValveOpeningDelayUpBtn_Click" />
- <TextBox Text="{Binding AirValveOpeningDelay,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="AirValveOpeningDelayDownBtn" Content="-" Width="30" Click="AirValveOpeningDelayDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="装瓶停机值:" FontSize="16" Margin="0,0,64,0" VerticalAlignment="Center"/>
- <Button x:Name="BottlingShutdownValueUpBtn" Content="+" Width="30" Height="30" Click="BottlingShutdownValueUpBtn_Click" />
- <TextBox Text="{Binding BottlingShutdownValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottlingShutdownValueDownBtn" Content="-" Width="30" Click="BottlingShutdownValueDownBtn_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <TextBlock Text="装瓶停机时间:" FontSize="16" Margin="0,0,48,0" VerticalAlignment="Center"/>
- <Button x:Name="BottlingShutdownTimeUpBtn" Content="+" Width="30" Height="30" Click="BottlingShutdownTimeUpBtn_Click" />
- <TextBox Text="{Binding BottlingShutdownTime,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="80"/>
- <Button x:Name="BottlingShutdownTimeDownBtn" Content="-" Width="30" Click="BottlingShutdownTimeDownBtn_Click" />
- </StackPanel>
- </StackPanel>
- </Grid>
- </Grid>
- </Grid>
- </Page>
|