You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
678 lines
37 KiB
678 lines
37 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Window x:Class="Housing.Login.StartupLoginWindow"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
Title="Housing HMI Login"
|
|
Width="760"
|
|
Height="760"
|
|
MinWidth="560"
|
|
MinHeight="620"
|
|
d:DesignWidth="760"
|
|
d:DesignHeight="760"
|
|
WindowStartupLocation="CenterScreen"
|
|
Background="{StaticResource HmiScreenBackgroundBrush}"
|
|
UseLayoutRounding="True"
|
|
SnapsToDevicePixels="True">
|
|
|
|
<Window.Resources>
|
|
<Style x:Key="FieldLabelStyle" TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="{StaticResource HmiMutedTextBrush}"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Margin" Value="0,0,0,6"/>
|
|
<Setter Property="TextWrapping" Value="Wrap"/>
|
|
</Style>
|
|
|
|
<Style x:Key="InputStyle" TargetType="TextBox">
|
|
<Setter Property="Height" Value="42"/>
|
|
<Setter Property="MinWidth" Value="0"/>
|
|
<Setter Property="Background" Value="{StaticResource HmiInputBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource HmiTextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="#3F6178"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="FontSize" Value="19"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="CaretBrush" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter Property="SelectionBrush" Value="{StaticResource HmiAccentBlueBrush}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="8,0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border x:Name="FieldChrome"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="3"
|
|
SnapsToDevicePixels="True">
|
|
<Grid>
|
|
<Rectangle Height="2"
|
|
VerticalAlignment="Top"
|
|
Fill="{StaticResource HmiAccentBrush}"
|
|
Opacity="0.42"/>
|
|
<ScrollViewer x:Name="PART_ContentHost"
|
|
Margin="{TemplateBinding Padding}"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsKeyboardFocused" Value="True">
|
|
<Setter TargetName="FieldChrome" Property="BorderBrush" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter TargetName="FieldChrome" Property="BorderThickness" Value="2"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter TargetName="FieldChrome" Property="Opacity" Value="0.55"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="PasswordInputStyle" TargetType="PasswordBox">
|
|
<Setter Property="Height" Value="42"/>
|
|
<Setter Property="MinWidth" Value="0"/>
|
|
<Setter Property="Background" Value="{StaticResource HmiInputBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource HmiTextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="#3F6178"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="FontSize" Value="19"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="CaretBrush" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter Property="SelectionBrush" Value="{StaticResource HmiAccentBlueBrush}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="8,0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type PasswordBox}">
|
|
<Border x:Name="FieldChrome"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="3"
|
|
SnapsToDevicePixels="True">
|
|
<Grid>
|
|
<Rectangle Height="2"
|
|
VerticalAlignment="Top"
|
|
Fill="{StaticResource HmiAccentBrush}"
|
|
Opacity="0.42"/>
|
|
<ScrollViewer x:Name="PART_ContentHost"
|
|
Margin="{TemplateBinding Padding}"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsKeyboardFocused" Value="True">
|
|
<Setter TargetName="FieldChrome" Property="BorderBrush" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter TargetName="FieldChrome" Property="BorderThickness" Value="2"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter TargetName="FieldChrome" Property="Opacity" Value="0.55"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="ComboInputItemStyle" TargetType="{x:Type ComboBoxItem}">
|
|
<Setter Property="Foreground" Value="{StaticResource HmiTextBrush}"/>
|
|
<Setter Property="Background" Value="{StaticResource HmiInputBrush}"/>
|
|
<Setter Property="FontSize" Value="17"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Padding" Value="10,8"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ComboBoxItem}">
|
|
<Border x:Name="ItemChrome"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="#263D4F"
|
|
BorderThickness="0,0,0,1"
|
|
Padding="{TemplateBinding Padding}">
|
|
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Border>
|
|
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsHighlighted" Value="True">
|
|
<Setter TargetName="ItemChrome" Property="Background" Value="{StaticResource HmiButtonHoverBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource HmiTextBrush}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter TargetName="ItemChrome" Property="Background" Value="#163A4A"/>
|
|
<Setter Property="Foreground" Value="{StaticResource HmiAccentBrush}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter TargetName="ItemChrome" Property="Opacity" Value="0.55"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="ComboInputStyle" TargetType="{x:Type ComboBox}">
|
|
<Setter Property="Height" Value="42"/>
|
|
<Setter Property="MinWidth" Value="0"/>
|
|
<Setter Property="Background" Value="{StaticResource HmiInputBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource HmiTextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="#3F6178"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="FontSize" Value="19"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Padding" Value="8,0,34,0"/>
|
|
<Setter Property="IsTextSearchEnabled" Value="True"/>
|
|
<Setter Property="MaxDropDownHeight" Value="220"/>
|
|
<Setter Property="ItemContainerStyle" Value="{StaticResource ComboInputItemStyle}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ComboBox}">
|
|
<Grid>
|
|
<Border x:Name="FieldChrome"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="3"
|
|
SnapsToDevicePixels="True">
|
|
<Grid>
|
|
<Rectangle Height="2"
|
|
VerticalAlignment="Top"
|
|
Fill="{StaticResource HmiAccentBrush}"
|
|
Opacity="0.42"/>
|
|
|
|
<ContentPresenter x:Name="ContentSite"
|
|
Margin="{TemplateBinding Padding}"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
Content="{TemplateBinding SelectionBoxItem}"
|
|
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
|
|
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
|
|
RecognizesAccessKey="True"
|
|
IsHitTestVisible="False"/>
|
|
|
|
<ToggleButton x:Name="DropDownToggle"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
ClickMode="Press"
|
|
Focusable="False"
|
|
IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}">
|
|
<ToggleButton.Template>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Background="Transparent">
|
|
<Path x:Name="Arrow"
|
|
Width="12"
|
|
Height="7"
|
|
Margin="0,0,12,0"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
Data="M 0 0 L 6 7 L 12 0 Z"
|
|
Fill="{StaticResource HmiAccentBrush}"
|
|
Stretch="Fill"/>
|
|
</Border>
|
|
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="Arrow" Property="Fill" Value="#76EAFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsChecked" Value="True">
|
|
<Setter TargetName="Arrow" Property="Fill" Value="{StaticResource HmiRunBrush}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</ToggleButton.Template>
|
|
</ToggleButton>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Popup x:Name="PART_Popup"
|
|
AllowsTransparency="True"
|
|
Focusable="False"
|
|
IsOpen="{TemplateBinding IsDropDownOpen}"
|
|
Placement="Bottom"
|
|
PopupAnimation="Slide">
|
|
<Border Width="{Binding ActualWidth, RelativeSource={RelativeSource TemplatedParent}}"
|
|
MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
|
Background="#07111C"
|
|
BorderBrush="{StaticResource HmiAccentBrush}"
|
|
BorderThickness="1">
|
|
<ScrollViewer MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
|
SnapsToDevicePixels="True"
|
|
VerticalScrollBarVisibility="Auto">
|
|
<ItemsPresenter KeyboardNavigation.DirectionalNavigation="Contained"/>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</Popup>
|
|
</Grid>
|
|
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="FieldChrome" Property="BorderBrush" Value="#76EAFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocusWithin" Value="True">
|
|
<Setter TargetName="FieldChrome" Property="BorderBrush" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter TargetName="FieldChrome" Property="BorderThickness" Value="2"/>
|
|
</Trigger>
|
|
<Trigger Property="IsDropDownOpen" Value="True">
|
|
<Setter TargetName="FieldChrome" Property="BorderBrush" Value="{StaticResource HmiRunBrush}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter TargetName="FieldChrome" Property="Opacity" Value="0.55"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="CommandButtonStyle" TargetType="Button">
|
|
<Setter Property="Height" Value="58"/>
|
|
<Setter Property="Foreground" Value="{StaticResource HmiTextBrush}"/>
|
|
<Setter Property="Background" Value="{StaticResource HmiButtonBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="FontSize" Value="23"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border x:Name="ButtonChrome"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="4"
|
|
SnapsToDevicePixels="True">
|
|
<Grid>
|
|
<Border BorderBrush="#FFFFFF"
|
|
BorderThickness="0,1,0,0"
|
|
Opacity="0.18"/>
|
|
<Rectangle Height="4"
|
|
VerticalAlignment="Bottom"
|
|
Fill="{StaticResource HmiAccentBrush}"
|
|
Opacity="0.65"/>
|
|
<ContentPresenter RecognizesAccessKey="True"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="ButtonChrome" Property="Background" Value="{StaticResource HmiButtonHoverBrush}"/>
|
|
<Setter TargetName="ButtonChrome" Property="BorderBrush" Value="#76EAFF"/>
|
|
</Trigger>
|
|
<Trigger Property="IsPressed" Value="True">
|
|
<Setter TargetName="ButtonChrome" Property="Background" Value="{StaticResource HmiButtonPressedBrush}"/>
|
|
<Setter TargetName="ButtonChrome" Property="BorderBrush" Value="{StaticResource HmiRunBrush}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter TargetName="ButtonChrome" Property="Opacity" Value="0.45"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="SectionCaptionStyle" TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="{StaticResource HmiAccentBrush}"/>
|
|
<Setter Property="FontSize" Value="13"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="Margin" Value="0,0,0,8"/>
|
|
</Style>
|
|
|
|
<Style x:Key="FieldTileStyle" TargetType="Border">
|
|
<Setter Property="Background" Value="#121D26"/>
|
|
<Setter Property="BorderBrush" Value="#30475A"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Padding" Value="12,9"/>
|
|
</Style>
|
|
</Window.Resources>
|
|
|
|
<Grid>
|
|
<Grid.Background>
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
|
|
<GradientStop Color="#07111C" Offset="0"/>
|
|
<GradientStop Color="#0A1B2A" Offset="0.48"/>
|
|
<GradientStop Color="#02060A" Offset="1"/>
|
|
</LinearGradientBrush>
|
|
</Grid.Background>
|
|
|
|
<Border HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
Background="{StaticResource HmiPanelBrush}"
|
|
BorderBrush="{StaticResource HmiPanelInnerBorderBrush}"
|
|
BorderThickness="0">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Grid.Row="0"
|
|
Background="{StaticResource HmiPanelHeaderBrush}"
|
|
BorderBrush="{StaticResource HmiPanelInnerBorderBrush}"
|
|
BorderThickness="0,0,0,1"
|
|
Padding="24,16">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackPanel>
|
|
<TextBlock Text="AMO HOUSING ASSEMBLY"
|
|
Foreground="{StaticResource HmiTextBrush}"
|
|
FontSize="27"
|
|
FontWeight="Bold"
|
|
TextWrapping="Wrap"/>
|
|
<TextBlock Text="CONTROL SYSTEM ACCESS"
|
|
Foreground="{StaticResource HmiAccentBrush}"
|
|
FontSize="13"
|
|
FontWeight="SemiBold"
|
|
Margin="0,3,0,0"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Column="1"
|
|
Orientation="Horizontal"
|
|
VerticalAlignment="Center"
|
|
Margin="18,0,0,0">
|
|
<StackPanel Margin="0,0,12,0">
|
|
<Ellipse Width="11"
|
|
Height="11"
|
|
Fill="{StaticResource HmiRunBrush}"
|
|
Stroke="#94F7C5"
|
|
StrokeThickness="1"/>
|
|
<TextBlock Text="PWR"
|
|
Foreground="{StaticResource HmiMutedTextBrush}"
|
|
FontSize="10"
|
|
Margin="0,4,0,0"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel Margin="0,0,12,0">
|
|
<Ellipse Width="11"
|
|
Height="11"
|
|
Fill="{StaticResource HmiAccentBrush}"
|
|
Stroke="#8BEFFF"
|
|
StrokeThickness="1"/>
|
|
<TextBlock Text="PLC"
|
|
Foreground="{StaticResource HmiMutedTextBrush}"
|
|
FontSize="10"
|
|
Margin="0,4,0,0"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel>
|
|
<Ellipse Width="11"
|
|
Height="11"
|
|
Fill="{StaticResource HmiWarningBrush}"
|
|
Stroke="#FFD391"
|
|
StrokeThickness="1"/>
|
|
<TextBlock Text="AUTH"
|
|
Foreground="{StaticResource HmiMutedTextBrush}"
|
|
FontSize="10"
|
|
Margin="0,4,0,0"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Row="1"
|
|
Background="#0A121B"
|
|
BorderBrush="#253849"
|
|
BorderThickness="0,0,0,1"
|
|
Padding="22,8">
|
|
<DockPanel LastChildFill="True">
|
|
<TextBlock Text="SYSTEM READY"
|
|
Foreground="{StaticResource HmiRunBrush}"
|
|
FontSize="12"
|
|
FontWeight="Bold"
|
|
Margin="0,0,16,0"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<Rectangle Width="1"
|
|
Fill="#304454"
|
|
Margin="0,0,16,0"/>
|
|
|
|
<TextBlock Text="Operator verification required before line operation"
|
|
Foreground="{StaticResource HmiMutedTextBrush}"
|
|
FontSize="12"
|
|
VerticalAlignment="Center"
|
|
TextWrapping="Wrap"/>
|
|
</DockPanel>
|
|
</Border>
|
|
|
|
<Grid Grid.Row="2" Margin="26,22">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="14"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="14"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="18"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="0"
|
|
Text="PRODUCT CONFIGURATION"
|
|
Style="{StaticResource SectionCaptionStyle}"/>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="8"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="10"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.Row="0"
|
|
Grid.Column="0"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Maker"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<ComboBox x:Name="MakerComboBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource ComboInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Row="0"
|
|
Grid.Column="2"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Model"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<ComboBox x:Name="ModelComboBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource ComboInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Row="2"
|
|
Grid.Column="0"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Variant 1"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<ComboBox x:Name="Variant1ComboBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource ComboInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Row="2"
|
|
Grid.Column="2"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Variant 2"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<ComboBox x:Name="Variant2ComboBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource ComboInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
|
|
<TextBlock Grid.Row="3"
|
|
Text="OPERATOR AUTHENTICATION"
|
|
Style="{StaticResource SectionCaptionStyle}"/>
|
|
|
|
<Grid Grid.Row="4">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="10"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.Column="0"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="ID"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<TextBox x:Name="OperatorTextBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource InputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Column="2"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="PW"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<PasswordBox x:Name="PasswordBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource PasswordInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
|
|
<TextBlock Grid.Row="6"
|
|
Text="LINE INFORMATION"
|
|
Style="{StaticResource SectionCaptionStyle}"/>
|
|
|
|
<Grid Grid.Row="7">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="10"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="10"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.Column="0"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Line"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<ComboBox x:Name="LineNoComboBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource ComboInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Column="2"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Lot No"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<TextBox x:Name="LotNoTextBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource InputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<Border Grid.Column="4"
|
|
Style="{StaticResource FieldTileStyle}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Text="Jig No"
|
|
Style="{StaticResource FieldLabelStyle}"/>
|
|
<ComboBox x:Name="JigNoComboBox"
|
|
Grid.Row="1"
|
|
Style="{StaticResource ComboInputStyle}"/>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
|
|
<Button x:Name="LoginButton"
|
|
Grid.Row="9"
|
|
Content="ACCESS / LOG IN"
|
|
Style="{StaticResource CommandButtonStyle}"
|
|
Click="LogInButton_Click"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Window>
|
|
|