Commit 5f334fa5 authored by 潘栩锋's avatar 潘栩锋 🚴

和美安装包_v6.21.3 -20210105

1. 修复 收卷设置速度,弹出异常。原因Mahapp的资源名称还没改完
parent e3cb4649
...@@ -20,33 +20,33 @@ ...@@ -20,33 +20,33 @@
</UserControl.Resources> </UserControl.Resources>
<Grid> <Grid>
<Grid x:Name="gridVm"/> <Grid x:Name="gridVm"/>
<Border Margin="{StaticResource ControlMargin}" CornerRadius="5" Background="{StaticResource WhiteBrush}"> <Border Margin="{StaticResource ControlMargin}" CornerRadius="5" Background="{StaticResource MahApps.Brushes.ThemeBackground}">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition> <RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Margin="25, 10"> <StackPanel Orientation="Horizontal" Margin="25, 10">
<Button Style="{StaticResource ButtonStyle_icon}" Command="{Binding InfoSetCmd}" Foreground="{StaticResource AccentBaseColorBrush}"> <Button Style="{StaticResource ButtonStyle_icon}" Command="{Binding InfoSetCmd}" Foreground="{StaticResource MahApps.Brushes.AccentBase}">
<Grid> <Grid>
<Ellipse Width="30" Height="30" Fill="{StaticResource WhiteBrush}"/> <Ellipse Width="30" Height="30" Fill="{StaticResource MahApps.Brushes.ThemeBackground}"/>
<iconPacks:PackIconMaterial Kind="Information"/> <iconPacks:PackIconMaterial Kind="Information"/>
</Grid> </Grid>
</Button> </Button>
<StackPanel Margin="10, 0"> <StackPanel Margin="10, 0">
<TextBlock FontSize="22" Foreground="{StaticResource LabelTextBrush}" Text="IBC控制过程"/> <TextBlock FontSize="22" Foreground="{StaticResource MahApps.Brushes.Text}" Text="IBC控制过程"/>
<TextBlock FontSize="14" Foreground="{StaticResource GrayBrush1}"> <TextBlock FontSize="14" Foreground="{StaticResource MahApps.Brushes.Gray1}">
<Run Text="{Binding BeginTime,StringFormat={}{0:HH:mm:ss}}"/><Run Text="-"/><Run Text="{Binding EndTime,StringFormat={}{0:HH:mm:ss}}"/> <Run Text="{Binding BeginTime,StringFormat={}{0:HH:mm:ss}}"/><Run Text="-"/><Run Text="{Binding EndTime,StringFormat={}{0:HH:mm:ss}}"/>
</TextBlock> </TextBlock>
</StackPanel> </StackPanel>
<StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}" DataContext="{Binding DbWidthWindow}"> <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}" DataContext="{Binding DbWidthWindow}">
<Button Command="{Binding DataContext.PreCmd,ElementName=gridVm}" Foreground="{StaticResource AccentBaseColorBrush}"> <Button Command="{Binding DataContext.PreCmd,ElementName=gridVm}" Foreground="{StaticResource MahApps.Brushes.AccentBase}">
<Button.Style> <Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_smallIcon}"> <Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_smallIcon}">
<Style.Triggers> <Style.Triggers>
<!--已经是第1页--> <!--已经是第1页-->
<DataTrigger Binding="{Binding IsFirstPage}" Value="True"> <DataTrigger Binding="{Binding IsFirstPage}" Value="True">
<Setter Property="Foreground" Value="{StaticResource GrayBrush3}"/> <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Gray3}"/>
</DataTrigger> </DataTrigger>
</Style.Triggers> </Style.Triggers>
</Style> </Style>
...@@ -62,13 +62,13 @@ ...@@ -62,13 +62,13 @@
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent}" Text="{Binding TotalPages}" /> <TextBlock Style="{StaticResource TextBlockStyle_FieldContent}" Text="{Binding TotalPages}" />
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="页" /> <TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="页" />
</StackPanel> </StackPanel>
<Button Foreground="{StaticResource AccentBaseColorBrush}" Command="{Binding DataContext.NextCmd,ElementName=gridVm}"> <Button Foreground="{StaticResource MahApps.Brushes.AccentBase}" Command="{Binding DataContext.NextCmd,ElementName=gridVm}">
<Button.Style> <Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_smallIcon}"> <Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_smallIcon}">
<Style.Triggers> <Style.Triggers>
<!--已经是最后页--> <!--已经是最后页-->
<DataTrigger Binding="{Binding IsLastPage}" Value="True"> <DataTrigger Binding="{Binding IsLastPage}" Value="True">
<Setter Property="Foreground" Value="{StaticResource GrayBrush3}"/> <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Gray3}"/>
</DataTrigger> </DataTrigger>
</Style.Triggers> </Style.Triggers>
</Style> </Style>
...@@ -76,13 +76,13 @@ ...@@ -76,13 +76,13 @@
<iconPacks:PackIconMaterial Kind="ArrowRight" /> <iconPacks:PackIconMaterial Kind="ArrowRight" />
</Button> </Button>
<Button Foreground="{StaticResource AccentBaseColorBrush}" Command="{Binding DataContext.NextestCmd,ElementName=gridVm}" > <Button Foreground="{StaticResource MahApps.Brushes.AccentBase}" Command="{Binding DataContext.NextestCmd,ElementName=gridVm}" >
<Button.Style> <Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_smallIcon}"> <Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_smallIcon}">
<Style.Triggers> <Style.Triggers>
<!--已经是最新--> <!--已经是最新-->
<DataTrigger Binding="{Binding IsKeepNewest}" Value="True"> <DataTrigger Binding="{Binding IsKeepNewest}" Value="True">
<Setter Property="Foreground" Value="{StaticResource GrayBrush3}"/> <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Gray3}"/>
</DataTrigger> </DataTrigger>
</Style.Triggers> </Style.Triggers>
</Style> </Style>
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
</Style.Triggers> </Style.Triggers>
</Style> </Style>
</Grid.Style> </Grid.Style>
<Ellipse Fill="{StaticResource ValidationSummaryColor1}" /> <Ellipse Fill="{StaticResource MahApps.Brushes.ValidationSummary1}" />
<TextBlock FontSize="10" Text="{Binding AutoKeepNewestTimeRemaining}" DataContext="{Binding ElementName=gridVm,Path=DataContext}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="{StaticResource ValidationTextBrush}"/> <TextBlock FontSize="10" Text="{Binding AutoKeepNewestTimeRemaining}" DataContext="{Binding ElementName=gridVm,Path=DataContext}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="{StaticResource MahApps.Brushes.Text.Validation}"/>
</Grid> </Grid>
</Grid> </Grid>
</Button> </Button>
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
<Style x:Key="CleanSeparator" TargetType="lvc:Separator"> <Style x:Key="CleanSeparator" TargetType="lvc:Separator">
<Setter Property="IsEnabled" Value="False"></Setter> <Setter Property="IsEnabled" Value="False"></Setter>
</Style> </Style>
<SolidColorBrush x:Key="DBrush" Color="{StaticResource Gray1}"/> <SolidColorBrush x:Key="DBrush" Color="{StaticResource MahApps.Colors.Gray1}"/>
<SolidColorBrush x:Key="FilmWidthBrush" Color="{StaticResource AccentBaseColor}"/> <SolidColorBrush x:Key="FilmWidthBrush" Color="{StaticResource MahApps.Colors.AccentBase}"/>
<sys:Double x:Key="AxisFontSize">14</sys:Double> <sys:Double x:Key="AxisFontSize">14</sys:Double>
</lvc:CartesianChart.Resources> </lvc:CartesianChart.Resources>
<lvc:CartesianChart.Series> <lvc:CartesianChart.Series>
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</lvc:CartesianChart.Series> </lvc:CartesianChart.Series>
<lvc:CartesianChart.AxisX> <lvc:CartesianChart.AxisX>
<lvc:Axis IsEnabled="True" ShowLabels="True" Foreground="{StaticResource BlackBrush}" FontSize="{StaticResource AxisFontSize}" > <lvc:Axis IsEnabled="True" ShowLabels="True" Foreground="{StaticResource MahApps.Brushes.Text}" FontSize="{StaticResource AxisFontSize}" >
<lvc:Axis.Separator> <lvc:Axis.Separator>
<lvc:Separator Style="{StaticResource CleanSeparator}"></lvc:Separator> <lvc:Separator Style="{StaticResource CleanSeparator}"></lvc:Separator>
</lvc:Axis.Separator> </lvc:Axis.Separator>
...@@ -139,10 +139,10 @@ ...@@ -139,10 +139,10 @@
</lvc:Axis> </lvc:Axis>
<lvc:Axis Foreground="{StaticResource FilmWidthBrush}" Title="折径显示 (mm)" FontSize="{StaticResource AxisFontSize}" > <lvc:Axis Foreground="{StaticResource FilmWidthBrush}" Title="折径显示 (mm)" FontSize="{StaticResource AxisFontSize}" >
<lvc:Axis.Separator> <lvc:Axis.Separator>
<lvc:Separator StrokeThickness="1" Stroke="{StaticResource AccentColorBrush2}" StrokeDashArray="8" /> <lvc:Separator StrokeThickness="1" Stroke="{StaticResource MahApps.Brushes.Accent2}" StrokeDashArray="8" />
</lvc:Axis.Separator> </lvc:Axis.Separator>
<lvc:Axis.Sections> <lvc:Axis.Sections>
<lvc:AxisSection Value="{Binding FilmWidthAxisYTarget}" StrokeThickness="3" Stroke="{StaticResource Color_theme_highlight}" Label="折径设置值"/> <lvc:AxisSection Value="{Binding FilmWidthAxisYTarget}" StrokeThickness="3" Stroke="{StaticResource MahApps.Brushes.Highlight}" Label="折径设置值"/>
</lvc:Axis.Sections> </lvc:Axis.Sections>
</lvc:Axis> </lvc:Axis>
</lvc:CartesianChart.AxisY> </lvc:CartesianChart.AxisY>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
xmlns:local="clr-namespace:FLY.Integrated.UI.Client.UiModule" xmlns:local="clr-namespace:FLY.Integrated.UI.Client.UiModule"
mc:Ignorable="d" mc:Ignorable="d"
Title="Window_GraphSet" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight" Background="{StaticResource WhiteBrush}" Title="Window_GraphSet" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight" Background="{StaticResource MahApps.Brushes.ThemeBackground}"
d:DataContext="{d:DesignInstance local:IbcCtrlGraphParams}"> d:DataContext="{d:DesignInstance local:IbcCtrlGraphParams}">
<flyctrllib:WindowBigClose.Resources> <flyctrllib:WindowBigClose.Resources>
<ResourceDictionary> <ResourceDictionary>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</flyctrllib:WindowBigClose.Resources> </flyctrllib:WindowBigClose.Resources>
<StackPanel Margin="{StaticResource ControlMargin}"> <StackPanel Margin="{StaticResource ControlMargin}">
<StackPanel Orientation="Horizontal" Margin="10"> <StackPanel Orientation="Horizontal" Margin="10">
<TextBlock FontSize="30" Foreground="{StaticResource TextBrush}" Text="IBC控制过程" /> <TextBlock FontSize="30" Foreground="{StaticResource MahApps.Brushes.Text}" Text="IBC控制过程" />
</StackPanel> </StackPanel>
<StackPanel > <StackPanel >
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<sys:Double x:Key="FontSize_unit">12</sys:Double> <sys:Double x:Key="FontSize_unit">12</sys:Double>
</ResourceDictionary> </ResourceDictionary>
</UserControl.Resources> </UserControl.Resources>
<Border Margin="{StaticResource ControlMargin}" CornerRadius="5" Background="{StaticResource WhiteBrush}" > <Border Margin="{StaticResource ControlMargin}" CornerRadius="5" Background="{StaticResource MahApps.Brushes.ThemeBackground}" >
<Viewbox HorizontalAlignment="Left" VerticalAlignment="Top"> <Viewbox HorizontalAlignment="Left" VerticalAlignment="Top">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Grid Margin="30,10"> <Grid Margin="30,10">
...@@ -34,16 +34,16 @@ ...@@ -34,16 +34,16 @@
<ColumnDefinition Width="auto"/> <ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel Grid.Row="0" Grid.ColumnSpan="2" > <StackPanel Grid.Row="0" Grid.ColumnSpan="2" >
<TextBlock Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.Text}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBlock Text="{Binding InletAirFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="{Binding InletAirFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource MahApps.Brushes.Text}"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<TextBlock Grid.Column="2" Text="进风" FontSize="35" Foreground="{StaticResource WhiteBrush}" Margin="3" Padding="7,0" Background="{StaticResource GrayBrush2}" /> <TextBlock Grid.Column="2" Text="进风" FontSize="35" Foreground="{StaticResource MahApps.Brushes.ThemeBackground}" Margin="3" Padding="7,0" Background="{StaticResource MahApps.Brushes.Gray2}" />
<Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" > <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" >
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
...@@ -52,25 +52,25 @@ ...@@ -52,25 +52,25 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}"> <Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}">
<TextBox Text="{Binding InletAirFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource HighlightBrush}" VerticalAlignment="Bottom" FontSize="35"/> <TextBox Text="{Binding InletAirFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource MahApps.Brushes.Highlight}" VerticalAlignment="Bottom" FontSize="35"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}"/> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}"/>
</StackPanel> </StackPanel>
<Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource ValidationSummaryColor5}" <Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"
HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-20,-30,0" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-20,-30,0"
Click="btnInletAirMinusClick" > Click="btnInletAirMinusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="MinusCircle"/> <iconPacks:PackIconMaterial Kind="MinusCircle"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>
<Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource AccentColorBrush}" <Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource MahApps.Brushes.Accent}"
Margin="-10,0,0,-80" Grid.Row="1" Grid.Column="0" VerticalAlignment="Top" Margin="-10,0,0,-80" Grid.Row="1" Grid.Column="0" VerticalAlignment="Top"
Click="btnInletAirPlusClick" > Click="btnInletAirPlusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="PlusCircle"/> <iconPacks:PackIconMaterial Kind="PlusCircle"/>
</Grid> </Grid>
</Button> </Button>
...@@ -93,15 +93,15 @@ ...@@ -93,15 +93,15 @@
<StackPanel Grid.Row="0" Grid.ColumnSpan="2" > <StackPanel Grid.Row="0" Grid.ColumnSpan="2" >
<TextBlock Grid.Row="0" Grid.Column="0" Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource TextBrush}"/> <TextBlock Grid.Row="0" Grid.Column="0" Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.Text}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBlock Text="{Binding OutletAirFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="{Binding OutletAirFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource MahApps.Brushes.Text}"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<TextBlock Grid.Column="2" Text="出风" FontSize="35" Foreground="{StaticResource WhiteBrush}" Margin="3" Padding="7,0" Background="{StaticResource GrayBrush2}" /> <TextBlock Grid.Column="2" Text="出风" FontSize="35" Foreground="{StaticResource MahApps.Brushes.ThemeBackground}" Margin="3" Padding="7,0" Background="{StaticResource MahApps.Brushes.Gray2}" />
<Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" > <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" >
...@@ -111,25 +111,25 @@ ...@@ -111,25 +111,25 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}"> <Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}">
<TextBox Text="{Binding OutletAirFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource HighlightBrush}" VerticalAlignment="Bottom" FontSize="35"/> <TextBox Text="{Binding OutletAirFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource MahApps.Brushes.Highlight}" VerticalAlignment="Bottom" FontSize="35"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" /> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" />
</StackPanel> </StackPanel>
<Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource ValidationSummaryColor5}" <Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"
HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-20,-30,0" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-20,-30,0"
Click="btnOutletAirMinusClick" > Click="btnOutletAirMinusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="MinusCircle"/> <iconPacks:PackIconMaterial Kind="MinusCircle"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>
<Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource AccentColorBrush}" <Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource MahApps.Brushes.Accent}"
Margin="-10,0,0,-80" Grid.Row="1" Grid.Column="0" VerticalAlignment="Top" Margin="-10,0,0,-80" Grid.Row="1" Grid.Column="0" VerticalAlignment="Top"
Click="btnOutletAirPlusClick" > Click="btnOutletAirPlusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="PlusCircle" /> <iconPacks:PackIconMaterial Kind="PlusCircle" />
</Grid> </Grid>
</Button> </Button>
...@@ -152,16 +152,16 @@ ...@@ -152,16 +152,16 @@
<StackPanel Grid.Row="0" Grid.ColumnSpan="2" > <StackPanel Grid.Row="0" Grid.ColumnSpan="2" >
<TextBlock Grid.Row="0" Grid.Column="0" Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource TextBrush}"/> <TextBlock Grid.Row="0" Grid.Column="0" Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.Text}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBlock Text="{Binding ExCoolFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="{Binding ExCoolFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource MahApps.Brushes.Text}"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<TextBlock Grid.Column="2" Text="外冷" FontSize="35" Foreground="{StaticResource WhiteBrush}" Margin="3" Padding="7,0" Background="{StaticResource GrayBrush2}" /> <TextBlock Grid.Column="2" Text="外冷" FontSize="35" Foreground="{StaticResource MahApps.Brushes.ThemeBackground}" Margin="3" Padding="7,0" Background="{StaticResource MahApps.Brushes.Gray2}" />
<Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" > <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" >
...@@ -171,25 +171,25 @@ ...@@ -171,25 +171,25 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}"> <Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}">
<TextBox Text="{Binding ExCoolFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource HighlightBrush}" VerticalAlignment="Bottom" FontSize="35"/> <TextBox Text="{Binding ExCoolFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource MahApps.Brushes.Highlight}" VerticalAlignment="Bottom" FontSize="35"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" /> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" />
</StackPanel> </StackPanel>
<Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource ValidationSummaryColor5}" <Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"
HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,-20,-30,25" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,-20,-30,25"
Click="btnExCoolMinusClick" Grid.ColumnSpan="2" > Click="btnExCoolMinusClick" Grid.ColumnSpan="2" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="MinusCircle"/> <iconPacks:PackIconMaterial Kind="MinusCircle"/>
</Grid> </Grid>
</Button> </Button>
</Grid> </Grid>
<Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource AccentColorBrush}" <Button Style="{StaticResource ButtonStyle_icon}" Foreground="{StaticResource MahApps.Brushes.Accent}"
Margin="-10,0,0,-80" Grid.Row="1" Grid.Column="0" VerticalAlignment="Top" Margin="-10,0,0,-80" Grid.Row="1" Grid.Column="0" VerticalAlignment="Top"
Click="btnExCoolPlusClick" > Click="btnExCoolPlusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="PlusCircle" /> <iconPacks:PackIconMaterial Kind="PlusCircle" />
</Grid> </Grid>
</Button> </Button>
...@@ -211,31 +211,31 @@ ...@@ -211,31 +211,31 @@
<StackPanel > <StackPanel >
<TextBlock Text="折径显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="折径显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.Text}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs25_0000}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_0000}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBlock Text="{Binding FilmWidth,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="{Binding FilmWidth,StringFormat={}{0:F0}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource MahApps.Brushes.Text}"/>
</Viewbox> </Viewbox>
<TextBlock Text="mm" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="mm" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<TextBlock Text="IBC" Grid.Column="1" FontSize="35" Margin="3" Padding="20,0" Background="{StaticResource GrayBrush2}" Foreground="{StaticResource WhiteBrush}"/> <TextBlock Text="IBC" Grid.Column="1" FontSize="35" Margin="3" Padding="20,0" Background="{StaticResource MahApps.Brushes.Gray2}" Foreground="{StaticResource MahApps.Brushes.ThemeBackground}"/>
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2"> <StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2">
<StackPanel> <StackPanel>
<TextBlock Grid.Row="0" Grid.Column="0" Text="折径设置" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource AccentBaseColorBrush}"/> <TextBlock Grid.Row="0" Grid.Column="0" Text="折径设置" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.AccentBase}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs35_0000}" Height="{StaticResource ViewboxH_fs35}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs35_0000}" Height="{StaticResource ViewboxH_fs35}" HorizontalAlignment="Right">
<TextBox Text="{Binding FilmWidthSet,StringFormat={}{0:F0}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource HighlightBrush}" VerticalAlignment="Bottom" HorizontalContentAlignment="Right"/> <TextBox Text="{Binding FilmWidthSet,StringFormat={}{0:F0}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource MahApps.Brushes.Highlight}" VerticalAlignment="Bottom" HorizontalContentAlignment="Right"/>
</Viewbox> </Viewbox>
<TextBlock Text="mm" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}"/> <TextBlock Text="mm" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<TextBlock Text="|" Style="{StaticResource TextBlockStyle_FieldContent_mm_interval}" Foreground="{StaticResource ValidationSummaryColor5}"/> <TextBlock Text="|" Style="{StaticResource TextBlockStyle_FieldContent_mm_interval}" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"/>
<StackPanel> <StackPanel>
<TextBlock Grid.Row="0" Grid.Column="0" Text="误差校正" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource ValidationSummaryColor5}"/> <TextBlock Grid.Row="0" Grid.Column="0" Text="误差校正" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBox Text="{Binding ErrorCorrection,StringFormat={}{0:F0}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource ValidationBrush5}" VerticalAlignment="Bottom" FontSize="25" HorizontalContentAlignment="Right"/> <TextBox Text="{Binding ErrorCorrection,StringFormat={}{0:F0}}" Style="{StaticResource TextBoxStyle_FieldContent}" Foreground="{StaticResource MahApps.Brushes.Validation5}" VerticalAlignment="Bottom" FontSize="25" HorizontalContentAlignment="Right"/>
</Viewbox> </Viewbox>
<TextBlock Text="mm" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="mm" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
...@@ -251,10 +251,10 @@ ...@@ -251,10 +251,10 @@
Margin="-20,5,20,5" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="-20,5,20,5" VerticalAlignment="Top" HorizontalAlignment="Left"
Click="btnK123Click" > Click="btnK123Click" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Border CornerRadius="5" Background="{StaticResource AccentColorBrush}"> <Border CornerRadius="5" Background="{StaticResource MahApps.Brushes.Accent}">
<Path Margin="10" Width="60" Height="50" Stretch="Fill" Stroke="{StaticResource WhiteBrush}" StrokeThickness="3" Data="M150,200 L0,300 M150,200 L300,300 M150,200 L150,0 M150,0 0,300 300,300 Z" /> <Path Margin="10" Width="60" Height="50" Stretch="Fill" Stroke="{StaticResource MahApps.Brushes.ThemeBackground}" StrokeThickness="3" Data="M150,200 L0,300 M150,200 L300,300 M150,200 L150,0 M150,0 0,300 300,300 Z" />
</Border> </Border>
<TextBlock Text="膜泡校正" Foreground="{StaticResource WhiteBrush}" FontWeight="Bold" VerticalAlignment="Bottom" HorizontalAlignment="Center" Background="{StaticResource AccentColorBrush}" Padding="5,0" Margin="0,0,0,-10" FontSize="{StaticResource FontSize_title}"/> <TextBlock Text="膜泡校正" Foreground="{StaticResource MahApps.Brushes.ThemeBackground}" FontWeight="Bold" VerticalAlignment="Bottom" HorizontalAlignment="Center" Background="{StaticResource MahApps.Brushes.Accent}" Padding="5,0" Margin="0,0,0,-10" FontSize="{StaticResource FontSize_title}"/>
</Grid> </Grid>
</Button> </Button>
<flyctrl:ToggleButtonOnOff OnLabel="自动" OffLabel="手动" <flyctrl:ToggleButtonOnOff OnLabel="自动" OffLabel="手动"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</ResourceDictionary.MergedDictionaries> </ResourceDictionary.MergedDictionaries>
</ResourceDictionary> </ResourceDictionary>
</UserControl.Resources> </UserControl.Resources>
<Border Grid.Row="1" Margin="{StaticResource ControlMargin}" CornerRadius="5" Background="{StaticResource WhiteBrush}" > <Border Grid.Row="1" Margin="{StaticResource ControlMargin}" CornerRadius="5" Background="{StaticResource MahApps.Brushes.ThemeBackground}" >
<Grid > <Grid >
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/> <ColumnDefinition Width="auto"/>
...@@ -38,10 +38,10 @@ ...@@ -38,10 +38,10 @@
<ColumnDefinition Width="auto"/> <ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel > <StackPanel >
<TextBlock Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.Text}"/>
<StackPanel Orientation="Horizontal" > <StackPanel Orientation="Horizontal" >
<Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBlock Text="{Binding RotaryFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="{Binding RotaryFreq,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource MahApps.Brushes.Text}"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<Button Style="{StaticResource ButtonStyle_empty}" Click="btnFreqClick"> <Button Style="{StaticResource ButtonStyle_empty}" Click="btnFreqClick">
<StackPanel Orientation="Horizontal" Margin="20,0,0,0"> <StackPanel Orientation="Horizontal" Margin="20,0,0,0">
<Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}" HorizontalAlignment="Right"> <Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}" HorizontalAlignment="Right">
<TextBlock Text="{Binding RotaryFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="35" Foreground="{StaticResource HighlightBrush}"/> <TextBlock Text="{Binding RotaryFreqSet,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="35" Foreground="{StaticResource MahApps.Brushes.Highlight}"/>
</Viewbox> </Viewbox>
<TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}"/> <TextBlock Text="Hz" Style="{StaticResource TextBlockStyle_FieldContent_mm}"/>
</StackPanel> </StackPanel>
...@@ -82,11 +82,11 @@ ...@@ -82,11 +82,11 @@
<flyctrl:ResetBehavior Binding="{Binding RotaryForw}"/> <flyctrl:ResetBehavior Binding="{Binding RotaryForw}"/>
</i:Interaction.Behaviors> </i:Interaction.Behaviors>
<Grid> <Grid>
<Ellipse Fill="{StaticResource GrayBrush10}" Margin="6,10,6,2"/> <Ellipse Fill="{StaticResource MahApps.Brushes.Gray10}" Margin="6,10,6,2"/>
<iconPacks:PackIconMaterial Kind="RotateRight" /> <iconPacks:PackIconMaterial Kind="RotateRight" />
</Grid> </Grid>
</Button> </Button>
<TextBlock Text="转塔反转" Style="{StaticResource TextBlockStyle_FieldHeader}" FontSize="{StaticResource FontSize_title}" Foreground="{StaticResource TextBrush}" /> <TextBlock Text="转塔反转" Style="{StaticResource TextBlockStyle_FieldHeader}" FontSize="{StaticResource FontSize_title}" Foreground="{StaticResource MahApps.Brushes.Text}" />
</StackPanel> </StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}"> <StackPanel Margin="{StaticResource ControlMargin}">
<Button Style="{StaticResource ButtonStyle_resizeIcon}"> <Button Style="{StaticResource ButtonStyle_resizeIcon}">
...@@ -94,11 +94,11 @@ ...@@ -94,11 +94,11 @@
<flyctrl:ResetBehavior Binding="{Binding RotaryBackw}"/> <flyctrl:ResetBehavior Binding="{Binding RotaryBackw}"/>
</i:Interaction.Behaviors> </i:Interaction.Behaviors>
<Grid> <Grid>
<Ellipse Fill="{StaticResource GrayBrush10}" Margin="6,10,6,2"/> <Ellipse Fill="{StaticResource MahApps.Brushes.Gray10}" Margin="6,10,6,2"/>
<iconPacks:PackIconMaterial Kind="RotateLeft" /> <iconPacks:PackIconMaterial Kind="RotateLeft" />
</Grid> </Grid>
</Button> </Button>
<TextBlock Text="转塔反转" Style="{StaticResource TextBlockStyle_FieldHeader}" FontSize="{StaticResource FontSize_title}" Foreground="{StaticResource TextBrush}" /> <TextBlock Text="转塔反转" Style="{StaticResource TextBlockStyle_FieldHeader}" FontSize="{StaticResource FontSize_title}" Foreground="{StaticResource MahApps.Brushes.Text}" />
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<Setter Property="HorizontalContentAlignment" Value="Center"/> <Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="1"/> <Setter Property="Padding" Value="1"/>
<Setter Property="OffBrush" Value="{StaticResource ValidationSummaryColor5}" /> <Setter Property="OffBrush" Value="{StaticResource MahApps.Brushes.ValidationSummary5}" />
<Setter Property="OnBrush" Value="{StaticResource AccentColorBrush}" /> <Setter Property="OnBrush" Value="{StaticResource MahApps.Brushes.Accent}" />
<Setter Property="OffLabel" Value="停止中" /> <Setter Property="OffLabel" Value="停止中" />
<Setter Property="OnLabel" Value="运行中" /> <Setter Property="OnLabel" Value="运行中" />
<Setter Property="Template"> <Setter Property="Template">
...@@ -63,8 +63,8 @@ ...@@ -63,8 +63,8 @@
<Setter Property="HorizontalContentAlignment" Value="Center"/> <Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="1"/> <Setter Property="Padding" Value="1"/>
<Setter Property="OffBrush" Value="{StaticResource GrayBrush1}" /> <Setter Property="OffBrush" Value="{StaticResource MahApps.Brushes.Gray1}" />
<Setter Property="OnBrush" Value="{StaticResource AccentColorBrush}" /> <Setter Property="OnBrush" Value="{StaticResource MahApps.Brushes.Accent}" />
<Setter Property="OffLabel" Value="复位" /> <Setter Property="OffLabel" Value="复位" />
<Setter Property="OnLabel" Value="复位中" /> <Setter Property="OnLabel" Value="复位中" />
<Setter Property="Template"> <Setter Property="Template">
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
<ControlTemplate TargetType="flyctrl:NoToggleButton"> <ControlTemplate TargetType="flyctrl:NoToggleButton">
<Border Background="Transparent"> <Border Background="Transparent">
<Grid x:Name="grid" Style="{StaticResource GridStyle_ButtonShadow}" > <Grid x:Name="grid" Style="{StaticResource GridStyle_ButtonShadow}" >
<Ellipse Stretch="Uniform" Fill="{StaticResource GrayBrush10}" Margin="2" Width="40" Height="{Binding RelativeSource={RelativeSource Mode=Self},Path=Width}"/> <Ellipse Stretch="Uniform" Fill="{StaticResource MahApps.Brushes.Gray10}" Margin="2" Width="40" Height="{Binding RelativeSource={RelativeSource Mode=Self},Path=Width}"/>
<iconPacks:PackIconMaterial x:Name="icon" Kind="Bullseye" Foreground="{TemplateBinding OffBrush}" Width="50" Height="{Binding RelativeSource={RelativeSource Mode=Self},Path=Width}"/> <iconPacks:PackIconMaterial x:Name="icon" Kind="Bullseye" Foreground="{TemplateBinding OffBrush}" Width="50" Height="{Binding RelativeSource={RelativeSource Mode=Self},Path=Width}"/>
<TextBlock x:Name="tbOnOff" Margin="0,0,0,-10" Padding="2" Foreground="{StaticResource WhiteBrush}" FontSize="15" VerticalAlignment="Bottom" HorizontalAlignment="Center" <TextBlock x:Name="tbOnOff" Margin="0,0,0,-10" Padding="2" Foreground="{StaticResource MahApps.Brushes.ThemeBackground}" FontSize="15" VerticalAlignment="Bottom" HorizontalAlignment="Center"
Background="{TemplateBinding OffBrush}" Background="{TemplateBinding OffBrush}"
Text="{TemplateBinding OffLabel}"/> Text="{TemplateBinding OffLabel}"/>
</Grid> </Grid>
...@@ -105,8 +105,8 @@ ...@@ -105,8 +105,8 @@
<Setter Property="HorizontalContentAlignment" Value="Center"/> <Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="1"/> <Setter Property="Padding" Value="1"/>
<Setter Property="OffBrush" Value="{StaticResource GrayBrush1}" /> <Setter Property="OffBrush" Value="{StaticResource MahApps.Brushes.Gray1}" />
<Setter Property="OnBrush" Value="{StaticResource AccentColorBrush2}" /> <Setter Property="OnBrush" Value="{StaticResource MahApps.Brushes.Accent2}" />
<Setter Property="IsEnabled" Value="False" /> <Setter Property="IsEnabled" Value="False" />
<Setter Property="OnLabel" Value="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/> <Setter Property="OnLabel" Value="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
<Setter Property="OffLabel" Value="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/> <Setter Property="OffLabel" Value="{Binding Content,RelativeSource={RelativeSource Mode=Self}}"/>
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<ControlTemplate TargetType="flyctrl:NoToggleButton"> <ControlTemplate TargetType="flyctrl:NoToggleButton">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial x:Name="icon" Kind="CircleOutline" Width="30" Height="{Binding Width,RelativeSource={RelativeSource Mode=Self}}" Margin="2" Foreground="{TemplateBinding OffBrush}"/> <iconPacks:PackIconMaterial x:Name="icon" Kind="CircleOutline" Width="30" Height="{Binding Width,RelativeSource={RelativeSource Mode=Self}}" Margin="2" Foreground="{TemplateBinding OffBrush}"/>
<TextBlock x:Name="tbOnOff" Text="{TemplateBinding OffLabel}" Style="{StaticResource TextBlockStyle_FieldHeader}" Foreground="{StaticResource TextBrush}" FontSize="{StaticResource FontSize_title}"/> <TextBlock x:Name="tbOnOff" Text="{TemplateBinding OffLabel}" Style="{StaticResource TextBlockStyle_FieldHeader}" Foreground="{StaticResource MahApps.Brushes.Text}" FontSize="{StaticResource FontSize_title}"/>
</StackPanel> </StackPanel>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/>
</Style> </Style>
</Style.Resources> </Style.Resources>
<Setter Property="Foreground" Value="{StaticResource GrayBrush1}"/> <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Gray1}"/>
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type Button}"> <ControlTemplate TargetType="{x:Type Button}">
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<Trigger Property="IsPressed" Value="True"> <Trigger Property="IsPressed" Value="True">
<Setter TargetName="path" Property="Width" Value="46"/> <Setter TargetName="path" Property="Width" Value="46"/>
<Setter TargetName="grid" Property="Margin" Value="2"/> <Setter TargetName="grid" Property="Margin" Value="2"/>
<Setter Property="Foreground" Value="{StaticResource AccentColorBrush}"/> <Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Accent}"/>
<Setter TargetName="grid" Property="Effect" Value="{x:Null}" /> <Setter TargetName="grid" Property="Effect" Value="{x:Null}" />
</Trigger> </Trigger>
</ControlTemplate.Triggers> </ControlTemplate.Triggers>
......
...@@ -39,19 +39,19 @@ ...@@ -39,19 +39,19 @@
</StackPanel> </StackPanel>
</Grid> </Grid>
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal"> <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
<Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource AccentColorBrush}" <Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource MahApps.Brushes.Accent}"
VerticalAlignment="Top" VerticalAlignment="Top"
Click="btnPlusClick" > Click="btnPlusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="PlusCircle"/> <iconPacks:PackIconMaterial Kind="PlusCircle"/>
</Grid> </Grid>
</Button> </Button>
<Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource ValidationSummaryColor5}" <Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"
VerticalAlignment="Top" VerticalAlignment="Top"
Click="btnMinusClick" > Click="btnMinusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="MinusCircle"/> <iconPacks:PackIconMaterial Kind="MinusCircle"/>
</Grid> </Grid>
</Button> </Button>
......
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
<ColumnDefinition Width="auto"/> <ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel > <StackPanel >
<TextBlock Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="显示" FontSize="{StaticResource FontSize_title}" Margin="3,0" Foreground="{StaticResource MahApps.Brushes.Text}"/>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right"> <Viewbox Width="{StaticResource ViewboxW_fs25_00p0}" Height="{StaticResource ViewboxH_fs25}" HorizontalAlignment="Right">
<TextBlock Text="{Binding TractionVelocity,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource TextBrush}"/> <TextBlock Text="{Binding TractionVelocity,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="25" Foreground="{StaticResource MahApps.Brushes.Text}"/>
</Viewbox> </Viewbox>
<TextBlock Text="m/min" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" /> <TextBlock Text="m/min" Style="{StaticResource TextBlockStyle_FieldContent_mm}" FontSize="{StaticResource FontSize_unit}" />
</StackPanel> </StackPanel>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<Button Style="{StaticResource ButtonStyle_empty}" Click="btnVelocityClick"> <Button Style="{StaticResource ButtonStyle_empty}" Click="btnVelocityClick">
<StackPanel Orientation="Horizontal" Margin="20,0,0,0"> <StackPanel Orientation="Horizontal" Margin="20,0,0,0">
<Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}"> <Viewbox MaxWidth="{StaticResource ViewboxW_fs35_000p0}" Height="{StaticResource ViewboxH_fs35}">
<TextBlock Text="{Binding TractionVelocitySet,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="35" Foreground="{StaticResource HighlightBrush}"/> <TextBlock Text="{Binding TractionVelocitySet,StringFormat={}{0:F1}}" Style="{StaticResource TextBlockStyle_FieldContent}" FontSize="35" Foreground="{StaticResource MahApps.Brushes.Highlight}"/>
</Viewbox> </Viewbox>
<TextBlock Text="m/min" Style="{StaticResource TextBlockStyle_FieldContent_mm}"/> <TextBlock Text="m/min" Style="{StaticResource TextBlockStyle_FieldContent_mm}"/>
</StackPanel> </StackPanel>
......
...@@ -40,19 +40,19 @@ ...@@ -40,19 +40,19 @@
</StackPanel> </StackPanel>
</Grid> </Grid>
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal"> <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
<Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource AccentColorBrush}" <Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource MahApps.Brushes.Accent}"
VerticalAlignment="Top" VerticalAlignment="Top"
Click="btnPlusClick" > Click="btnPlusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="PlusCircle"/> <iconPacks:PackIconMaterial Kind="PlusCircle"/>
</Grid> </Grid>
</Button> </Button>
<Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource ValidationSummaryColor5}" <Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource MahApps.Brushes.ValidationSummary5}"
VerticalAlignment="Top" VerticalAlignment="Top"
Click="btnMinusClick" > Click="btnMinusClick" >
<Grid Style="{StaticResource GridStyle_ButtonShadow}"> <Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Ellipse Fill="{StaticResource WhiteBrush}" Stretch="Fill" Margin="1"/> <Ellipse Fill="{StaticResource MahApps.Brushes.ThemeBackground}" Stretch="Fill" Margin="1"/>
<iconPacks:PackIconMaterial Kind="MinusCircle"/> <iconPacks:PackIconMaterial Kind="MinusCircle"/>
</Grid> </Grid>
</Button> </Button>
......
...@@ -38,12 +38,12 @@ ...@@ -38,12 +38,12 @@
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}"> <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}">
<Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource AccentColorBrush}" <Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource Color_theme_activity}"
VerticalAlignment="Top" VerticalAlignment="Top"
Command="{Binding PlusCmd}" > Command="{Binding PlusCmd}" >
<iconPacks:PackIconMaterial Kind="PlusCircle"/> <iconPacks:PackIconMaterial Kind="PlusCircle"/>
</Button> </Button>
<Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource ValidationSummaryColor5}" <Button Style="{StaticResource ButtonStyle_largeIcon}" Foreground="{StaticResource Color_theme_validation}"
VerticalAlignment="Top" VerticalAlignment="Top"
Command="{Binding MinusCmd}" > Command="{Binding MinusCmd}" >
<iconPacks:PackIconMaterial Kind="MinusCircle"/> <iconPacks:PackIconMaterial Kind="MinusCircle"/>
......
Subproject commit 1676b45befd3e926c9e68e54aabd18dbdd51d450 Subproject commit a33ff2f8ab12e7468524953d2225fd7689e299d6
和美安装包_v6.21.3 -20210105
1. 修复 收卷设置速度,弹出异常。原因Mahapp的资源名称还没改完
和美安装包_v6.21.2 -20201231 和美安装包_v6.21.2 -20201231
1. 增加 称重服务器 可以通过对 6666666_v3 删减,生成任意 xxxxx_v3 1. 增加 称重服务器 可以通过对 6666666_v3 删减,生成任意 xxxxx_v3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment