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-04-10 09:50:54 +00:00
|
|
|
mc:Ignorable="d" Height="330" Width="420"
|
|
|
|
|
FontFamily="{StaticResource DigitalDisplay}"
|
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 />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="70"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
2024-04-10 09:50:54 +00:00
|
|
|
<TextBlock Text="配置" Grid.Row="0" VerticalAlignment="Center" Foreground="#888" />
|
|
|
|
|
<TextBlock Text="传感器设备" Grid.Row="1" VerticalAlignment="Center" Foreground="#888"/>
|
|
|
|
|
<TextBlock Text="工作时长(s)" Grid.Row="2" VerticalAlignment="Center" Foreground="#888"/>
|
|
|
|
|
<TextBlock Text="循环时间(s)" Grid.Row="3" VerticalAlignment="Center" Foreground="#888"/>
|
2024-04-09 08:17:44 +00:00
|
|
|
|
2024-04-10 09:50:54 +00:00
|
|
|
<hc:ComboBox Grid.Row="0" Name="pb" Margin="0,9,0,8" Grid.Column="1" IsEditable="False" ItemsSource="{Binding DeviceNodes}" DisplayMemberPath="Id" SelectedValuePath="Id" SelectedValue="{Binding SequenceGroup}" RenderTransformOrigin="0.498,0.193"/>
|
|
|
|
|
<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"/>
|
|
|
|
|
<TextBox Grid.Row="2" Grid.Column="1" Margin="0,2" Height="30" Text="{Binding WorkTime,Mode=TwoWay,ValidatesOnNotifyDataErrors=True}" Style="{StaticResource ValidationTextBoxStyle}"/>
|
|
|
|
|
<TextBox Grid.Row="3" Grid.Column="1" Margin="0,2" Height="30" Text="{Binding DurationTime}" Style="{StaticResource ValidationTextBoxStyle}"/>
|
2024-03-27 13:49:16 +00:00
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|