20230201_145_upperpc/InSituLaboratory/Views/Pages/Dialogs/ModifySequentialView.xaml

50 lines
3.6 KiB
Plaintext
Raw Normal View History

2024-03-27 13:49:16 +00:00
<UserControl x:Class="InSituLaboratory.Views.Pages.Dialogs.ModifySequentialView"
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.Dialogs"
2024-04-09 08:17:44 +00:00
xmlns:hc="https://handyorg.github.io/handycontrol"
2024-10-31 00:29:52 +00:00
mc:Ignorable="d" Height="440" Width="500"
FontFamily="{StaticResource SourceHanSansCN-Regular}"
2024-03-27 13:49:16 +00:00
Template="{StaticResource DialogViewTemplate}">
2024-04-09 08:17:44 +00:00
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
2024-04-10 09:50:54 +00:00
<Grid Margin="10" FocusManager.FocusedElement="{Binding ElementName=pb}">
2024-03-27 13:49:16 +00:00
<Grid.RowDefinitions>
2024-04-10 09:50:54 +00:00
<RowDefinition/>
<RowDefinition/>
2024-03-27 13:49:16 +00:00
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition />
2024-03-27 13:49:16 +00:00
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
2024-06-28 09:51:00 +00:00
<ColumnDefinition Width="100"/>
2024-03-27 13:49:16 +00:00
<ColumnDefinition/>
</Grid.ColumnDefinitions>
2024-06-19 02:19:37 +00:00
<TextBlock Text="子时序号" Grid.Row="0" VerticalAlignment="Center" Foreground="#888" />
<TextBlock Text="设备编号" Grid.Row="1" VerticalAlignment="Center" Foreground="#888"/>
2024-06-28 09:51:00 +00:00
<TextBlock Text="设备工作时长(min)" Grid.Row="2" VerticalAlignment="Center" Foreground="#888"/>
<TextBlock Text="循环间隔时长(min)" Grid.Row="3" VerticalAlignment="Center" Foreground="#888"/>
<TextBlock Text="启动延迟时间(min)" Grid.Row="4" VerticalAlignment="Center" Foreground="#888"/>
<TextBlock Text="循环次数(次)" Grid.Row="5" VerticalAlignment="Center" Foreground="#888"/>
2024-04-09 08:17:44 +00:00
<hc:ComboBox Grid.Row="0" Name="pb" Margin="0,9,0,8" Grid.Column="1" IsEditable="False" ItemsSource="{Binding SysNumberList}" DisplayMemberPath="Number" SelectedValuePath="Number" SelectedValue="{Binding SequenceGroup}" RenderTransformOrigin="0.498,0.193"/>
2024-04-10 09:50:54 +00:00
<hc:ComboBox Grid.Row="1" Margin="0,9,0,8" Grid.Column="1" IsEditable="False" ItemsSource="{Binding DeviceNodes}" DisplayMemberPath="DeviceName" SelectedValuePath="DeviceName" SelectedValue="{Binding SensorID}" RenderTransformOrigin="0.498,0.193"/>
2024-04-16 09:58:37 +00:00
<TextBox Grid.Row="2" Grid.Column="1" Margin="0,2" Height="30" Text="{Binding WorkTime}" Style="{StaticResource NormalTextBoxStyle}"/>
<TextBox Grid.Row="3" Grid.Column="1" Margin="0,2" Height="30" Text="{Binding DurationTime}" Style="{StaticResource NormalTextBoxStyle}"/>
<TextBox Grid.Row="4" Grid.Column="1" Margin="0,2" Height="30" Text="{Binding StartDelayTime}" Style="{StaticResource NormalTextBoxStyle}"/>
<TextBox Grid.Row="5" Grid.Column="1" Margin="0,2" Height="30" Text="{Binding NumberOfCycles}" Style="{StaticResource NormalTextBoxStyle}"/>
<TextBlock Grid.Row="6" Grid.Column="1" Text="注:子时序整体循环间隔时长、启动延迟时间、循环次数与子时序号绑定,请保持与首次设置一致!" Foreground="Red" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="14"/>
2024-03-27 13:49:16 +00:00
</Grid>
</UserControl>