-
public interface IThingDeviceMultiControlEquipment control more.
-
-
Method Summary
Modifier and Type Method Description abstract voidqueryLinkInfoByDp(String devId, String dpId, IThingDataCallback<MultiControlLinkBean> callback)Query the multicontrol and automation associated with the DP keys under the device. abstract voidsaveDeviceMultiControl(long mHomeId, MultiControlBean multiControlBean, IThingResultCallback<MultiControlBean> callback)Add or update multiple control groups. abstract voidsaveDeviceMultiControl(long mHomeId, String json, IThingResultCallback<MultiControlBean> callback)abstract voidgetDeviceDpLinkRelation(String devId, IThingDataCallback<DeviceMultiControlRelationBean> callback)Get the key, associated scene and multi-control group of the corresponding DP point of the device. abstract voidenableMultiControl(long multiControlId, IThingResultCallback<Boolean> callback)Enable multi-control groups. abstract voiddisableMultiControl(long multiControlId, IThingResultCallback<Boolean> callback)Deactivate the multi-control group. abstract voidgetMultiControlDeviceList(long mHomeId, IThingDataCallback<ArrayList<MultiControlDevInfoBean>> callback)Gets a list of multi-controlled devices. abstract voidgetDeviceDpInfoList(String devId, IThingDataCallback<ArrayList<DeviceDpInfoBean>> callback)Gets all DP information for the device. -
-
Method Detail
-
queryLinkInfoByDp
abstract void queryLinkInfoByDp(String devId, String dpId, IThingDataCallback<MultiControlLinkBean> callback)
Query the multicontrol and automation associated with the DP keys under the device.
- Parameters:
devId- The device ID you want to query.dpId- The device DP point ID that needs to be queried.callback- Callback for the multicontrol and automation associated with the DP keys under the device.
-
saveDeviceMultiControl
abstract void saveDeviceMultiControl(long mHomeId, MultiControlBean multiControlBean, IThingResultCallback<MultiControlBean> callback)
Add or update multiple control groups.
- Parameters:
mHomeId- Home ID.multiControlBean- Data from a multi-control group.callback- Callback for add or update multiple control groups.
-
saveDeviceMultiControl
abstract void saveDeviceMultiControl(long mHomeId, String json, IThingResultCallback<MultiControlBean> callback)
-
getDeviceDpLinkRelation
abstract void getDeviceDpLinkRelation(String devId, IThingDataCallback<DeviceMultiControlRelationBean> callback)
Get the key, associated scene and multi-control group of the corresponding DP point of the device.
- Parameters:
devId- Device id.callback- A callback to Get the key, associated scene and multi-control group of the corresponding DP point of the device.
-
enableMultiControl
abstract void enableMultiControl(long multiControlId, IThingResultCallback<Boolean> callback)
Enable multi-control groups.
- Parameters:
multiControlId- Multi-Control id.callback- A callback to enable multi-control groups.
-
disableMultiControl
abstract void disableMultiControl(long multiControlId, IThingResultCallback<Boolean> callback)
Deactivate the multi-control group.
- Parameters:
multiControlId- Multi-Control id.callback- A callback to deactivate the multi-control group.
-
getMultiControlDeviceList
abstract void getMultiControlDeviceList(long mHomeId, IThingDataCallback<ArrayList<MultiControlDevInfoBean>> callback)
Gets a list of multi-controlled devices.
- Parameters:
mHomeId- Home id.callback- A callback to get a list of multi-controlled devices.
-
getDeviceDpInfoList
abstract void getDeviceDpInfoList(String devId, IThingDataCallback<ArrayList<DeviceDpInfoBean>> callback)
Gets all DP information for the device.
- Parameters:
devId- Device id.callback- A callback to get all DP information for the device.
-
-
-
-