douxu
07ef921b75
feat: add measurement data-object attribute APIs
...
- classify and validate measurement tokens in supported formats
- query measurement attributes and latest values from PostgreSQL and Redis
- add measurement mode support and centralized SQL definitions
- register data-object attribute query and update routes
- fix logger caller attribution and measurement identifier generation
- add tests for token parsing, attribute queries, Redis values, and logging
2026-07-16 16:24:26 +08:00
douxu
b05219ef4c
refactor: replace topology tree with graph cache
...
- replace globalTree startup loading with globalTopologyGraph
- add topologyGraph adjacency cache with in/out edges, start nodes, and end nodes
- remove multiBranchTreeNode and legacy tree-building helpers
- make topology queries independent of the all-zero UUID virtual root
- keep TOPOLOGY_ANALYSIS on per-task DB querying while clarifying point-to-point reachability results
- add coverage for multi-parent topology reachability
2026-07-07 10:01:14 +08:00
douxu
9e4c35794c
implemented task queue publishing using RabbitMQ
...
Added configuration middleware integration
Added retry logic for queue publishing
Added task worker initialization (main.go):
Created initTaskWorker function for task worker configuration
Added worker startup and shutdown logic
Added CORS middleware configuration
Registered config middleware
2026-04-01 17:15:33 +08:00
douxu
46ee2a39f4
optimize database struct
2025-11-19 17:44:08 +08:00
douxu
bcf80842b0
fix bug of main.go
2025-10-14 16:12:00 +08:00
douxu
daf30766ba
refactor(topologic storage struct): refactor topologic storage struct
...
1.refactor topologic storage struct by multi branch tree
2.add new func of build multi branch tree
3.modify sql of query topologic from db
4.delete page id field from topologic struct
2025-05-13 16:34:25 +08:00
douxu
ac5d508171
add demo test sql and fix bug of modelRT running
2025-01-06 17:00:58 +08:00
douxu
9385ba695c
write code for adapter new component struct
2024-12-30 16:39:11 +08:00
douxu
efc15c3b2d
wirte demo code
2024-12-18 16:25:49 +08:00
douxu
d9cc5f3738
init async motor table and busbar section table create sql
2024-12-10 16:36:59 +08:00
douxu
cd2451c985
add free vertex process in create update delete api
2024-12-05 16:32:23 +08:00
douxu
ebe86539d4
optimize circuit diagram update handler and preliminary completion of circuit diagram delete handler code writing
2024-12-04 15:57:11 +08:00
douxu
214b194817
optimize circuit diagram update handler
2024-12-03 16:38:17 +08:00