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
Add Giga and Tera units (#2746)
delamiro0f36dfd0413d
diff --git a/model/src/main/java/org/openremote/model/Constants.java b/model/src/main/java/org/openremote/model/Constants.javaindex 458e63709..9eea73568 100644--- a/model/src/main/java/org/openremote/model/Constants.java+++ b/model/src/main/java/org/openremote/model/Constants.java@@ -97,6 +97,8 @@ public interface Constants {String UNITS_CUBED = "cubed";String UNITS_PEAK = "peak";String UNITS_MEGA = "mega";+ String UNITS_GIGA = "giga";+ String UNITS_TERA = "tera";String UNITS_KILO = "kilo";String UNITS_CENTI = "centi";String UNITS_HECTO = "hecto";diff --git a/ui/app/shared/locales/ar/or.json b/ui/app/shared/locales/ar/or.jsonindex e0dc5a011..bc7c076bf 100644--- a/ui/app/shared/locales/ar/or.json+++ b/ui/app/shared/locales/ar/or.json@@ -294,6 +294,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/cn/or.json b/ui/app/shared/locales/cn/or.jsonindex 5d3af3047..c081a97ed 100644--- a/ui/app/shared/locales/cn/or.json+++ b/ui/app/shared/locales/cn/or.json@@ -316,6 +316,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/de/or.json b/ui/app/shared/locales/de/or.jsonindex 8bcdfc54f..f34fbf213 100644--- a/ui/app/shared/locales/de/or.json+++ b/ui/app/shared/locales/de/or.json@@ -342,6 +342,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/en/or.json b/ui/app/shared/locales/en/or.jsonindex 0d4abef26..47c5448f4 100644--- a/ui/app/shared/locales/en/or.json+++ b/ui/app/shared/locales/en/or.json@@ -539,6 +539,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","hecto": "h",diff --git a/ui/app/shared/locales/es/or.json b/ui/app/shared/locales/es/or.jsonindex 09141c521..7915397d0 100644--- a/ui/app/shared/locales/es/or.json+++ b/ui/app/shared/locales/es/or.json@@ -319,6 +319,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/fr/or.json b/ui/app/shared/locales/fr/or.jsonindex c3c11c904..1784352c0 100644--- a/ui/app/shared/locales/fr/or.json+++ b/ui/app/shared/locales/fr/or.json@@ -319,6 +319,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/it/or.json b/ui/app/shared/locales/it/or.jsonindex 2ad0c972b..45941efd8 100644--- a/ui/app/shared/locales/it/or.json+++ b/ui/app/shared/locales/it/or.json@@ -316,6 +316,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/nl/or.json b/ui/app/shared/locales/nl/or.jsonindex bf14bc68c..9e8e68c16 100644--- a/ui/app/shared/locales/nl/or.json+++ b/ui/app/shared/locales/nl/or.json@@ -533,6 +533,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","hecto": "h",diff --git a/ui/app/shared/locales/pl/or.json b/ui/app/shared/locales/pl/or.jsonindex 4ce3e1723..3d048a706 100644--- a/ui/app/shared/locales/pl/or.json+++ b/ui/app/shared/locales/pl/or.json@@ -539,6 +539,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","hecto": "h",diff --git a/ui/app/shared/locales/pt/or.json b/ui/app/shared/locales/pt/or.jsonindex 5251d7ba6..a1ab7a2e9 100644--- a/ui/app/shared/locales/pt/or.json+++ b/ui/app/shared/locales/pt/or.json@@ -317,6 +317,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/ro/or.json b/ui/app/shared/locales/ro/or.jsonindex 8ae5f4d77..8df4e8125 100644--- a/ui/app/shared/locales/ro/or.json+++ b/ui/app/shared/locales/ro/or.json@@ -391,6 +391,8 @@"cubed": "³","peak": "p","mega": "M",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",diff --git a/ui/app/shared/locales/uk/or.json b/ui/app/shared/locales/uk/or.jsonindex 3d1967616..b3c5098b8 100644--- a/ui/app/shared/locales/uk/or.json+++ b/ui/app/shared/locales/uk/or.json@@ -400,6 +400,8 @@"cubed": "³","peak": "p","mega": "М",+ "giga": "G",+ "tera": "T","kilo": "k","centi": "c","milli": "m",