| | |
| | | #define STATE_ERROR 3 /* 发生故障 */ |
| | | |
| | | |
| | | #define ALARM_MONITOR _T("警告信息") |
| | | |
| | | |
| | | typedef std::function<void(void* pFrom, int)> ONBONDSTATECHANGED; |
| | | typedef std::function<void(void* pFrom, int)> ONPLCSTATECHANGED; |
| | | typedef std::function<void(void* pFrom, const char* pszAddr, int port, int)> ONEFEMSTATECHANGED; |
| | |
| | | int loadReady(BEQ::IUnit* pUnit, const char* pszMaterielId, const char* pszRecipeId); |
| | | int loadComplete(BEQ::IUnit* pUnit, int layer); |
| | | int unloadComplete(BEQ::IUnit* pUnit, int layer); |
| | | bool isMute(); |
| | | void setMute(bool bMute); |
| | | |
| | | public: |
| | | int writeInt(int unitId, int addr, int value); |
| | |
| | | BEQ::IEquipment* m_pEquipment; |
| | | std::map<int, CRecipe*> m_recipes; |
| | | std::string m_strCurRecipeName; |
| | | bool m_bMute; |
| | | }; |
| | | |