Files
Shi.Ji e31d3560bb 添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
2026-05-18 11:43:09 +08:00

58 lines
3.7 KiB
XML

<UserControl x:Class="MainShell.ParaSetting.View.OtherProduceView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:MainShell.ParaSetting.View"
xmlns:mw="http://www.maxwell-gp.com/"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
<Style TargetType="ToggleButton" BasedOn="{StaticResource {x:Type ToggleButton}}" >
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="FontSize" Value="16"/>
<Setter Property="Margin" Value="3"/>
<Setter Property="Height" Value="30"/>
<Setter Property="Width" Value="120"/>
</Style>
<Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
<Setter Property="Width" Value="95"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Vertical">
<GroupBox Header="{DynamicResource GlobalRunFeatureSettings}" Margin="3,3,3,3" Style="{StaticResource GroupBoxSecondary}">
<UniformGrid Columns="3">
<StackPanel Orientation="Horizontal">
<Label Content="{DynamicResource NeedleCheckBondingGlassNum}" VerticalAlignment="Center"/>
<mw:IntNumberBox Value="{Binding GlobalRunParameter.NeedleCheckBondingGlassNum}" mw:NumericKeypadAttach.IsEnabled="True" ShowUpDownButton="True" Maximum="1000" Minimum="0" HorizontalAlignment="Left" Height="30" Width="85" VerticalAlignment="Center" FontSize="12"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="{DynamicResource UseMes}"/>
<ToggleButton IsChecked="{Binding GlobalRunParameter.IsUseMesLeiMan}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="{DynamicResource AirCoolAllProduceLabel}"/>
<ToggleButton IsChecked="{Binding BondingProcessParameter.UseAirCoolAllProduce}" />
</StackPanel>
</UniformGrid>
</GroupBox>
<GroupBox Header="{DynamicResource GlobalRunModeSettings}" Style="{StaticResource GroupBoxSecondary}" Margin="3">
<UniformGrid Rows="3" HorizontalAlignment="Center">
<ToggleButton Content="{DynamicResource ProduceTest}" Margin="5" IsChecked="{Binding GlobalRunParameter.RunningMode, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource RunningModeToBoolConverter}, ConverterParameter='1'}" />
<ToggleButton Content="{DynamicResource WholeMachineAging}" Margin="5" IsChecked="{Binding GlobalRunParameter.RunningMode, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource RunningModeToBoolConverter}, ConverterParameter='2'}" />
</UniformGrid>
</GroupBox>
</StackPanel>
<Button Content="{DynamicResource Save}" Click="{mw:Action BtnSave}" Grid.Row="2" Style="{StaticResource SaveButtonStyle}" HorizontalAlignment="Right"/>
</Grid>
</UserControl>