├── README.md ├── SerialAssistant.sln ├── SerialAssistant ├── App.xaml ├── App.xaml.cs ├── AssemblyInfo.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties │ └── PublishProfiles │ │ ├── FolderProfile.pubxml │ │ └── FolderProfile.pubxml.user ├── SerialAssistant.csproj ├── SerialAssistant.csproj.user ├── icon-logo.ico └── icon-uninstall.ico └── 串口助手2.0 └── Release └── setup.exe /README.md: -------------------------------------------------------------------------------- 1 | Serial Assistant 2 | 3 | 4 | C# serial assistant, a WPF program developed based on .Net5.0, realizes serial communication function, has settings for sending and receiving information, and also includes WPF packaging program, no advertisements and open source. 5 | 6 | 7 | Feature: 8 | 9 | 10 | • Automatically find and list available serial ports. 11 | 12 | • Set whether to accept newline, display the content to be sent, display time and other settings. 13 | 14 | • Can set automatic interval to send. 15 | 16 | • Switchable Hex and String display. 17 | 18 | • No additional dependencies. 19 | 20 | 串口助手 21 | 22 | C#串口助手,基于.Net5.0开发的WPF程序,实现串口通信功能,具有收发信息的设置,其中还包含WPF打包程序,无广告及开源。 23 | 24 | 特点: 25 | 26 | • 自动查找并列出可用串口。 27 | 28 | • 设置接受是否换行、显示发送内容、显示时间等设置。 29 | 30 | • 可设置自动间隔时间去发送。 31 | 32 | • 可切换Hex和String显示。 33 | 34 | • 无附加依赖库。 35 | 36 | 37 | 备注: 38 | 39 | 其中含有的将WPF打包成安装程序的项目,但鉴于各人电脑文件位置设置的不一样,不能保证这个打包项目一定能跑起来,需要帮助可以联系我。 40 | 因为是一路学习摸索地去开发,有不好的地方或者建议,欢迎大家提出了,我虚心接受学习。 41 | 42 | 如果觉得还可以,欢迎给我个小星星! 43 | 44 | ![image](https://user-images.githubusercontent.com/38801712/159235903-46bdb442-9976-4f49-9557-440dfd9c6fa6.png) 45 | -------------------------------------------------------------------------------- /SerialAssistant.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31727.386 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SerialAssistant", "SerialAssistant\SerialAssistant.csproj", "{4E0848AD-6322-4D5B-93E0-00BF472D76AB}" 7 | EndProject 8 | Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "串口助手2.0", "串口助手2.0\串口助手2.0.vdproj", "{2A9D1167-05EE-4560-982D-539D9E706A5D}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {4E0848AD-6322-4D5B-93E0-00BF472D76AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {4E0848AD-6322-4D5B-93E0-00BF472D76AB}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {4E0848AD-6322-4D5B-93E0-00BF472D76AB}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {4E0848AD-6322-4D5B-93E0-00BF472D76AB}.Release|Any CPU.Build.0 = Release|Any CPU 20 | {2A9D1167-05EE-4560-982D-539D9E706A5D}.Debug|Any CPU.ActiveCfg = Debug 21 | {2A9D1167-05EE-4560-982D-539D9E706A5D}.Release|Any CPU.ActiveCfg = Release 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | GlobalSection(ExtensibilityGlobals) = postSolution 27 | SolutionGuid = {C3169C75-B246-494D-97E4-C619C1717468} 28 | EndGlobalSection 29 | EndGlobal 30 | -------------------------------------------------------------------------------- /SerialAssistant/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /SerialAssistant/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace SerialAssistant 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /SerialAssistant/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /SerialAssistant/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 14 | 19 | 22 | 27 | 28 | 33 | 34 | 42 | 49 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 70 | 71 | 77 | 78 | 87 | 92 | 93 | 100 | 105 | 106 | 110 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 |