页面参数
This commit is contained in:
@@ -168,6 +168,13 @@
|
||||
<system:String x:Key="Manual22">Inhalation calibration</system:String>
|
||||
<system:String x:Key="Manual23">Pressure calibration</system:String>
|
||||
<system:String x:Key="Manual24">Basic parameter settings</system:String>
|
||||
<!--流量时时监控-->
|
||||
|
||||
<system:String x:Key="WatchData">实时流量监测系统</system:String>
|
||||
<system:String x:Key="WatchData1">流量实时监测折线图</system:String>
|
||||
<system:String x:Key="WatchData2">开始监测</system:String>
|
||||
<system:String x:Key="WatchData3">停止监测</system:String>
|
||||
<system:String x:Key="WatchData4">清空数据</system:String>
|
||||
|
||||
|
||||
<system:String x:Key="Workstation curve description">Workstation curve description:</system:String>
|
||||
|
||||
@@ -168,9 +168,13 @@
|
||||
<system:String x:Key="Manual22">吸气校准</system:String>
|
||||
<system:String x:Key="Manual23">压力校准</system:String>
|
||||
<system:String x:Key="Manual24">基础参数设置</system:String>
|
||||
<!--流量时时监控-->
|
||||
|
||||
|
||||
|
||||
<system:String x:Key="WatchData">Real-time traffic monitoring system</system:String>
|
||||
<system:String x:Key="WatchData1">Real-time traffic monitoring line graph</system:String>
|
||||
<system:String x:Key="WatchData2">Start monitoring</system:String>
|
||||
<system:String x:Key="WatchData3">Stop monitoring</system:String>
|
||||
<system:String x:Key="WatchData4">Clear data</system:String>
|
||||
|
||||
|
||||
|
||||
|
||||
10
Window8.xaml
10
Window8.xaml
@@ -2,7 +2,7 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:oxy="http://oxyplot.org/wpf"
|
||||
Title="实时流量监测系统" Height="768" Width="1204"
|
||||
Title="{DynamicResource WatchData}" Height="768" Width="1204"
|
||||
Loaded="Window_Loaded"
|
||||
Background="#F0F2F5">
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
<!-- 标题区域 -->
|
||||
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10" VerticalAlignment="Center">
|
||||
<TextBlock Text="流量实时监测折线图" FontSize="22" FontWeight="Bold" Foreground="#2D3748" Margin="0,10"/>
|
||||
<TextBlock Text="{DynamicResource WatchData1}" FontSize="22" FontWeight="Bold" Foreground="#2D3748" Margin="0,10"/>
|
||||
<TextBlock x:Name="StatusText" Margin="30,0,0,0" FontSize="16" Foreground="#4CAF50" Text="状态:已连接"/>
|
||||
</StackPanel>
|
||||
|
||||
@@ -63,11 +63,11 @@
|
||||
<!-- 控制按钮区域(引用样式,确保Key与资源一致) -->
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal" Margin="10" HorizontalAlignment="Center" Height="60">
|
||||
<!-- 引用RoundedButtonStyle,确保名称完全匹配 -->
|
||||
<Button x:Name="StartBtn" Content="开始监测" Width="140" Height="45" FontSize="16"
|
||||
<Button x:Name="StartBtn" Content="{DynamicResource WatchData2}" Width="140" Height="45" FontSize="16"
|
||||
Margin="10" Style="{StaticResource RoundedButtonStyle}"/>
|
||||
<Button x:Name="StopBtn" Content="停止监测" Width="140" Height="45" FontSize="16"
|
||||
<Button x:Name="StopBtn" Content="{DynamicResource WatchData3}" Width="140" Height="45" FontSize="16"
|
||||
Margin="10" Style="{StaticResource RoundedButtonStyle}" IsEnabled="False"/>
|
||||
<Button x:Name="ClearBtn" Content="清空数据" Width="140" Height="45" FontSize="16"
|
||||
<Button x:Name="ClearBtn" Content="{DynamicResource WatchData4}" Width="140" Height="45" FontSize="16"
|
||||
Margin="10" Style="{StaticResource RoundedButtonStyle}"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user