|
@@ -13,15 +13,15 @@
|
|
|
<Grid RowDefinitions="48,*,32">
|
|
<Grid RowDefinitions="48,*,32">
|
|
|
|
|
|
|
|
<!-- 鈺愨晲鈺 椤堕儴鏍囬鏍 鈺愨晲鈺 -->
|
|
<!-- 鈺愨晲鈺 椤堕儴鏍囬鏍 鈺愨晲鈺 -->
|
|
|
- <Border Grid.Row="0" Background="{DynamicResource HeaderBgBrush}" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,0,0,1">
|
|
|
|
|
|
|
+ <Border x:Name="TitleBar" Grid.Row="0" Background="#111820" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,0,0,1">
|
|
|
<Grid ColumnDefinitions="Auto,*,Auto,Auto,Auto" Margin="16,0">
|
|
<Grid ColumnDefinitions="Auto,*,Auto,Auto,Auto" Margin="16,0">
|
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal" Spacing="12" VerticalAlignment="Center">
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal" Spacing="12" VerticalAlignment="Center">
|
|
|
<Border Background="{DynamicResource SuccessBrush}" Width="4" Height="24" CornerRadius="2"/>
|
|
<Border Background="{DynamicResource SuccessBrush}" Width="4" Height="24" CornerRadius="2"/>
|
|
|
<TextBlock Text="{Binding TitleText}" FontSize="16" FontWeight="Bold"
|
|
<TextBlock Text="{Binding TitleText}" FontSize="16" FontWeight="Bold"
|
|
|
Foreground="{DynamicResource TextPrimaryBrush}" FontFamily="Consolas, monospace"
|
|
Foreground="{DynamicResource TextPrimaryBrush}" FontFamily="Consolas, monospace"
|
|
|
VerticalAlignment="Center"/>
|
|
VerticalAlignment="Center"/>
|
|
|
- <TextBlock Text="{Binding SubtitleText}" FontSize="12"
|
|
|
|
|
- Foreground="{DynamicResource HeaderSubtextBrush}" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
+ <TextBlock x:Name="SubtitleText" Text="{Binding SubtitleText}" FontSize="12"
|
|
|
|
|
+ Foreground="#9CA3AF" VerticalAlignment="Center"/>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" Spacing="8" VerticalAlignment="Center" Margin="24,0">
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" Spacing="8" VerticalAlignment="Center" Margin="24,0">
|
|
@@ -42,7 +42,7 @@
|
|
|
Foreground="{DynamicResource SuccessBrush}"/>
|
|
Foreground="{DynamicResource SuccessBrush}"/>
|
|
|
<TextBlock Text="{Binding CurrentTime, StringFormat='{}{0:yyyy-MM-dd}'}"
|
|
<TextBlock Text="{Binding CurrentTime, StringFormat='{}{0:yyyy-MM-dd}'}"
|
|
|
FontFamily="Consolas, monospace" FontSize="10"
|
|
FontFamily="Consolas, monospace" FontSize="10"
|
|
|
- Foreground="{DynamicResource HeaderSubtextBrush}" HorizontalAlignment="Right"/>
|
|
|
|
|
|
|
+ Foreground="#9CA3AF" HorizontalAlignment="Right"/>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
</Border>
|
|
</Border>
|
|
@@ -193,7 +193,7 @@
|
|
|
<!-- 鍙充晶锛氭暟鎹潰鏉 -->
|
|
<!-- 鍙充晶锛氭暟鎹潰鏉 -->
|
|
|
<Grid Grid.Row="0" Grid.RowSpan="4" Grid.Column="4" RowDefinitions="Auto,Auto,Auto" Margin="8,0,0,0">
|
|
<Grid Grid.Row="0" Grid.RowSpan="4" Grid.Column="4" RowDefinitions="Auto,Auto,Auto" Margin="8,0,0,0">
|
|
|
<!-- 妯″紡 -->
|
|
<!-- 妯″紡 -->
|
|
|
- <Border Grid.Row="0" Background="{DynamicResource SurfaceBgBrush}" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
|
|
|
|
|
|
+ <Border x:Name="TitleBar" Grid.Row="0" Background="{DynamicResource SurfaceBgBrush}" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
|
|
CornerRadius="2" Padding="8" Margin="0,0,0,6">
|
|
CornerRadius="2" Padding="8" Margin="0,0,0,6">
|
|
|
<StackPanel HorizontalAlignment="Center" Spacing="4">
|
|
<StackPanel HorizontalAlignment="Center" Spacing="4">
|
|
|
<TextBlock Text="{Binding ModeText}" FontFamily="Consolas, monospace"
|
|
<TextBlock Text="{Binding ModeText}" FontFamily="Consolas, monospace"
|
|
@@ -237,7 +237,7 @@
|
|
|
</Border>
|
|
</Border>
|
|
|
|
|
|
|
|
<!-- 缁熻 -->
|
|
<!-- 缁熻 -->
|
|
|
- <Border Grid.Row="2" Background="{DynamicResource SurfaceBgBrush}" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
|
|
|
|
|
|
+ <Border x:Name="StatusBar" Grid.Row="2" Background="{DynamicResource SurfaceBgBrush}" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
|
|
CornerRadius="2" Padding="8">
|
|
CornerRadius="2" Padding="8">
|
|
|
<StackPanel Spacing="5">
|
|
<StackPanel Spacing="5">
|
|
|
<TextBlock Text="{Binding StatisticsText}" FontFamily="Consolas, monospace"
|
|
<TextBlock Text="{Binding StatisticsText}" FontFamily="Consolas, monospace"
|
|
@@ -267,7 +267,7 @@
|
|
|
</Border>
|
|
</Border>
|
|
|
|
|
|
|
|
<!-- 搴曢儴璁惧鐘舵佹潯 -->
|
|
<!-- 搴曢儴璁惧鐘舵佹潯 -->
|
|
|
- <Border Grid.Row="2" Background="{DynamicResource SurfaceBgBrush}" CornerRadius="2" Margin="0,4,0,0" Padding="8,6">
|
|
|
|
|
|
|
+ <Border x:Name="StatusBar" Grid.Row="2" Background="{DynamicResource SurfaceBgBrush}" CornerRadius="2" Margin="0,4,0,0" Padding="8,6">
|
|
|
<StackPanel Orientation="Horizontal" Spacing="12">
|
|
<StackPanel Orientation="Horizontal" Spacing="12">
|
|
|
<StackPanel Orientation="Horizontal" Spacing="4">
|
|
<StackPanel Orientation="Horizontal" Spacing="4">
|
|
|
<Border Width="8" Height="8" CornerRadius="4" Background="{Binding Pump1StatusColor}"/>
|
|
<Border Width="8" Height="8" CornerRadius="4" Background="{Binding Pump1StatusColor}"/>
|
|
@@ -323,7 +323,7 @@
|
|
|
<!-- 鍙充晶闈㈡澘 -->
|
|
<!-- 鍙充晶闈㈡澘 -->
|
|
|
<Grid Grid.Column="1" RowDefinitions="Auto,Auto,*,Auto">
|
|
<Grid Grid.Column="1" RowDefinitions="Auto,Auto,*,Auto">
|
|
|
|
|
|
|
|
- <Border Grid.Row="0" Background="{DynamicResource SurfaceBgBrush}" CornerRadius="2" Padding="10,8" Margin="0,0,0,4"
|
|
|
|
|
|
|
+ <Border x:Name="TitleBar" Grid.Row="0" Background="{DynamicResource SurfaceBgBrush}" CornerRadius="2" Padding="10,8" Margin="0,0,0,4"
|
|
|
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1">
|
|
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
<StackPanel Orientation="Horizontal" Spacing="6" Margin="0,0,0,8">
|
|
<StackPanel Orientation="Horizontal" Spacing="6" Margin="0,0,0,8">
|
|
@@ -358,7 +358,7 @@
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Border>
|
|
</Border>
|
|
|
|
|
|
|
|
- <Border Grid.Row="2" Background="{DynamicResource SurfaceBgBrush}" CornerRadius="2" Padding="10,8" Margin="0,0,0,4"
|
|
|
|
|
|
|
+ <Border x:Name="StatusBar" Grid.Row="2" Background="{DynamicResource SurfaceBgBrush}" CornerRadius="2" Padding="10,8" Margin="0,0,0,4"
|
|
|
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1" IsVisible="{Binding HasAlarm}">
|
|
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1" IsVisible="{Binding HasAlarm}">
|
|
|
<StackPanel>
|
|
<StackPanel>
|
|
|
<StackPanel Orientation="Horizontal" Spacing="6" Margin="0,0,0,8">
|
|
<StackPanel Orientation="Horizontal" Spacing="6" Margin="0,0,0,8">
|
|
@@ -400,7 +400,7 @@
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|
|
|
<!-- 鈺愨晲鈺 搴曢儴鐘舵佹爮 鈺愨晲鈺 -->
|
|
<!-- 鈺愨晲鈺 搴曢儴鐘舵佹爮 鈺愨晲鈺 -->
|
|
|
- <Border Grid.Row="2" Background="{DynamicResource NavBgBrush}" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,1,0,0">
|
|
|
|
|
|
|
+ <Border x:Name="StatusBar" Grid.Row="2" Background="#111820" BorderBrush="{DynamicResource BorderBrush}" BorderThickness="0,1,0,0">
|
|
|
<Grid ColumnDefinitions="Auto,*,Auto,Auto,Auto,Auto" Margin="16,0">
|
|
<Grid ColumnDefinitions="Auto,*,Auto,Auto,Auto,Auto" Margin="16,0">
|
|
|
<TextBlock Grid.Column="0" VerticalAlignment="Center"
|
|
<TextBlock Grid.Column="0" VerticalAlignment="Center"
|
|
|
FontFamily="Consolas, monospace" FontSize="11" Foreground="{DynamicResource TextDisabledBrush}">
|
|
FontFamily="Consolas, monospace" FontSize="11" Foreground="{DynamicResource TextDisabledBrush}">
|