diff --git a/api/s4_tanks.py b/api/s4_tanks.py index d7cdff7..68b4364 100644 --- a/api/s4_tanks.py +++ b/api/s4_tanks.py @@ -3,8 +3,8 @@ from .s0_base import * from .s24_coordinates import * -OVERFLOW_YES = 'yes' -OVERFLOW_NO = 'no' +OVERFLOW_YES = 'YES' +OVERFLOW_NO = 'NO' def get_tank_schema(name: str) -> dict[str, dict[str, Any]]: diff --git a/api/s5_pipes.py b/api/s5_pipes.py index d8f1e3e..3b90d89 100644 --- a/api/s5_pipes.py +++ b/api/s5_pipes.py @@ -2,9 +2,9 @@ from .operation import * from .s0_base import * -PIPE_STATUS_OPEN = 'open' -PIPE_STATUS_CLOSED = 'closed' -PIPE_STATUS_CV = 'cv' +PIPE_STATUS_OPEN = 'OPEN' +PIPE_STATUS_CLOSED = 'CLOSED' +PIPE_STATUS_CV = 'CV' def get_pipe_schema(name: str) -> dict[str, dict[str, Any]]: diff --git a/api/s7_valves.py b/api/s7_valves.py index d3f95b2..e7f1df9 100644 --- a/api/s7_valves.py +++ b/api/s7_valves.py @@ -2,12 +2,12 @@ from .operation import * from .s0_base import * -VALVES_TYPE_PRV = 'prv' -VALVES_TYPE_PSV = 'psv' -VALVES_TYPE_PBV = 'pbv' -VALVES_TYPE_FCV = 'fcv' -VALVES_TYPE_TCV = 'tcv' -VALVES_TYPE_GPV = 'gpv' +VALVES_TYPE_PRV = 'PRV' +VALVES_TYPE_PSV = 'PSV' +VALVES_TYPE_PBV = 'PBV' +VALVES_TYPE_FCV = 'FCV' +VALVES_TYPE_TCV = 'TCV' +VALVES_TYPE_GPV = 'GPV' def get_valve_schema(name: str) -> dict[str, dict[str, Any]]: