# 该类描述和自动作业相关的状态 class CStateAutoProc: # private: _m_bRunProc: bool = False # 标志自动作业正在运行 _m_bNotifyStacking: bool = False # 通知码垛作业开始 # public: @classmethod def setProcState(cls, set_state: bool) -> None: cls._m_bRunProc = set_state @classmethod def getProcState(cls) -> bool: return cls._m_bRunProc @classmethod def setNotifyStacking(cls, set_state: bool) -> None: cls._m_bNotifyStacking = set_state @classmethod def getNotifyStacking(cls) -> bool: return cls._m_bNotifyStacking