Make enum uppercase
This commit is contained in:
@@ -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]]:
|
||||
|
||||
@@ -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]]:
|
||||
|
||||
@@ -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]]:
|
||||
|
||||
Reference in New Issue
Block a user