修改代码 使用 dock_sn 替代 gateway的表达

This commit is contained in:
孙小云 2026-01-16 13:52:00 +08:00
parent f762f92846
commit 18777f9cdd
1 changed files with 3 additions and 3 deletions

View File

@ -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
); );