| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302 |
- <UserControl
- x:Class="SHJX.Service.Librarys.setting.ManualControl"
- 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:local="clr-namespace:SHJX.Service.Librarys.setting"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
- d:DesignHeight="750"
- d:DesignWidth="800"
- mc:Ignorable="d">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="2.9*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="5.3*" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0">
- <GroupBox
- Width="700"
- Margin="0,0,0,0"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="#66CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Header="结果校准">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="1.2*" />
- <RowDefinition Height="4*" />
- </Grid.RowDefinitions>
- <GroupBox Grid.Row="0" Grid.Column="0" Margin="0,0,6,0">
- <ComboBox
- Name="cmb_wave"
- Width="150"
- Height="28"
- Margin="0,-65,0,0"
- pu:ComboBoxHelper.CornerRadius="7"
- pu:ComboBoxHelper.HoverBackground="#1E66CCCC"
- pu:ComboBoxHelper.SelectedBackground="#3299CCCC"
- BorderBrush="#99CCCC"
- Cursor="Hand"
- Foreground="#99CCCC"
- ItemsSource="{Binding Wavekeys}"
- Text="{Binding WavekeysCurrentShow}"
- SelectedIndex="0" DropDownOpened="cmb_wave_DropDownOpened" />
- </GroupBox>
- <GroupBox Margin="0,40,6,0" Grid.Column="0" Grid.RowSpan="2">
- <UniformGrid Width="650" Margin="0,0,0,0" Columns="2" Rows="0" >
- <GroupBox
- Grid.Row="0"
- Width="300"
- Margin="0,-10,0,0"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="#66CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Header="低浓度">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Label
- Grid.Row="0"
- Grid.Column="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="标定:"
- Foreground="#99CCCC" />
- <Label
- Grid.Row="1"
- Grid.Column="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="空白:"
- Foreground="#99CCCC" />
- <TextBox
- Grid.Row="0"
- Grid.Column="1"
- Width="100"
- Height="23"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#99CCCC"
- pu:TextBoxHelper.FocusedShadowColor="#99CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Text="{Binding LowCalibrationValue}" />
- <TextBox
- Grid.Row="1"
- Grid.Column="1"
- Width="100"
- Height="23"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#99CCCC"
- pu:TextBoxHelper.FocusedShadowColor="#99CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Text="{Binding LowBlankValue}" />
- <Button
- Grid.Row="2"
- Grid.Column="1"
- Width="90"
- Height="23"
- pu:ButtonHelper.ClickStyle="Sink"
- pu:ButtonHelper.CornerRadius="8"
- pu:ButtonHelper.HoverBrush="#66CCCC"
- Background="#99CCCC"
- Command="{Binding LowValueUpdateCommand}"
- Content="确定"
- Cursor="Hand"
- FontFamily="{StaticResource FontAwesome}"
- Foreground="White" />
- </Grid>
- </GroupBox>
- <GroupBox
- Grid.Row="0"
- Width="300"
- Margin="0,-10,0,0"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="#66CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Header="高浓度">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Label
- Grid.Row="0"
- Grid.Column="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="标定:"
- Foreground="#99CCCC" />
- <Label
- Grid.Row="1"
- Grid.Column="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="空白:"
- Foreground="#99CCCC" />
- <TextBox
- Grid.Row="0"
- Grid.Column="1"
- Width="100"
- Height="23"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#99CCCC"
- pu:TextBoxHelper.FocusedShadowColor="#99CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Text="{Binding HighCalibrationValue}" />
- <TextBox
- Grid.Row="1"
- Grid.Column="1"
- Width="100"
- Height="23"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#99CCCC"
- pu:TextBoxHelper.FocusedShadowColor="#99CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Text="{Binding HighBlankValue}" />
- <Button
- Grid.Row="2"
- Grid.Column="1"
- Width="90"
- Height="23"
- pu:ButtonHelper.ClickStyle="Sink"
- pu:ButtonHelper.CornerRadius="8"
- pu:ButtonHelper.HoverBrush="#66CCCC"
- Background="#99CCCC"
- Command="{Binding HighValueUpdateCommand}"
- Content="确定"
- Cursor="Hand"
- FontFamily="{StaticResource FontAwesome}"
- Foreground="White" />
- </Grid>
- </GroupBox>
- </UniformGrid>
- </GroupBox>
- </Grid>
- </GroupBox>
- </Grid>
- <GroupBox
- Grid.Row="1"
- Width="700"
- Margin="0,8,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="#66CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Header="反馈设置">
- <StackPanel Orientation="Horizontal">
- <CheckBox
- Height="30"
- Margin="0,0,20,0"
- pu:CheckBoxHelper.BoxHeight="16"
- pu:CheckBoxHelper.BoxWidth="24"
- pu:CheckBoxHelper.CheckBoxStyle="Switch"
- pu:CheckBoxHelper.CheckedBackground="#99CCCC"
- Content="抓取检测"
- Cursor="Hand"
- FontSize="14"
- Foreground="#99CCCC"
- IsChecked="{Binding ManiGrabFeedback}" />
- <CheckBox
- Height="30"
- Margin="0,0,20,0"
- pu:CheckBoxHelper.BoxHeight="16"
- pu:CheckBoxHelper.BoxWidth="24"
- pu:CheckBoxHelper.CheckBoxStyle="Switch"
- pu:CheckBoxHelper.CheckedBackground="#99CCCC"
- Content="滴嘴检测"
- Cursor="Hand"
- FontSize="14"
- Foreground="#99CCCC"
- IsChecked="{Binding DripNozzleFeedBack}" />
- <CheckBox
- Height="30"
- Margin="0,0,20,0"
- pu:CheckBoxHelper.BoxHeight="16"
- pu:CheckBoxHelper.BoxWidth="24"
- pu:CheckBoxHelper.CheckBoxStyle="Switch"
- pu:CheckBoxHelper.CheckedBackground="#99CCCC"
- Content="是否补杯"
- Cursor="Hand"
- FontSize="14"
- Foreground="#99CCCC"
- IsChecked="{Binding IsAddCupFeedBack}" />
- </StackPanel>
- </GroupBox>
- <GroupBox
- Grid.Row="2"
- Width="700"
- Margin="0,3,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="#66CCCC"
- BorderBrush="#99CCCC"
- Foreground="#99CCCC"
- Header=" 液体总量">
- <DataGrid
- pu:DataGridHelper.ColumnHorizontalContentAlignment="Center"
- pu:DataGridHelper.HeaderBackground="#5099CCCC"
- pu:DataGridHelper.HeaderForeground="White"
- pu:DataGridHelper.HeaderMinHeight="40"
- pu:DataGridHelper.HoverBackground="#5066CCCC"
- pu:DataGridHelper.SelectedBackground="#5099CCCC"
- BorderBrush="#99CCCC"
- CanUserAddRows="False"
- Foreground="#99CCCC"
- ItemsSource="{Binding LiquidTotals, Mode=TwoWay}" Margin="4,0,10,0">
- <pu:DataGridHelper.AutoGenerateCheckBoxStyle>
- <Style BasedOn="{StaticResource {x:Type CheckBox}}" TargetType="CheckBox">
- <Setter Property="pu:CheckBoxHelper.CheckBoxStyle" Value="Switch" />
- <Style.Triggers>
- <DataTrigger Binding="{Binding Path=(pu:CheckBoxHelper.CheckBoxStyle), RelativeSource={RelativeSource Self}}" Value="Switch">
- <Setter Property="pu:CheckBoxHelper.CheckedBackground" Value="#99CCCC" />
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </pu:DataGridHelper.AutoGenerateCheckBoxStyle>
- </DataGrid>
- </GroupBox>
- </Grid>
- </UserControl>
|