tao_z
2022-03-09 23987d708d13fa157da7e76fb4d18293cb168038
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
 
from enum import Enum, IntEnum
 
 
class ShifterCANID():
    def __init__(self):
        self.normalid = 0
        self.phy_txId = 0
        self.phy_rxId = 0
        self.fun_rxId = 0
 
 
class ShifterPosition(IntEnum):
    ShiftPosZero = 0
    ShiftPosX2 = 2
    ShiftPosX1 = 3
    ShiftPosY1 = 4
    ShiftPosY2 = 5
    ShiftPosNotInit = 8
    ShiftPosM_Minus = 0xc
    ShiftPosM_Plus = 0xd
    ShiftPosM = 0xe
    ShiftNotAvailable = 0xF