|
|
<UserControl x:Class="XGLFinishPro.Views.DryingRoomUC"
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
xmlns:local="clr-namespace:XGLFinishPro.Views"
|
|
|
mc:Ignorable="d"
|
|
|
d:DesignHeight="450" d:DesignWidth="800" Loaded="UserControl_Loaded">
|
|
|
<UserControl.Resources>
|
|
|
<Style x:Key="ApplicantList_ListBox_Style" TargetType="{x:Type ListBox}">
|
|
|
<Setter Property="Background" Value="#00000000"/>
|
|
|
<Setter Property="BorderBrush" Value="#00000000"/>
|
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
|
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
|
|
|
<Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
|
|
|
<Setter Property="ScrollViewer.PanningMode" Value="Both"/>
|
|
|
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
|
|
|
|
<!--<Setter Property="ItemContainerStyle" Value="{DynamicResource ApplicantList_ListBoxItem_Style}" />-->
|
|
|
<Setter Property="ItemsPanel">
|
|
|
<Setter.Value>
|
|
|
<ItemsPanelTemplate>
|
|
|
<!--<WrapPanel Orientation="Horizontal" IsItemsHost="True" />-->
|
|
|
<UniformGrid Columns="6"/>
|
|
|
<!--设置横向:Horizontal 纵向:Vertical显示-->
|
|
|
</ItemsPanelTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
<Style x:Key="ApplicantList_ListBoxItem_Style" TargetType="{x:Type ListBoxItem}">
|
|
|
<Setter Property="Margin" Value="10,10,10,0" />
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
|
<Border x:Name="Bd" BorderThickness="3"
|
|
|
Width="280"
|
|
|
Height="120"
|
|
|
Margin="2,0,0,0"
|
|
|
Style="{DynamicResource ListBoxItemNormalBackground_Border_Style}">
|
|
|
<Grid >
|
|
|
|
|
|
<TextBlock Text="{Binding product_name}"
|
|
|
VerticalAlignment="top"
|
|
|
Margin="80,22,0,0"
|
|
|
Style="{DynamicResource ListBoxItemContent_TextBlock_Style}"/>
|
|
|
<TextBlock Text="{Binding workorder_code}"
|
|
|
Margin="80,42,0,0"
|
|
|
HorizontalAlignment="left"
|
|
|
TextAlignment="left"
|
|
|
Style="{DynamicResource ListBoxItemName_TextBlock_Style}"/>
|
|
|
|
|
|
<WrapPanel Orientation="Horizontal">
|
|
|
<TextBlock Margin="80,60,0,0" Text="RFID:" FontSize="14"/>
|
|
|
<TextBlock Text="{Binding rfid_no}"
|
|
|
Style="{DynamicResource ListBoxItemContent_TextBlock_Style}"
|
|
|
Margin="0,59,0,0"/>
|
|
|
</WrapPanel>
|
|
|
<WrapPanel>
|
|
|
<TextBlock Text="{Binding update_time,StringFormat=yyyy-MM-dd HH:mm:ss}"
|
|
|
Margin="80,78,0,0"
|
|
|
Style="{DynamicResource ListBoxItemContent_TextBlock_Style}"/>
|
|
|
</WrapPanel>
|
|
|
<WrapPanel>
|
|
|
<TextBlock Text="{Binding RowNumber}"
|
|
|
VerticalAlignment="top"
|
|
|
Margin="130,96,0,0"
|
|
|
Style="{DynamicResource ListBoxItemContent_TextBlock_Style}"/>
|
|
|
|
|
|
</WrapPanel>
|
|
|
<TextBlock Text="#"
|
|
|
Margin="148,96,0,0"
|
|
|
Style="{DynamicResource ListBoxItemContent_TextBlock_Style}"/>
|
|
|
<Border
|
|
|
Margin="0,12,0,0"
|
|
|
Width="90"
|
|
|
Height="102"
|
|
|
VerticalAlignment="Top"
|
|
|
HorizontalAlignment="Left" >
|
|
|
<Image Source="../Resources/lanjuLogo.png" VerticalAlignment="Stretch"/>
|
|
|
<!--<StackPanel Orientation="Vertical">
|
|
|
<TextBlock Text="{Binding rfid_no}" FontSize="18"
|
|
|
Foreground="{Binding rfid_no,Converter={StaticResource ForeGroundBatchType}}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
<Image Source="..\Img\1.png"></Image>
|
|
|
</StackPanel>-->
|
|
|
</Border>
|
|
|
</Grid>
|
|
|
</Border>
|
|
|
|
|
|
<!--控件触发器-->
|
|
|
<ControlTemplate.Triggers>
|
|
|
<Trigger Property="IsSelected" Value="true">
|
|
|
<Setter Property="Background" TargetName="Bd">
|
|
|
<Setter.Value>
|
|
|
<!--LinearGradientBrush,渐变线画笔-->
|
|
|
<LinearGradientBrush
|
|
|
StartPoint="0.4,0"
|
|
|
EndPoint="0.4,1">
|
|
|
<LinearGradientBrush.GradientStops>
|
|
|
<!--GradientStops渐变线停止,GradientStopCollection渐变线停止集合点-->
|
|
|
<GradientStopCollection>
|
|
|
<GradientStop
|
|
|
Color="#FFffeeac"
|
|
|
Offset="0" />
|
|
|
<GradientStop
|
|
|
Color="#FFfbe178"
|
|
|
Offset="0.4" />
|
|
|
<GradientStop
|
|
|
Color="#FFfbe178"
|
|
|
Offset="0.6" />
|
|
|
<GradientStop
|
|
|
Color="#FFfffbd9"
|
|
|
Offset="1" />
|
|
|
</GradientStopCollection>
|
|
|
</LinearGradientBrush.GradientStops>
|
|
|
</LinearGradientBrush>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
<Setter Property="BorderBrush" TargetName="Bd" Value="RoyalBlue"></Setter>
|
|
|
</Trigger>
|
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
|
<Setter Property="Background" TargetName="Bd">
|
|
|
<Setter.Value>
|
|
|
<!--LinearGradientBrush,渐变线画笔-->
|
|
|
<LinearGradientBrush
|
|
|
StartPoint="0.4,0"
|
|
|
EndPoint="0.4,1">
|
|
|
<LinearGradientBrush.GradientStops>
|
|
|
<!--GradientStops渐变线停止,GradientStopCollection渐变线停止集合点-->
|
|
|
<GradientStopCollection>
|
|
|
<GradientStop
|
|
|
Color="#FFC2E0FF"
|
|
|
Offset="0" />
|
|
|
<GradientStop
|
|
|
Color="#FFC2E0dF"
|
|
|
Offset="0.4" />
|
|
|
<GradientStop
|
|
|
Color="#FFC2E0dF"
|
|
|
Offset="0.6" />
|
|
|
<GradientStop
|
|
|
Color="#FFfffbd9"
|
|
|
Offset="1" />
|
|
|
</GradientStopCollection>
|
|
|
</LinearGradientBrush.GradientStops>
|
|
|
</LinearGradientBrush>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Trigger>
|
|
|
</ControlTemplate.Triggers>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<Style TargetType="{x:Type Border}" x:Key="ListBoxItemHeadBackground_Border_Style">
|
|
|
<Setter Property="BitmapEffect">
|
|
|
<Setter.Value>
|
|
|
<DropShadowBitmapEffect Color="Black" Direction="340" ShadowDepth="7" Softness="0.1" Opacity="0.3"/>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
<Setter Property="Background" >
|
|
|
<Setter.Value>
|
|
|
<LinearGradientBrush
|
|
|
StartPoint="0.4,0"
|
|
|
EndPoint="0.4,1">
|
|
|
<LinearGradientBrush.GradientStops>
|
|
|
<GradientStopCollection>
|
|
|
<GradientStop
|
|
|
Color="#FFffeeac"
|
|
|
Offset="0" />
|
|
|
<GradientStop
|
|
|
Color="#FFfbe178"
|
|
|
Offset="0.4" />
|
|
|
<GradientStop
|
|
|
Color="#FFfbe178"
|
|
|
Offset="0.6" />
|
|
|
<GradientStop
|
|
|
Color="#FFfffbd9"
|
|
|
Offset="1" />
|
|
|
</GradientStopCollection>
|
|
|
</LinearGradientBrush.GradientStops>
|
|
|
</LinearGradientBrush>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<!--字体样式-->
|
|
|
<Style x:Key="Title_TextBlock_Style" TargetType="{x:Type TextBlock}">
|
|
|
<Setter Property="FontSize" Value="34"/>
|
|
|
<Setter Property="FontFamily" Value="微软雅黑"/>
|
|
|
<Setter Property="Foreground" Value="#FFFFFFFF"/>
|
|
|
</Style>
|
|
|
<Style x:Key="Copyright_TextBlock_Style" TargetType="{x:Type TextBlock}">
|
|
|
<Setter Property="FontSize" Value="12"/>
|
|
|
<Setter Property="FontFamily" Value="宋体"/>
|
|
|
<Setter Property="Foreground" Value="#FF939393"/>
|
|
|
</Style>
|
|
|
<Style x:Key="ChirdrenControlTitle_TextBlock_Style" TargetType="{x:Type TextBlock}">
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
<Setter Property="FontFamily" Value="微软雅黑"/>
|
|
|
<Setter Property="Foreground" Value="#FFFFFFFF"/>
|
|
|
</Style>
|
|
|
<Style x:Key="ListBoxItemName_TextBlock_Style" TargetType="{x:Type TextBlock}">
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
<Setter Property="FontFamily" Value="微软雅黑"/>
|
|
|
<Setter Property="Foreground" Value="#000000"/>
|
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
|
</Style>
|
|
|
<Style x:Key="ListBoxItemContent_TextBlock_Style" TargetType="{x:Type TextBlock}">
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
<Setter Property="FontFamily" Value="微软雅黑"/>
|
|
|
<Setter Property="Foreground" Value="#333333"/>
|
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
|
</Style>
|
|
|
<!--ListBox元素边框样式-->
|
|
|
<Style x:Key="ListBoxItemNormalBackground_Border_Style" TargetType="{x:Type Border}">
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
<Setter Property="CornerRadius" Value="5" />
|
|
|
<Setter Property="BorderBrush" Value="#E1E1E1"/>
|
|
|
<Setter Property="Background">
|
|
|
<Setter.Value>
|
|
|
<LinearGradientBrush StartPoint="0.5,0"
|
|
|
EndPoint="0.5,1">
|
|
|
<LinearGradientBrush.GradientStops>
|
|
|
<GradientStopCollection>
|
|
|
<GradientStop Color="#FFffffff"
|
|
|
Offset="0" />
|
|
|
<GradientStop Color="#FFE4E4E4"
|
|
|
Offset="0.96" />
|
|
|
<GradientStop Color="#FFe4e4e4"
|
|
|
Offset="1" />
|
|
|
</GradientStopCollection>
|
|
|
</LinearGradientBrush.GradientStops>
|
|
|
</LinearGradientBrush>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
<Setter Property="Effect">
|
|
|
<Setter.Value>
|
|
|
<DropShadowEffect Color="#9e9e9e"
|
|
|
Direction="315"
|
|
|
ShadowDepth="3"
|
|
|
Opacity="1" />
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<!--ListBox元素边框样式-->
|
|
|
<Style x:Key="ListBoxItemNormalBackground_Border_Style1" TargetType="{x:Type Border}">
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
<Setter Property="CornerRadius" Value="5" />
|
|
|
<Setter Property="BorderBrush" Value="#E1E1E1"/>
|
|
|
<Setter Property="Background">
|
|
|
<Setter.Value>
|
|
|
<LinearGradientBrush StartPoint="0.5,0"
|
|
|
EndPoint="0.5,1">
|
|
|
<LinearGradientBrush.GradientStops>
|
|
|
<GradientStopCollection>
|
|
|
<GradientStop Color="#FFffffff"
|
|
|
Offset="0" />
|
|
|
<GradientStop Color="PowderBlue"
|
|
|
Offset="0.96" />
|
|
|
<GradientStop Color="PaleTurquoise"
|
|
|
Offset="1" />
|
|
|
</GradientStopCollection>
|
|
|
</LinearGradientBrush.GradientStops>
|
|
|
</LinearGradientBrush>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
<Setter Property="Effect">
|
|
|
<Setter.Value>
|
|
|
<DropShadowEffect Color="#9e9e9e"
|
|
|
Direction="315"
|
|
|
ShadowDepth="3"
|
|
|
Opacity="1" />
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<!--ComboBox下拉按钮-->
|
|
|
<Style TargetType="ToggleButton" x:Key="ComboxStyleBtn">
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate>
|
|
|
<Border x:Name="Back" Background="#F7FDF7" BorderThickness="1" BorderBrush="Transparent">
|
|
|
<Path Name="PathFill" Fill="Blue" Width="8" Height="6" StrokeThickness="0" Data="M5,0 L10,10 L0,10 z" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
|
|
|
<Path.RenderTransform>
|
|
|
<TransformGroup>
|
|
|
<ScaleTransform/>
|
|
|
<SkewTransform/>
|
|
|
<RotateTransform Angle="180"/>
|
|
|
<TranslateTransform/>
|
|
|
</TransformGroup>
|
|
|
</Path.RenderTransform>
|
|
|
</Path>
|
|
|
</Border>
|
|
|
<ControlTemplate.Triggers>
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
<Setter TargetName="PathFill" Property="Fill" Value="White"></Setter>
|
|
|
<Setter TargetName="Back" Property="Background" Value="#3697A4"></Setter>
|
|
|
<Setter TargetName="Back" Property="BorderBrush" Value="#3697A4"></Setter>
|
|
|
</Trigger>
|
|
|
</ControlTemplate.Triggers>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<Style TargetType="ComboBox" x:Key="ComboBoxStyle">
|
|
|
<Setter Property="ItemContainerStyle">
|
|
|
<Setter.Value>
|
|
|
<!--ComBoxItem #59CA4F #81D779-->
|
|
|
<Style TargetType="ComboBoxItem">
|
|
|
<Setter Property="Height" Value="60"></Setter>
|
|
|
<Setter Property="MinHeight" Value="22"></Setter>
|
|
|
<Setter Property="MinWidth" Value="60"></Setter>
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="ComboBoxItem">
|
|
|
<Border Name="Back" Background="Transparent" CornerRadius="5,5,5,5"
|
|
|
RenderTransformOrigin="0.5,0.5" BorderThickness="0,0,0,0" BorderBrush="Blue" >
|
|
|
<ContentPresenter ContentSource="{Binding Source}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,0,0,0"></ContentPresenter>
|
|
|
</Border>
|
|
|
<ControlTemplate.Triggers>
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
<Setter TargetName="Back" Property="Background" Value="LightGray"></Setter>
|
|
|
</Trigger>
|
|
|
<Trigger Property="IsHighlighted" Value="True">
|
|
|
<Setter TargetName="Back" Property="Background" Value="LightGray"></Setter>
|
|
|
</Trigger>
|
|
|
</ControlTemplate.Triggers>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="ComboBox">
|
|
|
<Grid Background="#F7FDF7">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="0.7*"/>
|
|
|
<ColumnDefinition Width="0.3*" MaxWidth="30"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<TextBox x:Name="PART_EditableTextBox" Grid.Column="0" IsReadOnly="{TemplateBinding IsReadOnly}" FontSize="18" VerticalContentAlignment="Center" Text="{TemplateBinding Text}"></TextBox>
|
|
|
<Border Grid.Column="0" BorderThickness="1,1,0,1" BorderBrush="LightGray" CornerRadius="1,0,0,1">
|
|
|
|
|
|
</Border>
|
|
|
<Border Grid.Column="1" BorderThickness="0,1,1,1" BorderBrush="LightGray" CornerRadius="0,1,1,0">
|
|
|
<ToggleButton Style="{StaticResource ComboxStyleBtn}" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"></ToggleButton>
|
|
|
</Border>
|
|
|
<Popup IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
|
|
|
<Border CornerRadius="1" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
|
|
|
<Border.Effect>
|
|
|
<DropShadowEffect Color="Black" BlurRadius="2" ShadowDepth="0" Opacity="0.5"/>
|
|
|
</Border.Effect>
|
|
|
<ScrollViewer Margin="4,6,4,6" Style="{DynamicResource ScrollViewerStyle}" MaxHeight="{TemplateBinding MaxDropDownHeight}" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">
|
|
|
<!-- StackPanel 用于显示子级,方法是将 IsItemsHost 设置为 True -->
|
|
|
<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" Background="White"/>
|
|
|
</ScrollViewer>
|
|
|
</Border>
|
|
|
</Popup>
|
|
|
</Grid>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
<Style TargetType="Label">
|
|
|
<Setter Property="Height" Value="60"/>
|
|
|
<Setter Property="Width" Value="100"/>
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
|
<Setter Property="FontSize" Value="24"/>
|
|
|
</Style>
|
|
|
<Style TargetType="GroupBox">
|
|
|
<Setter Property="Template">
|
|
|
<Setter.Value>
|
|
|
<ControlTemplate TargetType="GroupBox">
|
|
|
<Grid>
|
|
|
<Border BorderBrush="DarkGray" BorderThickness="1" CornerRadius="4" Margin="8">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<!-- 标题部分 -->
|
|
|
<TextBlock Text="{TemplateBinding Header}" Margin="8,0,0,0" FontWeight="Bold"/>
|
|
|
|
|
|
<!-- 内容部分带滚动条 -->
|
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" PreviewMouseWheel ="ScrollViewer_PreviewMouseWheel">
|
|
|
<ContentPresenter ContentSource="Content"/>
|
|
|
</ScrollViewer>
|
|
|
</Grid>
|
|
|
</Border>
|
|
|
</Grid>
|
|
|
</ControlTemplate>
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="0.1*"/>
|
|
|
<RowDefinition Height="0.32*"/>
|
|
|
<RowDefinition/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="0" VerticalAlignment="Center">
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Label Content="请选择烘房:" VerticalContentAlignment="Center" FontSize="16" Margin="20,0,0,0"/>
|
|
|
<ComboBox x:Name="comboDryRoomInfo" Width="200" Style="{StaticResource ComboBoxStyle}" VerticalContentAlignment="Center" SelectionChanged="comboDryRoomInfo_SelectionChanged"></ComboBox>
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal" Margin="10,0,0,0">
|
|
|
<Label Content="当前温度:" VerticalContentAlignment="Center" FontSize="16"/>
|
|
|
<Label x:Name="lbCurrTemperature"
|
|
|
Foreground="#1A68CA"></Label>
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Label Content="当前湿度:" VerticalContentAlignment="Center" FontSize="16"/>
|
|
|
<Label x:Name="lbCurrHumilly"
|
|
|
Foreground="#1A68CA"></Label>
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<Button
|
|
|
x:Name="btnRefrsh"
|
|
|
Width="120"
|
|
|
Height="40"
|
|
|
Margin="0,0,20,0"
|
|
|
Background="#2F82E7"
|
|
|
Click="btnRefrsh_Click"
|
|
|
Content="刷新"
|
|
|
FontSize="20"
|
|
|
Foreground="White"
|
|
|
IsCancel="True" />
|
|
|
<Button
|
|
|
x:Name="btnCheckLog"
|
|
|
Width="120"
|
|
|
Height="40"
|
|
|
Margin="25,5"
|
|
|
HorizontalAlignment="Right"
|
|
|
VerticalAlignment="Center"
|
|
|
Background="#2B7EE6"
|
|
|
FontSize="20"
|
|
|
Foreground="White"
|
|
|
Click="btnCheckLog_Click" Content="接口日志"></Button>
|
|
|
|
|
|
<Button
|
|
|
x:Name="btnViewPlcvalue"
|
|
|
Width="120"
|
|
|
Height="40"
|
|
|
Margin="25,5"
|
|
|
HorizontalAlignment="Right"
|
|
|
VerticalAlignment="Center"
|
|
|
Background="#2B7EE6"
|
|
|
FontSize="20"
|
|
|
Foreground="White"
|
|
|
Click="btnViewPlcvalue_Click" Content="查看Plc值"></Button>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
<!--ItemContainerStyle="{DynamicResource ApplicantList_ListBoxItem_Style}"-->
|
|
|
<GroupBox Grid.Row="1" HorizontalContentAlignment="Center" Header="烘房外" Margin="5">
|
|
|
<!--<GroupBox.Header>
|
|
|
<Label Content="烘房外" FontSize="18" HorizontalContentAlignment="Left" HorizontalAlignment="Left"/>
|
|
|
</GroupBox.Header>-->
|
|
|
<ListBox x:Name="DringRoomOuterListBox" Style="{DynamicResource ApplicantList_ListBox_Style}" ItemContainerStyle="{DynamicResource ApplicantList_ListBoxItem_Style}" Margin="20,0,0,0"></ListBox>
|
|
|
</GroupBox>
|
|
|
<GroupBox Grid.Row="2" Header="烘房内" Margin="5">
|
|
|
|
|
|
<ListBox Grid.Row="2" x:Name="DringRoomListBox" Style="{DynamicResource ApplicantList_ListBox_Style}" ItemContainerStyle="{DynamicResource ApplicantList_ListBoxItem_Style}" Margin="20,0,0,0">
|
|
|
</ListBox>
|
|
|
</GroupBox>
|
|
|
|
|
|
</Grid>
|
|
|
</UserControl>
|