100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Added new AttributeTypes (status and tags)
Rich Turnerd64c09aabc8d
diff --git a/model/src/main/java/org/openremote/model/attribute/AttributeType.java b/model/src/main/java/org/openremote/model/attribute/AttributeType.javaindex 2cc053f4b..2d934efec 100644--- a/model/src/main/java/org/openremote/model/attribute/AttributeType.java+++ b/model/src/main/java/org/openremote/model/attribute/AttributeType.java@@ -73,7 +73,13 @@ public enum AttributeType implements AttributeDescriptor {ASSET_META_NAMESPACE + ":assetStatusColors",new Access(true, false, true),false,- null));+ null)),++ TAGS(+ "tags", AttributeValueType.ARRAY,+ LABEL.withInitialValue(Values.create("Asset Tags")),+ DESCRIPTION.withInitialValue(Values.create("List of tags associated with an asset"))+ );final protected String attributeName;final protected AttributeValueDescriptor valueDescriptor;