|
|
|
|
<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">
|
|
|
|
|
<Label
|
|
|
|
|
Width="125"
|
|
|
|
|
Height="70"
|
|
|
|
|
Margin="-1500,20,0,-100"
|
|
|
|
|
Content="设备编号 :"
|
|
|
|
|
FontSize="25"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<Border
|
|
|
|
|
></Border>
|
|
|
|
|
<TextBox x:Name="lba_ThrifTtitle1" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="-1150,-8,0,-100"></TextBox>
|
|
|
|
|
<Label
|
|
|
|
|
Width="125"
|
|
|
|
|
Height="70"
|
|
|
|
|
Margin="-800,20,0,-100"
|
|
|
|
|
Content="容器号 :"
|
|
|
|
|
FontSize="25"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<Border
|
|
|
|
|
></Border>
|
|
|
|
|
<TextBox x:Name="lba_ThrifTtitle2" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="-500,-8,0,-100"></TextBox>
|
|
|
|
|
<Button Content="搜索" Margin="-100,-8,0,-100" Foreground="White" Height="50" 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>
|
|
|
|
|
|
|
|
|
|
<Button Content="创建任务" Margin="200,-8,0,-100" Foreground="White" Height="50" 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>
|
|
|
|
|
<Button Content="删除任务" Margin="500,-8,0,-100" Foreground="White" Height="50" 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>
|
|
|
|
|
<Button Content="手动完成" Margin="800,-8,0,-100" Foreground="White" Height="50" 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 订单信息 -->
|
|
|
|
|
<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="200*"
|
|
|
|
|
Binding="{Binding serialNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="流水号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="250*"
|
|
|
|
|
Binding="{Binding equipmentNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="设备编号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="250*"
|
|
|
|
|
Binding="{Binding containerNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="容器号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding taskType}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="任务类型"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding taskStatus}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="任务状态"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding qty}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="数量"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding startPointNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="起始站点"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding currPointNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="当前站点"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding nextPointNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="下一站点"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding endPointNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="目的站点"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding floorNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="所属楼层"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="220*"
|
|
|
|
|
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">
|
|
|
|
|
<Label
|
|
|
|
|
Width="125"
|
|
|
|
|
Height="70"
|
|
|
|
|
Margin="-1500,20,0,-100"
|
|
|
|
|
Content="设备编号 :"
|
|
|
|
|
FontSize="25"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<Border
|
|
|
|
|
></Border>
|
|
|
|
|
<TextBox x:Name="lba_ThrifTtitle3" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="-1150,-8,0,-100"></TextBox>
|
|
|
|
|
<Button Content="搜索" Margin="-700,-8,0,-100" Foreground="White" Height="50" 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>
|
|
|
|
|
|
|
|
|
|
<!-- 订单信息 -->
|
|
|
|
|
<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="200*"
|
|
|
|
|
Binding="{Binding equipmentNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="设备编号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="300*"
|
|
|
|
|
Binding="{Binding equipName}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="设备名称"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding equipType}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="设备类型"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding serverIp}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="IP地址"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding equipStatus}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="设备状态"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding floorNo}"
|
|
|
|
|
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>
|
|
|
|
|
<Label Content="Label"/>
|
|
|
|
|
<Label Content="Label"/>
|
|
|
|
|
<Label x:Name="_1111" Content="Label" Margin="1,0,1,0" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="#FFFBF5EC" Background="#FFECDADA"/>
|
|
|
|
|
<Label Content="Label"/>
|
|
|
|
|
</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" >
|
|
|
|
|
<Label
|
|
|
|
|
Width="125"
|
|
|
|
|
Height="70"
|
|
|
|
|
Margin="-1500,20,0,-100"
|
|
|
|
|
Content="物料编码 :"
|
|
|
|
|
FontSize="25"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<Border
|
|
|
|
|
></Border>
|
|
|
|
|
<TextBox x:Name="lba_ThrifTtitle5" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="-1150,-8,0,-100"></TextBox>
|
|
|
|
|
<Label
|
|
|
|
|
Width="125"
|
|
|
|
|
Height="70"
|
|
|
|
|
Margin="-800,20,0,-100"
|
|
|
|
|
Content="库位 :"
|
|
|
|
|
FontSize="25"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<Border
|
|
|
|
|
></Border>
|
|
|
|
|
<TextBox x:Name="lba_ThrifTtitle6" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="-550,-8,0,-100"></TextBox>
|
|
|
|
|
<Button Content="搜索" Margin="-100,-8,0,-100" Foreground="White" Height="50" 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>
|
|
|
|
|
<!-- 订单信息 -->
|
|
|
|
|
<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="200"
|
|
|
|
|
Binding="{Binding materialCode}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="物料编码"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="200"
|
|
|
|
|
Binding="{Binding materialName}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="物料名称"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180"
|
|
|
|
|
Binding="{Binding warehouseId}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="仓库"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="150"
|
|
|
|
|
Binding="{Binding locationCode}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="库位"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="150"
|
|
|
|
|
Binding="{Binding layerNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="层"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180"
|
|
|
|
|
Binding="{Binding colNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="列"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180"
|
|
|
|
|
Binding="{Binding rowNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="排"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180"
|
|
|
|
|
Binding="{Binding deepNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="深位"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180"
|
|
|
|
|
Binding="{Binding floorNo}"
|
|
|
|
|
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="1750"
|
|
|
|
|
Height="918"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Focusable="False">
|
|
|
|
|
<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="true"
|
|
|
|
|
Width="180" Height="50"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
HorizontalContentAlignment="Left"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
FontSize="30"
|
|
|
|
|
Margin="-10,5,0,5"
|
|
|
|
|
/>
|
|
|
|
|
<Label
|
|
|
|
|
Foreground="White"
|
|
|
|
|
FontSize="25"
|
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
HorizontalContentAlignment="Center"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Content="容器编号 : "
|
|
|
|
|
Margin="20,0,0,0"/>
|
|
|
|
|
<Border></Border>
|
|
|
|
|
<TextBox
|
|
|
|
|
x:Name="MoHuChaXunWuLiaoName"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Width="180"
|
|
|
|
|
Height="50"
|
|
|
|
|
FontSize="30"
|
|
|
|
|
HorizontalContentAlignment="Left"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Margin="10,0,20,0"
|
|
|
|
|
></TextBox>
|
|
|
|
|
<Button Content="搜索" Margin="20,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>
|
|
|
|
|
<Button Content="删除指令" Margin="20,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>
|
|
|
|
|
<Button Content="重发指令" Margin="20,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>
|
|
|
|
|
<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="300*"
|
|
|
|
|
Binding="{Binding equipmentNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="设备编号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="400*"
|
|
|
|
|
Binding="{Binding containerNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="容器编号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding cmdType}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="指令类型"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding qty}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="数量"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding serialNo}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="流水号"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding cmdStatus}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="指令状态"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Binding="{Binding sendFlag}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="下发状态"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="220*"
|
|
|
|
|
Binding="{Binding createTime,StringFormat='{}{0:yyyy-MM-dd HH:mm:ss}'}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="创建时间"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="220*"
|
|
|
|
|
Binding="{Binding updateTime,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="700" Margin="0,5,0,0">
|
|
|
|
|
<StackPanel Height="865" Width="800">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Height="65">
|
|
|
|
|
<Label Content="交互点" Foreground="White" FontSize="20" Width="180" Height="60" Margin="40,0,70,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
|
|
<Label Content="RFID" Foreground="White" FontSize="12" Width="60" Height="60" Margin="-20,0,10,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="是否有托盘" 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="流水号" 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="一楼输送线" Foreground="White" FontSize="20" Width="200" 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="一楼提升机前输送线" Foreground="White" FontSize="20" Width="200" 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="二楼输送线" Foreground="White" FontSize="20" Width="200" 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="二楼提升机前输送线" Foreground="White" FontSize="20" Width="200" 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="三楼输送线" Foreground="White" FontSize="20" Width="200" 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="三楼提升机前输送线" Foreground="White" FontSize="20" Width="200" 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="四楼输送线" Foreground="White" FontSize="20" Width="200" 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="四楼提升机前输送线" Foreground="White" FontSize="20" Width="200" 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="五楼输送线" Foreground="White" FontSize="20" Width="200" 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="五楼提升机前输送线" Foreground="White" FontSize="20" Width="200" 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>
|
|
|
|
|
</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>
|