增加EF3解析相关按钮的界面设计

This commit is contained in:
wio
2022-10-08 15:38:17 +08:00
parent c01cb1400f
commit 58eabbedad
17 changed files with 193 additions and 218 deletions
-22
View File
@@ -1,22 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPFSerialAssistant", "WPFSerialAssistant\WPFSerialAssistant.csproj", "{DA01B86D-5BC1-4863-BAAC-71B309B09CC0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DA01B86D-5BC1-4863-BAAC-71B309B09CC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DA01B86D-5BC1-4863-BAAC-71B309B09CC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DA01B86D-5BC1-4863-BAAC-71B309B09CC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DA01B86D-5BC1-4863-BAAC-71B309B09CC0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -371,7 +371,7 @@
Header="EF3板设置">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50*" />
<RowDefinition Height="45*" />
<RowDefinition Height="80*" />
</Grid.RowDefinitions>
<!-- EF3锁存模式 -->
@@ -434,40 +434,53 @@
Margin="5"
Header="功能按键">
<StackPanel>
<TextBox
x:Name="textVersion"
Margin="5"
Padding="10" />
<Button
Name="clear5"
x:Name="getVersionButton"
Margin="5"
Padding="3"
Click="GetVersionButton_Click"
Content="获取EF3固件版本" />
<Button
Name="clear4"
x:Name="setZeroButton"
Margin="5"
Padding="3"
Click="SetZeroButton_Click"
Content="设置零点" />
<Button
Name="clear"
x:Name="startRecordButtion"
Margin="5"
Padding="3"
Click="StartRecordButtion_Click"
Content="开始锁存" />
<Button
Name="clear33"
x:Name="stopRecordButton"
Margin="5"
Padding="3"
Click="StopRecordButton_Click"
Content="停止锁存" />
<Button
Name="clear34"
x:Name="getRecordButton"
Margin="5"
Padding="3"
Click="GetRecordButton_Click"
Content="读取锁存值" />
<Button
Name="clear2"
x:Name="clearFlashButton"
Margin="5"
Padding="3"
Click="ClearFlashButton_Click"
Content="清除flash" />
<Button
Name="clear3"
x:Name="getPointsButton"
Margin="5"
Padding="3"
Click="GetPointsButton_Click"
Content="获取锁存点的数量" />
</StackPanel>
@@ -641,7 +654,7 @@
<GroupBox
BorderBrush="{Binding ElementName=serialPortConfigPanel, Path=BorderBrush}"
BorderThickness="{Binding ElementName=serialPortConfigPanel, Path=BorderThickness}"
Header="自动发送设置面板">
Header="自动发送设置">
<Grid Margin="0,5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="10*" />
@@ -39,6 +39,41 @@ namespace WPFSerialAssistant
private void FreDivsionRadioButton_Checked(object sender, RoutedEventArgs e)
{
}
//获取固件版本
private void GetVersionButton_Click(object sender, RoutedEventArgs e)
{
}
//设置归零
private void SetZeroButton_Click(object sender, RoutedEventArgs e)
{
}
//开始锁存
private void StartRecordButtion_Click(object sender, RoutedEventArgs e)
{
}
//停止锁存
private void StopRecordButton_Click(object sender, RoutedEventArgs e)
{
}
//获取锁存值
private void GetRecordButton_Click(object sender, RoutedEventArgs e)
{
}
//清除Flash区
private void ClearFlashButton_Click(object sender, RoutedEventArgs e)
{
}
//获得锁存点数量
private void GetPointsButton_Click(object sender, RoutedEventArgs e)
{
}
}
}