| | |
| | | import com.ld.igds.io.response.GrainResponse; |
| | | import com.ld.igds.protocol.bhzn.grainv2.msg.builder.CommandBuild; |
| | | import com.ld.igds.protocol.bhzn.grainv2.server.BhznGrainV2ServerEngine; |
| | | import com.ld.igds.util.BytesUtil; |
| | | import com.ld.io.api.InvokeResult; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | // request.setPort(mainSer.getPort()); |
| | | |
| | | // 发送命令 |
| | | InvokeResult result = bhznGrainServerEngine.pushByMin(hexStr); |
| | | InvokeResult result = bhznGrainServerEngine.push(request.getIp(),request.getPort(), BytesUtil.hexStrToBytes(hexStr)); |
| | | |
| | | log.error("平台------>>>>控制柜:粮情检测-{}", hexStr); |
| | | |