This commit is contained in:
16
Window1.xaml
16
Window1.xaml
@@ -37,8 +37,8 @@
|
||||
<Label Content="频率:"/>
|
||||
<RadioButton x:Name="rb50Hz" Content="50 Hz" GroupName="Freq" IsChecked="True" Margin="5,0,15,0"/>
|
||||
<RadioButton x:Name="rb60Hz" Content="60 Hz" GroupName="Freq"/>
|
||||
<Label Content=" 设定电流 (A):" Margin="20,0,0,0"/>
|
||||
<TextBox x:Name="txtSetCurrent" Text="0.65" Width="80" TextAlignment="Right"/>
|
||||
<Label Content="设定电流 (A):" Margin="20,0,0,0"/>
|
||||
<TextBox x:Name="txtSetCurrent" Text="0.650" Width="80" TextAlignment="Center"/>
|
||||
<Label Content="A"/>
|
||||
<Button x:Name="btnSet" Content="直接设定" Click="BtnSet_Click" Width="80" Margin="10,0,0,0"/>
|
||||
<Button x:Name="btnStop" Content="禁止输出" Click="BtnStop_Click" Width="80" Margin="5,0,0,0"/>
|
||||
@@ -47,17 +47,7 @@
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 反馈显示 -->
|
||||
<GroupBox Header="实际回采 (软件滑动平均滤波)" Grid.Row="2" Margin="5">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Content="当前实际电流:" Grid.Column="0" FontWeight="Bold"/>
|
||||
<TextBox x:Name="txtActualCurrent" Grid.Column="1" Text="0.000" IsReadOnly="True" FontSize="20" FontWeight="Bold" TextAlignment="Center" Background="LightYellow"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
|
||||
<!-- 日志 -->
|
||||
<GroupBox Header="通讯日志" Grid.Row="3" Margin="5">
|
||||
|
||||
Reference in New Issue
Block a user