Files
jsowell-charger-web/jsowell-netty/src/main/java/com/jsowell/netty/domain/ChargingPileMessage.java

21 lines
629 B
Java
Raw Normal View History

2024-07-15 16:05:15 +08:00
package com.jsowell.netty.domain;
public class ChargingPileMessage {
private int physicalId;
private short messageId;
private byte command;
private byte[] data;
public ChargingPileMessage(int physicalId, short messageId, byte command, byte[] data) {
this.physicalId = physicalId;
this.messageId = messageId;
this.command = command;
this.data = data;
}
// Getters
public int getPhysicalId() { return physicalId; }
public short getMessageId() { return messageId; }
public byte getCommand() { return command; }
public byte[] getData() { return data; }
}