修改代码 使用 dock_sn 替代 gateway的表达
This commit is contained in:
parent
f762f92846
commit
18777f9cdd
|
|
@ -22,9 +22,9 @@ public class DeviceAttributes {
|
||||||
value -> value != null ? value.toString() : null
|
value -> value != null ? value.toString() : null
|
||||||
);
|
);
|
||||||
|
|
||||||
// 网关 - String
|
// 机场SN - String
|
||||||
public static final AttributeKey<String> GATEWAY = AttributeKey.of(
|
public static final AttributeKey<String> DOCK_SN = AttributeKey.of(
|
||||||
"gateway",
|
"dock_sn",
|
||||||
String.class,
|
String.class,
|
||||||
value -> value != null ? value.toString() : null
|
value -> value != null ? value.toString() : null
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue