41 lines
958 B
C++
41 lines
958 B
C++
|
||
/******************************************************************************//**
|
||
* @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"
|
||
|
||
namespace iot_app
|
||
{
|
||
namespace app_fbd
|
||
{
|
||
|
||
class CFbdAlarmSrcImpl final : public CFbdAlarmSrcApi
|
||
{
|
||
public:
|
||
|
||
CFbdAlarmSrcImpl( int nDomainID, int nAppID );
|
||
|
||
~CFbdAlarmSrcImpl() override;
|
||
|
||
//< 见基类说明
|
||
bool addAlarm( iot_idl::SAppAddAlm &objAlarm ) override;
|
||
|
||
private:
|
||
friend CFbdAlarmSrcApiPtr getFbdAlarmSrcApi();
|
||
|
||
iot_service::CAlmApiForApp m_objImpl;
|
||
};
|
||
|
||
typedef boost::shared_ptr<CFbdAlarmSrcImpl> CFbdAlarmSrcImplPtr;
|
||
|
||
} //< namespace app_fbd
|
||
} //< namespace iot_app
|