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
Minor
Rich Turnerb5f7ec2f5039
diff --git a/client/src/main/resources/org/openremote/app/client/i18n/ManagerMessages.properties b/client/src/main/resources/org/openremote/app/client/i18n/ManagerMessages.propertiesindex 99335253e..669ce43b7 100644--- a/client/src/main/resources/org/openremote/app/client/i18n/ManagerMessages.properties+++ b/client/src/main/resources/org/openremote/app/client/i18n/ManagerMessages.properties@@ -223,7 +223,7 @@ attributeValueType[TIME_MINUTES]=Time minutesattributeValueType[RAINFALL]=Rainfall millimetres per hourattributeValueType[BRIGHTNESS_LUX]=Lux brightnessattributeValueType[DIRECTION_DECIMAL_DEGREES]=Direction in decimal degrees-attributeValueType[LOCATION]=Location+attributeValueType[GEO_JSON_POINT]=CoordinatesvalidationFailureOnAttribute=Attribute error on ''{0}''validationFailureOnMetaItem=Meta item error on ''{0}'' meta item ''{1}''validationFailure=Unknown validation failure.diff --git a/model/src/main/java/org/openremote/model/attribute/AttributeType.java b/model/src/main/java/org/openremote/model/attribute/AttributeType.javaindex 8b9f48aea..91d48bb5d 100644--- a/model/src/main/java/org/openremote/model/attribute/AttributeType.java+++ b/model/src/main/java/org/openremote/model/attribute/AttributeType.java@@ -19,13 +19,15 @@*/package org.openremote.model.attribute;+import org.openremote.model.asset.AssetMeta;import org.openremote.model.value.Value;+import org.openremote.model.value.Values;import java.util.Optional;public enum AttributeType implements AttributeDescriptor {- LOCATION("location", AttributeValueType.GEO_JSON_POINT),+ LOCATION("location", AttributeValueType.GEO_JSON_POINT, new MetaItem(AssetMeta.LABEL, Values.create("Location"))),CONSOLE_NAME("consoleName", AttributeValueType.STRING),