wanshenmean
2026-03-13 0b3d9467bfd081f607c7b17642e6c017aa32678d
分支
用户 wanshenmean <cathay_xy@163.com>
星期五, 三月 13, 2026 13:40 +0800
提交者 wanshenmean <cathay_xy@163.com>
星期五, 三月 13, 2026 13:40 +0800
提交0b3d9467bfd081f607c7b17642e6c017aa32678d
目录 efe06df022f191c9f7be2bc2ca4310179aabc8fa 目录 | zip | gz
上一版本 4e60cd8649c3c19582ae560515cad00436587a2e 查看 | 对比
feat: implement file-based persistence service

- Add IPersistenceService interface for config and data persistence
- Add FilePersistenceService saving to Data/instance-{id}/ directory
- Add InstanceDataModel for JSON serialization
- Support config and memory data save/load operations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
已添加3个文件
402 ■■■■■ 文件已修改
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Interfaces/IPersistenceService.cs 54 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Persistence/FilePersistenceService.cs 280 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Core/Persistence/Models/InstanceDataModel.cs 68 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史