| | |
| | | }
|
| | |
|
| | | /**
|
| | | * 绑定设备
|
| | | *
|
| | | * @param bindDeviceData
|
| | | * @return
|
| | | * @throws BusinessException
|
| | | */
|
| | | public static BindDeviceData.Response hdlUserDeviceBind(BindDeviceData bindDeviceData) throws BusinessException {
|
| | | HashMap<String, Object> paramsMap = new HashMap<String, Object>();
|
| | | paramsMap.put("deviceId", bindDeviceData.data.deviceId);
|
| | | paramsMap.put("spk","security.ipcam.imou");
|
| | | paramsMap.put("code", bindDeviceData.data.code);
|
| | | JsonObject json = HttpSend.execute(paramsMap, CONST.METHOD_BINDDEVICE,DMS_TIME_OUT);
|
| | | BindDeviceData.Response response = new BindDeviceData.Response();
|
| | | response.parseData(json);
|
| | | return response;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 修改设备或通道名称
|
| | | *
|
| | | * @param bindDeviceData
|