Files
6098/Cowain.Bake.Main/Views/BasicInfoView.xaml

71 lines
4.1 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<UserControl x:Class="Cowain.Bake.Main.Views.BasicInfoView"
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:Cowain.Bake.Main.Views"
mc:Ignorable="d"
xmlns:prism="http://prismlibrary.com/"
prism:ViewModelLocator.AutoWireViewModel="True"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Background="#66FFFFFF">
<Grid.RowDefinitions>
<RowDefinition Height="0.03*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition Height="0.07*"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.05*"/>
<ColumnDefinition Width="0.4*"/>
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.05*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="1" Text="用户:" Grid.Row="1"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Grid.Column="2" Text="{Binding UserId,UpdateSourceTrigger=PropertyChanged}" Grid.Row="1"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Grid.Column="1" Text="姓名:" Grid.Row="2"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Grid.Column="2" Text="{Binding UserName,UpdateSourceTrigger=PropertyChanged}" Grid.Row="2"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Text="工单:" Grid.Row="3" FontSize="16" Background="Transparent" Grid.Column="1"/>
<TextBlock Grid.Column="2" Text="{Binding CurrentJobNum,UpdateSourceTrigger=PropertyChanged}" Grid.Row="3"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Text="工艺:" Grid.Row="4" FontSize="16" Background="Transparent" Grid.Column="1"/>
<TextBlock Grid.Column="2" Text="{Binding CurrentOperation,UpdateSourceTrigger=PropertyChanged}" Grid.Row="4"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Text="露点温度:" Grid.Row="5" FontSize="16" Background="Transparent" Grid.Column="1"/>
<TextBlock Grid.Column="2" Text="{Binding FailPointData,UpdateSourceTrigger=PropertyChanged}" Grid.Row="5"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Text="设备状态:" Grid.Row="6" FontSize="16" Background="Transparent" Grid.Column="1"/>
<TextBlock Grid.Column="2" Text="{Binding DeviceStatusName,UpdateSourceTrigger=PropertyChanged}" Grid.Row="6"
Height="34" FontSize="16" Background="Transparent"/>
<TextBlock Text="调度模式:" Grid.Row="7" FontSize="16" Background="Transparent" Grid.Column="1"/>
<TextBlock Grid.Column="2" Text="{Binding DispMode,UpdateSourceTrigger=PropertyChanged}" Grid.Row="7" FontWeight="Bold"
Height="34" FontSize="16" Background="Transparent" Foreground="Blue"/>
<TextBlock Text="MOM状态" FontSize="16" Grid.Row="8" Grid.Column="1"/>
<Border Grid.Row="8" Grid.Column="2" CornerRadius="20" HorizontalAlignment="Left" Margin="4,0,0,13" Background="{Binding StatusColor}" Height="15" Width="15" />
<GroupBox Header="触发信号" Grid.ColumnSpan="4" Grid.Row="9">
<ListBox ItemsSource="{Binding EventList}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
</GroupBox>
</Grid>
</UserControl>