change - 采用入库完成信号版本
parent
02f2ca4c96
commit
828a13fdb4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,134 @@
|
||||
<Window x:Class="Aucma.Scada.UI.Page.InventoryInfo.SelectType"
|
||||
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:Aucma.Scada.UI.Page.InventoryInfo"
|
||||
mc:Ignorable="d" FontFamily="Microsoft YaHei"
|
||||
Name="window" Background="#1254AB" d:DesignHeight="800" d:DesignWidth="1200">
|
||||
<Window.Resources>
|
||||
<Style TargetType="{x:Type Slider}">
|
||||
<Style.Resources>
|
||||
<!-- 重写重复触发按钮的样式 -->
|
||||
<Style x:Key="RepeatButtonStyle" TargetType="{x:Type RepeatButton}">
|
||||
<Setter Property="Focusable" Value="false" />
|
||||
<Setter Property="IsTabStop" Value="false" />
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="Width" Value="30" />
|
||||
</Style>
|
||||
</Style.Resources>
|
||||
<Setter Property="Stylus.IsPressAndHoldEnabled" Value="false" />
|
||||
<Setter Property="SmallChange" Value="1" />
|
||||
</Style>
|
||||
</Window.Resources>
|
||||
|
||||
<Border Margin="5" Background="#1254AB" CornerRadius="1">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect Color="Gray" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
|
||||
</Border.Effect>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="10*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" Grid.Column="0">
|
||||
<TextBox Width="200" Height="25" Margin="10 0 0 0" Text="{Binding SearchText}" Foreground="White" VerticalAlignment="Center" FontSize="18"/>
|
||||
<Button Content="查 询" Command="{Binding QueryCommand}" Background="#007DFA" BorderBrush="#007DFA" VerticalAlignment="Center" Foreground="White" Height="30" Width="100" Margin="0 0 50 0"/>
|
||||
<Button Content="清除型号" Command="{Binding deleteCommand}" Background="#FF9900" Foreground="white" BorderBrush="#FF9900" VerticalAlignment="Center" Height="30" Width="100" />
|
||||
</StackPanel>
|
||||
<!--计划列表-->
|
||||
<Border Grid.Row="1" Grid.Column="0" BorderBrush="#1254AB" Background="Transparent" BorderThickness="0" CornerRadius="5" Margin="1,1,5,5" >
|
||||
<DataGrid ItemsSource="{Binding MaterialDataGrid}" Background="Transparent"
|
||||
FontSize="18" ColumnHeaderHeight="35"
|
||||
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
||||
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
||||
Foreground="#FFFFFF" SelectedItem="{Binding SelectedDataItem}" SelectionChanged="DataGrid_SelectionChanged">
|
||||
<!--resourceStyle 399行修改选中字体颜色-->
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="产品编码" Width="1*" />
|
||||
<DataGridTextColumn Binding="{Binding MaterialName}" Header="产品名称" Width="2.5*" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
</Border>
|
||||
|
||||
|
||||
<Border Grid.Row="1" Grid.Column="1" BorderBrush="#1254AB" BorderThickness="3" CornerRadius="5" Background="Transparent" Margin="5,5">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect Color="#1254AB" Direction="270" BlurRadius="10" ShadowDepth="5" Opacity="0.5"/>
|
||||
</Border.Effect>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0">
|
||||
<TextBlock Text="产品编码:" FontSize="20" Foreground="#FFFFFF" Margin="10,0,0,0"/>
|
||||
<TextBox x:Name="MaterialCode" FontSize="20" Text="{Binding PlanInfo.MaterialCode}" Foreground="#FFFFFF" Width="260" IsReadOnly="True" Margin="5,0,10,0"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0">
|
||||
<TextBlock Text="产品型号:" FontSize="20" Foreground="#FFFFFF" Margin="10,0,0,0"/>
|
||||
<TextBox x:Name="MaterialName" FontSize="20" Text="{Binding PlanInfo.MaterialName}" Foreground="#FFFFFF" Width="450" IsReadOnly="True" Margin="5,0,10,0"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center" Margin="60,0,0,0" >
|
||||
<!--单选框样式-->
|
||||
<StackPanel.Resources>
|
||||
<Style TargetType="RadioButton">
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
<Setter Property="FontSize" Value="20"/>
|
||||
<Setter Property="Background" Value="White"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="RadioButton">
|
||||
<BulletDecorator Background="Transparent">
|
||||
<BulletDecorator.Bullet>
|
||||
<Grid Width="20" Height="20">
|
||||
<Ellipse x:Name="BulletRadio" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="1"/>
|
||||
</Grid>
|
||||
</BulletDecorator.Bullet>
|
||||
<ContentPresenter Margin="4,0,0,0" VerticalAlignment="Center" RecognizesAccessKey="True"/>
|
||||
</BulletDecorator>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter TargetName="BulletRadio" Property="Fill" Value="Green"/>
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter Property="Background" Value="Green"/>
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</StackPanel.Resources>
|
||||
|
||||
<TextBlock Text="选择型号: " FontSize="20" Foreground="#FFFFFF" />
|
||||
<RadioButton Content="型号1" GroupName="Direction" IsChecked="{Binding IsSelectedOptionA, Mode=TwoWay}" />
|
||||
<!--<RadioButton Content="型号2" GroupName="Direction" IsChecked="{Binding IsSelectedOptionB, Mode=TwoWay}" Margin="10 0 0 0"/>
|
||||
<RadioButton Content="型号3" GroupName="Direction" IsChecked="{Binding IsSelectedOptionC, Mode=TwoWay}" Margin="10 0 0 0"/>-->
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<Button Content="保 存" FontSize="20" Command="{Binding SaveCommand}" Background="#FF36B5C1" BorderBrush="#FF36B5C1" Foreground="white" Margin="0,0,10,0" Height="50" Width="100" />
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</Window>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,63 +1,63 @@
|
||||
#箱壳库货道信息 是否已满=D7221 货道状态=D7231 仓库状态=D7300 #设备状态字,0未启动状态,1已自动运行,2维修调试状态,禁止启动
|
||||
[XKJCK-001_XK_001]
|
||||
[XKK-001_XK_001]
|
||||
在库数量=D7201
|
||||
在途数量=D7211
|
||||
入库完成=D7021
|
||||
出库完成=D7240
|
||||
|
||||
[XKJCK-001_XK_002]
|
||||
[XKK-001_XK_002]
|
||||
在库数量=D7202
|
||||
在途数量=D7212
|
||||
入库完成=D7022
|
||||
出库完成=D7240
|
||||
[XKJCK-001_XK_003]
|
||||
[XKK-001_XK_003]
|
||||
在库数量=D7203
|
||||
在途数量=D7213
|
||||
入库完成=D7023
|
||||
出库完成=D7240
|
||||
[XKJCK-001_XK_004]
|
||||
[XKK-001_XK_004]
|
||||
在库数量=D7204
|
||||
在途数量=D7214
|
||||
入库完成=D7024
|
||||
出库完成=D7240
|
||||
[XKJCK-001_XK_005]
|
||||
[XKK-001_XK_005]
|
||||
在库数量=D7205
|
||||
在途数量=D7215
|
||||
入库完成=D7025
|
||||
出库完成=D7240
|
||||
[XKJCK-001_XK_006]
|
||||
[XKK-001_XK_006]
|
||||
在库数量=D7206
|
||||
在途数量=D7216
|
||||
入库完成=D7026
|
||||
出库完成=D7240
|
||||
|
||||
#内胆库货道信息
|
||||
[NDJCK-001_ND_001]
|
||||
[NDK-001_ND_001]
|
||||
在库数量=D7201
|
||||
在途数量=D7211
|
||||
入库完成=D7021
|
||||
出库完成=D7240
|
||||
[NDJCK-001_ND_002]
|
||||
[NDK-001_ND_002]
|
||||
在库数量=D7202
|
||||
在途数量=D7212
|
||||
入库完成=D7022
|
||||
出库完成=D7240
|
||||
[NDJCK-001_ND_003]
|
||||
[NDK-001_ND_003]
|
||||
在库数量=D7203
|
||||
在途数量=D7213
|
||||
入库完成=D7023
|
||||
出库完成=D7240
|
||||
[NDJCK-001_ND_004]
|
||||
[NDK-001_ND_004]
|
||||
在库数量=D7204
|
||||
在途数量=D7214
|
||||
入库完成=D7024
|
||||
出库完成=D7240
|
||||
[NDJCK-001_ND_005]
|
||||
[NDK-001_ND_005]
|
||||
在库数量=D7205
|
||||
在途数量=D7215
|
||||
入库完成=D7025
|
||||
出库完成=D7240
|
||||
[NDJCK-001_ND_006]
|
||||
[NDK-001_ND_006]
|
||||
在库数量=D7206
|
||||
在途数量=D7216
|
||||
入库完成=D7026
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue