|
@ -15,7 +15,7 @@ |
|
|
BorderThickness="1,1,1,1" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" AllowDrop="False" |
|
|
BorderThickness="1,1,1,1" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" AllowDrop="False" |
|
|
CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" |
|
|
CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" |
|
|
CanUserAddRows="True" CanUserDeleteRows="False" HeadersVisibility ="Column" |
|
|
CanUserAddRows="True" CanUserDeleteRows="False" HeadersVisibility ="Column" |
|
|
Background="White" SelectionMode="Single" FontSize="15" TabIndex="1" Focusable="True" VerticalAlignment="Top" Height="300"> |
|
|
Background="White" SelectionMode="Single" FontSize="15" TabIndex="1" Focusable="True" VerticalAlignment="Top" Height="300" BorderBrush="Black"> |
|
|
<DataGrid.RowStyle > |
|
|
<DataGrid.RowStyle > |
|
|
<Style TargetType="{x:Type DataGridRow}"> |
|
|
<Style TargetType="{x:Type DataGridRow}"> |
|
|
<Setter Property="Height" Value="30" /> |
|
|
<Setter Property="Height" Value="30" /> |
|
@ -94,7 +94,7 @@ |
|
|
<!--列信息绑定--> |
|
|
<!--列信息绑定--> |
|
|
<DataGridTextColumn Binding="{Binding ProgramID}" Width="0" MinWidth="0" MaxWidth="0"/> |
|
|
<DataGridTextColumn Binding="{Binding ProgramID}" Width="0" MinWidth="0" MaxWidth="0"/> |
|
|
<DataGridTextColumn Binding="{Binding Program}" Width="0" MinWidth="0" MaxWidth="0"/> |
|
|
<DataGridTextColumn Binding="{Binding Program}" Width="0" MinWidth="0" MaxWidth="0"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.Step}" Binding="{Binding Step}" Width="60" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.Step}" Binding="{Binding Step}" Width="70" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.Code}" Width="0" MinWidth="0" MaxWidth="0" Binding="{Binding StepID}" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.Code}" Width="0" MinWidth="0" MaxWidth="0" Binding="{Binding StepID}" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.Directives}" Width="300" Binding="{Binding StepName}" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.Directives}" Width="300" Binding="{Binding StepName}" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.ParameterSet}" Width="*" Binding="{Binding ParameterName}" IsReadOnly="True"/> |
|
|
<DataGridTextColumn Header="{x:Static lang:Resources.ParameterSet}" Width="*" Binding="{Binding ParameterName}" IsReadOnly="True"/> |
|
@ -112,38 +112,59 @@ |
|
|
</DataGrid.Columns> |
|
|
</DataGrid.Columns> |
|
|
</DataGrid> |
|
|
</DataGrid> |
|
|
<TextBlock x:Name="log" HorizontalAlignment="Left" Margin="0,300,0,50" TextWrapping="Wrap" Width="700" FontSize="25" Background="White" Text="{Binding Sys_log}"/> |
|
|
<TextBlock x:Name="log" HorizontalAlignment="Left" Margin="0,300,0,50" TextWrapping="Wrap" Width="700" FontSize="25" Background="White" Text="{Binding Sys_log}"/> |
|
|
<StackPanel x:Name="scr" VerticalAlignment="Bottom" Height="50" Background="#FF00204E" Orientation="Horizontal"> |
|
|
<StackPanel x:Name="mt" VerticalAlignment="Bottom" Height="50" Background="#FF00204E" Orientation="Horizontal" Margin="0,0,0,0" Width="700" HorizontalAlignment="Left"> |
|
|
<ListViewItem Width="150" Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp"> |
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_DyeingMachine"> |
|
|
<StackPanel Orientation="Horizontal" Height="50" > |
|
|
<StackPanel Orientation="Horizontal" > |
|
|
|
|
|
<materialDesign:PackIcon Kind="CoffeeMachine" Width="25" Height="40" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
|
|
|
<TextBlock Text="{x:Static lang:Resources.DyeingMachine}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
</ListViewItem> |
|
|
|
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Conveyor"> |
|
|
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
|
|
<materialDesign:PackIcon Kind="Pipe" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
|
|
|
<TextBlock Text="{x:Static lang:Resources.Conveyor}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
</ListViewItem> |
|
|
|
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Receipt"> |
|
|
|
|
|
<StackPanel Orientation="Horizontal"> |
|
|
|
|
|
<materialDesign:PackIcon Kind="ReceiptText" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
|
|
|
<TextBlock Text="{x:Static lang:Resources.Receipt}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
</ListViewItem> |
|
|
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
|
|
|
|
<StackPanel x:Name="scr" VerticalAlignment="Bottom" Height="50" Background="#FF00204E" Orientation="Horizontal" Margin="700,0,0,0"> |
|
|
|
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Resume" IsEnabled="False" x:Name="Resume"> |
|
|
|
|
|
<StackPanel Orientation="Horizontal" > |
|
|
<materialDesign:PackIcon Kind="Resume" Width="25" Height="40" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<materialDesign:PackIcon Kind="Resume" Width="25" Height="40" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Resume}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Resume}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
</ListViewItem> |
|
|
</ListViewItem> |
|
|
<ListViewItem Height="50" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp"> |
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Paused" IsEnabled="False" x:Name="Paused"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<materialDesign:PackIcon Kind="Pause" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<materialDesign:PackIcon Kind="Pause" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Paused}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Paused}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
</ListViewItem> |
|
|
</ListViewItem> |
|
|
<ListViewItem Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp"> |
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Stop" IsEnabled="False" x:Name="Stop"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<materialDesign:PackIcon Kind="Stop" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<materialDesign:PackIcon Kind="Stop" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Stop}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Stop}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
</ListViewItem> |
|
|
</ListViewItem> |
|
|
<ListViewItem Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp"> |
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_edit" IsEnabled="False" x:Name="edit"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<materialDesign:PackIcon Kind="Edit" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<materialDesign:PackIcon Kind="Edit" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.edit}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.edit}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
</ListViewItem> |
|
|
</ListViewItem> |
|
|
<ListViewItem Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp"> |
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Insert" IsEnabled="False" x:Name="Insert"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<materialDesign:PackIcon Kind="InsertComment" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<materialDesign:PackIcon Kind="InsertInvitation" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Insert}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Insert}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
</StackPanel> |
|
|
</StackPanel> |
|
|
</ListViewItem> |
|
|
</ListViewItem> |
|
|
<ListViewItem Height="60" MouseLeftButtonUp="ListViewItem_MouseLeftButtonUp"> |
|
|
<ListViewItem Width="150" Height="50" MouseLeftButtonUp="ListViewItem_Delete" IsEnabled="False" x:Name="Delete"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<StackPanel Orientation="Horizontal"> |
|
|
<materialDesign:PackIcon Kind="Delete" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<materialDesign:PackIcon Kind="Delete" Width="25" Height="25" Margin="10" VerticalAlignment="Center" Foreground="#FF1368BD"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Delete}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|
<TextBlock Text="{x:Static lang:Resources.Delete}" VerticalAlignment="Center" Margin="20 10" Foreground="White"/> |
|
|