-
public interface IThingDeviceOperate
Device online status.
-
-
Method Summary
Modifier and Type Method Description abstract Boolean
getIsLocalOnline(DeviceBean deviceBean, Boolean isOnline)
Get device local online status abstract boolean
isLocalDirectOnline(String devId)
abstract boolean
getIsOnline(DeviceBean deviceBean, Boolean isOnline)
Get device online status, combine local online and cloud online status. abstract DeviceRespBean
getDeviceRespBean(String devId)
abstract boolean
getIsOnline(DeviceBean deviceBean, CommunicationEnum communicationEnum)
Get device online status with specified communication channel. abstract boolean
isThingMeshCloudOnline(DeviceBean deviceBean)
Get thing mesh gateway cloud online status. abstract Map<String, Object>
getDps(DeviceBean deviceBean)
abstract HgwBean
getHgwBean(DeviceBean deviceBean)
abstract ProductBean
getProductBean(DeviceBean deviceBean)
abstract ThingSmartThingModel
getThingModel(DeviceBean deviceBean)
abstract ProductRefBean
getProductRefBean(DeviceBean deviceBean)
abstract DeviceBizPropBean
getDeviceBizPropBean(DeviceBean deviceBean)
abstract int
getZigBeeBleSubEnableStatus(DeviceBean deviceBean)
abstract int
getWifiEnableState(DeviceBean deviceBean)
abstract ProductStandardConfig
getProductStandardConfig(DeviceBean deviceBean)
abstract String
getCategory(DeviceBean deviceBean)
abstract boolean
isCloudOnline(DeviceBean deviceBean, Boolean isOnline)
-
-
Method Detail
-
getIsLocalOnline
abstract Boolean getIsLocalOnline(DeviceBean deviceBean, Boolean isOnline)
Get device local online status
- Parameters:
deviceBean
- DeviceBeanisOnline
- cloud online statusisCloudOnline
-
isLocalDirectOnline
abstract boolean isLocalDirectOnline(String devId)
-
getIsOnline
abstract boolean getIsOnline(DeviceBean deviceBean, Boolean isOnline)
Get device online status, combine local online and cloud online status.
- Parameters:
deviceBean
- DeviceBeanisOnline
- cloud online statusisCloudOnline
-
getDeviceRespBean
abstract DeviceRespBean getDeviceRespBean(String devId)
-
getIsOnline
abstract boolean getIsOnline(DeviceBean deviceBean, CommunicationEnum communicationEnum)
Get device online status with specified communication channel.
- Parameters:
deviceBean
- DeviceBeancommunicationEnum
- Specify the communication channel with the device, CommunicationEnum
-
isThingMeshCloudOnline
abstract boolean isThingMeshCloudOnline(DeviceBean deviceBean)
Get thing mesh gateway cloud online status.
- Parameters:
deviceBean
- thing mesh gateway DeviceBean
-
getDps
abstract Map<String, Object> getDps(DeviceBean deviceBean)
-
getHgwBean
abstract HgwBean getHgwBean(DeviceBean deviceBean)
-
getProductBean
abstract ProductBean getProductBean(DeviceBean deviceBean)
-
getThingModel
abstract ThingSmartThingModel getThingModel(DeviceBean deviceBean)
-
getProductRefBean
abstract ProductRefBean getProductRefBean(DeviceBean deviceBean)
-
getDeviceBizPropBean
abstract DeviceBizPropBean getDeviceBizPropBean(DeviceBean deviceBean)
-
getZigBeeBleSubEnableStatus
abstract int getZigBeeBleSubEnableStatus(DeviceBean deviceBean)
-
getWifiEnableState
abstract int getWifiEnableState(DeviceBean deviceBean)
-
getProductStandardConfig
abstract ProductStandardConfig getProductStandardConfig(DeviceBean deviceBean)
-
getCategory
abstract String getCategory(DeviceBean deviceBean)
-
isCloudOnline
abstract boolean isCloudOnline(DeviceBean deviceBean, Boolean isOnline)
-
-
-
-