iotSucces-> iotSuccess

This commit is contained in:
shi_jq 2025-03-12 16:31:35 +08:00
parent af1fea79cb
commit 9bf9491684
4 changed files with 13 additions and 13 deletions

View File

@ -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;
};

View File

@ -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> &vecInterlockKeyIN 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)
{

View File

@ -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);
};

View File

@ -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)