| | |
| | | xmlns:pu="https://opensource.panuon.com/wpf-ui" |
| | | xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI" |
| | | Background="#FFF" |
| | | Loaded="PluginControl_Loaded" |
| | | Loaded="PluginControl_Loaded" |
| | | d:DesignHeight="450" d:DesignWidth="800"> |
| | | <Border Style="{StaticResource CardBoarder}" Padding="0"> |
| | | <Grid dp:GridHelper.Space="5"> |
| | |
| | | </Grid.RowDefinitions> |
| | | <WindowsFormsHost x:Name="host" Visibility="Collapsed"/> |
| | | <DockPanel> |
| | | <DockPanel.Resources> |
| | | <Style TargetType="CheckBox"> |
| | | <Setter Property="FontSize" Value="20"/> |
| | | <Setter Property="VerticalContentAlignment" Value="Center"/> |
| | | </Style> |
| | | </DockPanel.Resources> |
| | | |
| | | <StackPanel DockPanel.Dock="Right" Orientation="Horizontal" dp:StackPanelHelper.ChildSpace="20"> |
| | | <Button Style="{StaticResource SuccessButton}" x:Name="startBtn" Click="Button_Click" |
| | | Content="{DynamicResource App.StopSequence}"/> |
| | | <Button Style="{StaticResource DangerButton}" x:Name="stopBtn" Click="Button_Click" |
| | | Content="{DynamicResource App.StartSequence}"/> |
| | | <Button Style="{StaticResource DangerButton}" x:Name="stopBtn" Click="Button_Click" |
| | | Content="{DynamicResource App.StopSequence}"/> |
| | | <Button Style="{StaticResource PrimaryButton}" x:Name="scannerSettingBtn" Click="Button_Click" |
| | | Content="{DynamicResource App.ScannerSetting}"/> |
| | | </StackPanel> |
| | | <pu:FormGroup HeaderHeight="Auto" HeaderPadding="0" HorizontalContentAlignment="Left"> |
| | | <pu:FormGroup.Header> |
| | | <TextBlock FontSize="20" Foreground="#000" Text="{DynamicResource Ts.SelectProductModel}"/> |
| | | </pu:FormGroup.Header> |
| | | <ComboBox Style="{StaticResource FormComboxStyle}" MinWidth="180" ItemsSource="{Binding Products}" |
| | | |
| | | <StackPanel Orientation="Horizontal" VerticalAlignment="Center" dp:StackPanelHelper.ChildSpace="20"> |
| | | <pu:FormGroup HeaderHeight="Auto" HeaderPadding="0" HorizontalContentAlignment="Left"> |
| | | <pu:FormGroup.Header> |
| | | <TextBlock FontSize="20" Foreground="#000" Text="{DynamicResource Ts.SelectProductModel}"/> |
| | | </pu:FormGroup.Header> |
| | | <ComboBox Style="{StaticResource FormComboxStyle}" MinWidth="180" ItemsSource="{Binding Products}" |
| | | DisplayMemberPath="Name" SelectedValuePath="Name" |
| | | MaxWidth="200" |
| | | SelectedItem="{Binding SelectedProduct}" x:Name="CbProduct"/> |
| | | </pu:FormGroup> |
| | | </pu:FormGroup> |
| | | |
| | | <CheckBox Grid.Column="1" |
| | | IsChecked="{Binding EnableMes,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" |
| | | Content="{DynamicResource Ts.EnableMes}" |
| | | /> |
| | | </StackPanel> |
| | | </DockPanel> |
| | | <UniformGrid Grid.Row="1" x:Name="uGrid" dp:UniformGridHelper.InnerBorder="1" Columns="6"> |
| | | |