Merge pull request 'enum' (#173) from kranz_another_very_important_enum_really_tho into main
Reviewed-on: #173
This commit is contained in:
commit
a93381494a
@ -83,7 +83,7 @@ FACTORY_RESET_OPS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class SupvActionId:
|
class SupvActionId(enum.IntEnum):
|
||||||
HK_REPORT = 1
|
HK_REPORT = 1
|
||||||
START_MPSOC = 3
|
START_MPSOC = 3
|
||||||
SHUTWOWN_MPSOC = 4
|
SHUTWOWN_MPSOC = 4
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
@author J. Meier
|
@author J. Meier
|
||||||
@date 01.07.2021
|
@date 01.07.2021
|
||||||
"""
|
"""
|
||||||
|
import enum
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
from eive_tmtc.config.definitions import CustomServiceList
|
from eive_tmtc.config.definitions import CustomServiceList
|
||||||
@ -20,7 +21,7 @@ from tmtccmd.util import ObjectIdU32
|
|||||||
from tmtccmd.util.tmtc_printer import FsfwTmTcPrinter
|
from tmtccmd.util.tmtc_printer import FsfwTmTcPrinter
|
||||||
|
|
||||||
|
|
||||||
class SetId:
|
class SetId(enum.IntEnum):
|
||||||
HK = 3
|
HK = 3
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user