File was renamed from pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/p206V1/Cd.java |
| | |
| | | * @Date: 2025/5/7 8:43 |
| | | * @Description |
| | | */ |
| | | public abstract class Cd { |
| | | public abstract class P206V1Cd { |
| | | |
| | | protected static final byte CTRL = (byte)0xB0 ;//控制域 |
| | | |
| | | public abstract String checkParams(String ...params) ; |
| | | public abstract String helpInfo() ; |
| | | public abstract String hex(String rtuAddr, String ...params) throws Exception ; |
| | | public abstract byte[] bs(String rtuAddr, String ...params) throws Exception ; |
| | | |
| | | public byte[] createHead(String rtuAddr, String code, byte ctrl)throws Exception { |
| | | byte[] bsHead = new byte[ProtocolConstantV206V1.lenHead2Code] ; |