41 lines
958 B
C
Raw Normal View History

2025-03-12 11:08:50 +08:00

/******************************************************************************//**
* @file FbdAlarmSrcImpl.h
* @brief FBD告警源
* @author yikenan
* @version 1.0
* @date 2021/1/11
**********************************************************************************/
#pragma once
#include "alarm_server_api/CAlmApiForApp.h"
#include "app_fbd/fbd_common/FbdAlarmSrcApi.h"
2025-03-12 14:54:22 +08:00
namespace iot_app
2025-03-12 11:08:50 +08:00
{
namespace app_fbd
{
class CFbdAlarmSrcImpl final : public CFbdAlarmSrcApi
{
public:
CFbdAlarmSrcImpl( int nDomainID, int nAppID );
~CFbdAlarmSrcImpl() override;
//< 见基类说明
2025-03-12 14:17:01 +08:00
bool addAlarm( iot_idl::SAppAddAlm &objAlarm ) override;
2025-03-12 11:08:50 +08:00
private:
friend CFbdAlarmSrcApiPtr getFbdAlarmSrcApi();
2025-03-12 14:17:01 +08:00
iot_service::CAlmApiForApp m_objImpl;
2025-03-12 11:08:50 +08:00
};
typedef boost::shared_ptr<CFbdAlarmSrcImpl> CFbdAlarmSrcImplPtr;
} //< namespace app_fbd
2025-03-12 14:54:22 +08:00
} //< namespace iot_app