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: public:
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
virtual int initialize() =0 ; virtual int initialize() =0 ;
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
virtual int CheckCtrlInterlock(const char *strCtrlPointName, const double dTargValue,std::string &strResult, bool &bSuccess) =0; 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等 @param const char *strCtrlPointName IN:AO,DO,MO等
string &strInterlockResult OUT string &strInterlockResult OUT
string &bInterlockSuccess OUT / string &bInterlockSuccess OUT /
@return iotSucces, iotFailed @return iotSuccess, iotFailed
*/ */
int CInterLockImpl::CheckCtrlInterlock(const char *strCtrlPointName,const double dTargValue, string &strResult, bool &bSuccess) 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 const vector<string> &vecInterlockKeyIN VECTOR
string &strInterlockResult OUT string &strInterlockResult OUT
string &bInterlockSuccess OUT / string &bInterlockSuccess OUT /
@return iotSucces, iotFailed @return iotSuccess, iotFailed
*/ */
int CInterLockImpl::CheckCtrlInterlock(const char *strInterlockName, const double dTargValue,const int nInterlockNum, int CInterLockImpl::CheckCtrlInterlock(const char *strInterlockName, const double dTargValue,const int nInterlockNum,
const vector<string> &vecInterLockInPara, string &strInterlockResult, bool &bInterlockSuccess) const vector<string> &vecInterLockInPara, string &strInterlockResult, bool &bInterlockSuccess)
@ -220,7 +220,7 @@ int CInterLockImpl::CheckCtrlInterlock(const char *strInterlockName, const doubl
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
int CInterLockImpl::GetValueStatusName(const std::string &strTagName, SOptValueStatus &stValueStatus,\ int CInterLockImpl::GetValueStatusName(const std::string &strTagName, SOptValueStatus &stValueStatus,\
iot_public::LuaVariantTypeSeq &vecValue, std::string& strName,int nDomainId ,int nAppNo) 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 @brief
@return iotSucces, @return iotSuccess,
*/ */
int CInterLockImpl::GetPointTypeByTableName(const string &strTableName) int CInterLockImpl::GetPointTypeByTableName(const string &strTableName)
{ {

View File

@ -37,31 +37,31 @@ namespace iot_service
public: public:
/** /**
@brief @brief
@return iotSucces,iotFailed @return iotSuccess,iotFailed
*/ */
int initialize(); int initialize();
/** /**
@brief @brief
@return iotSucces,iotFailed @return iotSuccess,iotFailed
*/ */
int CheckCtrlInterlock(const char *strCtrlPointName, const double dTargValue,std::string &strResult, bool &bSuccess); int CheckCtrlInterlock(const char *strCtrlPointName, const double dTargValue,std::string &strResult, bool &bSuccess);
private: private:
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
int CheckCtrlInterlock(const char *strInterlockName, const double dTargValue,const int nInterlockNum, int CheckCtrlInterlock(const char *strInterlockName, const double dTargValue,const int nInterlockNum,
const std::vector<std::string> &vecInterLockInPara, std::string &strResult, bool &bSuccess); const std::vector<std::string> &vecInterLockInPara, std::string &strResult, bool &bSuccess);
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
int GetValueStatusName(const std::string &strTagName, SOptValueStatus &stValueStatus,\ int GetValueStatusName(const std::string &strTagName, SOptValueStatus &stValueStatus,\
iot_public::LuaVariantTypeSeq &vecValue, std::string& strName,int nDomainId=-1 ,int nAppNo=-1); iot_public::LuaVariantTypeSeq &vecValue, std::string& strName,int nDomainId=-1 ,int nAppNo=-1);
/** /**
@brief LULA脚本计算连锁结果 @brief LULA脚本计算连锁结果
@return iotSucces, @return iotSuccess,
*/ */
//int CtrlInterlockLuaCalc(const std::string &strInterlock,const std::vector<SOptValueStatus> &vecValueStatus, //int CtrlInterlockLuaCalc(const std::string &strInterlock,const std::vector<SOptValueStatus> &vecValueStatus,
// const std::vector<std::string> &vecName,std::string &strInterlockResult, bool &bInterlockSuccess); // 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); int SplitTagName(char *strTagName , const char *strDelimit,std::vector<std::string> &vecStr);
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
int GetPointTypeByTableName(const std::string &strTableName); int GetPointTypeByTableName(const std::string &strTableName);
}; };

View File

@ -313,7 +313,7 @@ int COperateServerClass::getUserAndUserGroup(const int nUserId,const int nUsergI
/** /**
@brief @brief
@return iotSucces, @return iotSuccess,
*/ */
int COperateServerClass::getValueStatus(const std::string &strTagName, SOptValueStatus &stValueStatus,\ int COperateServerClass::getValueStatus(const std::string &strTagName, SOptValueStatus &stValueStatus,\
int nDomainId ,int nAppNo) int nDomainId ,int nAppNo)