|
@@ -717,7 +717,7 @@ public class IotServiceImpl extends SuperService {
|
|
|
|
|
|
|
|
// 属性值
|
|
// 属性值
|
|
|
if (entity.getFunctionType() == FunctionType.Attribute && entity.getIotDataType() == IotDataType.Device) {
|
|
if (entity.getFunctionType() == FunctionType.Attribute && entity.getIotDataType() == IotDataType.Device) {
|
|
|
- model.setValue(iotDeviceDataService.getDevicePropertyModel(entity.getDeviceId(), entity.getIdentifier()));
|
|
|
|
|
|
|
+ model.setValue(iotDeviceDataService.getDeviceProperty(entity.getDeviceId(), entity.getIdentifier()));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
return model;
|
|
return model;
|