|
|
|
@ -41,21 +41,65 @@
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBlock Text="拆包机设备监控" FontSize="22" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<DataGrid ItemsSource="{Binding UnPackDataGrid}" Background="Transparent"
|
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<Ellipse x:Name="UnpackStatus0" VerticalAlignment="Center" Width="30" Height="30" Fill="Red"/>
|
|
|
|
|
<TextBlock Text="拆包机MES允许远程" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<Ellipse x:Name="UnpackStatus1" VerticalAlignment="Center" Width="30" Height="30" Fill="Red"/>
|
|
|
|
|
<TextBlock Text="拆包机系统运行状态" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<Ellipse Width="30" Height="30" Visibility="Hidden"/>
|
|
|
|
|
<TextBlock Text="设备请求叫料信号:" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Width="200" Foreground="White"/>
|
|
|
|
|
<TextBlock x:Name="UnpackStatus2" Text="False" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<Ellipse Width="30" Height="30" Visibility="Hidden"/>
|
|
|
|
|
<TextBlock Text="物料到位请求翻转信号:" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Width="200" Foreground="White"/>
|
|
|
|
|
<TextBlock x:Name="UnpackStatus3" Text="False" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="2" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<Ellipse Width="30" Height="30" Visibility="Hidden"/>
|
|
|
|
|
<TextBlock Text="设备投料允许翻转信号:" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Width="200" Foreground="White"/>
|
|
|
|
|
<TextBlock x:Name="UnpackStatus4" Text="False" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<Ellipse Width="30" Height="30" Visibility="Hidden"/>
|
|
|
|
|
<TextBlock Text="请求移走空托盘信号:" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Width="200" Foreground="White"/>
|
|
|
|
|
<TextBlock x:Name="UnpackStatus5" Text="False" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--<DataGrid ItemsSource="{Binding UnPackDataGrid}" Background="Transparent"
|
|
|
|
|
FontSize="15" ColumnHeaderHeight="35"
|
|
|
|
|
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False" HorizontalAlignment="Left"
|
|
|
|
|
Foreground="#FFFFFF" Margin="150,41,0,0" Grid.RowSpan="2" >
|
|
|
|
|
<!--resourceStyle 399行修改选中字体颜色-->
|
|
|
|
|
--><!--resourceStyle 399行修改选中字体颜色--><!--
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding Name}" Header="监听点位" Width="3*" IsReadOnly="True"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding Value}" Header="监听值" Width="2*" IsReadOnly="True"/>
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
</DataGrid>-->
|
|
|
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Horizontal" >
|
|
|
|
|
<Button x:Name="StartUnPackButton" Content="拆包机启动" FontSize="25" Background="LimeGreen" Width="150" Height="40" Margin="0 0 20 0" Click="StartUnPackButton_Click" />
|
|
|
|
|
<Button x:Name="StopUnPackButton" Content="拆包机停止" FontSize="25" Background="OrangeRed" Width="150" Height="40" Margin="0,0,0,0" Click="StopUnPackButton_Click"/>
|
|
|
|
|
<Button x:Name="StartUnPackButton" Content="拆包机启动" FontSize="20" Background="LimeGreen" Width="150" Height="40" Margin="0 0 20 0" Click="StartUnPackButton_Click" />
|
|
|
|
|
<Button x:Name="StopUnPackButton" Content="拆包机停止" FontSize="20" Background="OrangeRed" Width="150" Height="40" Margin="0,0,0,0" Click="StopUnPackButton_Click"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
@ -78,6 +122,7 @@
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
@ -150,16 +195,23 @@
|
|
|
|
|
<TextBlock Text="烘干机报警:" FontSize="20" VerticalAlignment="Center" Width="170" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
<TextBlock x:Name="HotSignal7_2_Value" Text="无" FontSize="20" VerticalAlignment="Center" Margin="0,0,20,0" Foreground="White"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="7" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<TextBox x:Name="HotSpiralSpeedTxt" Text="0.00" Width="70" Height="35" FontSize="20" VerticalAlignment="Center" Margin="30,0,10,0" Foreground="White"/>
|
|
|
|
|
<Button x:Name="HotSpiralSpeedSet" Content="烘干机螺旋频率设定" FontSize="20" Width="200" Height="40" VerticalAlignment="Center" Margin="0,0,20,0" Background="DeepSkyBlue" Click="HotSpiralSpeedSet_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="50 0 0 0">
|
|
|
|
|
<TextBox x:Name="HotTempTxt" Text="0.00" Width="70" Height="35" FontSize="20" VerticalAlignment="Center" Margin="30,0,10,0" Foreground="White"/>
|
|
|
|
|
<Button x:Name="HotTempSet" Content="烘干机温度设定" FontSize="20" Width="150" Height="40" VerticalAlignment="Center" Margin="0,0,20,0" Background="DeepSkyBlue" Click="HotTempSet_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Horizontal" >
|
|
|
|
|
<Button x:Name="StartDryerSpiralButton" Content="螺旋启动" FontSize="25" Background="LimeGreen" Width="120" Height="40" Margin="0 0 20 0" Click="StartDryerSpiralButton_Click"/>
|
|
|
|
|
<Button x:Name="StartDryerFanButton" Content="风机启动" FontSize="25" Background="LimeGreen" Width="120" Height="40" Margin="0 0 20 0" Click="StartDryerFanButton_Click"/>
|
|
|
|
|
<Button x:Name="StartDryerHotButton" Content="燃烧启动" FontSize="25" Background="LimeGreen" Width="120" Height="40" Margin="0 0 20 0" Click="StartDryerHotButton_Click"/>
|
|
|
|
|
<Button x:Name="StopDryerSpiralButton" Content="螺旋停止" FontSize="25" Background="OrangeRed" Width="120" Height="40" Margin="0,0,20,0" Click="StopDryerSpiralButton_Click"/>
|
|
|
|
|
<Button x:Name="StopDryerHotButton" Content="燃烧停止" FontSize="25" Background="OrangeRed" Width="120" Height="40" Margin="0,0,20,0" Click="StopDryerHotButton_Click"/>
|
|
|
|
|
<Button x:Name="StopDryerFanButton" Content="风机停止" FontSize="25" Background="OrangeRed" Width="120" Height="40" Margin="0,0,0,0" Click="StopDryerFanButton_Click"/>
|
|
|
|
|
<Button x:Name="StartDryerSpiralButton" Content="螺旋启动" FontSize="20" Background="LimeGreen" Width="120" Height="40" Margin="0 0 20 0" Click="StartDryerSpiralButton_Click"/>
|
|
|
|
|
<Button x:Name="StartDryerFanButton" Content="风机启动" FontSize="20" Background="LimeGreen" Width="90" Height="40" Margin="0 0 20 0" Click="StartDryerFanButton_Click"/>
|
|
|
|
|
<Button x:Name="StartDryerHotButton" Content="燃烧启动" FontSize="20" Background="LimeGreen" Width="90" Height="40" Margin="0 0 20 0" Click="StartDryerHotButton_Click"/>
|
|
|
|
|
<Button x:Name="StopDryerSpiralButton" Content="螺旋停止" FontSize="20" Background="OrangeRed" Width="90" Height="40" Margin="0,0,20,0" Click="StopDryerSpiralButton_Click"/>
|
|
|
|
|
<Button x:Name="StopDryerHotButton" Content="燃烧停止" FontSize="20" Background="OrangeRed" Width="90" Height="40" Margin="0,0,20,0" Click="StopDryerHotButton_Click"/>
|
|
|
|
|
<Button x:Name="StopDryerFanButton" Content="风机停止" FontSize="20" Background="OrangeRed" Width="90" Height="40" Margin="0,0,0,0" Click="StopDryerFanButton_Click"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
@ -207,8 +259,8 @@
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Horizontal" >
|
|
|
|
|
<Button x:Name="StartMagNetButton" Content="磁选启动" FontSize="25" Background="LimeGreen" Width="150" Height="40" Margin="0 0 20 0" Click="StartMagNetButton_Click"/>
|
|
|
|
|
<Button x:Name="StopMagNetButton" Content="磁选停止" FontSize="25" Background="OrangeRed" Width="150" Height="40" Margin="0,0,0,0" Click="StopMagNetButton_Click"/>
|
|
|
|
|
<Button x:Name="StartMagNetButton" Content="磁选启动" FontSize="20" Background="LimeGreen" Width="150" Height="40" Margin="0 0 20 0" Click="StartMagNetButton_Click"/>
|
|
|
|
|
<Button x:Name="StopMagNetButton" Content="磁选停止" FontSize="20" Background="OrangeRed" Width="150" Height="40" Margin="0,0,0,0" Click="StopMagNetButton_Click"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
@ -270,11 +322,16 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Horizontal" >
|
|
|
|
|
<Button x:Name="StartSpiral1Button" Content="螺旋1启动" FontSize="25" Background="LimeGreen" Width="150" Height="40" Margin="0 0 20 0" Click="StartSpiral1Button_Click"/>
|
|
|
|
|
<Button x:Name="StartSpiral2Button" Content="螺旋2启动" FontSize="25" Background="LimeGreen" Width="150" Height="40" Margin="0 0 20 0" Click="StartSpiral2Button_Click"/>
|
|
|
|
|
<Button x:Name="StopSpiral1Button" Content="螺旋1停止" FontSize="25" Background="OrangeRed" Width="150" Height="40" Margin="0,0,20,0" Click="StopSpiral1Button_Click"/>
|
|
|
|
|
<Button x:Name="StopSpiral2Button" Content="螺旋2停止" FontSize="25" Background="OrangeRed" Width="150" Height="40" Margin="0,0,0,0" Click="StopSpiral2Button_Click"/>
|
|
|
|
|
<StackPanel Grid.Row="2" VerticalAlignment="Top" Orientation="Horizontal" >
|
|
|
|
|
<TextBox x:Name="Speed1Txt" Text="0.00" Width="70" Height="35" FontSize="20" VerticalAlignment="Center" Margin="10,0,0,0" Foreground="White"/>
|
|
|
|
|
<TextBlock Text="/" FontSize="20" VerticalAlignment="Center" Margin="5,0,5,0" Foreground="White"/>
|
|
|
|
|
<TextBox x:Name="Speed2Txt" Text="0.00" Width="70" Height="35" FontSize="20" VerticalAlignment="Center" Margin="0,0,10,0" Foreground="White"/>
|
|
|
|
|
<Button x:Name="SpiralSpeed" Content="螺旋1/2速度设定(0-50)" FontSize="20" Width="250" Height="40" VerticalAlignment="Center" Margin="0,0,20,0" Background="DeepSkyBlue" Click="SpiralSpeed_Click" />
|
|
|
|
|
|
|
|
|
|
<Button x:Name="StartSpiral1Button" Content="螺旋1启动" FontSize="20" Background="LimeGreen" Width="100" Height="40" Margin="30 0 10 0" Click="StartSpiral1Button_Click"/>
|
|
|
|
|
<Button x:Name="StartSpiral2Button" Content="螺旋2启动" FontSize="20" Background="LimeGreen" Width="100" Height="40" Margin="0 0 10 0" Click="StartSpiral2Button_Click"/>
|
|
|
|
|
<Button x:Name="StopSpiral1Button" Content="螺旋1停止" FontSize="20" Background="OrangeRed" Width="100" Height="40" Margin="0,0,10,0" Click="StopSpiral1Button_Click"/>
|
|
|
|
|
<Button x:Name="StopSpiral2Button" Content="螺旋2停止" FontSize="20" Background="OrangeRed" Width="100" Height="40" Margin="0,0,0,0" Click="StopSpiral2Button_Click"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|