|
|
@ -6,11 +6,73 @@
|
|
|
|
xmlns:local="clr-namespace:Aucma.Scada.UI.Page.AssemblyPlan"
|
|
|
|
xmlns:local="clr-namespace:Aucma.Scada.UI.Page.AssemblyPlan"
|
|
|
|
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
|
|
|
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
|
|
|
xmlns:local1="clr-namespace:Aucma.Scada.UI.Converter.AssemblyPlan"
|
|
|
|
xmlns:local1="clr-namespace:Aucma.Scada.UI.Converter.AssemblyPlan"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
mc:Ignorable="d" FontFamily="Microsoft YaHei" Background="#1152AC"
|
|
|
|
d:DesignHeight="750" d:DesignWidth="1920" Background="Transparent">
|
|
|
|
d:DesignHeight="750" d:DesignWidth="1920" >
|
|
|
|
<Control.Resources>
|
|
|
|
<UserControl.Resources>
|
|
|
|
<local1:PlanStatusConverter x:Key="PlanStatusConverter" />
|
|
|
|
<local1:PlanStatusConverter x:Key="PlanStatusConverter" />
|
|
|
|
</Control.Resources>
|
|
|
|
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
|
|
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
|
|
|
|
|
<Setter Property="FontSize" Value="20"/>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style TargetType="DataGrid">
|
|
|
|
|
|
|
|
<!--网格线颜色-->
|
|
|
|
|
|
|
|
<Setter Property="CanUserResizeColumns" Value="false"/>
|
|
|
|
|
|
|
|
<Setter Property="Background" Value="#1152AC" />
|
|
|
|
|
|
|
|
<Setter Property="BorderBrush" Value="#4285DE" />
|
|
|
|
|
|
|
|
<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="VerticalContentAlignment" Value="Center"/>-->
|
|
|
|
|
|
|
|
<!--<Setter Property="Background" Value="#dddddd"/>
|
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="Black"/>-->
|
|
|
|
|
|
|
|
<!--<Setter Property="BorderThickness" Value="1" />-->
|
|
|
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
|
|
|
|
|
|
<Setter Property="BorderBrush" Value="#4285DE" />
|
|
|
|
|
|
|
|
<Setter Property="Height" Value="40"/>
|
|
|
|
|
|
|
|
<Setter Property="FontSize" Value="18"/>
|
|
|
|
|
|
|
|
<Setter Property="Background" Value="#4285DE"/>
|
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="White"/>
|
|
|
|
|
|
|
|
<Setter Property="FontFamily" Value="Microsoft YaHei"/>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--单元格样式-->
|
|
|
|
|
|
|
|
<Style TargetType="DataGridCell">
|
|
|
|
|
|
|
|
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
|
|
|
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
|
|
|
|
<Setter Property="BorderBrush" Value="#4285DE" />
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding ExecuteStatus}" Value="2">
|
|
|
|
|
|
|
|
<Setter Property="Background" Value="Green" />
|
|
|
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
<Grid Margin="5,5">
|
|
|
|
<Grid Margin="5,5">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
@ -54,28 +116,28 @@
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<TextBlock Text="工位名称" FontSize="15" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBlock Text="工位名称" FontSize="20" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBox FontSize="15" Text="{Binding StationName}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
<TextBox Style="{StaticResource TextBoxStyle}" FontSize="20" Text="{Binding StationName}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<TextBlock Text="订单编号" FontSize="15" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBlock Text="订单编号" FontSize="20" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBox FontSize="15" Text="{Binding OrderCode}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
<TextBox Style="{StaticResource TextBoxStyle}" FontSize="20" Text="{Binding OrderCode}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="2" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<StackPanel Grid.Row="2" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<TextBlock Text="计划编号" FontSize="15" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBlock Text="计划编号" FontSize="20" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBox FontSize="15" Text="{Binding PlanCode}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
<TextBox Style="{StaticResource TextBoxStyle}" FontSize="20" Text="{Binding PlanCode}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="3" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<StackPanel Grid.Row="3" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<TextBlock Text="产品型号" FontSize="15" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBlock Text="产品型号" FontSize="20" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBox FontSize="15" Text="{Binding ProductModel}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
<TextBox Style="{StaticResource TextBoxStyle}" FontSize="20" Text="{Binding ProductModel}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="4" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<StackPanel Grid.Row="4" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
|
|
|
|
<TextBlock Text="开始时间" FontSize="15" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBlock Text="开始时间" FontSize="20" Foreground= "#FFFFFF"/>
|
|
|
|
<TextBox FontSize="15" Text="{Binding BeginTime}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
<TextBox Style="{StaticResource TextBoxStyle}" FontSize="20" Text="{Binding BeginTime}" Foreground= "#FFFFFF" Width="200" IsReadOnly="True" Margin="30,0,0,0"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
@ -98,7 +160,7 @@
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<TextBlock Text="计划数量" FontSize="15" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
<TextBlock Text="计划数量" FontSize="20" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding PlanAmount}" Foreground="#0288d1"/>
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding PlanAmount}" Foreground="#0288d1"/>
|
|
|
@ -113,7 +175,7 @@
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<TextBlock Text="实际数量" FontSize="15" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
<TextBlock Text="实际数量" FontSize="20" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding ComplateAmout}" Foreground="#0288d1"/>
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding ComplateAmout}" Foreground="#0288d1"/>
|
|
|
@ -128,7 +190,7 @@
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<TextBlock Text="差异数量" FontSize="15" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
<TextBlock Text="差异数量" FontSize="20" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding DiffAmount}" Foreground="#0288d1"/>
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding DiffAmount}" Foreground="#0288d1"/>
|
|
|
@ -143,7 +205,7 @@
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
<RowDefinition Height="7*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="0" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<TextBlock Text="完成率" FontSize="15" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
<TextBlock Text="完成率" FontSize="20" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding CompleRoution}" Foreground="#0288d1"/>
|
|
|
|
<lvc:Gauge Margin="5" Uses360Mode="True" From="0" To="100" Value="{Binding CompleRoution}" Foreground="#0288d1"/>
|
|
|
@ -178,10 +240,20 @@
|
|
|
|
<Grid Margin="10,10">
|
|
|
|
<Grid Margin="10,10">
|
|
|
|
<lvc:CartesianChart Series="{Binding Achievement, UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
<lvc:CartesianChart Series="{Binding Achievement, UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
<lvc:CartesianChart.AxisX>
|
|
|
|
<lvc:CartesianChart.AxisX>
|
|
|
|
<lvc:Axis Labels="{Binding ProductionHourList}" FontSize="15"/>
|
|
|
|
<lvc:Axis Labels="{Binding ProductionHourList}" FontSize="20">
|
|
|
|
|
|
|
|
<lvc:Axis.Separator>
|
|
|
|
|
|
|
|
<lvc:Separator Visibility="Hidden" StrokeThickness="1.5" StrokeDashArray="0" Stroke="#404F56" >
|
|
|
|
|
|
|
|
</lvc:Separator>
|
|
|
|
|
|
|
|
</lvc:Axis.Separator>
|
|
|
|
|
|
|
|
</lvc:Axis>
|
|
|
|
</lvc:CartesianChart.AxisX>
|
|
|
|
</lvc:CartesianChart.AxisX>
|
|
|
|
<lvc:CartesianChart.AxisY>
|
|
|
|
<lvc:CartesianChart.AxisY>
|
|
|
|
<lvc:Axis FontSize="15"/>
|
|
|
|
<lvc:Axis FontSize="20">
|
|
|
|
|
|
|
|
<lvc:Axis.Separator>
|
|
|
|
|
|
|
|
<lvc:Separator Visibility="Hidden" StrokeThickness="1" StrokeDashArray="3" Stroke="#404F56" >
|
|
|
|
|
|
|
|
</lvc:Separator>
|
|
|
|
|
|
|
|
</lvc:Axis.Separator>
|
|
|
|
|
|
|
|
</lvc:Axis>
|
|
|
|
</lvc:CartesianChart.AxisY>
|
|
|
|
</lvc:CartesianChart.AxisY>
|
|
|
|
</lvc:CartesianChart>
|
|
|
|
</lvc:CartesianChart>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
@ -214,20 +286,20 @@
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
<DataGrid Grid.Row="0" ItemsSource="{Binding PlanInfoDataGrid}" Background="Transparent"
|
|
|
|
<DataGrid Grid.Row="0" ItemsSource="{Binding PlanInfoDataGrid}" Background="Transparent"
|
|
|
|
FontSize="15" ColumnHeaderHeight="35"
|
|
|
|
FontSize="20" ColumnHeaderHeight="35"
|
|
|
|
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
|
|
RowHeight="31" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden" BorderThickness="0" CanUserAddRows="False"
|
|
|
|
Foreground="#FFFFFF" >
|
|
|
|
Foreground="#FFFFFF" >
|
|
|
|
<!--resourceStyle 399行修改选中字体颜色-->
|
|
|
|
<!--resourceStyle 399行修改选中字体颜色-->
|
|
|
|
<DataGrid.Columns>
|
|
|
|
<DataGrid.Columns>
|
|
|
|
<DataGridTextColumn Binding="{Binding executePlanCode}" Header="计划编号" Width="1*" IsReadOnly="True"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding executePlanCode}" Header="计划编号" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
<!--<DataGridTextColumn Binding="{Binding productPlanCode}" Header="生产计划" Width="1*" IsReadOnly="True"/>-->
|
|
|
|
<!--<DataGridTextColumn Binding="{Binding productPlanCode}" Header="生产计划" Width="1*" IsReadOnly="True"/>-->
|
|
|
|
<DataGridTextColumn Binding="{Binding materialName}" Header="产品型号" Width="1*" IsReadOnly="True"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding materialName}" Header="产品型号" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding planAmount}" Header="计划数量" Width="1*" IsReadOnly="True"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding planAmount}" Header="计划数量" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding completeAmount}" Header="完成数量" Width="1*" IsReadOnly="True"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding completeAmount}" Header="完成数量" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding beginTime ,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="开始时间" Width="1*" IsReadOnly="True"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding beginTime ,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="开始时间" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding executeStatus,Converter={StaticResource PlanStatusConverter}}" Header="执行状态" Width="1*" IsReadOnly="True"/>
|
|
|
|
<DataGridTextColumn Binding="{Binding executeStatus,Converter={StaticResource PlanStatusConverter}}" Header="执行状态" Width="1*" IsReadOnly="True" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
<!--<DataGridTextColumn Binding="{Binding endTime ,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="完成时间" Width="1*" IsReadOnly="True"/>-->
|
|
|
|
<!--<DataGridTextColumn Binding="{Binding endTime ,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="完成时间" Width="1*" IsReadOnly="True"/>-->
|
|
|
|
<!--<DataGridTextColumn Binding="{Binding createdTime ,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="创建时间" Width="1*" IsReadOnly="True"/>-->
|
|
|
|
<!--<DataGridTextColumn Binding="{Binding createdTime ,StringFormat=\{0:MM月dd日 HH:mm\}}" Header="创建时间" Width="1*" IsReadOnly="True"/>-->
|
|
|
|
<DataGridTemplateColumn Header="操作" Width="2*">
|
|
|
|
<DataGridTemplateColumn Header="操作" Width="2*">
|
|
|
@ -249,13 +321,13 @@
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0,0,0,1">
|
|
|
|
<Border Grid.Row="1" BorderBrush="CadetBlue" BorderThickness="0,0,0,1">
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,20,0">
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,20,0">
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Text="执行方式" VerticalAlignment="Center" Foreground= "#FFFFFF" FontSize="15" Margin="20,0,0,0"/>
|
|
|
|
<TextBlock Text="执行方式" VerticalAlignment="Center" Foreground= "#FFFFFF" FontSize="20" Margin="20,0,0,0"/>
|
|
|
|
<ComboBox Text="{Binding MaterialTypeCombox}" Width="200" Height="25" Margin="10 0 0 0" Foreground="Black" VerticalAlignment="Center" FontSize="15">
|
|
|
|
<ComboBox Text="{Binding MaterialTypeCombox}" Width="200" Height="25" Margin="10 0 0 0" Foreground="Black" VerticalAlignment="Center" FontSize="20">
|
|
|
|
<ComboBoxItem Content="手动" IsSelected="True"/>
|
|
|
|
<ComboBoxItem Content="手动" IsSelected="True"/>
|
|
|
|
<ComboBoxItem Content="自动" />
|
|
|
|
<ComboBoxItem Content="自动" />
|
|
|
|
</ComboBox>
|
|
|
|
</ComboBox>
|
|
|
|
<Button Content="计划维护" Command="{Binding PlanInfoEditCommand}" Style="{StaticResource BUTTON_AGREE}" Background="#007DFA" BorderBrush="#007DFA" Width="80" Height="30" Margin="20,0,0,0"/>
|
|
|
|
<Button Content="计划创建" Command="{Binding PlanInfoEditCommand}" Style="{StaticResource BUTTON_AGREE}" Background="#007DFA" Margin="20,0,0,0" FontSize="18" Height="40" BorderThickness="1" />
|
|
|
|
<Button Content="物料库存" Command="{Binding MaterialStatisticsCommand}" Style="{StaticResource BUTTON_AGREE}" Background="#007DFA" BorderBrush="#007DFA" Width="80" Height="30" Margin="20,0,0,0"/>
|
|
|
|
<Button Content="物料库存" Command="{Binding MaterialStatisticsCommand}" Style="{StaticResource BUTTON_AGREE}" Background="#007DFA" Margin="20,0,0,0" FontSize="18" Height="40" BorderThickness="1" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
@ -284,10 +356,20 @@
|
|
|
|
<Grid Margin="10,10">
|
|
|
|
<Grid Margin="10,10">
|
|
|
|
<lvc:CartesianChart Series="{Binding ModelStatistics, UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
<lvc:CartesianChart Series="{Binding ModelStatistics, UpdateSourceTrigger=PropertyChanged}">
|
|
|
|
<lvc:CartesianChart.AxisX>
|
|
|
|
<lvc:CartesianChart.AxisX>
|
|
|
|
<lvc:Axis Labels="{Binding MaterialNameList}" FontSize="15"/>
|
|
|
|
<lvc:Axis Labels="{Binding MaterialNameList}" FontSize="20">
|
|
|
|
|
|
|
|
<lvc:Axis.Separator>
|
|
|
|
|
|
|
|
<lvc:Separator Visibility="Hidden" StrokeThickness="1.5" StrokeDashArray="0" Stroke="#404F56" >
|
|
|
|
|
|
|
|
</lvc:Separator>
|
|
|
|
|
|
|
|
</lvc:Axis.Separator>
|
|
|
|
|
|
|
|
</lvc:Axis>
|
|
|
|
</lvc:CartesianChart.AxisX>
|
|
|
|
</lvc:CartesianChart.AxisX>
|
|
|
|
<lvc:CartesianChart.AxisY>
|
|
|
|
<lvc:CartesianChart.AxisY>
|
|
|
|
<lvc:Axis FontSize="15"/>
|
|
|
|
<lvc:Axis FontSize="20">
|
|
|
|
|
|
|
|
<lvc:Axis.Separator>
|
|
|
|
|
|
|
|
<lvc:Separator Visibility="Hidden" StrokeThickness="1" StrokeDashArray="3" Stroke="#404F56" >
|
|
|
|
|
|
|
|
</lvc:Separator>
|
|
|
|
|
|
|
|
</lvc:Axis.Separator>
|
|
|
|
|
|
|
|
</lvc:Axis>
|
|
|
|
</lvc:CartesianChart.AxisY>
|
|
|
|
</lvc:CartesianChart.AxisY>
|
|
|
|
</lvc:CartesianChart>
|
|
|
|
</lvc:CartesianChart>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|