lvmengandClaude Sonnet 4.6 4d545ceb46 refactor(serial): 将 SerialPortManager 合并到 ScaleManager
- 删除 SerialPortManager,串口生命周期(open/startReceive/release)内嵌到 ScaleManager
- ScaleManager 改为 object 单例,去除 .instance 调用
- init() 简化为只接收 activateCode,去除 deviceId + activateMap 查表逻辑
- 新增 start(preHook) 方法合并 open + startReceive,支持链式调用到末尾
- BaseActivity.sendCmd 改为直接调用 ScaleManager.sendCmd

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 14:59:19 +08:00
2025-08-06 17:11:11 +08:00
2025-08-06 17:19:04 +08:00
2025-08-06 17:19:04 +08:00
2025-08-06 17:19:04 +08:00
2025-08-06 17:19:04 +08:00
2026-01-15 11:37:37 +08:00
2025-08-06 17:11:11 +08:00
2025-08-06 17:19:04 +08:00
S
Description
智能货架
Readme
1.9 MiB
Languages
Kotlin 81%
Java 19%