| | |
| | | |
| | | try { |
| | | //Step 请求信息放入内存 |
| | | ProtocolUtils.addSyncReq2Map(device.getDepotIdSys(), reqData); |
| | | ProtocolUtils.addSyncReq2Map(device.getDeviceSn(), reqData); |
| | | |
| | | // 生成粮情信息 |
| | | String hexStr = CommandBuild.getInstance().getMsgCheck(device.getDeviceSn(), device.getDepotIdSys()); |
| | | String hexStr = CommandBuild.getInstance().getMsgCheck(device.getDeviceSn(), device.getBhId()); |
| | | // 发送命令 |
| | | InvokeResult message = BhznGrainV2ServerEngine.push(device.getIp(), device.getPort(), BytesUtil.hexStrToBytes(hexStr)); |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public BaseResp syncGrainTh(BaseReqData reqData) { |
| | | return new BaseResp(); |
| | | } |
| | | |
| | | @Override |
| | | public BaseResp syncConf(BaseReqData reqData) { |
| | | return new BaseResp(); |
| | | } |