This commit is contained in:
zhouhuang 2024-11-21 16:12:33 +08:00
parent 89bb5e7fd0
commit 75d48b9c1a

View File

@ -1784,7 +1784,7 @@ BOOLEAN CRYDevice::processHostModbusPointParam(const Json::Value jsonRoot, int u
return TRUE; return TRUE;
} }
BOOLEAN CRYDevice::processHostModbusPointParam(const Json::Value jsonRoot, int uid, int point, int type) BOOLEAN CRYDevice::processSubModbusPointParam(const Json::Value jsonRoot, int uid, int point, int type)
{ {
if (uid < 0 || uid >= UNIT_NUM) return FALSE; if (uid < 0 || uid >= UNIT_NUM) return FALSE;
if (point < 0) return FALSE; if (point < 0) return FALSE;