|
|
|
|
|
<UserControl x:Class="MaterialTraceabilityUI.CoatingProcess"
|
|
|
|
|
|
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:MaterialTraceabilityUI.Resources"
|
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
|
d:DesignHeight="560" d:DesignWidth="1280"
|
|
|
|
|
|
Background="#F0F7FF" Loaded="UserControl_Loaded">
|
|
|
|
|
|
<Border CornerRadius="15">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="70*"/>
|
|
|
|
|
|
<RowDefinition Height="50*"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,5,0,0" Width="890" Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="100"/>
|
|
|
|
|
|
<RowDefinition Height="100"/>
|
|
|
|
|
|
<RowDefinition Height="100"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<UniformGrid Columns="5" Grid.Row="1" Margin="10,5,95,95" Height="100" Grid.RowSpan="2">
|
|
|
|
|
|
<Border x:Name="CancelSfc" BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="90" CornerRadius="5" Margin="5,0" Width="155">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock x:Name="CancelSfcText" Foreground="#666867" TextWrapping="Wrap" Text="{local:StringResource tb_lb_GDXD,DefaultValue=工单下达}" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border BorderThickness="0" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="50" CornerRadius="5" Margin="5,0" Width="50">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock Text="=>" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border x:Name="BeginAdjustNumberByA" BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="90" CornerRadius="5" Margin="5,0" Width="155">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock x:Name="BeginAdjustNumberByAText" Foreground="#666867" TextWrapping="Wrap" Text="{local:StringResource tb_tb_KSTZ,DefaultValue=开始调整}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock x:Name="BeginAdjustNumberByATexts" Foreground="#666867" TextWrapping="Wrap" Text="{local:StringResource tb_tb_AMSL,DefaultValue=A面数量}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
<Border BorderThickness="0" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="50" CornerRadius="5" Margin="5,0" Width="50">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock Text="=>" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
<Border BorderThickness="1,1,1,1" HorizontalAlignment="Center" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="90" CornerRadius="5" Margin="1,0" Width="150">
|
|
|
|
|
|
<StackPanel x:Name="CollectA" Margin="5,5" VerticalAlignment="Center" >
|
|
|
|
|
|
<RadioButton Width="150" Height="90" Style="{StaticResource NavRadioButtonStyle}" FontSize="12" IsChecked="True" VerticalAlignment="Center" RenderTransformOrigin="0.502,0.5" Click="Btn_Click_A">
|
|
|
|
|
|
<StackPanel VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock x:Name="ADataCollect" Foreground="#666867" TextWrapping="WrapWithOverflow" Text="{local:StringResource tb_tb_AMSJCJ,DefaultValue=A面数据采集}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Viewbox Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
|
</Viewbox>
|
|
|
|
|
|
<TextBlock x:Name="ADataCollect2" Foreground="#666867" TextWrapping="WrapWithOverflow" Text="{local:StringResource tb_tb_AMWLXH,DefaultValue=A面物料消耗}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</RadioButton>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
|
|
|
|
|
|
|
<UniformGrid Columns="4" Margin="0,5">
|
|
|
|
|
|
<Border BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" CornerRadius="5" Margin="5,0" Width="220" MouseDown="Border_MouseDown">
|
|
|
|
|
|
<StackPanel Margin="5,5">
|
|
|
|
|
|
<TextBlock Text="{local:StringResource tb_lb_AZSJ,DefaultValue=A轴收卷位}" FontSize="15" Foreground="#666867" HorizontalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock x:Name="SFC_Position" Text="SFC:" TextWrapping="Wrap" Foreground="#5985EA" Margin="0,2"/>
|
|
|
|
|
|
<TextBlock x:Name="RFID_Position" Text="RFID:" TextWrapping="Wrap" Foreground="#5985EA" Margin="0,2"/>
|
|
|
|
|
|
<TextBlock x:Name="EA_Position" Text="EA:" TextWrapping="Wrap" Foreground="#5985EA" Margin="0,2"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" CornerRadius="5" Margin="5,0" Width="220">
|
|
|
|
|
|
<StackPanel Margin="5,5" MouseDown="StackPanel_MouseDown">
|
|
|
|
|
|
<TextBlock Text="{local:StringResource tb_lb_BZSJ,DefaultValue=B轴收卷位}" FontSize="15" Foreground="#666867" HorizontalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock x:Name="SFC_Finish" Text="SFC:" TextWrapping="Wrap" Foreground="#5985EA" Margin="0,2"/>
|
|
|
|
|
|
<TextBlock x:Name="RFID_Finish" Text="RFID:" TextWrapping="Wrap" Foreground="#5985EA" Margin="0,2"/>
|
|
|
|
|
|
<TextBlock x:Name="EA_Finish" Text="EA:" TextWrapping="Wrap" Foreground="#5985EA" Margin="0,2"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border Background="#F0F7FF" Height="90" CornerRadius="5" Margin="0,0,80,0" Width="150">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="35"/>
|
|
|
|
|
|
<RowDefinition Height="55"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Row="0">
|
|
|
|
|
|
<TextBlock Text="{local:StringResource 结束流程SFC,DefaultValue=结束流程SFC}" TextWrapping="Wrap" FontSize="14" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock x:Name="EndSfc" Text="" FontSize="14" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Grid.Row="1" VerticalAlignment="Center">
|
|
|
|
|
|
<Border BorderThickness="1,1,1,1" Width="150" Height="40" BorderBrush="#DBE6FA" CornerRadius="5">
|
|
|
|
|
|
<RadioButton Content="{local:StringResource 结束复位,DefaultValue=结束复位}" Width="150" Height="40" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="Red" IsChecked="True" VerticalAlignment="Center" Click="Init_End" RenderTransformOrigin="0.502,0.5"/>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border BorderThickness="0" BorderBrush="Gray" CornerRadius="5" Margin="-30,0,0,0" Height="90">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="25"/>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal">
|
|
|
|
|
|
<Label Content="{local:StringResource tb_lb_order,DefaultValue=工单}" FontSize="13" Foreground="Gray" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
|
|
<TextBox x:Name="shopOrderText" FontSize="13" Foreground="Gray" Height="22" Width="122" TextWrapping="Wrap" BorderThickness="1" BorderBrush="Gray" VerticalAlignment="Center" HorizontalAlignment="Right"></TextBox>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
|
|
|
|
<Label Content="{local:StringResource tb_lb_alarmquality,DefaultValue=预警数量}" FontSize="13" Foreground="Gray" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
|
|
<TextBox x:Name="orderAlarmAmountText" FontSize="13" Foreground="Gray" Height="22" Width="96" TextWrapping="Wrap" BorderThickness="1" BorderBrush="Gray" VerticalAlignment="Center" HorizontalAlignment="Right"></TextBox>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Left">
|
|
|
|
|
|
<Border Height="30" Width="179" BorderThickness="1,1,1,1" BorderBrush="CornflowerBlue" CornerRadius="5" Background="CornflowerBlue" HorizontalAlignment="Center">
|
|
|
|
|
|
<TextBlock Text="{local:StringResource btn_OrderAlarm,DefaultValue=设置工单预警}" FontSize="13" Foreground="White" Margin="28,0,9,0" MouseDown="TextBlock_MouseDown" Height="18" VerticalAlignment="Center"/>
|
|
|
|
|
|
<!--<Button Content="设置工单预警" Foreground="White" BorderBrush="CornflowerBlue" BorderThickness="0" Background="Transparent" Margin="1,1" Height="29" Width="90"/>-->
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<!--<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock Text="结束流程SFC" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock x:Name="EndSfc" Text="" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>-->
|
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
|
<UniformGrid Columns="5" Grid.Row="2" Margin="10,5,95,-5" Height="100">
|
|
|
|
|
|
<Border x:Name="EndAdjustNumberByA" BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="81" CornerRadius="5" Margin="5,0" Width="150">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock x:Name="BeginBdjustNumberByBText2" Foreground="#666867" TextWrapping="Wrap" Text="{local:StringResource tb_tb_AMTZWC,DefaultValue=A面调整完成}" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock x:Name="BeginAdjustNumberByBText" Foreground="#666867" TextWrapping="Wrap" Text="{local:StringResource tb_tb_KSTZBM,DefaultValue=开始调整B面}" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border BorderThickness="0" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="50" CornerRadius="5" Margin="5,0" Width="50">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock Text="=>" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
<Border x:Name="CollectB" BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="81" CornerRadius="5" Margin="5,0" Width="155">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<RadioButton Width="155" Height="81" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="#666867" IsChecked="True" VerticalAlignment="Center" Click="Btn_Click_B" RenderTransformOrigin="0.502,0.5">
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<TextBlock Text="{local:StringResource tb_tb_BMSJCJ,DefaultValue=B面数据采集}" TextWrapping="WrapWithOverflow" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
<TextBlock Text="{local:StringResource tb_tb_BMWLXH,DefaultValue=B面物料消耗}" TextWrapping="WrapWithOverflow" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</RadioButton>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
<Border BorderThickness="0" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="50" CornerRadius="5" Margin="5,0" Width="50">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock Text="=>" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
<Border x:Name="EndAdjustNumberByB" BorderThickness="1,1,1,1" BorderBrush="#DBE6FA" Background="#F0F7FF" Height="81" CornerRadius="5" Margin="5,0" Width="150">
|
|
|
|
|
|
<StackPanel Margin="5,5" VerticalAlignment="Center">
|
|
|
|
|
|
<TextBlock x:Name="EndAdjustNumberByBText" Text="{local:StringResource tb_tb_BMTZWC,DefaultValue=B面调整完成}" TextWrapping="Wrap" FontSize="15" Foreground="#666867" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Margin="0,5,0,0" Width="340" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="160"/>
|
|
|
|
|
|
<RowDefinition Height="160"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="130"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,5,0,0" Width="340" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="{local:StringResource lb_MES_logInfo,DefaultValue=MES日志}" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" Command="{Binding RecordChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1">
|
|
|
|
|
|
<ListBox x:Name="MesLog" FontSize="12" Foreground="Gray" HorizontalAlignment="Left" Height="120" VerticalAlignment="Center" Width="340" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Margin="0,0,0,0">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
<ColumnDefinition Width="17*"/>
|
|
|
|
|
|
<ColumnDefinition Width="53*"/>
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="130"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,5,0,0" Width="340" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa" Grid.ColumnSpan="2">
|
|
|
|
|
|
<RadioButton Content="{local:StringResource lb_PLC_logInfo,DefaultValue=PLC日志}" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
|
|
<ListBox x:Name="PlcLog" FontSize="12" Foreground="Gray" HorizontalAlignment="Left" Height="115" VerticalAlignment="Center" Width="340" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<!--<StackPanel Grid.Row="1" Height="200" Width="250" Background="White" Margin="0,5,0,10" Orientation="Horizontal" HorizontalAlignment="Left" >
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="170"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,0,0,0" Width="250" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="设备状态" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
<ColumnDefinition Width="309*"/>
|
|
|
|
|
|
<ColumnDefinition Width="41*"/>
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<UniformGrid Columns="1" Margin="25,5,0,0" Grid.ColumnSpan="2"/>
|
|
|
|
|
|
<UniformGrid Columns="1" Grid.Row="1" Margin="25,5,0,0" Grid.ColumnSpan="2">
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
|
<Border Width="30" Height="30" CornerRadius="15">
|
|
|
|
|
|
<Border.Background>
|
|
|
|
|
|
<ImageBrush x:Name="EquipStatusImage" ImageSource="Assets/Images/失败-01.png"/>
|
|
|
|
|
|
</Border.Background>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
<TextBlock x:Name="TestTC" Text="连接失败" VerticalAlignment="Center" FontSize="15" Margin="10,0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Height="200" Width="465" Background="White" Margin="0,5,150,10" HorizontalAlignment="Center">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="170"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,0,0,0" Width="465" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="RFID日志" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1">
|
|
|
|
|
|
<ListBox x:Name="RfidLog" FontSize="12" Foreground="Gray" HorizontalAlignment="Left" Height="150" VerticalAlignment="Center" Width="465" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0"></ListBox>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Height="200" Width="400" Background="White" Margin="0,5,0,10" HorizontalAlignment="Right">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="170"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,0,0,0" Width="400" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="报警日志" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1">
|
|
|
|
|
|
<ListBox x:Name="AlarmLog" FontSize="12" Foreground="Red" HorizontalAlignment="Left" Height="150" VerticalAlignment="Center" Width="400" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>-->
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Bottom">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
<ColumnDefinition Width="20*"/>
|
|
|
|
|
|
<ColumnDefinition Width="55*"/>
|
|
|
|
|
|
<ColumnDefinition Width="450"/>
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Column="0" Height="210" Background="White" Margin="0,5,0,10" Orientation="Horizontal" HorizontalAlignment="Left" >
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="170"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,0,0,0" Width="275" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="{local:StringResource MQDevice,DefaultValue=设备状态}" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
<ColumnDefinition Width="309*"/>
|
|
|
|
|
|
<ColumnDefinition Width="41*"/>
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<UniformGrid Columns="1" Margin="25,5,0,0" Grid.ColumnSpan="2"/>
|
|
|
|
|
|
<UniformGrid Columns="1" Grid.Row="1" Margin="25,5,0,0" Grid.ColumnSpan="2">
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
|
<Border Width="30" Height="30" CornerRadius="15">
|
|
|
|
|
|
<Border.Background>
|
|
|
|
|
|
<ImageBrush x:Name="EquipStatusImage" ImageSource="Assets/Images/失败-01.png"/>
|
|
|
|
|
|
</Border.Background>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
<TextBlock x:Name="TestTC" Text="连接失败" VerticalAlignment="Center" FontSize="15" Margin="10,0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</UniformGrid>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="1" Height="210" Background="White" Margin="5,5,5,10" HorizontalAlignment="Center">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="180"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,0,0,0" Width="555" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="{local:StringResource lb_RFID_logInfo,DefaultValue=RFID日志}" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" x:Name="listbox">
|
|
|
|
|
|
<ListBox x:Name="RfidLog" Foreground="Gray" HorizontalAlignment="Left" Height="{Binding Path=ActualHeight,ElementName=listbox}" VerticalAlignment="Center" Width="555" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="2" Width="450" Height="210" Background="White" Margin="5,5,0,10" HorizontalAlignment="Center">
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
<RowDefinition Height="180"/>
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel Margin="0,0,0,0" Width="450" Orientation="Horizontal" HorizontalAlignment="Left" Background="#007dfa">
|
|
|
|
|
|
<RadioButton Content="{local:StringResource lb_Alarm_logInfo,DefaultValue=报警日志}" Margin="5,0" Style="{StaticResource NavRadioButtonStyle}" FontSize="15" Foreground="White" IsChecked="True" VerticalAlignment="Center" CommandParameter="MesLogControl" Command="{Binding LogChangeContentCommand}"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1">
|
|
|
|
|
|
<ListBox x:Name="AlarmLog" Foreground="Red" HorizontalAlignment="Left" Height="{Binding Path=ActualHeight,ElementName=listbox}" VerticalAlignment="Center" Width="450" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0"/>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
</UserControl>
|
|
|
|
|
|
|