| | |
| | | // } |
| | | deviceService.updateStatus(ser.getCompanyId(), ser.getId(), BhznVerbServerUtils.getStatusMap()); |
| | | // |
| | | // notifyInvoker.notifyAnalysisStatusSuccess(ser.getCompanyId(), ser.getId(), OrderRespEnum.MSG_SUCCESS, "设备状态查询成功并完成解析!"); |
| | | notifyInvoker.notifyAnalysisStatusSuccess(ser.getCompanyId(), ser.getId(), OrderRespEnum.MSG_SUCCESS, "设备状态查询成功并完成解析!"); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | } |
| | | // 12 |
| | | String l = hexStr.substring(0,2); |
| | | String l = hexStr.substring(4,6); |
| | | //00 |
| | | String h = hexStr.substring(2,4); |
| | | String h = hexStr.substring(6,8); |
| | | String hb = BytesUtil.toBinary8String(BytesUtil.hexToInt(h)); |
| | | //00000000 0000 0 000 |
| | | Integer status = Integer.parseInt(hb.substring(4,5)); |