| | |
| | | |
| | | |
| | | //粮情解析 |
| | | log.info("控制柜--->平台,推动的粮情信息--{}", response); |
| | | log.info("控制柜--->平台,控制柜返回粮情检测结果--{}", response); |
| | | |
| | | //粮情封装和处理 |
| | | if (StringUtils.isEmpty(response.getLayerPerCircle())) { |
| | |
| | | |
| | | //信息调整封装 |
| | | private void buildBizInfo1(Response2102 response) { |
| | | String depotId = response.getHouseId(); |
| | | |
| | | //获取请求信息 |
| | | BaseReqData reqData = ServerUtils.getSyncReq(depotId); |
| | | BaseReqData reqData = ServerUtils.getSyncReq(response.getHouseId()); |
| | | |
| | | if (null == reqData) { |
| | | log.error("--粮情封装解析,未获取到请求相关参数----"); |
| | |
| | | //根号 |
| | | int cableNum = 1, position = 0; |
| | | |
| | | double curTemp = response.getTMin(); |
| | | double curTemp; |
| | | String[] attr = response.getPoints().split(","); |
| | | int x = 0, y = 0, z = 0; |
| | | for (int i = 0; i < attr.length; i++) { |