| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- <UserControl
- x:Class="SHJX.Service.Shell.Views.Setting.OtherSettingWindow"
- 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.Shell.Views.Setting"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
- d:DesignHeight="740"
- d:DesignWidth="800"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition Height="1.4*" />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition />
- <RowDefinition Height="2.5*" />
- </Grid.RowDefinitions>
- <Grid
- Grid.Row="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <GroupBox
- Grid.Row="3"
- Width="700"
- Height="80"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="模板路径">
- <StackPanel Orientation="Horizontal">
- <TextBlock
- Height="30"
- MinWidth="0"
- Margin="0,10,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Background="Transparent"
- Foreground="Black"
- Text="{Binding TemplateFilePath}"
- ToolTip="{Binding TemplatePath}" />
- <Button
- Width="80"
- Height="25"
- Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:ButtonHelper.ButtonStyle="Hollow"
- pu:ButtonHelper.CornerRadius="8"
- pu:ButtonHelper.HoverBrush="#929FDE"
- Background="#6452A4"
- BorderBrush="#6452A4"
- Command="{Binding OptTemplatePathCommand}"
- Content="选择目录"
- Cursor="Hand"
- FontFamily="{StaticResource FontAwesome}"
- Foreground="#FFF" />
- </StackPanel>
- </GroupBox>
- </Grid>
- <Grid
- Grid.Row="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <GroupBox
- Grid.Row="3"
- Width="700"
- Height="120"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="导出结果">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal">
- <RadioButton
- pu:RadioButtonHelper.CheckedBackground="#6452A4"
- Content="Excel"
- GroupName="exportType"
- IsChecked="{Binding ExportTypeByExcel}" />
- <RadioButton
- Margin="10,0,0,0"
- pu:RadioButtonHelper.CheckedBackground="#6452A4"
- Content="Word"
- GroupName="exportType"
- IsChecked="{Binding ExportTypeByWord}" />
- </StackPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal">
- <TextBlock
- Height="30"
- MinWidth="0"
- Margin="0,10,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Background="Transparent"
- Foreground="Black"
- Text="{Binding SampleResultFilePath}"
- ToolTip="{Binding ResultPath}" />
- <Button
- Width="80"
- Height="25"
- Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:ButtonHelper.ButtonStyle="Hollow"
- pu:ButtonHelper.CornerRadius="8"
- pu:ButtonHelper.HoverBrush="#929FDE"
- Background="#6452A4"
- BorderBrush="#6452A4"
- Command="{Binding OptSampleResultPathCommand}"
- Content="选择目录"
- Cursor="Hand"
- FontFamily="{StaticResource FontAwesome}"
- Foreground="#FFF" />
- </StackPanel>
- </Grid>
- </GroupBox>
- </Grid>
- <Grid
- Grid.Row="2"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <GroupBox
- Grid.Row="3"
- Width="700"
- Height="80"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="启停设置">
- <StackPanel Orientation="Horizontal">
- <CheckBox
- x:Name="cb_send"
- Height="25"
- HorizontalAlignment="Center"
- pu:CheckBoxHelper.BoxHeight="16"
- pu:CheckBoxHelper.BoxWidth="24"
- pu:CheckBoxHelper.CheckBoxStyle="Switch"
- pu:CheckBoxHelper.CheckedBackground="#6452A4"
- Content="空闲时自动吸液"
- Cursor="Hand"
- FontSize="12"
- IsChecked="{Binding AutomaticInLiquid}" />
- </StackPanel>
- </GroupBox>
- </Grid>
- <!--<Grid
- Grid.Row="3"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <GroupBox
- Grid.Row="3"
- Width="700"
- Height="80"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="温湿度设置">
- <StackPanel Orientation="Horizontal">
- <TextBlock VerticalAlignment="Center" Text="温度:" />
- <TextBox
- Width="80"
- Height="25"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
- pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
- Cursor="IBeam"
- Text="{Binding ManualTemperature}" />
- <TextBlock VerticalAlignment="Center" Text="湿度:" />
- <TextBox
- Width="80"
- Height="25"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
- pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
- Cursor="IBeam"
- Text="{Binding ManualHumidity}" />
- <Button
- Width="60"
- Height="25"
- Margin="10,0,0,0"
- pu:ButtonHelper.ButtonStyle="Hollow"
- pu:ButtonHelper.CornerRadius="8"
- pu:ButtonHelper.HoverBrush="#929FDE"
- Background="#6452A4"
- BorderBrush="#6452A4"
- Command="{Binding ManualSetTemperatureCommand}"
- Content="设置"
- Foreground="#FFF" />
- </StackPanel>
- </GroupBox>
- </Grid>-->
- <Grid
- Grid.Row="3"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <GroupBox
- Grid.Row="3"
- Width="700"
- Height="80"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="任务结束后降温温度">
- <StackPanel Orientation="Horizontal">
- <TextBlock VerticalAlignment="Center" Text="温度:" />
- <TextBox
- Width="80"
- Height="25"
- pu:TextBoxHelper.CornerRadius="10"
- pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
- pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
- Cursor="IBeam"
- Text="{Binding FinishTemprature}" />
- </StackPanel>
- </GroupBox>
- </Grid>
- <Grid
- Grid.Row="4"
- HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <GroupBox
- Grid.Row="3"
- Width="700"
- Height="80"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="抓手设置">
- <StackPanel Orientation="Horizontal">
- <CheckBox
- Width="120"
- Height="25"
- pu:CheckBoxHelper.BoxHeight="20"
- pu:CheckBoxHelper.CheckBoxStyle="Switch"
- pu:CheckBoxHelper.CheckedBackground="#6452A4"
- Content="抓手反馈"
- Cursor="Hand"
- IsChecked="{Binding TongsFeedbackValue}" />
- </StackPanel>
- </GroupBox>
- </Grid>
- </Grid>
- </UserControl>
|