You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1214 lines
94 KiB
Plaintext
1214 lines
94 KiB
Plaintext
|
2 years ago
|
<Window x:Class="Khd.Core.Wpf.Form.FormBoardT"
|
||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
|
xmlns:local="clr-namespace:Khd.Core.Wpf.Form"
|
||
|
|
mc:Ignorable="d" WindowStyle="None"
|
||
|
|
WindowStartupLocation="CenterOwner"
|
||
|
|
WindowState="Maximized"
|
||
|
|
Title="FormBoardT"
|
||
|
|
Loaded="FormBoard_Loaded"
|
||
|
|
Width="1920"
|
||
|
|
Height="1080">
|
||
|
|
<Window.Resources>
|
||
|
|
|
||
|
|
<ResourceDictionary>
|
||
|
|
<ResourceDictionary.MergedDictionaries>
|
||
|
|
<!--<hc:ThemeResources/>
|
||
|
|
<hc:Theme/>-->
|
||
|
|
<ResourceDictionary Source="/CSS/SearchBtnClass.xaml" />
|
||
|
|
<ResourceDictionary Source="/CSS/SearchTextClass.xaml" />
|
||
|
|
<ResourceDictionary Source="/CSS/DataGridClass.xaml" />
|
||
|
|
</ResourceDictionary.MergedDictionaries>
|
||
|
|
<Style TargetType="{x:Type ComboBox}">
|
||
|
|
<Setter Property="Width" Value="120"></Setter>
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type ComboBox}">
|
||
|
|
<Border BorderBrush="Gray" BorderThickness="1" CornerRadius="5" Background="White">
|
||
|
|
<Grid>
|
||
|
|
<!--下拉箭头-->
|
||
|
|
<ToggleButton ClickMode="Press" Focusable="False" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Margin="2" MinWidth="0" MinHeight="0" Width="Auto">
|
||
|
|
<ToggleButton.Style>
|
||
|
|
<Style TargetType="{x:Type ToggleButton}">
|
||
|
|
<Setter Property="MinWidth" Value="0"/>
|
||
|
|
<Setter Property="MinHeight" Value="0"/>
|
||
|
|
<Setter Property="Width" Value="Auto"/>
|
||
|
|
<Setter Property="Height" Value="Auto"/>
|
||
|
|
<Setter Property="Background" Value="White"/>
|
||
|
|
<Setter Property="BorderBrush" Value="#00000000"/>
|
||
|
|
<Setter Property="BorderThickness" Value="2"/>
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
||
|
|
<DockPanel Background="{TemplateBinding Background}" LastChildFill="False" SnapsToDevicePixels="True">
|
||
|
|
<Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" DockPanel.Dock="Right" >
|
||
|
|
<Path Data="M0,0L3.5,4 7,0z" Fill="{TemplateBinding Foreground}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||
|
|
</Border>
|
||
|
|
</DockPanel>
|
||
|
|
<ControlTemplate.Triggers>
|
||
|
|
<Trigger Property="IsChecked" Value="True">
|
||
|
|
|
||
|
|
</Trigger>
|
||
|
|
</ControlTemplate.Triggers>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Style.Triggers>
|
||
|
|
<Trigger Property="IsEnabled" Value="False">
|
||
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}"/>
|
||
|
|
</Trigger>
|
||
|
|
</Style.Triggers>
|
||
|
|
</Style>
|
||
|
|
</ToggleButton.Style>
|
||
|
|
</ToggleButton>
|
||
|
|
<!--项内容-->
|
||
|
|
<ContentPresenter IsHitTestVisible="False" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" VerticalAlignment="Center" Margin="3" />
|
||
|
|
<!--下拉显示面板HorizontalOffset:设置下拉面板的相对位置-->
|
||
|
|
<Popup HorizontalOffset="-1" Width="{TemplateBinding ActualWidth}"
|
||
|
|
IsOpen="{TemplateBinding IsDropDownOpen}" Focusable="False" PopupAnimation="Slide">
|
||
|
|
<Grid SnapsToDevicePixels="True" HorizontalAlignment="Stretch">
|
||
|
|
<Border BorderThickness="1,1,1,1" BorderBrush="Gray" CornerRadius="5">
|
||
|
|
<Border.Background>
|
||
|
|
<SolidColorBrush Color="White" />
|
||
|
|
</Border.Background>
|
||
|
|
</Border>
|
||
|
|
<ScrollViewer SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Hidden" >
|
||
|
|
<StackPanel IsItemsHost="True"/>
|
||
|
|
</ScrollViewer>
|
||
|
|
</Grid>
|
||
|
|
</Popup>
|
||
|
|
</Grid>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<Style TargetType="TabItem">
|
||
|
|
<Setter Property="Background" Value="#213269"/>
|
||
|
|
<!--设置背景色-->
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="TabItem">
|
||
|
|
<Grid>
|
||
|
|
|
||
|
|
<Border Background="{TemplateBinding Background}" BorderThickness="1" BorderBrush="#213269">
|
||
|
|
<ContentPresenter ContentSource="Header" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||
|
|
</Border>
|
||
|
|
|
||
|
|
</Grid>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="CustomButtonStyle" TargetType="{x:Type Button}">
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Grid>
|
||
|
|
<Border
|
||
|
|
x:Name="border"
|
||
|
|
Background="#213269"
|
||
|
|
BorderBrush="#172557"
|
||
|
|
BorderThickness="0,0,0,3" />
|
||
|
|
<ContentPresenter
|
||
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||
|
|
RecognizesAccessKey="True"
|
||
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||
|
|
<VisualStateManager.VisualStateGroups>
|
||
|
|
<VisualStateGroup x:Name="CommonStates">
|
||
|
|
<VisualState x:Name="Normal" />
|
||
|
|
<VisualState x:Name="MouseOver">
|
||
|
|
<Storyboard>
|
||
|
|
<ColorAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
|
||
|
|
<EasingColorKeyFrame KeyTime="0" Value="#213269" />
|
||
|
|
</ColorAnimationUsingKeyFrames>
|
||
|
|
</Storyboard>
|
||
|
|
</VisualState>
|
||
|
|
<VisualState x:Name="Pressed" />
|
||
|
|
<VisualState x:Name="Disabled" />
|
||
|
|
</VisualStateGroup>
|
||
|
|
</VisualStateManager.VisualStateGroups>
|
||
|
|
</Grid>
|
||
|
|
<ControlTemplate.Triggers>
|
||
|
|
<Trigger Property="IsFocused" Value="True" />
|
||
|
|
<Trigger Property="IsDefaulted" Value="True" />
|
||
|
|
<Trigger Property="IsMouseOver" Value="True" />
|
||
|
|
<Trigger Property="IsPressed" Value="True" />
|
||
|
|
<Trigger Property="IsEnabled" Value="False" />
|
||
|
|
</ControlTemplate.Triggers>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<!-- TextBox默认样式 -->
|
||
|
|
<Style x:Key="DefaultTextBox" TargetType="{x:Type TextBox}" />
|
||
|
|
<Style x:Key="dgCell" TargetType="TextBlock">
|
||
|
|
<Setter Property="TextAlignment" Value="Center" />
|
||
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="DefaultButton" TargetType="{x:Type Button}">
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="FontFamily" Value="Microsoft YaHei" />
|
||
|
|
<Setter Property="FontSize" Value="20" />
|
||
|
|
|
||
|
|
<!--<Setter Property="FontWeight" Value="Bold"/>-->
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="Button">
|
||
|
|
<Border
|
||
|
|
BorderBrush="{TemplateBinding Control.BorderBrush}"
|
||
|
|
BorderThickness="0"
|
||
|
|
CornerRadius="30,30,30,30">
|
||
|
|
<Border.Background>
|
||
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
|
||
|
|
<GradientStop Offset="0.0" Color="#2c78fa" />
|
||
|
|
<GradientStop Offset="0.2" Color="#2c78fa" />
|
||
|
|
<GradientStop Offset="0.0" Color="#2c78fa" />
|
||
|
|
</LinearGradientBrush>
|
||
|
|
</Border.Background>
|
||
|
|
<ContentPresenter
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Content="{TemplateBinding ContentControl.Content}" />
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="DefaultButtonSend" TargetType="{x:Type Button}">
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="FontFamily" Value="Microsoft YaHei" />
|
||
|
|
<Setter Property="FontSize" Value="20" />
|
||
|
|
|
||
|
|
<!--<Setter Property="FontWeight" Value="Bold"/>-->
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="Button">
|
||
|
|
<Border
|
||
|
|
BorderBrush="{TemplateBinding Control.BorderBrush}"
|
||
|
|
BorderThickness="0"
|
||
|
|
CornerRadius="90,90,90,90">
|
||
|
|
<Border.Background>
|
||
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
|
||
|
|
<GradientStop Offset="0.0" Color="#2c78fa" />
|
||
|
|
<GradientStop Offset="0.2" Color="#2c78fa" />
|
||
|
|
<GradientStop Offset="0.0" Color="#2c78fa" />
|
||
|
|
</LinearGradientBrush>
|
||
|
|
</Border.Background>
|
||
|
|
<ContentPresenter
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Content="{TemplateBinding ContentControl.Content}" />
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<Style x:Key="EnableButtonSend" TargetType="{x:Type Button}">
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="FontFamily" Value="Microsoft YaHei" />
|
||
|
|
<Setter Property="FontSize" Value="20" />
|
||
|
|
|
||
|
|
<!--<Setter Property="FontWeight" Value="Bold"/>-->
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="Button">
|
||
|
|
<Border
|
||
|
|
BorderBrush="{TemplateBinding Control.BorderBrush}"
|
||
|
|
BorderThickness="0"
|
||
|
|
CornerRadius="90,90,90,90">
|
||
|
|
<Border.Background>
|
||
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
|
||
|
|
<GradientStop Offset="0.0" Color="Gray" />
|
||
|
|
<GradientStop Offset="0.2" Color="Gray" />
|
||
|
|
<GradientStop Offset="0.0" Color="Gray" />
|
||
|
|
</LinearGradientBrush>
|
||
|
|
</Border.Background>
|
||
|
|
<ContentPresenter
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Content="{TemplateBinding ContentControl.Content}" />
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<!-- 周义帆 20231008 一下代码添加-->
|
||
|
|
<!-- 清空按钮样式 -->
|
||
|
|
<Style x:Key="qingkongButton" TargetType ="{x:Type Button}" >
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="5">
|
||
|
|
<Border.Background>#1E90FF</Border.Background>
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
||
|
|
<Setter Property="FontSize" Value="14"></Setter>
|
||
|
|
</Style>
|
||
|
|
<!-- 警告按钮样式 -->
|
||
|
|
<Style x:Key="jinggaoButton" TargetType ="{x:Type Button}" >
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="5">
|
||
|
|
<Border.Background>#EE0000</Border.Background>
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
||
|
|
<Setter Property="FontSize" Value="14"></Setter>
|
||
|
|
</Style>
|
||
|
|
<!--TextBox样式-->
|
||
|
|
<Style x:Key="XingHaoBianMaYangShi" TargetType="{x:Type TextBox}">
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="TextBox">
|
||
|
|
<Border BorderThickness="1" BorderBrush="Gray" CornerRadius="8" Background="{TemplateBinding Background}">
|
||
|
|
<ScrollViewer x:Name="PART_ContentHost" VerticalAlignment="Center" BorderThickness="0" IsTabStop="False"></ScrollViewer>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter Property="VerticalContentAlignment" Value="Center"></Setter>
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Left"></Setter>
|
||
|
|
</Style>
|
||
|
|
<!--Plc信息TextBox样式-->
|
||
|
|
<Style x:Key="tbxStyle" TargetType="{x:Type TextBox}">
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
||
|
|
<Grid>
|
||
|
|
<Border BorderThickness="2" BorderBrush="Gray" CornerRadius="4" Background="{TemplateBinding Background}">
|
||
|
|
<ScrollViewer x:Name="PART_ContentHost" VerticalAlignment="Center" Background="{x:Null}" BorderThickness="0" IsTabStop="False"></ScrollViewer>
|
||
|
|
</Border>
|
||
|
|
</Grid>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
<!-- 查询按钮样式 -->
|
||
|
|
<Style x:Key="chaxunButton" TargetType ="{x:Type Button}" >
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="5">
|
||
|
|
<Border.Background>#66CD00</Border.Background>
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
||
|
|
<Setter Property="FontSize" Value="14"></Setter>
|
||
|
|
</Style>
|
||
|
|
<!-- 修改按钮样式 -->
|
||
|
|
<Style x:Key="xiugaiButton" TargetType ="{x:Type Button}" >
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="5">
|
||
|
|
<Border.Background>#DAA520</Border.Background>
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
||
|
|
<Setter Property="FontSize" Value="14"></Setter>
|
||
|
|
</Style>
|
||
|
|
<!-- 订单清空备份按钮样式 -->
|
||
|
|
<Style x:Key="ClearOrderButton" TargetType ="{x:Type Button}" >
|
||
|
|
<Setter Property="Template">
|
||
|
|
<Setter.Value>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="5">
|
||
|
|
<Border.Background>#FF7F00</Border.Background>
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
||
|
|
<Setter Property="FontSize" Value="14"></Setter>
|
||
|
|
</Style>
|
||
|
|
</ResourceDictionary>
|
||
|
|
</Window.Resources>
|
||
|
|
<Grid Background="#172557">
|
||
|
|
<Grid>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="0.8*"/>
|
||
|
|
<RowDefinition Height="0.1*"/>
|
||
|
|
<RowDefinition Height="7*"/>
|
||
|
|
<RowDefinition Height="0.2*"/>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="0.1*"/>
|
||
|
|
<ColumnDefinition Width="9*"/>
|
||
|
|
<ColumnDefinition Width="0.1*"/>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<Grid Grid.Row="2" Grid.Column="1">
|
||
|
|
<Viewbox Stretch=" fill" >
|
||
|
|
<Canvas Width="1880" Height="1080" >
|
||
|
|
<Grid Width="1880" Height="1080">
|
||
|
|
<TabControl Background="Transparent" BorderThickness="0" HorizontalAlignment="Center" VerticalContentAlignment="Center" TabStripPlacement="Left" Width="1890" Margin="-10,0,0,0">
|
||
|
|
<TabItem Header="任务管理" Foreground="White" FontSize="25" Width="160" Height="125" Margin="0,-23,8,-23" >
|
||
|
|
<StackPanel
|
||
|
|
x:Name="essentialData"
|
||
|
|
Canvas.Left="174"
|
||
|
|
Canvas.Top="110"
|
||
|
|
Width="1714"
|
||
|
|
Height="1060"
|
||
|
|
Background="#213269" Margin="0,-15,0,0">
|
||
|
|
<!-- 订单信息 -->
|
||
|
|
<Grid Width="1711" Height="1070" HorizontalAlignment="Left">
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="10*"/>
|
||
|
|
<RowDefinition Height="2*"/>
|
||
|
|
<RowDefinition Height="88*"/>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid Background="#172557" Grid.Row="1" ></Grid>
|
||
|
|
<Grid Grid.Row="2">
|
||
|
|
<DataGrid
|
||
|
|
x:Name="LoadMaterial0"
|
||
|
|
AlternationCount="2"
|
||
|
|
AutoGenerateColumns="False"
|
||
|
|
Background="#172557"
|
||
|
|
CanUserAddRows="False"
|
||
|
|
CanUserReorderColumns="False"
|
||
|
|
CanUserResizeColumns="False"
|
||
|
|
CanUserResizeRows="False"
|
||
|
|
Focusable="False"
|
||
|
|
HeadersVisibility="Column"
|
||
|
|
IsReadOnly="True"
|
||
|
|
LoadingRow="dgData_LoadingRow"
|
||
|
|
RowHeaderWidth="0"
|
||
|
|
SelectionMode="Single" FontSize="16" HorizontalAlignment="Left" Width="1711" Margin="0,0,0,10">
|
||
|
|
<DataGrid.Columns>
|
||
|
|
<DataGridTemplateColumn
|
||
|
|
x:Name="orderControlData0"
|
||
|
|
Width="100"
|
||
|
|
MinWidth="10"
|
||
|
|
Header=" 序号"
|
||
|
|
IsReadOnly="True">
|
||
|
|
<DataGridTemplateColumn.CellTemplate>
|
||
|
|
<DataTemplate>
|
||
|
|
<TextBlock
|
||
|
|
Margin="0"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Focusable="False"
|
||
|
|
FontSize="20"
|
||
|
|
Text="{Binding Header, RelativeSource={RelativeSource AncestorType={x:Type DataGridRow}, Mode=FindAncestor}}" />
|
||
|
|
</DataTemplate>
|
||
|
|
</DataGridTemplateColumn.CellTemplate>
|
||
|
|
</DataGridTemplateColumn>
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="300*"
|
||
|
|
Binding="{Binding serialNo}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="流水号"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="400*"
|
||
|
|
Binding="{Binding MaterialName}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="物料名称"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="180*"
|
||
|
|
Binding="{Binding DefineField1}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="物料类型"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="150*"
|
||
|
|
Binding="{Binding CreateTime,StringFormat='{}{0:yyyy-MM-dd HH:mm:ss}'}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="创建时间"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
</DataGrid.Columns>
|
||
|
|
<DataGrid.CellStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridCell}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
</DataGrid.CellStyle>
|
||
|
|
<DataGrid.RowStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRow}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowStyle>
|
||
|
|
<DataGrid.RowHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRowHeader}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowHeaderStyle>
|
||
|
|
<DataGrid.ColumnHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridColumnHeader}">
|
||
|
|
<Setter Property="Background" Value="#172560" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
<Setter Property="Margin" Value="0,0,0,0" />
|
||
|
|
<Setter Property="BorderThickness" Value="5" />
|
||
|
|
<Setter Property="BorderBrush" Value="#172540" />
|
||
|
|
<Setter Property="FontSize" Value="30" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.ColumnHeaderStyle>
|
||
|
|
</DataGrid>
|
||
|
|
</Grid>
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Header="指令管理" Foreground="White" FontSize="25" Width="160" Height="125" Margin="0,23,8,-23">
|
||
|
|
<StackPanel
|
||
|
|
x:Name="materialBom"
|
||
|
|
Canvas.Left="174"
|
||
|
|
Canvas.Top="110"
|
||
|
|
Width="1714"
|
||
|
|
Height="1060"
|
||
|
|
Background="#213269" Margin="0,-15,0,0">
|
||
|
|
<!-- 订单信息 -->
|
||
|
|
<Grid Width="1711" Height="1070" HorizontalAlignment="Left">
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="10*"/>
|
||
|
|
<RowDefinition Height="2*"/>
|
||
|
|
<RowDefinition Height="88*"/>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid Background="#172557" Grid.Row="1"></Grid>
|
||
|
|
<Grid Grid.Row="2">
|
||
|
|
<DataGrid
|
||
|
|
x:Name="LoadMaterial3"
|
||
|
|
AlternationCount="2"
|
||
|
|
AutoGenerateColumns="False"
|
||
|
|
Background="#172557"
|
||
|
|
CanUserAddRows="False"
|
||
|
|
CanUserReorderColumns="False"
|
||
|
|
CanUserResizeColumns="False"
|
||
|
|
CanUserResizeRows="False"
|
||
|
|
Focusable="False"
|
||
|
|
HeadersVisibility="Column"
|
||
|
|
IsReadOnly="True"
|
||
|
|
LoadingRow="dgData_LoadingRow"
|
||
|
|
RowHeaderWidth="0"
|
||
|
|
SelectionMode="Single" FontSize="16" HorizontalAlignment="Left" Width="1711" Margin="0,0,0,10" >
|
||
|
|
<DataGrid.Columns>
|
||
|
|
<DataGridTemplateColumn
|
||
|
|
x:Name="orderControlData3"
|
||
|
|
Width="100"
|
||
|
|
MinWidth="10"
|
||
|
|
Header=" 序号"
|
||
|
|
IsReadOnly="True">
|
||
|
|
<DataGridTemplateColumn.CellTemplate>
|
||
|
|
<DataTemplate>
|
||
|
|
<TextBlock
|
||
|
|
Margin="0"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Focusable="False"
|
||
|
|
FontSize="20"
|
||
|
|
Text="{Binding Header, RelativeSource={RelativeSource AncestorType={x:Type DataGridRow}, Mode=FindAncestor}}" />
|
||
|
|
</DataTemplate>
|
||
|
|
</DataGridTemplateColumn.CellTemplate>
|
||
|
|
</DataGridTemplateColumn>
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="300*"
|
||
|
|
Binding="{Binding lineNo}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="产线编码"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="400*"
|
||
|
|
Binding="{Binding lineName}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="产线名称"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="180*"
|
||
|
|
Binding="{Binding areaNo}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="下件点"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
<!--<DataGridTextColumn
|
||
|
|
Width="255*"
|
||
|
|
Binding="{Binding modifyTime,StringFormat='{}{0:yyyy-MM-dd}'}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="创建日期"
|
||
|
|
IsReadOnly="True" />-->
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</DataGrid.Columns>
|
||
|
|
<DataGrid.CellStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridCell}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
</DataGrid.CellStyle>
|
||
|
|
<DataGrid.RowStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRow}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowStyle>
|
||
|
|
<DataGrid.RowHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRowHeader}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowHeaderStyle>
|
||
|
|
<DataGrid.ColumnHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridColumnHeader}">
|
||
|
|
<Setter Property="Background" Value="#172560" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
<Setter Property="Margin" Value="0,0,0,0" />
|
||
|
|
<Setter Property="BorderThickness" Value="5" />
|
||
|
|
<Setter Property="BorderBrush" Value="#172540" />
|
||
|
|
<Setter Property="FontSize" Value="30" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.ColumnHeaderStyle>
|
||
|
|
</DataGrid>
|
||
|
|
</Grid>
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Header="库存信息" Foreground="White" FontSize="25" Width="160" Height="125" Margin="0,46,8,-46" >
|
||
|
|
<StackPanel
|
||
|
|
x:Name="orderControl"
|
||
|
|
Canvas.Left="174"
|
||
|
|
Canvas.Top="110"
|
||
|
|
Width="1714"
|
||
|
|
Height="1060"
|
||
|
|
Background="#213269" Margin="0,-15,0,0" >
|
||
|
|
<!-- 订单信息 -->
|
||
|
|
<Grid Width="1711" Height="1070" HorizontalAlignment="Left">
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="10*"/>
|
||
|
|
<RowDefinition Height="2*"/>
|
||
|
|
<RowDefinition Height="88*"/>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid Background="#172557" Grid.Row="1"></Grid>
|
||
|
|
<Grid Grid.Row="2">
|
||
|
|
<DataGrid
|
||
|
|
x:Name="LoadMaterial1"
|
||
|
|
AlternationCount="2"
|
||
|
|
AutoGenerateColumns="False"
|
||
|
|
Background="#172557"
|
||
|
|
CanUserAddRows="False"
|
||
|
|
CanUserReorderColumns="False"
|
||
|
|
CanUserResizeColumns="False"
|
||
|
|
CanUserResizeRows="False"
|
||
|
|
Focusable="False"
|
||
|
|
HeadersVisibility="Column"
|
||
|
|
IsReadOnly="True"
|
||
|
|
LoadingRow="dgData_LoadingRow"
|
||
|
|
RowHeaderWidth="0"
|
||
|
|
SelectionMode="Single" FontSize="16" HorizontalAlignment="Left" Width="1711" Margin="0,0,0,10" >
|
||
|
|
<DataGrid.Columns>
|
||
|
|
<DataGridTemplateColumn
|
||
|
|
x:Name="orderControlData"
|
||
|
|
Width="100"
|
||
|
|
MinWidth="10"
|
||
|
|
Header=" 序号"
|
||
|
|
IsReadOnly="True">
|
||
|
|
<DataGridTemplateColumn.CellTemplate>
|
||
|
|
<DataTemplate>
|
||
|
|
<TextBlock
|
||
|
|
Margin="0"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Focusable="False"
|
||
|
|
FontSize="20"
|
||
|
|
Text="{Binding Header, RelativeSource={RelativeSource AncestorType={x:Type DataGridRow}, Mode=FindAncestor}}" />
|
||
|
|
</DataTemplate>
|
||
|
|
</DataGridTemplateColumn.CellTemplate>
|
||
|
|
</DataGridTemplateColumn>
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="300"
|
||
|
|
Binding="{Binding orderCode}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="订单编码"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="400"
|
||
|
|
Binding="{Binding prodDesc}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="成品名称"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="180"
|
||
|
|
Binding="{Binding lineCode}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="产线编码"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="150"
|
||
|
|
Binding="{Binding siteId}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="车间编码"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="150"
|
||
|
|
Binding="{Binding quantity}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="订单数量"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="180"
|
||
|
|
Binding="{Binding onlineQuantity}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="上件数量"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="180"
|
||
|
|
Binding="{Binding actualquantity}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="下件数量"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="255"
|
||
|
|
Binding="{Binding schedulingTime,StringFormat='{}{0:yyyy-MM-dd}'}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="订单日期"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</DataGrid.Columns>
|
||
|
|
<DataGrid.CellStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridCell}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
</DataGrid.CellStyle>
|
||
|
|
<DataGrid.RowStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRow}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowStyle>
|
||
|
|
<DataGrid.RowHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRowHeader}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowHeaderStyle>
|
||
|
|
<DataGrid.ColumnHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridColumnHeader}">
|
||
|
|
<Setter Property="Background" Value="#172560" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
<Setter Property="Margin" Value="0,0,0,0" />
|
||
|
|
<Setter Property="BorderThickness" Value="5" />
|
||
|
|
<Setter Property="BorderBrush" Value="#172540" />
|
||
|
|
<Setter Property="FontSize" Value="30" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.ColumnHeaderStyle>
|
||
|
|
</DataGrid>
|
||
|
|
</Grid>
|
||
|
|
</Grid>
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Header="上件操作" Foreground="White" FontSize="25" Width="160" Height="125" Margin="0,69,8,-69" >
|
||
|
|
<StackPanel
|
||
|
|
x:Name="UpperStart"
|
||
|
|
Canvas.Left="174"
|
||
|
|
Canvas.Top="110"
|
||
|
|
Width="1724"
|
||
|
|
Height="1060"
|
||
|
|
Background="#213269" Margin="0,0,0,16">
|
||
|
|
<!-- 订单信息 -->
|
||
|
|
<StackPanel Width="1724" Height="110" HorizontalAlignment="Left">
|
||
|
|
<StackPanel Width="1724" Height="90" Margin="0" HorizontalAlignment="Left" Orientation="Horizontal">
|
||
|
|
<Label Width="125" Margin="40,0,0,0" Content="上件物料 :" FontSize="25" Foreground="White"
|
||
|
|
HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<ComboBox x:Name="shangjianwuliaocombox" SelectionChanged="shangjianwuliaocombox_SelectionChanged"
|
||
|
|
VerticalAlignment="Center" Width="600" Height="50" FontSize="30" HorizontalContentAlignment="Left"
|
||
|
|
VerticalContentAlignment="Center" Margin="15,0,20,0"/>
|
||
|
|
<Label Width="125" Margin="100,0,0,0" Content="选择订单 :" FontSize="25" Foreground="White"
|
||
|
|
HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<ComboBox x:Name="orderselect" SelectedValuePath="Id" DisplayMemberPath ="orderCode"
|
||
|
|
SelectionChanged="orderselect_SelectionChanged" VerticalAlignment="Center" Width="600" Height="50"
|
||
|
|
FontSize="30" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Margin="15,0,20,0"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Height="20" Margin="0" Background="#172557" />
|
||
|
|
</StackPanel>
|
||
|
|
<!-- 载具信息 -->
|
||
|
|
<StackPanel Width="1724" Height="110" HorizontalAlignment="Left">
|
||
|
|
<StackPanel Width="1724" Height="90" Margin="0" HorizontalAlignment="Left" Orientation="Horizontal">
|
||
|
|
<Label Background="Transparent" BorderThickness="0" Width="100" Margin="75,0,0,0" Content="载具号 :"
|
||
|
|
FontSize="25" Foreground="White" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox x:Name="CarNo" HorizontalAlignment="Center" VerticalAlignment="Center" Width="280" Height="50"
|
||
|
|
IsEnabled="False" FontSize="30" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
|
||
|
|
Margin="0,0,0,0" Style="{StaticResource XingHaoBianMaYangShi}" TextChanged="CarNo_TextChanged"/>
|
||
|
|
<Image x:Name="imgzjydw" Source="..\Resources\state-n@1x.png" Height="40" Width="40" Margin="20,0,0,0" Visibility="Hidden" />
|
||
|
|
<Label x:Name="labzjydw" Content="已到位" FontSize="20" Foreground="White" Width="100" Margin="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Hidden"/>
|
||
|
|
<Image x:Name="imgzjwdw" Source="..\Resources\state-b@1x.png" Height="40" Width="40" Margin="0" Visibility="Visible"/>
|
||
|
|
<Label x:Name="labzjwdw" Content="未到位" FontSize="20" Foreground="White" Width="100" Margin="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
|
||
|
|
<Label Width="125" Margin="140,0,0,0" Content="数量 :" FontSize="25" Foreground="White"
|
||
|
|
HorizontalContentAlignment="Right" VerticalContentAlignment="Center"/>
|
||
|
|
<ComboBox Width="180" Name="comnumber" Margin="20,0,20,0" Height="50" FontSize="30"/>
|
||
|
|
<Button Content="上 架" Margin="260,15,0,15" Foreground="White" Width="132" Click="Button_Click">
|
||
|
|
<Button.Template >
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}" >
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
|
||
|
|
<Border.Background>#346DFF</Border.Background>
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
||
|
|
</Border>
|
||
|
|
</ControlTemplate>
|
||
|
|
</Button.Template>
|
||
|
|
</Button>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Height="20" Margin="0" Background="#172557" />
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel
|
||
|
|
Width="1750"
|
||
|
|
Height="918"
|
||
|
|
HorizontalAlignment="Left"
|
||
|
|
Focusable="False">
|
||
|
|
<StackPanel Orientation="Horizontal" Visibility="Collapsed">
|
||
|
|
<Image
|
||
|
|
Width="40"
|
||
|
|
Height="40"
|
||
|
|
Margin="120,0,0,0"
|
||
|
|
Source="..\Resources\yizhuangzaichanpin.png" />
|
||
|
|
<Label
|
||
|
|
Width="110"
|
||
|
|
Margin="0"
|
||
|
|
HorizontalAlignment="Left"
|
||
|
|
Content="物料选择"
|
||
|
|
FontSize="25"
|
||
|
|
Foreground="White" />
|
||
|
|
</StackPanel>
|
||
|
|
|
||
|
|
<StackPanel
|
||
|
|
Height="80"
|
||
|
|
Width="1724"
|
||
|
|
Margin="-16,0,10,10"
|
||
|
|
Background="#213269"
|
||
|
|
Orientation="Horizontal" Visibility="Visible">
|
||
|
|
<Label
|
||
|
|
Width="125"
|
||
|
|
Height="70"
|
||
|
|
Margin="50,0,10,0"
|
||
|
|
Content="发车反馈 :"
|
||
|
|
FontSize="25"
|
||
|
|
Foreground="White"
|
||
|
|
HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Border
|
||
|
|
></Border>
|
||
|
|
<TextBox x:Name="lba_ThrifTtitle" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="False"
|
||
|
|
Width="180" Height="50"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
HorizontalAlignment="Left"
|
||
|
|
HorizontalContentAlignment="Center"
|
||
|
|
VerticalContentAlignment="Center"
|
||
|
|
FontSize="30"
|
||
|
|
Margin="-10,5,0,5"
|
||
|
|
/>
|
||
|
|
<Label
|
||
|
|
Foreground="White"
|
||
|
|
FontSize="25"
|
||
|
|
HorizontalAlignment="Stretch"
|
||
|
|
VerticalAlignment="Stretch"
|
||
|
|
HorizontalContentAlignment="Center"
|
||
|
|
VerticalContentAlignment="Center"
|
||
|
|
Content="上件点记录查询 : "
|
||
|
|
Margin="210,0,0,0"/>
|
||
|
|
<Border></Border>
|
||
|
|
<ComboBox
|
||
|
|
x:Name="MoHuChaXunWuLiaoName"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
SelectionChanged="MoHuChaXunWuLiaoName_SelectionChanged"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Width="180"
|
||
|
|
Height="50"
|
||
|
|
FontSize="30"
|
||
|
|
HorizontalContentAlignment="Left"
|
||
|
|
VerticalContentAlignment="Center"
|
||
|
|
Margin="10,0,20,0"
|
||
|
|
></ComboBox>
|
||
|
|
</StackPanel>
|
||
|
|
<DataGrid
|
||
|
|
Margin="-25,0,0,0"
|
||
|
|
x:Name="LoadMaterial"
|
||
|
|
Width="1678"
|
||
|
|
Height="826"
|
||
|
|
AlternationCount="2"
|
||
|
|
AutoGenerateColumns="False"
|
||
|
|
Background="#172557"
|
||
|
|
CanUserAddRows="False"
|
||
|
|
CanUserReorderColumns="False"
|
||
|
|
CanUserResizeColumns="False"
|
||
|
|
CanUserResizeRows="False"
|
||
|
|
Focusable="False"
|
||
|
|
HeadersVisibility="Column"
|
||
|
|
IsReadOnly="True"
|
||
|
|
LoadingRow="dgData_LoadingRow"
|
||
|
|
RowHeaderWidth="0"
|
||
|
|
SelectionMode="Single" FontSize="16"
|
||
|
|
Visibility="Visible">
|
||
|
|
<DataGrid.Columns>
|
||
|
|
<DataGridTemplateColumn
|
||
|
|
x:Name="grid1"
|
||
|
|
Width="100"
|
||
|
|
MinWidth="10"
|
||
|
|
Header=" 序号"
|
||
|
|
IsReadOnly="True">
|
||
|
|
<DataGridTemplateColumn.CellTemplate>
|
||
|
|
<DataTemplate>
|
||
|
|
<TextBlock
|
||
|
|
Margin="0"
|
||
|
|
HorizontalAlignment="Center"
|
||
|
|
VerticalAlignment="Center"
|
||
|
|
Focusable="False"
|
||
|
|
FontSize="20"
|
||
|
|
Text="{Binding Header, RelativeSource={RelativeSource AncestorType={x:Type DataGridRow}, Mode=FindAncestor}}" />
|
||
|
|
</DataTemplate>
|
||
|
|
</DataGridTemplateColumn.CellTemplate>
|
||
|
|
</DataGridTemplateColumn>
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="370"
|
||
|
|
Binding="{Binding vinCode}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="订单号"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="*"
|
||
|
|
Binding="{Binding materialName}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="产品名称"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="100"
|
||
|
|
Binding="{Binding upSite}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="上件点"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="150"
|
||
|
|
Binding="{Binding carNo}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="挂具号"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
<DataGridTextColumn
|
||
|
|
Width="255"
|
||
|
|
Binding="{Binding est,StringFormat='{}{0:yyyy-MM-dd HH:mm:ss}'}"
|
||
|
|
CanUserSort="False"
|
||
|
|
ElementStyle="{StaticResource dgCell}"
|
||
|
|
FontSize="20"
|
||
|
|
Header="上线时间"
|
||
|
|
IsReadOnly="True" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</DataGrid.Columns>
|
||
|
|
<DataGrid.CellStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridCell}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
|
||
|
|
</DataGrid.CellStyle>
|
||
|
|
<DataGrid.RowStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRow}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowStyle>
|
||
|
|
<DataGrid.RowHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridRowHeader}">
|
||
|
|
<Setter Property="Background" Value="#213269" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.RowHeaderStyle>
|
||
|
|
<DataGrid.ColumnHeaderStyle>
|
||
|
|
<Style TargetType="{x:Type DataGridColumnHeader}">
|
||
|
|
<Setter Property="Background" Value="#172560" />
|
||
|
|
<Setter Property="Foreground" Value="White" />
|
||
|
|
<Setter Property="Height" Value="50" />
|
||
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||
|
|
<Setter Property="Margin" Value="0,0,0,0" />
|
||
|
|
<Setter Property="BorderThickness" Value="5" />
|
||
|
|
<Setter Property="BorderBrush" Value="#172540" />
|
||
|
|
<Setter Property="FontSize" Value="30" />
|
||
|
|
</Style>
|
||
|
|
</DataGrid.ColumnHeaderStyle>
|
||
|
|
</DataGrid>
|
||
|
|
</StackPanel>
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
<TabItem Header="PLC信息看板" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="125" Margin="0,92,8,-92" >
|
||
|
|
<StackPanel x:Name="splPlcMessage" Height="1060" Width="1920" Background="#213269" Canvas.Left="175" Canvas.Top="110" Orientation="Horizontal" Margin="5,-15,0,0">
|
||
|
|
<StackPanel Orientation="Horizontal" Width="1750">
|
||
|
|
<StackPanel Orientation="Vertical" Margin="20,5,0,0">
|
||
|
|
<StackPanel Orientation="Horizontal" Margin="0">
|
||
|
|
<Image
|
||
|
|
x:Name="img_plcmesssage"
|
||
|
|
Width="40"
|
||
|
|
Height="35"
|
||
|
|
Margin="60,0,0,0"
|
||
|
|
Source="..\Resources\chanpintiaoma.png" Visibility="Visible"/>
|
||
|
|
<Label Content="PLC交互信息" Foreground="White" FontSize="20" Width="150" Height="40" Margin="10,0,80,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
</StackPanel>
|
||
|
|
<Border Background="#213269" BorderBrush="Silver" BorderThickness="2" CornerRadius="10" Width="618" Margin="0,5,0,0">
|
||
|
|
<StackPanel Height="865" Width="600">
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="交互点" Foreground="White" FontSize="20" Width="80" Height="60" Margin="40,0,70,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Label Content="载具号" Foreground="White" FontSize="12" Width="60" Height="60" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Label Content="PLC到位" Foreground="White" FontSize="12" Width="60" Height="60" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Label Content="PLC处理状态" Foreground="White" FontSize="12" Width="80" Height="60" Margin="-10,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Label Content="小车去向" Foreground="White" FontSize="12" Width="60" Height="60" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Label Content="WCS处理状态" Foreground="White" FontSize="10" Width="80" Height="60" Margin="-10,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="101" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno101" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carstate101" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend101" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun101" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend101" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Style="{StaticResource tbxStyle}" MaxLength="1"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="102" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno102" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carstate102" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend102" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun102" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend102" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="103" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno103" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carstate103" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="plcsend103" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun103" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend103" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="201" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno201" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carstate201" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend201" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun201" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend201" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="202" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno202" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carstate202" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend202" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun202" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend202" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="203" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno203" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="carstate203" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend203" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun203" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend203" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="501" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno501" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="carstate501" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend501" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun501" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend501" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="502" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno502" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="carstate502" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend502" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun502" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend502" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="503" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno503" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="carstate503" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend503" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun503" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend503" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="504" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno504" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="carstate504" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend504" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun504" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend504" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
||
|
|
<Label Content="505" Foreground="White" FontSize="20" Width="100" Height="50" Margin="30,0,60,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<TextBox Text="0" x:Name="carno505" FontSize="15" Width="60" Height="50" Margin="-20,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}" />
|
||
|
|
<TextBox Text="0" x:Name="carstate505" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="plcsend505" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="carrun505" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="3" Style="{StaticResource tbxStyle}"/>
|
||
|
|
<TextBox Text="0" x:Name="wcsend505" FontSize="15" Width="60" Height="50" Margin="0,0,10,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MaxLength="1" Style="{StaticResource tbxStyle}"/>
|
||
|
|
</StackPanel>
|
||
|
|
</StackPanel>
|
||
|
|
</Border>
|
||
|
|
</StackPanel>
|
||
|
|
</StackPanel>
|
||
|
|
</StackPanel>
|
||
|
|
</TabItem>
|
||
|
|
</TabControl>
|
||
|
|
</Grid>
|
||
|
|
</Canvas>
|
||
|
|
</Viewbox>
|
||
|
|
</Grid>
|
||
|
|
<Grid Grid.Row="0" Grid.ColumnSpan="2">
|
||
|
|
<StackPanel
|
||
|
|
Width="1915"
|
||
|
|
Height="auto"
|
||
|
|
HorizontalAlignment="Left"
|
||
|
|
Background="#213269"
|
||
|
|
Orientation="Horizontal">
|
||
|
|
<StackPanel Orientation ="Horizontal" Width="1000">
|
||
|
|
<Image
|
||
|
|
Width="160"
|
||
|
|
Height="100"
|
||
|
|
Margin="0,0,0,0"
|
||
|
|
Source="../Resources/amma3.png" />
|
||
|
|
<Label
|
||
|
|
Background="Transparent"
|
||
|
|
BorderThickness="0"
|
||
|
|
Width="400"
|
||
|
|
Height="55"
|
||
|
|
Margin="0"
|
||
|
|
Content="京源环保WCS"
|
||
|
|
FontSize="25"
|
||
|
|
Foreground="White"
|
||
|
|
HorizontalContentAlignment="Center"
|
||
|
|
VerticalContentAlignment="Center"/>
|
||
|
|
</StackPanel>
|
||
|
|
<StackPanel Orientation="Horizontal" Margin="-100,0,0,0" Width="920">
|
||
|
|
<Image
|
||
|
|
Width="40"
|
||
|
|
Height="40"
|
||
|
|
Margin="240,0,0,0"
|
||
|
|
Source="..\Resources\riqi.png" />
|
||
|
|
<Label
|
||
|
|
x:Name="LabDate"
|
||
|
|
Height="55"
|
||
|
|
Margin="25,0,0,0"
|
||
|
|
FontSize="30"
|
||
|
|
Width="255"
|
||
|
|
Foreground="White" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
||
|
|
<Image
|
||
|
|
Width="40"
|
||
|
|
Height="40"
|
||
|
|
Margin="20,0,0,0"
|
||
|
|
Source="..\Resources\shijian.png" />
|
||
|
|
<Label
|
||
|
|
x:Name="LabTime"
|
||
|
|
Height="55"
|
||
|
|
Margin="20,0,0,0"
|
||
|
|
FontSize="30"
|
||
|
|
Width="170"
|
||
|
|
Foreground="White" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"/>
|
||
|
|
</StackPanel>
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
|
||
|
|
</Grid>
|
||
|
|
</Grid>
|
||
|
|
</Window>
|