Commit Graph

7 Commits

Author SHA1 Message Date
a09824ce88 refactor(relay): remove redundant uint16 conversion in coil write calls
The WriteMultipleCoils method already accepts int as the first argument,
making the explicit uint16(0) conversion unnecessary.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-04-09 10:58:42 +08:00
3a2fc431ac 加入等待继电器释放,加入程序停止执行时释放所有资源 2025-02-28 17:05:07 +08:00
c4f12f8cca 适配继电器空的情况 2024-12-19 16:44:58 +08:00
b4913d63b3 规范串口通讯 2024-12-19 10:49:02 +08:00
df9dbb0926 继电器、读卡器,都用统一的modbus协议 2024-12-12 10:30:21 +08:00
ab0678aa3b 待机功能基本实现 2024-11-06 15:44:35 +08:00
f9b9beea4b 基本逻辑完成 2024-11-01 17:40:34 +08:00