Remove coordinate api

This commit is contained in:
wqy
2022-09-17 23:15:39 +08:00
parent 96c01d7fc8
commit 19917fe119
2 changed files with 1 additions and 12 deletions

View File

@@ -400,14 +400,3 @@ def set_valve_setting(name: str, valve_id: str, setting: float) -> ChangeSet:
def set_valve_minor_loss(name: str, valve_id: str, minor_loss: float) -> ChangeSet:
return api.set_valve_minor_loss(name, valve_id, minor_loss)
############################################################
# coordinates 24.[COORDINATES]
############################################################
def get_node_coord(name: str, node_id: str) -> dict[str, float] | None:
return api.get_node_coord(name, node_id)
def set_node_coord(name: str, node_id: str, x: float, y: float) -> ChangeSet:
return api.set_node_coord(name, node_id, x, y)