82 lines
4.0 KiB
XML
82 lines
4.0 KiB
XML
<Window x:Class="ProductionUiCordonel.MainWindow"
|
|
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"
|
|
xmlns:local="clr-namespace:ProductionUiCordonel"
|
|
xmlns:uc="clr-namespace:ProductionUiCordonel"
|
|
mc:Ignorable="d"
|
|
Title="Cordonel Production UI" MinHeight="500" MinWidth="400" Height="600" Width="644" Initialized="Window_Initialized" Closing="Window_Closing">
|
|
<Window.Resources>
|
|
<local:QuantityToBackgroundConverter x:Key="BackgroundConverter" />
|
|
</Window.Resources>
|
|
<DockPanel HorizontalAlignment="Right" Width="634" Height="569" VerticalAlignment="Top" Margin="0,0,2,0">
|
|
<ToolBarTray DockPanel.Dock="Top">
|
|
<ToolBar>
|
|
<Label>Slot:</Label>
|
|
<ComboBox Name="cbxSlotBox" Margin="0,5,0,0" VerticalAlignment="Top" SelectionChanged="CbxSlotBox_SelectionChanged" />
|
|
|
|
|
|
<Button Name="BtnConntect" VerticalAlignment="Top" Click="BtnConntect_Click" HorizontalAlignment="Right" ToolTip="Force connect to meter">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Resources/Connect_16x.png" />
|
|
<TextBlock Margin="3,0,0,0">Connect</TextBlock>
|
|
</StackPanel>
|
|
</Button>
|
|
|
|
|
|
</ToolBar>
|
|
<ToolBar Name="tbarOrder">
|
|
<Label>Order:</Label>
|
|
<TextBox Name="txtOrderNr" HorizontalAlignment="Left" Height="26" IsEnabled="False" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="81" />
|
|
|
|
</ToolBar>
|
|
<ToolBar>
|
|
<Label>Autodetect:</Label>
|
|
<Button Name="BtnSwitchAutoDetect" VerticalAlignment="Top" Click="BtnSwitchAutoDetect_Click" HorizontalAlignment="Right" >
|
|
<StackPanel Orientation="Horizontal">
|
|
<Image Source="/Resources/Refresh_16x.png" />
|
|
<TextBlock Name="tblkAutodetectState" Text="Off" Margin="3,0,0,0"/>
|
|
</StackPanel>
|
|
</Button>
|
|
</ToolBar>
|
|
</ToolBarTray>
|
|
<StatusBar DockPanel.Dock="Bottom">
|
|
<StatusBar.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="50" />
|
|
<ColumnDefinition Width="100" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="100" />
|
|
</Grid.ColumnDefinitions>
|
|
</Grid>
|
|
</ItemsPanelTemplate>
|
|
</StatusBar.ItemsPanel>
|
|
<StatusBarItem Grid.Column="0">
|
|
<Label Content="PcbID:"/>
|
|
</StatusBarItem>
|
|
<StatusBarItem Grid.Column="1">
|
|
<Label Name="lblPcbID" Content="-"/>
|
|
</StatusBarItem>
|
|
<Separator Grid.Column="2" />
|
|
<StatusBarItem Grid.Column="3">
|
|
<TextBlock Name="lblMessage" Text="Init" />
|
|
</StatusBarItem>
|
|
<Separator Grid.Column="4" />
|
|
<StatusBarItem Grid.Column="5">
|
|
<Label x:Name="lblState" Content="" HorizontalAlignment="Left" Height="Auto" VerticalAlignment="Top" />
|
|
</StatusBarItem>
|
|
</StatusBar>
|
|
|
|
|
|
<StackPanel Background="#FFE5E5E5" SizeChanged="StackPanel_SizeChanged" Height="506" VerticalAlignment="Top" HorizontalAlignment="Stretch" Width="625" >
|
|
<uc:FinalRadioTest x:Name="ucFinalRadioTest" Loaded="UcFinalRadioTest_Loaded" Width="Auto" VerticalAlignment="Top" HorizontalAlignment="Stretch" />
|
|
</StackPanel>
|
|
|
|
</DockPanel>
|
|
</Window>
|