mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 电单车协议
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user