|
|
@ -241,11 +241,13 @@ public class DeviceTypePluginDAOImpl implements PluginDAO{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private String getPropertString(List<Device.Property> properties, String propertyName) {
|
|
|
|
private String getPropertString(List<Device.Property> properties, String propertyName) {
|
|
|
|
|
|
|
|
if (properties != null) {
|
|
|
|
for (Device.Property property : properties) {
|
|
|
|
for (Device.Property property : properties) {
|
|
|
|
if (property.getName() != null && property.getName().equals(propertyName)) {
|
|
|
|
if (property.getName() != null && property.getName().equals(propertyName)) {
|
|
|
|
return property.getValue();
|
|
|
|
return property.getValue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|