Added REGLE string state support

This commit is contained in:
Arnaud Vergnet 2020-06-24 19:08:29 +02:00
parent 7d1a539916
commit 7cb08b17eb

View file

@ -40,6 +40,7 @@ class State(Enum):
STATE_CONVERSION_TABLE = { STATE_CONVERSION_TABLE = {
"DISPONIBLE": State.AVAILABLE, "DISPONIBLE": State.AVAILABLE,
"TERMINE": State.FINISHED, "TERMINE": State.FINISHED,
"REGLE": State.RUNNING_NOT_STARTED,
"HORS SERVICE": State.UNAVAILABLE, "HORS SERVICE": State.UNAVAILABLE,
"ERREUR": State.ERROR, "ERREUR": State.ERROR,
} }