实例介绍
【实例简介】基于 MFC 的网络调试工具
Ucom 是一个基于 MFC 的高效串口、网络调试工具,单可执行文件运行无需依赖动态链接库,支持多开和多种扩展功能。
**多数据源**,提供串口和网络两个数据源,切换数据源,不影响软件的其他功能
- **配置保存功能**,当关闭软件时候会自动保存串口、网络配置里的信息和用户设定的背景色和字体色等配置
- **自定义接收区主题**,可以定制接收框的主题样式
- **扩展工具面板**,点击 `探索>>` 按钮可以在窗口右侧扩展出接收图表、编码解码、接收监视、发送助手等工具面板
- **动态刷新串口**,当有新设备接入时,点击串口号,在下拉菜单里选择刷新串口可以扫描端口变动
- **多编码支持**,完全支持接收区以 UTF-8 和 Unicode 的编码显示
- **透明传输**,不会阻碍 0x00, 0x11 等字节的发送接收
- **支持常用串口流控制**
- **支持文件发送**,建议不要发送太大的文件
- **支持 AT 模式**,回车发送数据(数据包含回车),发送的数据同时以特殊显示格式(红色字体)添到接收显示的新行中,上下方向键调用历史命令(数据),输入框内按 Tab 在开头补上 `AT `
- **支持面板的拖动**,支持横向、纵向窗口大小调整和发送接收纵向窗口调整
- 提供数据统计和实时传输速率数据显示,快速清空等功能
- 提供 HEX 接收显示和 HEX 模式发送,并对不规范输入进行提醒
- `Ctrl Enter` 快速发送
【实例截图】
【核心代码】
.
├── des.v11.suo
├── ucom-master
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── Ucom
│ │ ├── Ucom.rc
│ │ ├── Ucom.vcxproj
│ │ ├── Ucom.vcxproj.filters
│ │ ├── res
│ │ │ ├── Icon.ico
│ │ │ ├── On.bmp
│ │ │ ├── Ucom.rc2
│ │ │ └── off.bmp
│ │ ├── resource.hm
│ │ ├── src
│ │ │ ├── core
│ │ │ │ ├── DeConsole.h
│ │ │ │ ├── Text.cpp
│ │ │ │ ├── Text.h
│ │ │ │ ├── UBase.h
│ │ │ │ ├── iSocket.cpp
│ │ │ │ ├── iSocket.h
│ │ │ │ ├── iUart.cpp
│ │ │ │ └── iUart.h
│ │ │ ├── dialog
│ │ │ │ ├── DataWatch.cpp
│ │ │ │ ├── DataWatch.h
│ │ │ │ ├── Encoder.cpp
│ │ │ │ ├── Encoder.h
│ │ │ │ ├── GraphDlg.cpp
│ │ │ │ ├── GraphDlg.h
│ │ │ │ ├── GraphFull.cpp
│ │ │ │ ├── GraphFull.h
│ │ │ │ ├── MultiSend.cpp
│ │ │ │ ├── MultiSend.h
│ │ │ │ ├── NetDlg.cpp
│ │ │ │ ├── NetDlg.h
│ │ │ │ ├── SendFile.cpp
│ │ │ │ ├── SendFile.h
│ │ │ │ ├── Splitter.cpp
│ │ │ │ ├── Splitter.h
│ │ │ │ ├── UartDlg.cpp
│ │ │ │ ├── UartDlg.h
│ │ │ │ ├── Ucom.cpp
│ │ │ │ ├── Ucom.h
│ │ │ │ ├── UcomDlg.cpp
│ │ │ │ ├── UcomDlg.h
│ │ │ │ └── UcomDlgBase.cpp
│ │ │ ├── lib
│ │ │ │ └── ChartCtrl
│ │ │ │ ├── ChartAxis.cpp
│ │ │ │ ├── ChartAxis.h
│ │ │ │ ├── ChartAxisLabel.cpp
│ │ │ │ ├── ChartAxisLabel.h
│ │ │ │ ├── ChartBalloonLabel.h
│ │ │ │ ├── ChartBalloonLabel.inl
│ │ │ │ ├── ChartBarSerie.cpp
│ │ │ │ ├── ChartBarSerie.h
│ │ │ │ ├── ChartCandlestickSerie.cpp
│ │ │ │ ├── ChartCandlestickSerie.h
│ │ │ │ ├── ChartCrossHairCursor.cpp
│ │ │ │ ├── ChartCrossHairCursor.h
│ │ │ │ ├── ChartCtrl.cpp
│ │ │ │ ├── ChartCtrl.h
│ │ │ │ ├── ChartCursor.cpp
│ │ │ │ ├── ChartCursor.h
│ │ │ │ ├── ChartDateTimeAxis.cpp
│ │ │ │ ├── ChartDateTimeAxis.h
│ │ │ │ ├── ChartDragLineCursor.cpp
│ │ │ │ ├── ChartDragLineCursor.h
│ │ │ │ ├── ChartFont.cpp
│ │ │ │ ├── ChartFont.h
│ │ │ │ ├── ChartGanttSerie.cpp
│ │ │ │ ├── ChartGanttSerie.h
│ │ │ │ ├── ChartGradient.cpp
│ │ │ │ ├── ChartGradient.h
│ │ │ │ ├── ChartGrid.cpp
│ │ │ │ ├── ChartGrid.h
│ │ │ │ ├── ChartLabel.h
│ │ │ │ ├── ChartLabel.inl
│ │ │ │ ├── ChartLegend.cpp
│ │ │ │ ├── ChartLegend.h
│ │ │ │ ├── ChartLineSerie.cpp
│ │ │ │ ├── ChartLineSerie.h
│ │ │ │ ├── ChartLogarithmicAxis.cpp
│ │ │ │ ├── ChartLogarithmicAxis.h
│ │ │ │ ├── ChartMouseListener.h
│ │ │ │ ├── ChartPointsArray.h
│ │ │ │ ├── ChartPointsArray.inl
│ │ │ │ ├── ChartPointsSerie.cpp
│ │ │ │ ├── ChartPointsSerie.h
│ │ │ │ ├── ChartScrollBar.cpp
│ │ │ │ ├── ChartScrollBar.h
│ │ │ │ ├── ChartSerie.cpp
│ │ │ │ ├── ChartSerie.h
│ │ │ │ ├── ChartSerieBase.h
│ │ │ │ ├── ChartSerieBase.inl
│ │ │ │ ├── ChartSeriesMouseListener.h
│ │ │ │ ├── ChartStandardAxis.cpp
│ │ │ │ ├── ChartStandardAxis.h
│ │ │ │ ├── ChartString.h
│ │ │ │ ├── ChartSurfaceSerie.cpp
│ │ │ │ ├── ChartSurfaceSerie.h
│ │ │ │ ├── ChartTitle.cpp
│ │ │ │ ├── ChartTitle.h
│ │ │ │ ├── ChartXYSerie.cpp
│ │ │ │ ├── ChartXYSerie.h
│ │ │ │ └── PointsOrdering.h
│ │ │ ├── resource.h
│ │ │ ├── stdafx.cpp
│ │ │ ├── stdafx.h
│ │ │ └── targetver.h
│ │ └── test
│ │ ├── requirements.txt
│ │ └── ucom.py
│ └── Ucom.sln
└── 基于 MFC 的网络调试工具.zip
9 directories, 109 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论