添加网关名称字段,表示是从哪个网关接入的
This commit is contained in:
parent
18777f9cdd
commit
6292b3f9b6
|
|
@ -22,6 +22,13 @@ public class DeviceAttributes {
|
|||
value -> value != null ? value.toString() : null
|
||||
);
|
||||
|
||||
// 网关名称 - String
|
||||
public static final AttributeKey<String> GATEWAY = AttributeKey.of(
|
||||
"gateway",
|
||||
String.class,
|
||||
value -> value != null ? value.toString() : null
|
||||
);
|
||||
|
||||
// 机场SN - String
|
||||
public static final AttributeKey<String> DOCK_SN = AttributeKey.of(
|
||||
"dock_sn",
|
||||
|
|
|
|||
Loading…
Reference in New Issue