Commit Graph

4 Commits

Author SHA1 Message Date
douxu 2fbef3e1fa feat: add manual measurement synchronization workflow
- add configurable CL3611 and IEC104 manual sync clients
- synchronize measurement mode and value updates with consistent timestamps
- move Redis change sets into the repository layer
- nest manual sync configuration under dataRT
- improve startup transaction error handling and JSONB type mapping
- update Kubernetes and MongoDB deployment documentation
2026-08-04 17:12:17 +08:00
douxu d670963854 refactor(redis): normalize data object storage with aliases
- store one canonical hash for each parameter and measurement
- map supported token formats to canonical Redis keys through aliases
- resolve aliases in query and update handlers
- clean stale hashes and aliases during initialization
- update Redis change logic and related tests
2026-07-31 13:39:18 +08:00
douxu 0b004471fe feat: synchronize data object attributes with redis
- read parameter and measurement attributes from redis
- support size-aware realtime measurement windows
- coordinate postgreSQL and redis updates with rollback compensation
- validate measurement window sizes during initialization
- add redis change and attribute query/update tests
2026-07-30 15:32:22 +08:00
douxu de1110905e feat: bootstrap measurement data objects in Redis
- load measurement hierarchy and metadata from PostgreSQL
- generate 3 types Redis hashes
- map measurement type enums to TM, TS, TC, TA, and SP
- validate token uniqueness, mode, type, and JSONB fields
- track initialized hashes and clean up stale measurement keys
- initialize measurement data objects during modelRT startup
2026-07-29 15:12:05 +08:00