2023-12-01 15:18:22 +08:00
|
|
|
|
<UserControl
|
|
|
|
|
x:Class="MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory.ProcessHistoryInfMessageBoxView"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
|
|
|
xmlns:local="clr-namespace:MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:micro="clr-namespace:Caliburn.Micro"
|
|
|
|
|
d:DesignHeight="650"
|
|
|
|
|
d:DesignWidth="800"
|
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
<Grid Margin="5">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<DataGrid
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
AlternationCount="2"
|
|
|
|
|
AutoGenerateColumns="False"
|
|
|
|
|
CanUserAddRows="False"
|
|
|
|
|
FontSize="14"
|
|
|
|
|
IsReadOnly="True"
|
|
|
|
|
ItemsSource="{Binding RecipeProcessHistoryDataList}"
|
|
|
|
|
SelectedItem="{Binding RecipeProcessHistoryData}">
|
|
|
|
|
<DataGrid.CellStyle>
|
|
|
|
|
<Style TargetType="DataGridCell">
|
|
|
|
|
<Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Content.Text}" />
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.CellStyle>
|
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="MouseDoubleClick">
|
|
|
|
|
<micro:ActionMessage MethodName="DoubleClickItem" />
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="160"
|
|
|
|
|
Binding="{Binding BeginTime}"
|
|
|
|
|
Header="Start Time" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="80"
|
|
|
|
|
Binding="{Binding EndTime}"
|
|
|
|
|
Header="End Time" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="80"
|
|
|
|
|
Binding="{Binding Status}"
|
|
|
|
|
Header="Status" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="Auto"
|
|
|
|
|
Binding="{Binding Name}"
|
|
|
|
|
Header="Recipe Name" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
|
|
|
|
|
</DataGrid>
|
|
|
|
|
<StackPanel
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
Margin="0,10,0,0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<Button
|
|
|
|
|
Width="90"
|
|
|
|
|
Height="30"
|
|
|
|
|
Content="OK">
|
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
|
|
<micro:ActionMessage MethodName="OK" />
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button
|
|
|
|
|
Width="90"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="10,0,0,0"
|
|
|
|
|
Content="Cancel">
|
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
|
|
<micro:ActionMessage MethodName="Cancel" />
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</Button>
|
2023-12-11 15:21:53 +08:00
|
|
|
|
<ComboBox
|
|
|
|
|
Width="80"
|
|
|
|
|
Height="30"
|
|
|
|
|
Margin="20,0"
|
|
|
|
|
ItemsSource="{Binding StepModelList}"
|
2023-12-14 16:53:43 +08:00
|
|
|
|
SelectedItem="{Binding StepModel,UpdateSourceTrigger=PropertyChanged}"
|
2023-12-11 15:21:53 +08:00
|
|
|
|
ToolTip="选择需要显示的Step,All表示:显示全部,*表示:筛选出Step名称中含有*" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-01 15:18:22 +08:00
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|