mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
21 lines
629 B
Java
21 lines
629 B
Java
|
|
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; }
|
||
|
|
}
|