修改代码 使用 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
|
||||
);
|
||||
|
||||
// 网关 - String
|
||||
public static final AttributeKey<String> GATEWAY = AttributeKey.of(
|
||||
"gateway",
|
||||
// 机场SN - String
|
||||
public static final AttributeKey<String> DOCK_SN = AttributeKey.of(
|
||||
"dock_sn",
|
||||
String.class,
|
||||
value -> value != null ? value.toString() : null
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue