| | |
| | | virtual int onReadData(); |
| | | virtual int onComplete(); |
| | | virtual int onTimeout(); |
| | | void setAlarmDev(int nDev); |
| | | |
| | | // Getter 和 Setter 声明 |
| | | int getAlarmDev() const; |
| | | void setAlarmDev(int nAlarmDev); |
| | | |
| | | int getAlarmState() const; |
| | | void setAlarmState(int nAlarmState); |
| | | |
| | | int getUnitId() const; |
| | | void setUnitId(int nUnitId); |
| | | |
| | | int getAlarmLevel() const; |
| | | void setAlarmLevel(int nAlarmLevel); |
| | | |
| | | int getAlarmCode() const; |
| | | void setAlarmCode(int nAlarmCode); |
| | | |
| | | int getAlarmId() const; |
| | | void setAlarmId(int nAlarmId); |
| | | |
| | | std::string getText() const; |
| | | void setText(const std::string& strText); |
| | | |
| | | std::string getDescription() const; |
| | | void setDescription(const std::string& strDescription); |
| | | |
| | | |
| | | private: |
| | | int m_nAlarmDev; |