Add new api to tjnetwork
This commit is contained in:
11
tjnetwork.py
11
tjnetwork.py
@@ -266,3 +266,14 @@ def set_tank_overflow(name: str, tank_id: str, overflow: str) -> ChangeSet:
|
||||
|
||||
def set_tank_coord(name: str, tank_id: str, x: float, y: float) -> ChangeSet:
|
||||
return api.set_tank_coord(name, tank_id, x, y)
|
||||
|
||||
|
||||
############################################################
|
||||
# coordinates 24.[COORDINATES]
|
||||
############################################################
|
||||
|
||||
def get_node_coord(name: str, tank_id: str) -> dict[str, float] | None:
|
||||
return api.get_node_coord(name, tank_id)
|
||||
|
||||
def set_node_coord(name: str, tank_id: str, x: float, y: float) -> ChangeSet:
|
||||
return api.set_node_coord(name, tank_id, x, y)
|
||||
|
||||
Reference in New Issue
Block a user