You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
477 lines
38 KiB
XML
477 lines
38 KiB
XML
<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"
|
|
Background="#1157b9"
|
|
d:DesignHeight="1080"
|
|
d:DesignWidth="1920"
|
|
Foreground="White"
|
|
FontSize="15">
|
|
|
|
<UserControl.Resources>
|
|
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
<Setter Property="FontSize" Value="18" />
|
|
</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="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="Center" 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="18" 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="*"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Grid.Column="0" Grid.Row="0" VerticalAlignment="Center"/>
|
|
<StackPanel Grid.Column="1" Grid.Row="0" Background="#1157b9" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="POL" FontSize="15" FontWeight="Bold" Foreground="White" />
|
|
</StackPanel>
|
|
<StackPanel Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="3" Background="#1157b9" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
<TextBlock Text="ISO" FontSize="15" FontWeight="Bold" Foreground="White"/>
|
|
</StackPanel>
|
|
<Border Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
<TextBlock Text="输入压力" FontSize="15" Foreground="White"/>
|
|
</Border>
|
|
<WrapPanel Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White" />
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="输出压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="流量" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="g/s" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="g/s" FontSize="15" Foreground="White" />
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White" />
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="料位" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="%" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="%" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<Border Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="3" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9" >
|
|
<TextBlock Text="液压" FontSize="15" FontWeight="Bold" Foreground="White"/>
|
|
</Border>
|
|
<WrapPanel Grid.Column="0" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<Border Grid.Column="0" Grid.Row="9" Grid.ColumnSpan="3" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
|
<TextBlock Text="A枪" FontSize="15" FontWeight="Bold" Foreground="White"/>
|
|
</Border>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="状态" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="无料" FontSize="15" Margin="0 0 15 0" Foreground="White" Width="50"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="POL压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="POL温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="ISO压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="ISO温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" 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="2系统" FontSize="18" 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="*"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Grid.Column="0" Grid.Row="0" VerticalAlignment="Center"/>
|
|
<StackPanel Grid.Column="1" Grid.Row="0" Background="#1157b9" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="POL" FontSize="15" FontWeight="Bold" Foreground="White" />
|
|
</StackPanel>
|
|
<StackPanel Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="3" Background="#1157b9" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
<TextBlock Text="ISO" FontSize="15" FontWeight="Bold" Foreground="White"/>
|
|
</StackPanel>
|
|
<Border Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
<TextBlock Text="输入压力" FontSize="15" Foreground="White"/>
|
|
</Border>
|
|
<WrapPanel Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White" />
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="输出压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="流量" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="g/s" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="g/s" FontSize="15" Foreground="White" />
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White" />
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="料位" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="%" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="2" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="%" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<Border Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="3" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9" >
|
|
<TextBlock Text="液压" FontSize="15" FontWeight="Bold" Foreground="White"/>
|
|
</Border>
|
|
<WrapPanel Grid.Column="0" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="7" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.0" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<Border Grid.Column="0" Grid.Row="9" Grid.ColumnSpan="3" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="0" Background="#1157b9">
|
|
<TextBlock Text="A枪" FontSize="15" FontWeight="Bold" Foreground="White"/>
|
|
</Border>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="状态" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="10" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="无料" FontSize="15" Margin="0 0 15 0" Foreground="White" Width="50"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="POL压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="11" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="MPa" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="POL温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="12" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="ISO压力" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
|
|
<WrapPanel Grid.Column="0" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="ISO温度" FontSize="15" Foreground="White"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Column="1" Grid.Row="13" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
<TextBlock Text="0.00" FontSize="15" Margin="0 0 15 0" Foreground="Black" Width="50"/>
|
|
<TextBlock Text="℃" FontSize="15" 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 PlanInfoDataGrid}" Background="#00000000"
|
|
ColumnHeaderHeight="35" Height="{Binding Path=ActualHeight, ElementName=ScanPanel}"
|
|
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="auto" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding PlanCode}" Header="系统" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding MaterialBarCode}" Header="POL注料压力" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="ISO注料压力" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="POL注料温度" Width="2*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
|
<DataGridTextColumn Binding="{Binding EnterSpace}" Header="ISO注料温度" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding ExecDateTime ,StringFormat=\{0:MM-dd HH:mm\}}" Header="最后时间" Width="1.5*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding Status}" Header="状态" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<!--<DataGridTextColumn Binding="{Binding CompleteAmount}" Header="设备号" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>-->
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
|
|
</UserControl>
|