-
public interface IThingDevListCacheManager
-
-
Method Summary
Modifier and Type Method Description abstract voidupdateDevList(List<DeviceRespBean> deviceRespBeen)abstract DeviceBeangetDev(String meshId, String nodeId)abstract DeviceRespBeangetDevResp(String meshId, String nodeId)abstract DeviceBeangetDevByMac(String meshId, String mac)abstract Map<String, Object>getDpCodes(String devId)abstract booleanremoveDev(String devId)abstract List<DeviceBean>getSubDevList(String meshId)abstract List<DeviceRespBean>getSubDevRespList(String communicationId)abstract List<DeviceBean>getStandardSubDevList(String meshId)abstract List<DeviceBean>getNotStandardSubDevList(String meshId)abstract voidaddDev(DeviceRespBean devResp)abstract DeviceRespBeangetDevRespBean(String devId)abstract List<DeviceRespBean>getDevRespBeanList()abstract DeviceBeangetDev(String devId)abstract DeviceBeangetDev(boolean standard, String devId)get DeviceBean by devId abstract DeviceRespBeangetDevByUuid(String uuid)abstract booleancheckGw(HgwBean gw)abstract DeviceRespBeangetSubDev(String meshId, String cid)abstract voidupdateSubDevDps(String devId, String cid, Map<String, Object> dpsValue)abstract voidupdateSubDevDps(DeviceRespBean subDev, Map<String, Object> dpsValue)abstract voidonDestroy()abstract List<DeviceBean>getDevList()abstract voidaddDevList(List<DeviceRespBean> deviceRespBeans)abstract DeviceBeandevRespWrap(DeviceRespBean deviceRespBean, ProductBean productBean)abstract DeviceBeangwToDeviceBean(GwDevResp gwDevResp)abstract voidsetmZigbeeSubDevTimestamp(String devId)-
-
Method Detail
-
updateDevList
abstract void updateDevList(List<DeviceRespBean> deviceRespBeen)
-
getDev
abstract DeviceBean getDev(String meshId, String nodeId)
-
getDevResp
abstract DeviceRespBean getDevResp(String meshId, String nodeId)
-
getDevByMac
abstract DeviceBean getDevByMac(String meshId, String mac)
-
getDpCodes
abstract Map<String, Object> getDpCodes(String devId)
-
removeDev
abstract boolean removeDev(String devId)
-
getSubDevList
abstract List<DeviceBean> getSubDevList(String meshId)
-
getSubDevRespList
abstract List<DeviceRespBean> getSubDevRespList(String communicationId)
-
getStandardSubDevList
abstract List<DeviceBean> getStandardSubDevList(String meshId)
-
getNotStandardSubDevList
abstract List<DeviceBean> getNotStandardSubDevList(String meshId)
-
addDev
abstract void addDev(DeviceRespBean devResp)
-
getDevRespBean
abstract DeviceRespBean getDevRespBean(String devId)
-
getDevRespBeanList
abstract List<DeviceRespBean> getDevRespBeanList()
-
getDev
abstract DeviceBean getDev(String devId)
-
getDev
abstract DeviceBean getDev(boolean standard, String devId)
get DeviceBean by devId
- Parameters:
standard- get specified standard or nonstandard DeviceBeanif true, the devId is standard product, and the return value is DeviceBean, otherwise returns nullif false, the devId is nonstandard product, and the return value is DeviceBean,otherwise returns null
-
getDevByUuid
abstract DeviceRespBean getDevByUuid(String uuid)
-
checkGw
abstract boolean checkGw(HgwBean gw)
-
getSubDev
abstract DeviceRespBean getSubDev(String meshId, String cid)
-
updateSubDevDps
abstract void updateSubDevDps(String devId, String cid, Map<String, Object> dpsValue)
-
updateSubDevDps
abstract void updateSubDevDps(DeviceRespBean subDev, Map<String, Object> dpsValue)
-
onDestroy
abstract void onDestroy()
-
getDevList
abstract List<DeviceBean> getDevList()
-
addDevList
abstract void addDevList(List<DeviceRespBean> deviceRespBeans)
-
devRespWrap
abstract DeviceBean devRespWrap(DeviceRespBean deviceRespBean, ProductBean productBean)
-
gwToDeviceBean
abstract DeviceBean gwToDeviceBean(GwDevResp gwDevResp)
-
setmZigbeeSubDevTimestamp
abstract void setmZigbeeSubDevTimestamp(String devId)
-
-
-
-