| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #pragma once
- #include <cstring>
- /*
- 遥信客户端显示基本信息
- */
- class ElectricEqpmt_TelProtectShow
- {
- public:
- ElectricEqpmt_TelProtectShow();
- ~ElectricEqpmt_TelProtectShow();
- void SetProtectShowID( int nProtectShowID )
- {
- m_nProtectShowID = nProtectShowID;
- }
- int GetProtectShowID()
- {
- return m_nProtectShowID;
- }
- void SetRecoverStatus( int nRecoverStatus )
- {
- m_nRecoverStatus = nRecoverStatus;
- }
- int GetRecoverStatus()
- {
- return m_nRecoverStatus;
- }
- void SetProtectStatus( int nProtectStatus )
- {
- m_nProtectStatus = nProtectStatus;
- }
- int GetProtectStatus()
- {
- return m_nProtectStatus;
- }
- void SetRecoverShowText( const std::string& strRecoverShowText )
- {
- m_strRecoverShowText = strRecoverShowText;
- }
- std::string GetRecoverShowText()
- {
- return m_strRecoverShowText;
- }
- void SetProtectShowText( const std::string& strProtectShowText )
- {
- m_strProtectShowText = strProtectShowText;
- }
- std::string GetProtectShowText()
- {
- return m_strProtectShowText;
- }
- void SetRecoverColor( int64_t rgbRecoverColor )
- {
- m_nRecoverColor = rgbRecoverColor;
- }
- int64_t GetRecoverColor()
- {
- return m_nRecoverColor;
- }
- void SetProtectColor(int64_t rgbProtectColor )
- {
- m_nProtectColor = rgbProtectColor;
- }
- int64_t GetProtectColor()
- {
- return m_nProtectColor;
- }
- public:
- int m_nProtectShowID; // 显示规则编号
- int m_nRecoverStatus; // 故障恢复状态
- int m_nProtectStatus; // 故障发生状态
- std::string m_strRecoverShowText; // 故障恢复显示文本
- std::string m_strProtectShowText; // 故障发生显示文本
- int64_t m_nRecoverColor; // 故障恢复显示颜色
- int64_t m_nProtectColor; // 故障发生显示颜色
- };
|