时序下发更改背景颜色,去掉表格下横线

This commit is contained in:
MoYue 2024-07-09 14:40:23 +08:00
parent 0a5859b741
commit c9b5f5f054

View File

@ -128,12 +128,12 @@
<!--时序1-->
<Grid Grid.Row="1">
<Border CornerRadius="5" Background="#E0FFFF" Margin="10">
<Border CornerRadius="5" Background="#14273a" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
</Border.Effect>
</Border>
<Grid Background="#E0FFFF" Margin="20">
<Grid Background="#14273a" Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
@ -145,9 +145,9 @@
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" >
<TextBlock Text="时序 1" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#EE82EE" VerticalAlignment="Center" />
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime1,Mode=TwoWay}"/>
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime1,Mode=TwoWay}"/>
</StackPanel>
<!--刷新 新建 下发-->
@ -226,7 +226,7 @@
<RowDefinition Height="40"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="White">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
@ -253,7 +253,7 @@
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
<Setter TargetName="border" Property="Background" Value="gray"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
@ -263,7 +263,7 @@
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition/>
@ -272,20 +272,20 @@
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<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"/>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<!--操作-->
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock VerticalAlignment="Center">
<Hyperlink Command="{Binding DataContext.ModifyS1Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">编辑</Hyperlink>
</TextBlock>
<TextBlock Margin="5,3">
<Hyperlink Command="{Binding DataContext.DeleteS1Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">删除</Hyperlink>
</TextBlock>
</StackPanel>
</Grid>
@ -299,12 +299,12 @@
<!--时序2-->
<Grid Grid.Row="2">
<Border CornerRadius="5" Background="#E0FFFF" Margin="10">
<Border CornerRadius="5" Background="#14273a" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
</Border.Effect>
</Border>
<Grid Background="#E0FFFF" Margin="20">
<Grid Background="#14273a" Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
@ -314,11 +314,11 @@
<!--开始和结束时间-->
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" >
<TextBlock Text="时序 2" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
<TextBlock Text="时序 2" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#EE82EE" VerticalAlignment="Center" />
<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}"/>
<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="White" FontSize="14" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime2,Mode=TwoWay}"/>
<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}"/>
<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="White" FontSize="14" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime2,Mode=TwoWay}"/>
</StackPanel>
<!--刷新 新建 下发-->
@ -397,7 +397,7 @@
<RowDefinition Height="40"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="White">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
@ -424,7 +424,7 @@
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
<Setter TargetName="border" Property="Background" Value="gray"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
@ -434,7 +434,7 @@
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition/>
@ -443,20 +443,20 @@
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<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"/>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<!--操作-->
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock VerticalAlignment="Center">
<Hyperlink Command="{Binding DataContext.ModifyS2Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">编辑</Hyperlink>
</TextBlock>
<TextBlock Margin="5,3">
<Hyperlink Command="{Binding DataContext.DeleteS2Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">删除</Hyperlink>
</TextBlock>
</StackPanel>
</Grid>
@ -470,12 +470,12 @@
<!--时序3-->
<Grid Grid.Row="3">
<Border CornerRadius="5" Background="#E0FFFF" Margin="10">
<Border CornerRadius="5" Background="#14273a" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
</Border.Effect>
</Border>
<Grid Background="#E0FFFF" Margin="20">
<Grid Background="#14273a" Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
@ -485,11 +485,11 @@
<!--开始和结束时间-->
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
<TextBlock Text="时序 3" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
<TextBlock Text="时序 3" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#EE82EE" VerticalAlignment="Center" />
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime3,Mode=TwoWay}"/>
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime3,Mode=TwoWay}"/>
</StackPanel>
<!--刷新 新建 下发-->
@ -567,7 +567,7 @@
<RowDefinition Height="40"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="White">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
@ -594,7 +594,7 @@
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
<Setter TargetName="border" Property="Background" Value="gray"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
@ -604,7 +604,7 @@
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition/>
@ -613,20 +613,20 @@
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<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"/>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<!--操作-->
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock VerticalAlignment="Center">
<Hyperlink Command="{Binding DataContext.ModifyS3Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">编辑</Hyperlink>
</TextBlock>
<TextBlock Margin="5,3">
<Hyperlink Command="{Binding DataContext.DeleteS3Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">删除</Hyperlink>
</TextBlock>
</StackPanel>
</Grid>
@ -640,12 +640,12 @@
<!--时序4-->
<Grid Grid.Row="4">
<Border CornerRadius="5" Background="#E0FFFF" Margin="10">
<Border CornerRadius="5" Background="#14273a" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
</Border.Effect>
</Border>
<Grid Background="#E0FFFF" Margin="20">
<Grid Background="#14273a" Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
@ -655,11 +655,11 @@
<!--开始和结束时间-->
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
<TextBlock Text="时序 4" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
<TextBlock Text="时序 4" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#EE82EE" VerticalAlignment="Center" />
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime4,Mode=TwoWay}"/>
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime4,Mode=TwoWay}"/>
</StackPanel>
<!--刷新 新建 下发-->
@ -737,7 +737,7 @@
<RowDefinition Height="40"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="White">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
@ -764,7 +764,7 @@
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
<Setter TargetName="border" Property="Background" Value="gray"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
@ -774,7 +774,7 @@
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition/>
@ -783,20 +783,20 @@
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<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"/>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<!--操作-->
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock VerticalAlignment="Center">
<Hyperlink Command="{Binding DataContext.ModifyS4Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">编辑</Hyperlink>
</TextBlock>
<TextBlock Margin="5,3">
<Hyperlink Command="{Binding DataContext.DeleteS4Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">删除</Hyperlink>
</TextBlock>
</StackPanel>
</Grid>
@ -810,12 +810,12 @@
<!--时序5-->
<Grid Grid.Row="5">
<Border CornerRadius="5" Background="#E0FFFF" Margin="10">
<Border CornerRadius="5" Background="#14273a" Margin="10">
<Border.Effect>
<DropShadowEffect BlurRadius="10" ShadowDepth="0" Direction="0" Color="#555" Opacity="0.1"/>
</Border.Effect>
</Border>
<Grid Background="#E0FFFF" Margin="20">
<Grid Background="#14273a" Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition/>
@ -825,11 +825,11 @@
<!--开始和结束时间-->
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
<TextBlock Text="时序 5" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground=" #9B30FF" VerticalAlignment="Center" />
<TextBlock Text="时序 5" FontSize="15" Margin="15,0" FontWeight="Normal" Foreground="#EE82EE" VerticalAlignment="Center" />
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialStartTime5,Mode=TwoWay}"/>
<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}"/>
<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="White" FontSize="15" Width="288" Background="Transparent" BorderBrush="White" SelectedDateTime="{Binding sequentStatusModel.SequentialEndTime5,Mode=TwoWay}"/>
</StackPanel>
<!--刷新 新建 下发-->
@ -907,7 +907,7 @@
<RowDefinition Height="40"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="#666">
<Grid Grid.Row="0" TextBlock.FontSize="13" TextBlock.FontWeight="Bold" TextBlock.Foreground="White">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
@ -934,7 +934,7 @@
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#F0F6FB"/>
<Setter TargetName="border" Property="Background" Value="gray"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
@ -944,7 +944,7 @@
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,1">
<Border BorderBrush="#EFEFEF" BorderThickness="0,0,0,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition/>
@ -953,19 +953,19 @@
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<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"/>
<TextBlock Text="{Binding SequenceGroup}" FontSize="14" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding SensorID}" FontSize="14" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding WorkTime}" FontSize="14" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<TextBlock Text="{Binding DurationTime}" FontSize="14" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
<!--操作-->
<StackPanel Grid.Column="4" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
<TextBlock VerticalAlignment="Center">
<Hyperlink Command="{Binding DataContext.ModifyS5Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">编辑</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">编辑</Hyperlink>
</TextBlock>
<TextBlock Margin="5,3">
<Hyperlink Command="{Binding DataContext.DeleteS5Command,RelativeSource={RelativeSource AncestorType=UserControl}}" FontSize="15"
CommandParameter="{Binding}" TextDecorations="None" Foreground="#409EFE">删除</Hyperlink>
CommandParameter="{Binding}" TextDecorations="None" Foreground="#E0FFFF">删除</Hyperlink>
</TextBlock>
</StackPanel>
</Grid>