1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <Border
- x:Class="LogoForceTestApp.Modules.MainModule.Views.OeeDialogPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
- xmlns:local="clr-namespace:LogoForceTestApp.Modules.MainModule.Views"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:viewmodels="clr-namespace:LogoForceTestApp.Modules.MainModule.ViewModels"
- Width="800"
- Height="494"
- d:DataContext="{d:DesignInstance Type=viewmodels:OeeDialogPageViewModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- prism:ViewModelLocator.AutoWireViewModel="True"
- CornerRadius="10"
- mc:Ignorable="d">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <TextBlock
- HorizontalAlignment="Center"
- FontSize="24"
- Foreground="DeepSkyBlue"
- Text="设备异常处理" />
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition Height="auto" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <TextBlock Text="异常时间" />
- <TextBlock Grid.Column="1" Text="{Binding ExceptionTime}" />
- <TextBlock Grid.Row="1" Text="设备模式:" />
- <TextBlock
- Grid.Row="2"
- Grid.Column="1"
- Text="手动调试" />
- <TextBlock Grid.Row="3" Text="异常代码:" />
- <hc:ComboBox
- Grid.Row="3"
- Grid.Column="1"
- IsEditable="True"
- ItemsSource="{Binding ExeceptionLists}"
- Text="{Binding ExceptionCode}" />
- <TextBlock Grid.Row="4" Text="异常内容:" />
- <TextBox
- Grid.Row="4"
- Grid.Column="1"
- Height="60"
- Text="{Binding ExceptionContent, UpdateSourceTrigger=PropertyChanged}" />
- <TextBlock Grid.Row="5" Text="员工工号:" />
- <TextBox
- Grid.Row="5"
- Grid.Column="1"
- Text="{Binding OP_Id, UpdateSourceTrigger=PropertyChanged}" />
- <TextBlock Grid.Row="6" Text="异常原因:" />
- <TextBox
- Grid.Row="6"
- Grid.Column="1"
- Height="60"
- Text="{Binding ExceptionReason, UpdateSourceTrigger=PropertyChanged}" />
- <TextBlock Grid.Row="7" Text="待料时间(min):" />
- <TextBox
- Grid.Row="7"
- Grid.Column="1"
- Text="{Binding Duration, UpdateSourceTrigger=PropertyChanged}" />
- <Button
- Grid.Row="8"
- Grid.ColumnSpan="2"
- Width="120"
- Command="{Binding CloseCmd}"
- Content="确认"
- Style="{StaticResource ButtonPrimary}" />
- </Grid>
- </Grid>
- </Border>
|