enum
This commit is contained in:
parent
350ffda6c6
commit
b0294e2764
@ -5,6 +5,7 @@
|
|||||||
@author J. Meier
|
@author J. Meier
|
||||||
@date 25.03.2021
|
@date 25.03.2021
|
||||||
"""
|
"""
|
||||||
|
import enum
|
||||||
import logging
|
import logging
|
||||||
import struct
|
import struct
|
||||||
from typing import List
|
from typing import List
|
||||||
@ -46,7 +47,7 @@ class OpCode:
|
|||||||
NEG_Z_SELF_TEST = "self_test_neg_z"
|
NEG_Z_SELF_TEST = "self_test_neg_z"
|
||||||
|
|
||||||
|
|
||||||
class ImtqSetId:
|
class ImtqSetId(enum.IntEnum):
|
||||||
ENG_HK_NO_TORQUE = 1
|
ENG_HK_NO_TORQUE = 1
|
||||||
RAW_MTM_NO_TORQUE = 2
|
RAW_MTM_NO_TORQUE = 2
|
||||||
ENG_HK_SET_WITH_TORQUE = 3
|
ENG_HK_SET_WITH_TORQUE = 3
|
||||||
|
Loading…
Reference in New Issue
Block a user