2024-08-22 08:01:33 +00:00
|
|
|
<UserControl x:Class="InSituLaboratory.Views.Pages.Dialogs.ModifySysDevicesView"
|
|
|
|
|
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"
|
|
|
|
|
mc:Ignorable="d" Height="330" Width="420"
|
2024-10-31 00:29:52 +00:00
|
|
|
FontFamily="{StaticResource SourceHanSansCN-Regular}"
|
2024-08-22 08:01:33 +00:00
|
|
|
Template="{StaticResource DialogViewTemplate}">
|
|
|
|
|
<Grid Margin="40,20" TextBlock.Foreground="#888" FocusManager.FocusedElement="{Binding ElementName=pb}">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="130"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="设备代码" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="设备名称" Grid.Row="1" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="最小工作时长/min" Grid.Row="2" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="单次工作最大时长/min" Grid.Row="3" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
<TextBox Grid.Column="1" Height="30" Name="pb" Style="{StaticResource NormalTextBoxStyle}" Text="{Binding SysDevice.DeviceType}"/>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="1" Height="30" Style="{StaticResource NormalTextBoxStyle}" Text="{Binding SysDevice.DeviceName}"/>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="2" Height="30" Style="{StaticResource NormalTextBoxStyle}" Text="{Binding SysDevice.MinWorkTime}"/>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="3" Height="30" Style="{StaticResource NormalTextBoxStyle}" Text="{Binding SysDevice.WorkTime}"/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|