iotSucces-> iotSuccess
This commit is contained in:
parent
af1fea79cb
commit
9bf9491684
@ -27,12 +27,12 @@ namespace iot_service
|
||||
public:
|
||||
/**
|
||||
@brief 初始化
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
virtual int initialize() =0 ;
|
||||
/**
|
||||
@brief 判断联锁关系
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
virtual int CheckCtrlInterlock(const char *strCtrlPointName, const double dTargValue,std::string &strResult, bool &bSuccess) =0;
|
||||
};
|
||||
|
||||
@ -66,7 +66,7 @@ int CInterLockImpl::initialize()
|
||||
@param const char *strCtrlPointName IN:需要进行互锁判断的测点,一般为控制点,如AO,DO,MO等
|
||||
string &strInterlockResult OUT 返回结果字符串
|
||||
string &bInterlockSuccess OUT 返回结果,成功/失败
|
||||
@return 成功返回iotSucces,失败返回 iotFailed
|
||||
@return 成功返回iotSuccess,失败返回 iotFailed
|
||||
*/
|
||||
int CInterLockImpl::CheckCtrlInterlock(const char *strCtrlPointName,const double dTargValue, string &strResult, bool &bSuccess)
|
||||
{
|
||||
@ -124,7 +124,7 @@ int CInterLockImpl::CheckCtrlInterlock(const char *strCtrlPointName,const double
|
||||
const vector<string> &vecInterlockKey:IN 输入参数队列 VECTOR
|
||||
string &strInterlockResult OUT 返回结果字符串
|
||||
string &bInterlockSuccess OUT 返回结果,成功/失败
|
||||
@return 成功返回iotSucces,失败返回 iotFailed
|
||||
@return 成功返回iotSuccess,失败返回 iotFailed
|
||||
*/
|
||||
int CInterLockImpl::CheckCtrlInterlock(const char *strInterlockName, const double dTargValue,const int nInterlockNum,
|
||||
const vector<string> &vecInterLockInPara, string &strInterlockResult, bool &bInterlockSuccess)
|
||||
@ -220,7 +220,7 @@ int CInterLockImpl::CheckCtrlInterlock(const char *strInterlockName, const doubl
|
||||
|
||||
/**
|
||||
@brief 通过标签点获取标签点的状态和值
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
int CInterLockImpl::GetValueStatusName(const std::string &strTagName, SOptValueStatus &stValueStatus,\
|
||||
iot_public::LuaVariantTypeSeq &vecValue, std::string& strName,int nDomainId ,int nAppNo)
|
||||
@ -397,7 +397,7 @@ int CInterLockImpl::SplitTagName(char *strTagName , const char *strDelimit,std::
|
||||
}
|
||||
/**
|
||||
@brief 通过表名称获得表的类型
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
int CInterLockImpl::GetPointTypeByTableName(const string &strTableName)
|
||||
{
|
||||
|
||||
@ -37,31 +37,31 @@ namespace iot_service
|
||||
public:
|
||||
/**
|
||||
@brief 初始化
|
||||
@return 成功返回iotSucces,失败返回iotFailed
|
||||
@return 成功返回iotSuccess,失败返回iotFailed
|
||||
*/
|
||||
int initialize();
|
||||
|
||||
/**
|
||||
@brief 判断联锁关系
|
||||
@return 成功返回iotSucces,失败返回iotFailed
|
||||
@return 成功返回iotSuccess,失败返回iotFailed
|
||||
*/
|
||||
int CheckCtrlInterlock(const char *strCtrlPointName, const double dTargValue,std::string &strResult, bool &bSuccess);
|
||||
private:
|
||||
/**
|
||||
@brief 判断联锁关系
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
int CheckCtrlInterlock(const char *strInterlockName, const double dTargValue,const int nInterlockNum,
|
||||
const std::vector<std::string> &vecInterLockInPara, std::string &strResult, bool &bSuccess);
|
||||
/**
|
||||
@brief 通过标签点获取标签点的状态和值
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
int GetValueStatusName(const std::string &strTagName, SOptValueStatus &stValueStatus,\
|
||||
iot_public::LuaVariantTypeSeq &vecValue, std::string& strName,int nDomainId=-1 ,int nAppNo=-1);
|
||||
/**
|
||||
@brief 通过LULA脚本计算连锁结果
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
//int CtrlInterlockLuaCalc(const std::string &strInterlock,const std::vector<SOptValueStatus> &vecValueStatus,
|
||||
// const std::vector<std::string> &vecName,std::string &strInterlockResult, bool &bInterlockSuccess);
|
||||
@ -78,7 +78,7 @@ namespace iot_service
|
||||
int SplitTagName(char *strTagName , const char *strDelimit,std::vector<std::string> &vecStr);
|
||||
/**
|
||||
@brief 通过表名称获得表的类型
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
int GetPointTypeByTableName(const std::string &strTableName);
|
||||
};
|
||||
|
||||
@ -313,7 +313,7 @@ int COperateServerClass::getUserAndUserGroup(const int nUserId,const int nUsergI
|
||||
|
||||
/**
|
||||
@brief 通过标签点获取标签点的状态和值
|
||||
@return 成功返回iotSucces,失败返回相应错误码
|
||||
@return 成功返回iotSuccess,失败返回相应错误码
|
||||
*/
|
||||
int COperateServerClass::getValueStatus(const std::string &strTagName, SOptValueStatus &stValueStatus,\
|
||||
int nDomainId ,int nAppNo)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user