This commit is contained in:
2026-04-17 10:42:16 +08:00
parent 17c52c978c
commit d26dde07d7
64 changed files with 4737 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
package com.fastbee.common;
public class CommandConstant {
public static byte remoteControl = (byte)0x00;
public static byte heartbeat = (byte)0xff;
public static byte path = (byte)0x01;
public static byte status = (byte)0x02;
public static byte connect = (byte)0x03;
public static byte interaction = (byte)0x12; //主要用于推送状态消息等
}

View File

@@ -0,0 +1,11 @@
package com.fastbee.common;
import io.netty.util.AttributeKey;
import lombok.Data;
@Data
public class Constant {
public static final AttributeKey<String> ATT_DEVICE_ID = AttributeKey.valueOf("deviceId");
}

View File

@@ -0,0 +1,9 @@
package com.fastbee.common;
import lombok.Data;
public class NettyCacheKey {
public static final String deviceRunningStatusKey = "running_status:";
}