ソースを参照

修复子设备状态设置错误

zhou-hao 3 年 前
コミット
cee26b5c1c

+ 1 - 1
jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/entity/DeviceInstanceEntity.java

@@ -173,6 +173,6 @@ public class DeviceInstanceEntity extends GenericEntity<String> implements Recor
         if (this.features == null) {
             return false;
         }
-        return EnumDict.in(feature, DeviceFeature.values());
+        return EnumDict.in(feature, this.features);
     }
 }