Merge branch 'main' of http://175.27.215.92:3000/liulb/AUCMA_SCADA
commit
fe8a702e1d
@ -0,0 +1,530 @@
|
||||
<UserControl x:Class="Aucma.Core.BoxFoam.Views.FoamMachinesPageView"
|
||||
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:local="clr-namespace:Aucma.Core.BoxFoam.Views"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="Microsoft YaHei"
|
||||
d:DesignHeight="1080"
|
||||
d:DesignWidth="1920"
|
||||
Foreground="White"
|
||||
FontSize="18">
|
||||
|
||||
<UserControl.Resources>
|
||||
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||
<Setter Property="Margin" Value="5 0 0 0" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="DataGrid">
|
||||
<!--网格线颜色-->
|
||||
<Setter Property="CanUserResizeColumns" Value="false"/>
|
||||
<Setter Property="Background" Value="#1152AC" />
|
||||
<Setter Property="BorderBrush" Value="#4285DE" />
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
<Setter Property="HorizontalGridLinesBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Color="#4285DE"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="VerticalGridLinesBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Color="#1152AC"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<!--列头标题栏样式-->
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||
<Setter Property="BorderBrush" Value="#dddddd" />
|
||||
<Setter Property="Height" Value="40"/>
|
||||
<Setter Property="FontSize" Value="18"/>
|
||||
<Setter Property="Background" Value="#4285DE"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
|
||||
</Style>
|
||||
|
||||
<!--单元格样式-->
|
||||
<Style TargetType="DataGridCell">
|
||||
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||
<Setter Property="BorderThickness" Value="0" />
|
||||
<Setter Property="BorderBrush" Value="Gray" />
|
||||
<Setter Property="Height" Value="40"/>
|
||||
<Setter Property="FontSize" Value="18"/>
|
||||
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type DataGridCell}">
|
||||
<Grid Background="{TemplateBinding Background}" >
|
||||
<ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsSelected" Value="True">
|
||||
<Setter Property="Background" Value="#4285DE"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
|
||||
<Border x:Name="HeightHelperPanel" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="5">
|
||||
<Grid>
|
||||
<Grid.Resources>
|
||||
<Style TargetType="TextBlock">
|
||||
<Setter Property="VerticalAlignment" Value="Center"/>
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
<Setter Property="FontSize" Value="16"/>
|
||||
<Setter Property="FontFamily" Value="Microsoft YaHei"/>
|
||||
</Style>
|
||||
<Style TargetType="Border">
|
||||
<Setter Property="BorderBrush" Value="#0288d1"/>
|
||||
<Setter Property="BorderThickness" Value="1"/>
|
||||
</Style>
|
||||
</Grid.Resources>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="0.6*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.08*" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9" Margin="1,1,5,5" >
|
||||
<TextBlock Text="1系统" FontSize="23" FontWeight="Bold" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Column="0" Grid.Row="0" VerticalAlignment="Center"/>
|
||||
<StackPanel Grid.Column="1" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="POL" FontSize="18" FontWeight="Bold" Foreground="White" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="3" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||||
<TextBlock Text="ISO" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Right" >
|
||||
<TextBlock Text="输入压力" FontSize="18" Foreground="White"/>
|
||||
</StackPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolInputPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White" />
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoInputPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="输出压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolOutputPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoOutputPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="流量" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolFlow1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="g/s" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoFlow1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="g/s" FontSize="18" Foreground="White" />
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PoleTmperature1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White" />
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoTemperature1}" FontSize="18" Margin="0 0 18 0" Foreground="Black"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="料位" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolMaterialLevel1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="%" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoMaterialLevel1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="%" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<Border Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="3" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9" >
|
||||
<TextBlock Text="液压" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<WrapPanel Grid.Column="0" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Pressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Temperature1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<Border Grid.Column="0" Grid.Row="9" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
||||
<TextBlock Text="" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" Grid.Row="9" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
||||
<TextBlock Text="A枪" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<Border Grid.Column="2" Grid.Row="9" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
||||
<TextBlock Text="B枪" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<WrapPanel Grid.Column="0" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="状态" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Status1}" FontSize="18" Margin="0 0 18 0" Foreground="White" Width="50"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Status11}" FontSize="18" Margin="0 0 18 0" Foreground="White" Width="50"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="POL压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="POL温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLTemperature1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLTemperature11}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="ISO压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOPressure1}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOPressure11}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="14" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="ISO温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="14" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOTemperature11}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="14" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOTemperature11}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.08*" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9" Margin="1,1,5,5" >
|
||||
<TextBlock Text="1系统" FontSize="23" FontWeight="Bold" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Column="0" Grid.Row="0" VerticalAlignment="Center"/>
|
||||
<StackPanel Grid.Column="1" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="POL" FontSize="18" FontWeight="Bold" Foreground="White" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="3" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||||
<TextBlock Text="ISO" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Right" >
|
||||
<TextBlock Text="输入压力" FontSize="18" Foreground="White"/>
|
||||
</StackPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolInputPressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White" />
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoInputPressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="输出压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolOutputPressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoOutputPressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="流量" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolFlow2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="g/s" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoFlow2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="g/s" FontSize="18" Foreground="White" />
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PoleTmperature2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White" />
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoTemperature2}" FontSize="18" Margin="0 0 18 0" Foreground="Black"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="料位" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding PolMaterialLevel2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="%" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding IsoMaterialLevel2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="%" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<Border Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="3" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9" >
|
||||
<TextBlock Text="液压" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<WrapPanel Grid.Column="0" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Pressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Temperature2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<Border Grid.Column="0" Grid.Row="9" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
||||
<TextBlock Text="" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" Grid.Row="9" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
||||
<TextBlock Text="A枪" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<Border Grid.Column="2" Grid.Row="9" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
||||
<TextBlock Text="B枪" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</Border>
|
||||
<WrapPanel Grid.Column="0" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="状态" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Status2}" FontSize="18" Margin="0 0 18 0" Foreground="White" Width="50"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Status22}" FontSize="18" Margin="0 0 18 0" Foreground="White" Width="50"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="POL压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="POL压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLPressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLPressure22}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="POL温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLTemperature2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding POLTemperature22}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="ISO压力" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOPressure2}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOPressure22}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="MPa" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
|
||||
<WrapPanel Grid.Column="0" Grid.Row="14" VerticalAlignment="Center" HorizontalAlignment="Right">
|
||||
<TextBlock Text="ISO温度" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="1" Grid.Row="14" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOTemperature22}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel Grid.Column="2" Grid.Row="14" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding ISOTemperature222}" FontSize="18" Margin="0 0 18 0" Foreground="Black" Width="50"/>
|
||||
<TextBlock Text="℃" FontSize="18" Foreground="White"/>
|
||||
</WrapPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="1,1,5,5">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<DataGrid Grid.Row="0" ItemsSource="{Binding LastShotRecordDataGrid}" Background="#00000000"
|
||||
ColumnHeaderHeight="40"
|
||||
RowHeight="50" AutoGenerateColumns="False" RowHeaderWidth="0" FontSize="20"
|
||||
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Auto" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
|
||||
Foreground="White" >
|
||||
<!--修改选中字体颜色-->
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding No}" Header="编号" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||||
<DataGridTextColumn Binding="{Binding System}" Header="系统" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||||
<DataGridTextColumn Binding="{Binding PolInjectionpressure}" Header="POL注料压力" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||||
<DataGridTextColumn Binding="{Binding IsoInjectionpressure}" Header="ISO注料压力" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<DataGridTextColumn Binding="{Binding PolInjectiontemperature}" Header="POL注料温度" Width="2*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<DataGridTextColumn Binding="{Binding IsoInjectiontemperature}" Header="ISO注料温度" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||||
<DataGridTextColumn Binding="{Binding LastTime ,StringFormat=\{0:MM-dd HH:mm\}}" Header="最后时间" Width="1.5*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</UserControl>
|
@ -0,0 +1,256 @@
|
||||
<UserControl x:Class="Aucma.Core.BoxFoam.Views.UserPage.LinerInventory"
|
||||
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:Aucma.Core.BoxFoam.Views.UserPage"
|
||||
mc:Ignorable="d" FontFamily="Microsoft YaHei"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
|
||||
<UserControl.Resources>
|
||||
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="DataGrid">
|
||||
<!--网格线颜色-->
|
||||
<Setter Property="CanUserResizeColumns" Value="false"/>
|
||||
<Setter Property="Background" Value="#1152AC" />
|
||||
<Setter Property="BorderBrush" Value="#4285DE" />
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
<Setter Property="HorizontalGridLinesBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Color="#4285DE"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="VerticalGridLinesBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Color="#1152AC"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<!--列头标题栏样式-->
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="BorderBrush" Value="#dddddd" />
|
||||
<Setter Property="FontSize" Value="18"/>
|
||||
<Setter Property="Background" Value="#4285DE"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
</Style>
|
||||
|
||||
<!--单元格样式-->
|
||||
<Style TargetType="DataGridCell">
|
||||
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||
<Setter Property="BorderThickness" Value="0" />
|
||||
<Setter Property="BorderBrush" Value="Gray" />
|
||||
<Setter Property="Height" Value="35"/>
|
||||
<Setter Property="FontSize" Value="15"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type DataGridCell}">
|
||||
<Grid Background="{TemplateBinding Background}" >
|
||||
<ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsSelected" Value="True">
|
||||
<Setter Property="Background" Value="#4285DE"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
|
||||
<Grid Margin="5,5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*"/>
|
||||
<RowDefinition Height="12*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="内胆库实时库存" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</StackPanel>
|
||||
<Border Grid.Row="1">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="8*"/>
|
||||
<ColumnDefinition Width="4*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="#0288d1" BorderThickness="1" Margin="5">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect Color="#1254AB" ShadowDepth="0" BlurRadius="5" Opacity="0.5" Direction="0"></DropShadowEffect>
|
||||
</Border.Effect>
|
||||
|
||||
<ItemsControl Grid.Column="0" ItemsSource="{Binding Shapes}" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||||
<ItemsControl.ItemsPanel>
|
||||
<!--布局-->
|
||||
<ItemsPanelTemplate>
|
||||
<WrapPanel Orientation="Vertical"></WrapPanel>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
<!--控件模板-->
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Control x:Name="ctrl" Width="450" Height="200" ></Control>
|
||||
<DataTemplate.Triggers>
|
||||
<!--根据不同类型选择不同模板-->
|
||||
<DataTrigger Binding="{Binding spaceType}" Value="1">
|
||||
<!--矩形-->
|
||||
<Setter Property="Template" TargetName="ctrl">
|
||||
<Setter.Value>
|
||||
<ControlTemplate >
|
||||
<Border Margin="5,5" Background="#0288d1" BorderBrush="White" BorderThickness="2" >
|
||||
<Grid Margin="3,3">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding spaceCode}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="在库" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="2" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding spaceStock}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="3" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="在途" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="4" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding onRouteAmount}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="5" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="合计" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="6" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding totalAmount}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Grid.Row="1">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="6*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="型号" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding materialType}" FontSize="16" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="2">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="White" BorderThickness="1" >
|
||||
<TextBlock Text="状态" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="入库" Foreground="{Binding inStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
||||
</Button>
|
||||
|
||||
</Border>
|
||||
<Border Grid.Column="2" BorderBrush="White" BorderThickness="1">
|
||||
|
||||
</Border>
|
||||
<Border Grid.Column="3" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateUnusualFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="异常" Foreground="{Binding unusualFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
</Border>
|
||||
<Border Grid.Column="4" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateSpaceStatusCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="禁用" Foreground="{Binding spaceStatus,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
|
||||
</Border>
|
||||
<Border Grid.Column="5" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.SpaceDetailCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="明细" FontSize="18" Foreground="Green" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
</Border>
|
||||
<Border Grid.Column="6" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.OutOnlyOneCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="出一个" Foreground="Green" FontSize="17" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
||||
</Button>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</DataTrigger>
|
||||
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
|
||||
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Column="1" BorderBrush="#0288d1" BorderThickness="1" Margin="5">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect Color="#1254AB" ShadowDepth="0" BlurRadius="5" Opacity="0.5" Direction="0"></DropShadowEffect>
|
||||
</Border.Effect>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="2*"/>
|
||||
<RowDefinition Height="13*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<TextBlock Text="货道明细" Foreground="#FFFFFF" FontSize="15"/>
|
||||
</StackPanel>
|
||||
|
||||
<DataGrid Grid.Row="1" ItemsSource="{Binding SpaceDetailDataGrid}" Background="Transparent"
|
||||
FontSize="15" ColumnHeaderHeight="35"
|
||||
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
||||
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
||||
Foreground="#FFFFFF" >
|
||||
<!--resourceStyle 399行修改选中字体颜色-->
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding spaceCode}" Header="货道编号" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<DataGridTextColumn Binding="{Binding materialCode}" Header="物料编号" Width="*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<DataGridTextColumn Binding="{Binding materialName}" Header="物料名称" Width="*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<!--<DataGridTextColumn Binding="{Binding materialType}" Header="物料类型" Width="1*" IsReadOnly="True"/>-->
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
@ -0,0 +1,259 @@
|
||||
<UserControl x:Class="Aucma.Core.BoxFoam.Views.UserPage.ShellInventory"
|
||||
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:Aucma.Core.BoxFoam.Views.UserPage"
|
||||
mc:Ignorable="d" FontFamily="Microsoft YaHei"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
|
||||
<UserControl.Resources>
|
||||
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="DataGrid">
|
||||
<!--网格线颜色-->
|
||||
<Setter Property="CanUserResizeColumns" Value="false"/>
|
||||
<Setter Property="Background" Value="#1152AC" />
|
||||
<Setter Property="BorderBrush" Value="#4285DE" />
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
<Setter Property="HorizontalGridLinesBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Color="#4285DE"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="VerticalGridLinesBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Color="#1152AC"/>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<!--列头标题栏样式-->
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="BorderBrush" Value="#dddddd" />
|
||||
<Setter Property="FontSize" Value="18"/>
|
||||
<Setter Property="Background" Value="#4285DE"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
</Style>
|
||||
|
||||
<!--单元格样式-->
|
||||
<Style TargetType="DataGridCell">
|
||||
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
||||
<Setter Property="BorderThickness" Value="0" />
|
||||
<Setter Property="BorderBrush" Value="Gray" />
|
||||
<Setter Property="Height" Value="35"/>
|
||||
<Setter Property="FontSize" Value="15"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type DataGridCell}">
|
||||
<Grid Background="{TemplateBinding Background}" >
|
||||
<ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsSelected" Value="True">
|
||||
<Setter Property="Background" Value="#4285DE"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
|
||||
<Grid Margin="5,5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*"/>
|
||||
<RowDefinition Height="12*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||
<TextBlock Text="箱壳库实时库存" FontSize="18" FontWeight="Bold" Foreground="White"/>
|
||||
</StackPanel>
|
||||
<Border Grid.Row="1">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="8*"/>
|
||||
<ColumnDefinition Width="4*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="#0288d1" BorderThickness="1" Margin="5">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect Color="#1254AB" ShadowDepth="0" BlurRadius="5" Opacity="0.5" Direction="0"></DropShadowEffect>
|
||||
</Border.Effect>
|
||||
|
||||
<ItemsControl Grid.Column="0" ItemsSource="{Binding Shapes}" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
||||
<ItemsControl.ItemsPanel>
|
||||
<!--布局-->
|
||||
<ItemsPanelTemplate>
|
||||
<WrapPanel Orientation="Vertical"></WrapPanel>
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
<!--控件模板-->
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Control x:Name="ctrl" Width="450" Height="200" ></Control>
|
||||
<DataTemplate.Triggers>
|
||||
<!--根据不同类型选择不同模板-->
|
||||
<DataTrigger Binding="{Binding spaceType}" Value="1">
|
||||
<!--矩形-->
|
||||
<Setter Property="Template" TargetName="ctrl">
|
||||
<Setter.Value>
|
||||
<ControlTemplate >
|
||||
<Border Margin="5,5" Background="#0288d1" BorderBrush="White" BorderThickness="2" >
|
||||
<Grid Margin="3,3">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="0">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding spaceCode}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="在库" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="2" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding spaceStock}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="3" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="在途" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="4" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding onRouteAmount}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="5" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="合计" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="6" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding totalAmount}" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Grid.Row="1">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="6*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="型号" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
|
||||
<TextBlock Text="{Binding materialType}" FontSize="16" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="2">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Grid.Column="0" BorderBrush="White" BorderThickness="1" >
|
||||
<TextBlock Text="状态" FontSize="18" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="入库" Foreground="{Binding inStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
||||
</Button>
|
||||
|
||||
</Border>
|
||||
<Border Grid.Column="2" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateOutStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="出库" Foreground="{Binding outStoreFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
|
||||
</Border>
|
||||
<Border Grid.Column="3" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateUnusualFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="异常" Foreground="{Binding unusualFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
</Border>
|
||||
<Border Grid.Column="4" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.UpdateSpaceStatusCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="禁用" Foreground="{Binding spaceStatus,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
|
||||
</Border>
|
||||
<Border Grid.Column="5" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.SpaceDetailCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="明细" FontSize="18" Foreground="Green" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</Button>
|
||||
</Border>
|
||||
<Border Grid.Column="6" BorderBrush="White" BorderThickness="1">
|
||||
<Button Command="{Binding DataContext.OutOnlyOneCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
|
||||
<TextBlock Text="出一个" Foreground="Green" FontSize="17" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
|
||||
</Button>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</DataTrigger>
|
||||
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
|
||||
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Column="1" BorderBrush="#0288d1" BorderThickness="1" Margin="5">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect Color="#1254AB" ShadowDepth="0" BlurRadius="5" Opacity="0.5" Direction="0"></DropShadowEffect>
|
||||
</Border.Effect>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="2*"/>
|
||||
<RowDefinition Height="13*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<TextBlock Text="货道明细" Foreground="#FFFFFF" FontSize="15"/>
|
||||
</StackPanel>
|
||||
|
||||
<DataGrid Grid.Row="1" ItemsSource="{Binding SpaceDetailDataGrid}" Background="Transparent"
|
||||
FontSize="15" ColumnHeaderHeight="35"
|
||||
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
||||
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
||||
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
||||
Foreground="#FFFFFF" >
|
||||
<!--resourceStyle 399行修改选中字体颜色-->
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding spaceCode}" Header="货道编号" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<DataGridTextColumn Binding="{Binding materialCode}" Header="物料编号" Width="*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<DataGridTextColumn Binding="{Binding materialName}" Header="物料名称" Width="*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
||||
<!--<DataGridTextColumn Binding="{Binding materialType}" Header="物料类型" Width="1*" IsReadOnly="True"/>-->
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
Loading…
Reference in New Issue