|
@@ -5,13 +5,13 @@
|
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
|
|
xmlns:converter="clr-namespace:TeamAAS_VP.ValueConverter"
|
|
xmlns:converter="clr-namespace:TeamAAS_VP.ValueConverter"
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
- xmlns:enums="clr-namespace:TeamAAS_VP.Enums"
|
|
|
|
|
xmlns:lex="http://wpflocalizeextension.codeplex.com"
|
|
xmlns:lex="http://wpflocalizeextension.codeplex.com"
|
|
|
xmlns:local="clr-namespace:TeamAAS_VP"
|
|
xmlns:local="clr-namespace:TeamAAS_VP"
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
xmlns:prism="http://prismlibrary.com/"
|
|
xmlns:prism="http://prismlibrary.com/"
|
|
|
xmlns:vm="clr-namespace:TeamAAS_VP.ViewModels"
|
|
xmlns:vm="clr-namespace:TeamAAS_VP.ViewModels"
|
|
|
|
|
+ xmlns:enums="clr-namespace:TeamAAS_VP.Enums"
|
|
|
d:DataContext="{d:DesignInstance Type=vm:MainWindowViewModel}"
|
|
d:DataContext="{d:DesignInstance Type=vm:MainWindowViewModel}"
|
|
|
d:Height="768"
|
|
d:Height="768"
|
|
|
d:Width="1024"
|
|
d:Width="1024"
|
|
@@ -33,52 +33,52 @@
|
|
|
<converter:NavigationStateConverter x:Key="_NavigationState" />
|
|
<converter:NavigationStateConverter x:Key="_NavigationState" />
|
|
|
<converter:NavigationStateConverter1 x:Key="_NavigationState1" />
|
|
<converter:NavigationStateConverter1 x:Key="_NavigationState1" />
|
|
|
|
|
|
|
|
- <!-- 普通状态背景 -->
|
|
|
|
|
|
|
+ <!-- 普通状态背景 -->
|
|
|
<SolidColorBrush x:Key="ModeNormalBrush" Color="White" />
|
|
<SolidColorBrush x:Key="ModeNormalBrush" Color="White" />
|
|
|
- <!-- 生产模式背景 -->
|
|
|
|
|
|
|
+ <!-- 生产模式背景 -->
|
|
|
<SolidColorBrush x:Key="ModeAutoBrush" Color="Green" />
|
|
<SolidColorBrush x:Key="ModeAutoBrush" Color="Green" />
|
|
|
- <!-- 调机模式背景 -->
|
|
|
|
|
|
|
+ <!-- 调机模式背景 -->
|
|
|
<SolidColorBrush x:Key="ModeManualBrush" Color="Orange" />
|
|
<SolidColorBrush x:Key="ModeManualBrush" Color="Orange" />
|
|
|
- <!-- 流线模式背景 -->
|
|
|
|
|
|
|
+ <!-- 流线模式背景 -->
|
|
|
<SolidColorBrush x:Key="ModeClearBrush" Color="Yellow" />
|
|
<SolidColorBrush x:Key="ModeClearBrush" Color="Yellow" />
|
|
|
|
|
|
|
|
- <!-- 生产卡片样式 -->
|
|
|
|
|
|
|
+ <!-- 生产卡片样式 -->
|
|
|
<Style x:Key="AutoModeCardStyle" TargetType="materialDesign:Card">
|
|
<Style x:Key="AutoModeCardStyle" TargetType="materialDesign:Card">
|
|
|
<Setter Property="Background" Value="{StaticResource ModeNormalBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource ModeNormalBrush}" />
|
|
|
- <Setter Property="Margin" Value="6,0" />
|
|
|
|
|
- <Setter Property="MinWidth" Value="64" />
|
|
|
|
|
|
|
+ <Setter Property="Margin" Value="50,10" />
|
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
<Style.Triggers>
|
|
<Style.Triggers>
|
|
|
- <DataTrigger Binding="{Binding management.CurrentDisplayMode}" Value="{x:Static enums:RunDisplayMode.Auto}">
|
|
|
|
|
|
|
+ <DataTrigger Binding="{Binding management.CurrentDisplayMode}"
|
|
|
|
|
+ Value="{x:Static enums:RunDisplayMode.Auto}">
|
|
|
<Setter Property="Background" Value="{StaticResource ModeAutoBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource ModeAutoBrush}" />
|
|
|
</DataTrigger>
|
|
</DataTrigger>
|
|
|
</Style.Triggers>
|
|
</Style.Triggers>
|
|
|
</Style>
|
|
</Style>
|
|
|
|
|
|
|
|
- <!-- 调机卡片样式 -->
|
|
|
|
|
|
|
+ <!-- 调机卡片样式 -->
|
|
|
<Style x:Key="ManualModeCardStyle" TargetType="materialDesign:Card">
|
|
<Style x:Key="ManualModeCardStyle" TargetType="materialDesign:Card">
|
|
|
<Setter Property="Background" Value="{StaticResource ModeNormalBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource ModeNormalBrush}" />
|
|
|
- <Setter Property="Margin" Value="6,0" />
|
|
|
|
|
- <Setter Property="MinWidth" Value="64" />
|
|
|
|
|
|
|
+ <Setter Property="Margin" Value="20,10" />
|
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
<Style.Triggers>
|
|
<Style.Triggers>
|
|
|
- <DataTrigger Binding="{Binding management.CurrentDisplayMode}" Value="{x:Static enums:RunDisplayMode.Manual}">
|
|
|
|
|
|
|
+ <DataTrigger Binding="{Binding management.CurrentDisplayMode}"
|
|
|
|
|
+ Value="{x:Static enums:RunDisplayMode.Manual}">
|
|
|
<Setter Property="Background" Value="{StaticResource ModeManualBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource ModeManualBrush}" />
|
|
|
</DataTrigger>
|
|
</DataTrigger>
|
|
|
</Style.Triggers>
|
|
</Style.Triggers>
|
|
|
</Style>
|
|
</Style>
|
|
|
|
|
|
|
|
- <!-- 流线卡片样式 -->
|
|
|
|
|
|
|
+ <!-- 流线卡片样式 -->
|
|
|
<Style x:Key="ClearModeCardStyle" TargetType="materialDesign:Card">
|
|
<Style x:Key="ClearModeCardStyle" TargetType="materialDesign:Card">
|
|
|
<Setter Property="Background" Value="{StaticResource ModeNormalBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource ModeNormalBrush}" />
|
|
|
- <Setter Property="Margin" Value="6,0" />
|
|
|
|
|
- <Setter Property="MinWidth" Value="64" />
|
|
|
|
|
|
|
+ <Setter Property="Margin" Value="50,10" />
|
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
<Style.Triggers>
|
|
<Style.Triggers>
|
|
|
- <DataTrigger Binding="{Binding management.CurrentDisplayMode}" Value="{x:Static enums:RunDisplayMode.Clear}">
|
|
|
|
|
|
|
+ <DataTrigger Binding="{Binding management.CurrentDisplayMode}"
|
|
|
|
|
+ Value="{x:Static enums:RunDisplayMode.Clear}">
|
|
|
<Setter Property="Background" Value="{StaticResource ModeClearBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource ModeClearBrush}" />
|
|
|
</DataTrigger>
|
|
</DataTrigger>
|
|
|
</Style.Triggers>
|
|
</Style.Triggers>
|
|
@@ -127,23 +127,11 @@
|
|
|
CommandParameter="Home"
|
|
CommandParameter="Home"
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 运行窗口}">
|
|
ToolTip="{lex:Loc 运行窗口}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=0}"
|
|
|
|
|
- Kind="HomeOutline" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 运行窗口}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=0}"
|
|
|
|
|
+ Kind="HomeOutline" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<Button
|
|
<Button
|
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
@@ -155,23 +143,11 @@
|
|
|
CommandParameter="Products"
|
|
CommandParameter="Products"
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 产品管理}">
|
|
ToolTip="{lex:Loc 产品管理}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=1}"
|
|
|
|
|
- Kind="FileTableBoxOutline" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 产品管理}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=1}"
|
|
|
|
|
+ Kind="FileTableBoxOutline" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<Button
|
|
<Button
|
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
@@ -183,23 +159,11 @@
|
|
|
CommandParameter="Debug"
|
|
CommandParameter="Debug"
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 调试}">
|
|
ToolTip="{lex:Loc 调试}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=2}"
|
|
|
|
|
- Kind="WrenchOutline" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 调试}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=2}"
|
|
|
|
|
+ Kind="WrenchOutline" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<Button
|
|
<Button
|
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
@@ -211,23 +175,11 @@
|
|
|
CommandParameter="Setting"
|
|
CommandParameter="Setting"
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 设置}">
|
|
ToolTip="{lex:Loc 设置}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=3}"
|
|
|
|
|
- Kind="Cog" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 设置}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=3}"
|
|
|
|
|
+ Kind="Cog" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<materialDesign:Card
|
|
<materialDesign:Card
|
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
@@ -235,86 +187,36 @@
|
|
|
Margin="10"
|
|
Margin="10"
|
|
|
Background="White"
|
|
Background="White"
|
|
|
UniformCornerRadius="15">
|
|
UniformCornerRadius="15">
|
|
|
- <Grid Margin="12,8">
|
|
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
|
|
- <ColumnDefinition Width="*" />
|
|
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
|
-
|
|
|
|
|
- <Border
|
|
|
|
|
- Grid.Column="0"
|
|
|
|
|
- MinWidth="190"
|
|
|
|
|
- Padding="10,6"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- BorderBrush="#D6DDE8"
|
|
|
|
|
- BorderThickness="1"
|
|
|
|
|
- CornerRadius="8">
|
|
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,4"
|
|
|
|
|
- FontSize="{DynamicResource Font.Size.Body3}"
|
|
|
|
|
- FontWeight="SemiBold"
|
|
|
|
|
- Text="{lex:Loc SettingView_Language_Text}" />
|
|
|
|
|
- <ComboBox
|
|
|
|
|
- MinWidth="160"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- SelectedValue="{Binding CurrentLanguage, Mode=TwoWay}"
|
|
|
|
|
- SelectedValuePath="Tag">
|
|
|
|
|
- <ComboBoxItem
|
|
|
|
|
- Content="{lex:Loc SettingView_Language_ChineseSimplified}"
|
|
|
|
|
- Tag="{x:Static enums:Language.ChineseSimplified}" />
|
|
|
|
|
- <ComboBoxItem
|
|
|
|
|
- Content="{lex:Loc SettingView_Language_ChineseTraditional}"
|
|
|
|
|
- Tag="{x:Static enums:Language.ChineseTraditional}" />
|
|
|
|
|
- <ComboBoxItem
|
|
|
|
|
- Content="{lex:Loc SettingView_Language_English}"
|
|
|
|
|
- Tag="{x:Static enums:Language.English}" />
|
|
|
|
|
- <ComboBoxItem
|
|
|
|
|
- Content="{lex:Loc SettingView_Language_Japanese}"
|
|
|
|
|
- Tag="{x:Static enums:Language.Japanese}" />
|
|
|
|
|
- <ComboBoxItem
|
|
|
|
|
- Content="{lex:Loc SettingView_Language_Vietnamese}"
|
|
|
|
|
- Tag="{x:Static enums:Language.Vietnamese}" />
|
|
|
|
|
- </ComboBox>
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Border>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
<TextBlock
|
|
<TextBlock
|
|
|
- Grid.Column="1"
|
|
|
|
|
|
|
+ Margin="280,0,0,0"
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
|
FontSize="{DynamicResource Font.Size.Title1}"
|
|
FontSize="{DynamicResource Font.Size.Title1}"
|
|
|
FontWeight="Bold"
|
|
FontWeight="Bold"
|
|
|
- TextAlignment="Center"
|
|
|
|
|
Text="{Binding MyTitle}" />
|
|
Text="{Binding MyTitle}" />
|
|
|
|
|
+ <materialDesign:Card Style="{StaticResource AutoModeCardStyle}">
|
|
|
|
|
+ <TextBlock
|
|
|
|
|
+ Margin="8"
|
|
|
|
|
+ FontSize="22"
|
|
|
|
|
+ Text="{lex:Loc 生产}" />
|
|
|
|
|
+ </materialDesign:Card>
|
|
|
|
|
|
|
|
- <StackPanel
|
|
|
|
|
- Grid.Column="2"
|
|
|
|
|
- HorizontalAlignment="Right"
|
|
|
|
|
- Orientation="Horizontal">
|
|
|
|
|
- <materialDesign:Card Style="{StaticResource AutoModeCardStyle}" Margin="6,0">
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="8"
|
|
|
|
|
- FontSize="22"
|
|
|
|
|
- Text="{lex:Loc 生产}" />
|
|
|
|
|
- </materialDesign:Card>
|
|
|
|
|
|
|
+ <materialDesign:Card Style="{StaticResource ManualModeCardStyle}">
|
|
|
|
|
+ <TextBlock
|
|
|
|
|
+ Margin="8"
|
|
|
|
|
+ FontSize="22"
|
|
|
|
|
+ Text="{lex:Loc 调机}" />
|
|
|
|
|
+ </materialDesign:Card>
|
|
|
|
|
|
|
|
- <materialDesign:Card Style="{StaticResource ManualModeCardStyle}" Margin="6,0">
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="8"
|
|
|
|
|
- FontSize="22"
|
|
|
|
|
- Text="{lex:Loc 调机}" />
|
|
|
|
|
- </materialDesign:Card>
|
|
|
|
|
|
|
+ <materialDesign:Card Style="{StaticResource ClearModeCardStyle}">
|
|
|
|
|
+ <TextBlock
|
|
|
|
|
+ Margin="8"
|
|
|
|
|
+ FontSize="22"
|
|
|
|
|
+ Text="{lex:Loc 流线}" />
|
|
|
|
|
+ </materialDesign:Card>
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
|
|
|
- <materialDesign:Card Style="{StaticResource ClearModeCardStyle}" Margin="6,0">
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="8"
|
|
|
|
|
- FontSize="22"
|
|
|
|
|
- Text="{lex:Loc 流线}" />
|
|
|
|
|
- </materialDesign:Card>
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
- </Grid>
|
|
|
|
|
|
|
|
|
|
</materialDesign:Card>
|
|
</materialDesign:Card>
|
|
|
<Button
|
|
<Button
|
|
@@ -322,86 +224,48 @@
|
|
|
Grid.Column="5"
|
|
Grid.Column="5"
|
|
|
Width="90"
|
|
Width="90"
|
|
|
Height="90"
|
|
Height="90"
|
|
|
- Background="{Binding NavigationIndex, Converter={StaticResource _NavigationState}, ConverterParameter=6}"
|
|
|
|
|
|
|
+ Background="{Binding NavigationIndex, Converter={StaticResource _NavigationState}, ConverterParameter=5}"
|
|
|
Command="{Binding NavigationCommand}"
|
|
Command="{Binding NavigationCommand}"
|
|
|
CommandParameter="Calib"
|
|
CommandParameter="Calib"
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 校准}">
|
|
ToolTip="{lex:Loc 校准}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=6}"
|
|
|
|
|
- Kind="CrosshairsGps" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 校准}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=5}"
|
|
|
|
|
+ Kind="CrosshairsGps" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<Button
|
|
<Button
|
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
|
Grid.Column="6"
|
|
Grid.Column="6"
|
|
|
Width="90"
|
|
Width="90"
|
|
|
Height="90"
|
|
Height="90"
|
|
|
- Background="{Binding NavigationIndex, Converter={StaticResource _NavigationState}, ConverterParameter=7}"
|
|
|
|
|
|
|
+ Background="{Binding NavigationIndex, Converter={StaticResource _NavigationState}, ConverterParameter=6}"
|
|
|
Command="{Binding NavigationCommand}"
|
|
Command="{Binding NavigationCommand}"
|
|
|
CommandParameter="Statistics"
|
|
CommandParameter="Statistics"
|
|
|
- Cursor="Hand"
|
|
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 统计}">
|
|
ToolTip="{lex:Loc 统计}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=7}"
|
|
|
|
|
- Kind="ChartBellCurveCumulative" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 统计}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=6}"
|
|
|
|
|
+ Kind="ChartBellCurveCumulative" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<Button
|
|
<Button
|
|
|
Grid.Row="1"
|
|
Grid.Row="1"
|
|
|
Grid.Column="7"
|
|
Grid.Column="7"
|
|
|
Width="90"
|
|
Width="90"
|
|
|
Height="90"
|
|
Height="90"
|
|
|
- Background="{Binding NavigationIndex, Converter={StaticResource _NavigationState}, ConverterParameter=8}"
|
|
|
|
|
|
|
+ Background="{Binding NavigationIndex, Converter={StaticResource _NavigationState}, ConverterParameter=7}"
|
|
|
Command="{Binding NavigationCommand}"
|
|
Command="{Binding NavigationCommand}"
|
|
|
CommandParameter="User"
|
|
CommandParameter="User"
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
ToolTip="{lex:Loc 用户}">
|
|
ToolTip="{lex:Loc 用户}">
|
|
|
- <StackPanel
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- Orientation="Vertical">
|
|
|
|
|
- <materialDesign:PackIcon
|
|
|
|
|
- Width="50"
|
|
|
|
|
- Height="50"
|
|
|
|
|
- Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=8}"
|
|
|
|
|
- Kind="AccountMultipleOutline" />
|
|
|
|
|
- <TextBlock
|
|
|
|
|
- Margin="0,0,0,5"
|
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
|
- FontSize="12"
|
|
|
|
|
- Foreground="Black"
|
|
|
|
|
- Text="{lex:Loc 用户}" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <materialDesign:PackIcon
|
|
|
|
|
+ Width="70"
|
|
|
|
|
+ Height="70"
|
|
|
|
|
+ Foreground="{Binding NavigationIndex, Converter={StaticResource _NavigationState1}, ConverterParameter=7}"
|
|
|
|
|
+ Kind="AccountMultipleOutline" />
|
|
|
</Button>
|
|
</Button>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|