2024-03-27 13:49:16 +00:00
|
|
|
<UserControl x:Class="InSituLaboratory.Views.Pages.SequentialDistributionView"
|
|
|
|
|
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:InSituLaboratory.Views.Pages"
|
2024-04-09 08:17:44 +00:00
|
|
|
xmlns:c="clr-namespace:InSituLaboratory.Controls;assembly=InSituLaboratory.Controls"
|
|
|
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
2024-03-27 13:49:16 +00:00
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
2024-06-17 10:12:16 +00:00
|
|
|
|
2024-03-27 13:49:16 +00:00
|
|
|
<UserControl.Resources>
|
2024-04-09 08:17:44 +00:00
|
|
|
<ResourceDictionary>
|
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
|
|
|
|
|
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
|
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
|
|
|
|
|
|
<Style TargetType="{x:Type RadioButton}" x:Key="TopTabButtonStyle">
|
|
|
|
|
<Setter Property="Height" Value="33"/>
|
|
|
|
|
<Setter Property="Foreground" Value="#555"/>
|
|
|
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="{x:Type RadioButton}">
|
|
|
|
|
<Grid Background="Transparent">
|
|
|
|
|
<ContentPresenter VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsChecked" Value="True">
|
|
|
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<ControlTemplate TargetType="CheckBox" x:Key="LastMonthButtonTemplate">
|
|
|
|
|
<Border Background="#f8f8f8" CornerRadius="8" Name="back">
|
|
|
|
|
<TextBlock Text="{Binding Content,RelativeSource={RelativeSource AncestorType=CheckBox ,Mode=FindAncestor}}"
|
|
|
|
|
VerticalAlignment="Center" HorizontalAlignment="Center"
|
|
|
|
|
Margin="10,4" Name="txt"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsChecked" Value="True">
|
|
|
|
|
<Setter Property="Background" Value="#FFF05005" TargetName="back"/>
|
|
|
|
|
<Setter Property="TextBlock.Foreground" Value="White" TargetName="txt"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</ResourceDictionary>
|
2024-03-27 13:49:16 +00:00
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
|
|
<ScrollViewer>
|
2024-04-09 08:17:44 +00:00
|
|
|
<Grid Margin="5">
|
2024-03-27 13:49:16 +00:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
2024-06-17 10:12:16 +00:00
|
|
|
<RowDefinition Height="auto"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<!--当前运行时序状态-->
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Background="#FAFCFF" Margin="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="当前运行时序状态" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="1" Text="时序1状态:" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#00BFFF" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="2" Text="{Binding CurrentSequentiual.Sequentiual1Status}" FontSize="15" Margin="15,0" FontWeight="Normal" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="3" Text="时序2状态:" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#00BFFF" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="4" Text="{Binding CurrentSequentiual.Sequentiual2Status}" FontSize="15" Margin="15,0" FontWeight="Normal" VerticalAlignment="Center" />
|
|
|
|
|
<Button Grid.Column="5" Content="刷新" Style="{StaticResource NormalButtonStyle}" Command="{Binding RefreshCommand}" Width="60" Margin="5,0" Background="#88409EFE"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Row="1" Margin="0,20,0,0">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Grid.Column="1" Text="时序3状态:" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#00BFFF" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="2" Text="{Binding CurrentSequentiual.Sequentiual3Status}" FontSize="15" Margin="15,0" FontWeight="Normal" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="3" Text="时序4状态:" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#00BFFF" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="4" Text="{Binding CurrentSequentiual.Sequentiual4Status}" FontSize="15" Margin="15,0" FontWeight="Normal" VerticalAlignment="Center" />
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Row="2" Margin="0,20,0,0">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Grid.Column="1" Text="时序5状态:" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#00BFFF" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="2" Text="{Binding CurrentSequentiual.Sequentiual5Status}" FontSize="15" Margin="15,0" FontWeight="Normal" VerticalAlignment="Center" />
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--时序1-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<Grid Grid.Row="1">
|
2024-03-27 13:49:16 +00:00
|
|
|
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Background="#FAFCFF" Margin="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
2024-04-09 08:17:44 +00:00
|
|
|
<RowDefinition Height="60"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<!--列头-->
|
|
|
|
|
<Border Background="#EFEFEF" Height="1" VerticalAlignment="Bottom"/>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--开始和结束时间-->
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" >
|
2024-04-30 00:57:08 +00:00
|
|
|
<TextBlock Text="时序 1" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,3" hc:InfoElement.Title="开始时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime1,Mode=TwoWay}"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,5" hc:InfoElement.Title="结束时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime1,Mode=TwoWay}"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--刷新 新建 下发-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
<!--刷新按钮-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding sequentStatusModel.Status1,Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Foreground="#EE6363"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
<Button Content="刷新" Style="{StaticResource NormalButtonStyle}" Command="{Binding RefreshS1Command}" Width="60" Margin="5,0" Background="#88409EFE"/>
|
|
|
|
|
<Button Content="新建" Style="{StaticResource IconWithContentButtonStyle}" Command="{Binding ModifyS1Command}" Tag="" >
|
2024-03-27 13:49:16 +00:00
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
|
|
|
|
|
<GradientStop Color="#FE582D" Offset="0"/>
|
|
|
|
|
<GradientStop Color="#F1961A" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
2024-06-19 02:19:37 +00:00
|
|
|
<Button Content="下发" Style="{StaticResource NormalButtonStyle}" Command="{Binding SendS1Command}" Width="60" Margin="5,0" Background="#FFA07A"/>
|
|
|
|
|
<Button Content="启动" Style="{StaticResource NormalButtonStyle}" Command="{Binding BeginS1Command}" Width="60" Margin="5,0" Background="#9400D3"/>
|
|
|
|
|
<Button Content="暂停" Style="{StaticResource NormalButtonStyle}" Command="{Binding SuspendS1Command}" Width="60" Margin="5,0" Background="#CDC0B0"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--数据源-->
|
2024-03-30 00:17:37 +00:00
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
2024-04-09 08:17:44 +00:00
|
|
|
<RowDefinition Height="40"/>
|
2024-03-30 00:17:37 +00:00
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2024-04-30 00:57:08 +00:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
|
2024-03-30 00:17:37 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-10 09:50:54 +00:00
|
|
|
<ColumnDefinition/>
|
2024-03-30 00:17:37 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="子时序号" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备编号(以下设备同一配置依次运行)" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备工作时间(s)" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="子序列循环间隔时长(s)" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="操作" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-03-30 00:17:37 +00:00
|
|
|
</Grid>
|
2024-03-27 13:49:16 +00:00
|
|
|
|
2024-04-30 00:57:08 +00:00
|
|
|
<ListBox Grid.Row="1" Background="Transparent" BorderThickness="0" ItemsSource="{Binding sysSequentialDetailsListS1}" Margin="0,10">
|
2024-03-30 00:17:37 +00:00
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
|
|
|
<Border Background="Transparent" Name="border">
|
|
|
|
|
<ContentPresenter/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
|
|
|
|
|
<Grid >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-11 09:49:43 +00:00
|
|
|
<ColumnDefinition/>
|
2024-03-30 00:17:37 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-03-30 00:17:37 +00:00
|
|
|
|
|
|
|
|
<!--操作-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
2024-03-30 00:17:37 +00:00
|
|
|
<TextBlock VerticalAlignment="Center">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.ModifyS1Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-09 08:17:44 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
|
2024-03-30 00:17:37 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="5,3">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.DeleteS1Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
|
2024-03-30 00:17:37 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
</ListBox>
|
|
|
|
|
</Grid>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--时序2-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<Grid Grid.Row="2">
|
2024-03-27 13:49:16 +00:00
|
|
|
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Background="#FAFCFF" Margin="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
2024-04-09 08:17:44 +00:00
|
|
|
<RowDefinition Height="60"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<!--列头-->
|
|
|
|
|
<Border Background="#EFEFEF" Height="1" VerticalAlignment="Bottom"/>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--开始和结束时间-->
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" >
|
2024-04-30 00:57:08 +00:00
|
|
|
<TextBlock Text="时序 2" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,3" hc:InfoElement.Title="开始时间:" Foreground="Black" FontSize="14" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime2,Mode=TwoWay}"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,5" hc:InfoElement.Title="结束时间:" Foreground="Black" FontSize="14" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime2,Mode=TwoWay}"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--刷新 新建 下发-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
<!--刷新按钮-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding sequentStatusModel.Status2,Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Foreground="#EE6363"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
<Button Content="刷新" Style="{StaticResource NormalButtonStyle}" Command="{Binding RefreshS2Command}" Width="60" Margin="5,0" Background="#88409EFE"/>
|
|
|
|
|
<Button Content="新建" Style="{StaticResource IconWithContentButtonStyle}" Command="{Binding ModifyS2Command}" Tag="" >
|
2024-03-27 13:49:16 +00:00
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
|
|
|
|
|
<GradientStop Color="#FE582D" Offset="0"/>
|
|
|
|
|
<GradientStop Color="#F1961A" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
2024-06-19 02:19:37 +00:00
|
|
|
<Button Content="下发" Style="{StaticResource NormalButtonStyle}" Command="{Binding SendS2Command}" Width="60" Margin="5,0" Background="#FFA07A"/>
|
|
|
|
|
<Button Content="启动" Style="{StaticResource NormalButtonStyle}" Command="{Binding BeginS2Command}" Width="60" Margin="5,0" Background="#9400D3"/>
|
|
|
|
|
<Button Content="暂停" Style="{StaticResource NormalButtonStyle}" Command="{Binding SuspendS2Command}" Width="60" Margin="5,0" Background="#CDC0B0"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
|
|
|
|
|
<!--数据源-->
|
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2024-04-30 00:57:08 +00:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
|
2024-04-09 08:17:44 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="子时序号" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备编号(以下设备同一配置依次运行)" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备工作时间(s)" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="子序列循环间隔时长(s)" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="操作" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<ListBox Grid.Row="1" Background="Transparent" BorderThickness="0" ItemsSource="{Binding sysSequentialDetailsListS2}" Margin="0,10">
|
|
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
|
|
|
<Border Background="Transparent" Name="border">
|
|
|
|
|
<ContentPresenter/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
|
|
|
|
|
<Grid >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
|
|
|
|
<!--操作-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
2024-04-09 08:17:44 +00:00
|
|
|
<TextBlock VerticalAlignment="Center">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.ModifyS2Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="5,3">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.DeleteS2Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
</ListBox>
|
|
|
|
|
</Grid>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--时序3-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<Grid Grid.Row="3">
|
2024-03-27 13:49:16 +00:00
|
|
|
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Background="#FAFCFF" Margin="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
2024-04-09 08:17:44 +00:00
|
|
|
<RowDefinition Height="60"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<!--列头-->
|
|
|
|
|
<Border Background="#EFEFEF" Height="1" VerticalAlignment="Bottom"/>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--开始和结束时间-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
|
2024-04-30 00:57:08 +00:00
|
|
|
<TextBlock Text="时序 3" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,3" hc:InfoElement.Title="开始时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime3,Mode=TwoWay}"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,5" hc:InfoElement.Title="结束时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime3,Mode=TwoWay}"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--刷新 新建 下发-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
<!--刷新按钮-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding sequentStatusModel.Status3,Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Foreground="#EE6363"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
<Button Content="刷新" Style="{StaticResource NormalButtonStyle}" Command="{Binding RefreshS3Command}" Width="60" Margin="5,0" Background="#88409EFE"/>
|
|
|
|
|
<Button Content="新建" Style="{StaticResource IconWithContentButtonStyle}" Command="{Binding ModifyS3Command}" Tag="" >
|
2024-03-27 13:49:16 +00:00
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
|
|
|
|
|
<GradientStop Color="#FE582D" Offset="0"/>
|
|
|
|
|
<GradientStop Color="#F1961A" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
2024-06-19 02:19:37 +00:00
|
|
|
<Button Content="下发" Style="{StaticResource NormalButtonStyle}" Command="{Binding SendS3Command}" Width="60" Margin="5,0" Background="#FFA07A"/>
|
|
|
|
|
<Button Content="启动" Style="{StaticResource NormalButtonStyle}" Command="{Binding BeginS3Command}" Width="60" Margin="5,0" Background="#9400D3"/>
|
|
|
|
|
<Button Content="暂停" Style="{StaticResource NormalButtonStyle}" Command="{Binding SuspendS3Command}" Width="60" Margin="5,0" Background="#CDC0B0"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--数据源-->
|
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2024-04-30 00:57:08 +00:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
|
2024-04-09 08:17:44 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="子时序号" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备编号(以下设备同一配置依次运行)" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备工作时间(s)" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="子序列循环间隔时长(s)" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="操作" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<ListBox Grid.Row="1" Background="Transparent" BorderThickness="0" ItemsSource="{Binding sysSequentialDetailsListS3}" Margin="0,10">
|
|
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
|
|
|
<Border Background="Transparent" Name="border">
|
|
|
|
|
<ContentPresenter/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
|
|
|
|
|
<Grid >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
|
|
|
|
<!--操作-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
2024-04-09 08:17:44 +00:00
|
|
|
<TextBlock VerticalAlignment="Center">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.ModifyS3Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="5,3">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.DeleteS3Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
</ListBox>
|
|
|
|
|
</Grid>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--时序4-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<Grid Grid.Row="4">
|
2024-03-27 13:49:16 +00:00
|
|
|
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Background="#FAFCFF" Margin="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
2024-04-09 08:17:44 +00:00
|
|
|
<RowDefinition Height="60"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<!--列头-->
|
|
|
|
|
<Border Background="#EFEFEF" Height="1" VerticalAlignment="Bottom"/>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--开始和结束时间-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
|
2024-04-30 00:57:08 +00:00
|
|
|
<TextBlock Text="时序 4" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,3" hc:InfoElement.Title="开始时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime4,Mode=TwoWay}"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,5" hc:InfoElement.Title="结束时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime4,Mode=TwoWay}"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--刷新 新建 下发-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
<!--刷新按钮-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding sequentStatusModel.Status4,Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Foreground="#EE6363"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
<Button Content="刷新" Style="{StaticResource NormalButtonStyle}" Command="{Binding RefreshS4Command}" Width="60" Margin="5,0" Background="#88409EFE"/>
|
|
|
|
|
<Button Content="新建" Style="{StaticResource IconWithContentButtonStyle}" Command="{Binding ModifyS4Command}" Tag="" >
|
2024-03-27 13:49:16 +00:00
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
|
|
|
|
|
<GradientStop Color="#FE582D" Offset="0"/>
|
|
|
|
|
<GradientStop Color="#F1961A" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
2024-06-19 02:19:37 +00:00
|
|
|
<Button Content="下发" Style="{StaticResource NormalButtonStyle}" Command="{Binding SendS4Command}" Width="60" Margin="5,0" Background="#FFA07A"/>
|
|
|
|
|
<Button Content="启动" Style="{StaticResource NormalButtonStyle}" Command="{Binding BeginS4Command}" Width="60" Margin="5,0" Background="#9400D3"/>
|
|
|
|
|
<Button Content="暂停" Style="{StaticResource NormalButtonStyle}" Command="{Binding SuspendS4Command}" Width="60" Margin="5,0" Background="#CDC0B0"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--数据源-->
|
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2024-04-30 00:57:08 +00:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
|
2024-04-09 08:17:44 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="子时序号" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备编号(以下设备同一配置依次运行)" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备工作时间(s)" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="子序列循环间隔时长(s)" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="操作" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<ListBox Grid.Row="1" Background="Transparent" BorderThickness="0" ItemsSource="{Binding sysSequentialDetailsListS4}" Margin="0,10">
|
|
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
|
|
|
<Border Background="Transparent" Name="border">
|
|
|
|
|
<ContentPresenter/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
|
|
|
|
|
<Grid >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
|
|
|
|
<!--操作-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
2024-04-09 08:17:44 +00:00
|
|
|
<TextBlock VerticalAlignment="Center">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.ModifyS4Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="5,3">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.DeleteS4Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
</ListBox>
|
|
|
|
|
</Grid>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--时序5-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<Grid Grid.Row="5">
|
2024-03-27 13:49:16 +00:00
|
|
|
<Border CornerRadius="5" Background="#FAFCFF" Margin="10">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
|
|
|
|
|
</Border.Effect>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Background="#FAFCFF" Margin="20">
|
|
|
|
|
<Grid.RowDefinitions>
|
2024-04-09 08:17:44 +00:00
|
|
|
<RowDefinition Height="60"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<!--列头-->
|
|
|
|
|
<Border Background="#EFEFEF" Height="1" VerticalAlignment="Bottom"/>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--开始和结束时间-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
|
2024-04-30 00:57:08 +00:00
|
|
|
<TextBlock Text="时序 5" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,3" hc:InfoElement.Title="开始时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime5,Mode=TwoWay}"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-06-17 10:12:16 +00:00
|
|
|
<hc:DateTimePicker hc:InfoElement.ShowClearButton="True" hc:InfoElement.TitleWidth="100" hc:InfoElement.TitlePlacement="Left" Style="{StaticResource DateTimePickerPlus}" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,5" hc:InfoElement.Title="结束时间:" Foreground="Black" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime5,Mode=TwoWay}"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--刷新 新建 下发-->
|
2024-03-27 13:49:16 +00:00
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
|
<!--刷新按钮-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding sequentStatusModel.Status5,Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Foreground="#EE6363"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
<Button Content="刷新" Style="{StaticResource NormalButtonStyle}" Command="{Binding RefreshS5Command}" Width="60" Margin="5,0" Background="#88409EFE"/>
|
|
|
|
|
<Button Content="新建" Style="{StaticResource IconWithContentButtonStyle}" Command="{Binding ModifyS5Command}" Tag="" >
|
2024-03-27 13:49:16 +00:00
|
|
|
<Button.Background>
|
|
|
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
|
|
|
|
|
<GradientStop Color="#FE582D" Offset="0"/>
|
|
|
|
|
<GradientStop Color="#F1961A" Offset="1"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Button.Background>
|
|
|
|
|
</Button>
|
2024-06-19 02:19:37 +00:00
|
|
|
<Button Content="下发" Style="{StaticResource NormalButtonStyle}" Command="{Binding SendS5Command}" Width="60" Margin="5,0" Background="#FFA07A"/>
|
|
|
|
|
<Button Content="启动" Style="{StaticResource NormalButtonStyle}" Command="{Binding BeginS5Command}" Width="60" Margin="5,0" Background="#9400D3"/>
|
|
|
|
|
<Button Content="暂停" Style="{StaticResource NormalButtonStyle}" Command="{Binding SuspendS5Command}" Width="60" Margin="5,0" Background="#CDC0B0"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</StackPanel>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
|
|
|
|
<!--数据源-->
|
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
2024-04-30 00:57:08 +00:00
|
|
|
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
|
2024-04-09 08:17:44 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="子时序号" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备编号(以下设备同一配置依次运行)" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备工作时间(s)" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="子序列循环间隔时长(s)" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="操作" Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<ListBox Grid.Row="1" Background="Transparent" BorderThickness="0" ItemsSource="{Binding sysSequentialDetailsListS5}" Margin="0,10">
|
|
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
|
|
<Style TargetType="ListBoxItem">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="ListBoxItem">
|
|
|
|
|
<Border Background="Transparent" Name="border">
|
|
|
|
|
<ContentPresenter/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</ListBox.ItemContainerStyle>
|
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
|
|
|
|
|
<Grid >
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
2024-04-13 03:38:55 +00:00
|
|
|
<ColumnDefinition/>
|
2024-04-09 08:17:44 +00:00
|
|
|
</Grid.ColumnDefinitions>
|
2024-06-17 10:12:16 +00:00
|
|
|
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-06-19 02:19:37 +00:00
|
|
|
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
<!--操作-->
|
2024-06-17 10:12:16 +00:00
|
|
|
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
|
2024-04-09 08:17:44 +00:00
|
|
|
<TextBlock VerticalAlignment="Center">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.ModifyS5Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="5,3">
|
2024-04-30 00:57:08 +00:00
|
|
|
<Hyperlink Command="{Binding DataContext.DeleteS5Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
|
2024-04-13 03:38:55 +00:00
|
|
|
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
|
2024-04-09 08:17:44 +00:00
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
</ListBox>
|
|
|
|
|
</Grid>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</UserControl>
|