Add status api and test

This commit is contained in:
WQY\qiong
2022-10-22 11:51:48 +08:00
parent 6fa2f77a60
commit c1b99bc7eb
7 changed files with 171 additions and 5 deletions

View File

@@ -40,4 +40,7 @@ from .s7_valves import get_valve_schema, add_valve, get_valve, set_valve, delete
from .s9_demands import get_demand_schema, get_demand, set_demand
from .s10_status import LINK_STATUS_OPEN, LINK_STATUS_CLOSED, LINK_STATUS_ACTIVE
from .s10_status import get_status_schema, get_status, set_status
from .s24_coordinates import get_node_coord