reactor:【IoT 物联网】增加 IotDataRuleDO 的定义,对标阿里云 IoT 的「云产品流转」

This commit is contained in:
YunaiV
2025-06-23 09:35:21 +08:00
parent 1ad4e08cb8
commit 1f5dff77c2
22 changed files with 223 additions and 77 deletions

View File

@@ -7,13 +7,13 @@ import lombok.RequiredArgsConstructor;
import java.util.Arrays;
/**
* IoT 数据桥接的类型枚举
* IoT 数据流转的数据目的的类型枚举
*
* @author 芋道源码
*/
@RequiredArgsConstructor
@Getter
public enum IotDataBridgeTypeEnum implements ArrayValuable<Integer> {
public enum IotDataRuleSinkTypeEnum implements ArrayValuable<Integer> {
HTTP(1, "HTTP"),
TCP(2, "TCP"),
@@ -32,7 +32,7 @@ public enum IotDataBridgeTypeEnum implements ArrayValuable<Integer> {
private final String name;
public static final Integer[] ARRAYS = Arrays.stream(values()).map(IotDataBridgeTypeEnum::getType).toArray(Integer[]::new);
public static final Integer[] ARRAYS = Arrays.stream(values()).map(IotDataRuleSinkTypeEnum::getType).toArray(Integer[]::new);
@Override
public Integer[] array() {