工控上位机控制系统通用UI框架
This commit is contained in:
18
common/allTypesEnum.py
Normal file
18
common/allTypesEnum.py
Normal file
@ -0,0 +1,18 @@
|
||||
# 该文件声明了所有和类型相关的枚举,用于选择
|
||||
|
||||
from enum import Enum
|
||||
|
||||
# os平台类型
|
||||
class EOSType(Enum):
|
||||
WINDOW = 0,
|
||||
MACOS = 1,
|
||||
LINUX = 2,
|
||||
|
||||
# 功能子页面枚举
|
||||
class ESubPageType(Enum):
|
||||
AUTOPROC = 0,
|
||||
DEVDEBUG = 1,
|
||||
PARASETTING = 2,
|
||||
DATAQUERY = 3,
|
||||
RECIPEMANAGE = 4,
|
||||
USERMANAGE = 5,
|
||||
Reference in New Issue
Block a user