| | |
| | | import com.ld.igds.protocol.fzzy.dto.ReMessage; |
| | | import com.ld.igds.protocol.fzzy.dto.SendMessage; |
| | | |
| | | import org.apache.commons.lang3.RandomUtils; |
| | | |
| | | /** |
| | | * 系统接口 |
| | | */ |
| | |
| | | info.setIedId(reMessage.getIedId()); |
| | | info.setFunctionId(functionId); |
| | | info.setRespCode("0000"); |
| | | info.setOrderId(RandomUtils.nextInt(4000, 9999) + ""); |
| | | //启用随机数命令,在Linux中会阻塞线程,不执行 |
| | | // info.setOrderId(RandomUtils.nextInt(4000, 9999) + ""); |
| | | info.setOrderId(reMessage.getOrderId()); |
| | | info.setUserData("0"); |
| | | info.setSign("0000"); |
| | | info.setContent(object); |
| | |
| | | info.setIedId(deviceSer.getId()); |
| | | info.setFunctionId(functionId); |
| | | info.setRespCode("0000"); |
| | | info.setOrderId(RandomUtils.nextInt(4000, 9999) + ""); |
| | | //启用随机数命令,在Linux中会阻塞线程,不执行 |
| | | // info.setOrderId(RandomUtils.nextInt(4000, 9999) + ""); |
| | | info.setOrderId(deviceSer.getOrgId()); |
| | | info.setUserData("0"); |
| | | info.setSign("0000"); |
| | | |