blob: 88dba1f477cd191bedc832ab0b495b911561ee3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
from enum import Enum, unique
@unique
class StationStates(Enum):
UNDEFINED = 1000
FTP_KERNEL = 1
FTP_DTB = 2
MOUNT_NFS = 3
KERNEL_BOOT = 4
WAIT_TEST_START = 5
STATION_ERROR = 2000
TESTS_CHECKING_ENV = 6
TESTS_RUNNING = 10
TESTS_FAILED = 40
TESTS_OK = 30
EXTRATASKS_RUNNING = 100
WAITING_FOR_SCANNER = 50
FINISHED = 60
STATION_REBOOT = 2001
STATION_WAIT_SHUTDOWN = 2002
|