diff --git a/application/src/main/data/json/system/scada_symbols/bottom-flow-meter.svg b/application/src/main/data/json/system/scada_symbols/bottom-flow-meter.svg
index 5a886556f8..7d22c90abf 100644
--- a/application/src/main/data/json/system/scada_symbols/bottom-flow-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/bottom-flow-meter.svg
@@ -120,7 +120,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -135,6 +135,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -155,7 +164,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -170,6 +179,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/centrifugal-pump.svg b/application/src/main/data/json/system/scada_symbols/centrifugal-pump.svg
index 3e2524bd2f..5a67d37e07 100644
--- a/application/src/main/data/json/system/scada_symbols/centrifugal-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/centrifugal-pump.svg
@@ -105,7 +105,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -120,6 +120,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -140,7 +149,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -155,6 +164,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/control-panel-hp.svg b/application/src/main/data/json/system/scada_symbols/control-panel-hp.svg
index 202ad16eb0..630d0faa28 100644
--- a/application/src/main/data/json/system/scada_symbols/control-panel-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/control-panel-hp.svg
@@ -19,7 +19,7 @@
},
{
"tag": "offButton",
- "stateRenderFunction": "var offButtonChildren = element.children();\nif(ctx.values.value){\n ctx.api.enable(element);\n offButtonChildren[0].fill(ctx.properties.defaultButtonColor);\n} else {\n ctx.api.disable(element);\n offButtonChildren[0].fill(ctx.properties.activeButtonColor);\n}\n\noffButtonChildren[1].stroke(ctx.properties.borderButtonColor);\n\nif (!ctx.properties.label) {\n element.transform({translateY: -60});\n}",
+ "stateRenderFunction": "var offButtonChildren = element.children();\nif(ctx.values.value){\n ctx.api.enable(element);\n offButtonChildren[0].fill(ctx.properties.defaultButtonColor);\n} else {\n ctx.api.disable(element);\n offButtonChildren[0].fill(ctx.properties.activeButtonColor);\n}\n\noffButtonChildren[1].stroke(ctx.properties.borderButtonColor);\n\nif (!ctx.properties.label) {\n element.transform({translateY: -37});\n}",
"actions": {
"click": {
"actionFunction": "ctx.api.disable(element);\nctx.api.callAction(event, 'offUpdateState', undefined, {\n next: () => {\n ctx.api.setValue('value', false);\n },\n error: () => {\n ctx.api.enable(element);\n } \n});"
@@ -33,7 +33,7 @@
},
{
"tag": "onButton",
- "stateRenderFunction": "var onButtonChildren = element.children();\nif(ctx.values.value){\n ctx.api.disable(element);\n onButtonChildren[0].fill(ctx.properties.activeButtonColor);\n} else {\n ctx.api.enable(element);\n onButtonChildren[0].fill(ctx.properties.defaultButtonColor);\n}\nonButtonChildren[1].stroke(ctx.properties.borderButtonColor);\nif (!ctx.properties.label) {\n element.transform({translateY: -60});\n}",
+ "stateRenderFunction": "var onButtonChildren = element.children();\nif(ctx.values.value){\n ctx.api.disable(element);\n onButtonChildren[0].fill(ctx.properties.activeButtonColor);\n} else {\n ctx.api.enable(element);\n onButtonChildren[0].fill(ctx.properties.defaultButtonColor);\n}\nonButtonChildren[1].stroke(ctx.properties.borderButtonColor);\nif (!ctx.properties.label) {\n element.transform({translateY: -37});\n}",
"actions": {
"click": {
"actionFunction": "ctx.api.disable(element);\nctx.api.callAction(event, 'onUpdateState', undefined, {\n next: () => {\n ctx.api.setValue('value', true);\n },\n error: () => {\n ctx.api.enable(element);\n } \n});"
@@ -320,13 +320,13 @@
}
]
}]]>
-Heat pump
-
-
- On
-
-
-
- Off
+Heat pump
+
+
+ On
+
+
+
+ Off
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/cylindrical-tank.svg b/application/src/main/data/json/system/scada_symbols/cylindrical-tank.svg
index fa23dbbe93..513809cca5 100644
--- a/application/src/main/data/json/system/scada_symbols/cylindrical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/cylindrical-tank.svg
@@ -142,7 +142,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -151,16 +151,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -177,7 +186,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -186,16 +195,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/dynamic-horizontal-scale-hp.svg b/application/src/main/data/json/system/scada_symbols/dynamic-horizontal-scale-hp.svg
index 00c7fa9ca2..5576c939c4 100644
--- a/application/src/main/data/json/system/scada_symbols/dynamic-horizontal-scale-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/dynamic-horizontal-scale-hp.svg
@@ -1,5 +1,4 @@
-
+Outdoor°C
+ 0
+ 100
+
+
+
+ 26
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/dynamic-vertical-scale-hp.svg b/application/src/main/data/json/system/scada_symbols/dynamic-vertical-scale-hp.svg
index fe5fd56564..b7d5e0184b 100644
--- a/application/src/main/data/json/system/scada_symbols/dynamic-vertical-scale-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/dynamic-vertical-scale-hp.svg
@@ -1,5 +1,4 @@
-
+Outdoor°C
+
+
+
+
+
+
+ 100
+ 0
+
+
+
+ 26
+
+
+
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/elevated-tank.svg b/application/src/main/data/json/system/scada_symbols/elevated-tank.svg
index e3731ab979..9db211457e 100644
--- a/application/src/main/data/json/system/scada_symbols/elevated-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/elevated-tank.svg
@@ -138,7 +138,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -147,16 +147,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -173,7 +182,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -182,16 +191,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/filter-hp.svg b/application/src/main/data/json/system/scada_symbols/filter-hp.svg
index 3bec273373..02328a62ef 100644
--- a/application/src/main/data/json/system/scada_symbols/filter-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/filter-hp.svg
@@ -1,5 +1,4 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/heat-pump-hp.svg b/application/src/main/data/json/system/scada_symbols/heat-pump-hp.svg
index 1c663c9b29..0d552c8358 100644
--- a/application/src/main/data/json/system/scada_symbols/heat-pump-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/heat-pump-hp.svg
@@ -1,9 +1,9 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/horizontal-inline-flow-meter.svg b/application/src/main/data/json/system/scada_symbols/horizontal-inline-flow-meter.svg
index 3e13dc1126..4ad766764a 100644
--- a/application/src/main/data/json/system/scada_symbols/horizontal-inline-flow-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/horizontal-inline-flow-meter.svg
@@ -120,7 +120,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -135,6 +135,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -155,7 +164,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -170,6 +179,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/horizontal-tank-hp.svg b/application/src/main/data/json/system/scada_symbols/horizontal-tank-hp.svg
index 232159f2a5..9ee3ebda66 100644
--- a/application/src/main/data/json/system/scada_symbols/horizontal-tank-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/horizontal-tank-hp.svg
@@ -1,9 +1,9 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/horizontal-tank.svg b/application/src/main/data/json/system/scada_symbols/horizontal-tank.svg
index 6452715db4..7875b5dde0 100644
--- a/application/src/main/data/json/system/scada_symbols/horizontal-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/horizontal-tank.svg
@@ -142,7 +142,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -151,16 +151,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -177,7 +186,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -186,16 +195,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/horizontal-valve-hp.svg b/application/src/main/data/json/system/scada_symbols/horizontal-valve-hp.svg
index c032a4b957..2e542cecae 100644
--- a/application/src/main/data/json/system/scada_symbols/horizontal-valve-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/horizontal-valve-hp.svg
@@ -1,9 +1,9 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/large-cylindrical-tank.svg b/application/src/main/data/json/system/scada_symbols/large-cylindrical-tank.svg
index eaea959550..772e34f0f7 100644
--- a/application/src/main/data/json/system/scada_symbols/large-cylindrical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/large-cylindrical-tank.svg
@@ -142,7 +142,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -151,16 +151,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -177,7 +186,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -186,16 +195,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/large-stand-cylindrical-tank.svg b/application/src/main/data/json/system/scada_symbols/large-stand-cylindrical-tank.svg
index 3d2708ef11..dc9cb47268 100644
--- a/application/src/main/data/json/system/scada_symbols/large-stand-cylindrical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/large-stand-cylindrical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/large-stand-vertical-tank.svg b/application/src/main/data/json/system/scada_symbols/large-stand-vertical-tank.svg
index 89d3095953..b7cb67f2a0 100644
--- a/application/src/main/data/json/system/scada_symbols/large-stand-vertical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/large-stand-vertical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/large-vertical-tank.svg b/application/src/main/data/json/system/scada_symbols/large-vertical-tank.svg
index 7eebad7d7a..3b9420e04d 100644
--- a/application/src/main/data/json/system/scada_symbols/large-vertical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/large-vertical-tank.svg
@@ -142,7 +142,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -151,16 +151,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -177,7 +186,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -186,16 +195,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/left-analog-water-level-meter.svg b/application/src/main/data/json/system/scada_symbols/left-analog-water-level-meter.svg
index 6eef9bf474..18394d3d2c 100644
--- a/application/src/main/data/json/system/scada_symbols/left-analog-water-level-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/left-analog-water-level-meter.svg
@@ -135,7 +135,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -144,16 +144,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -170,7 +179,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -179,16 +188,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/left-flow-meter.svg b/application/src/main/data/json/system/scada_symbols/left-flow-meter.svg
index faa5153531..12ec888e66 100644
--- a/application/src/main/data/json/system/scada_symbols/left-flow-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/left-flow-meter.svg
@@ -120,7 +120,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -135,6 +135,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -155,7 +164,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -170,6 +179,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/left-heat-pump.svg b/application/src/main/data/json/system/scada_symbols/left-heat-pump.svg
index 251dfe6729..f1e982bac0 100644
--- a/application/src/main/data/json/system/scada_symbols/left-heat-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/left-heat-pump.svg
@@ -259,7 +259,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -268,16 +268,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -294,7 +303,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -303,16 +312,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/left-motor-pump.svg b/application/src/main/data/json/system/scada_symbols/left-motor-pump.svg
index 998501a59f..40ad35adf4 100644
--- a/application/src/main/data/json/system/scada_symbols/left-motor-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/left-motor-pump.svg
@@ -70,7 +70,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -85,6 +85,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -105,7 +114,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -120,6 +129,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/pool-hp.svg b/application/src/main/data/json/system/scada_symbols/pool-hp.svg
index d6aed15dbf..e67280d617 100644
--- a/application/src/main/data/json/system/scada_symbols/pool-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/pool-hp.svg
@@ -1,9 +1,9 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/pump-hp.svg b/application/src/main/data/json/system/scada_symbols/pump-hp.svg
index d3b309c409..daaca4ae9c 100644
--- a/application/src/main/data/json/system/scada_symbols/pump-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/pump-hp.svg
@@ -3,7 +3,8 @@
"description": "Centrifugal pump with configurable connectors and various states.",
"searchTags": [
"pump",
- "centrifugal"
+ "centrifugal",
+ "high performance"
],
"widgetSizeX": 2,
"widgetSizeY": 2,
@@ -80,16 +81,16 @@
},
{
"id": "warning",
- "name": "{i18n:scada.symbol.warning-state}",
+ "name": "{i18n:scada.symbol.warning}",
"hint": "{i18n:scada.symbol.warning-state-hint}",
- "group": null,
+ "group": "{i18n:scada.symbol.warning-state}",
"type": "value",
"valueType": "BOOLEAN",
"trueLabel": null,
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -98,33 +99,62 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
"defaultWidgetActionSettings": null
},
+ {
+ "id": "warningClick",
+ "name": "{i18n:scada.symbol.warning-click}",
+ "hint": "{i18n:scada.symbol.on-click-hint}",
+ "group": "{i18n:scada.symbol.warning-state}",
+ "type": "widgetAction",
+ "valueType": "BOOLEAN",
+ "trueLabel": null,
+ "falseLabel": null,
+ "stateLabel": null,
+ "defaultGetValueSettings": null,
+ "defaultSetValueSettings": null,
+ "defaultWidgetActionSettings": {
+ "type": "doNothing",
+ "targetDashboardStateId": null,
+ "openRightLayout": false,
+ "setEntityId": false,
+ "stateEntityParamName": null
+ }
+ },
{
"id": "critical",
- "name": "{i18n:scada.symbol.critical-state}",
+ "name": "{i18n:scada.symbol.critical}",
"hint": "{i18n:scada.symbol.critical-state-hint}",
- "group": null,
+ "group": "{i18n:scada.symbol.critical-state}",
"type": "value",
"valueType": "BOOLEAN",
"trueLabel": null,
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -133,21 +163,47 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
"defaultWidgetActionSettings": null
},
+ {
+ "id": "criticalClick",
+ "name": "{i18n:scada.symbol.critical-click}",
+ "hint": "{i18n:scada.symbol.on-click-hint}",
+ "group": "{i18n:scada.symbol.critical-state}",
+ "type": "widgetAction",
+ "valueType": "BOOLEAN",
+ "trueLabel": null,
+ "falseLabel": null,
+ "stateLabel": null,
+ "defaultGetValueSettings": null,
+ "defaultSetValueSettings": null,
+ "defaultWidgetActionSettings": {
+ "type": "doNothing",
+ "targetDashboardStateId": null,
+ "openRightLayout": false,
+ "setEntityId": false,
+ "stateEntityParamName": null
+ }
+ },
{
"id": "criticalAnimation",
"name": "{i18n:scada.symbol.critical-state-animation}",
@@ -183,46 +239,6 @@
"defaultSetValueSettings": null,
"defaultWidgetActionSettings": null
},
- {
- "id": "warningClick",
- "name": "{i18n:scada.symbol.warning-click}",
- "hint": "{i18n:scada.symbol.on-click-hint}",
- "group": null,
- "type": "widgetAction",
- "valueType": "BOOLEAN",
- "trueLabel": null,
- "falseLabel": null,
- "stateLabel": null,
- "defaultGetValueSettings": null,
- "defaultSetValueSettings": null,
- "defaultWidgetActionSettings": {
- "type": "doNothing",
- "targetDashboardStateId": null,
- "openRightLayout": false,
- "setEntityId": false,
- "stateEntityParamName": null
- }
- },
- {
- "id": "criticalClick",
- "name": "{i18n:scada.symbol.critical-click}",
- "hint": "{i18n:scada.symbol.on-click-hint}",
- "group": null,
- "type": "widgetAction",
- "valueType": "BOOLEAN",
- "trueLabel": null,
- "falseLabel": null,
- "stateLabel": null,
- "defaultGetValueSettings": null,
- "defaultSetValueSettings": null,
- "defaultWidgetActionSettings": {
- "type": "doNothing",
- "targetDashboardStateId": null,
- "openRightLayout": false,
- "setEntityId": false,
- "stateEntityParamName": null
- }
- },
{
"id": "click",
"name": "{i18n:scada.symbol.on-click}",
@@ -247,12 +263,12 @@
"properties": [
{
"id": "runningColor",
- "name": "{i18n:scada.symbol.running-color}",
+ "name": "{i18n:scada.symbol.colors}",
"type": "color",
"default": "#FFFFFF",
"required": null,
- "subLabel": null,
- "divider": null,
+ "subLabel": "{i18n:scada.symbol.running}",
+ "divider": true,
"fieldSuffix": null,
"disableOnProperty": null,
"rowClass": "",
@@ -263,11 +279,11 @@
},
{
"id": "stoppedColor",
- "name": "{i18n:scada.symbol.stopped-color}",
+ "name": "{i18n:scada.symbol.colors}",
"type": "color",
"default": "#666666",
"required": null,
- "subLabel": null,
+ "subLabel": "{i18n:scada.symbol.stopped}",
"divider": null,
"fieldSuffix": null,
"disableOnProperty": null,
@@ -279,12 +295,12 @@
},
{
"id": "warningColor",
- "name": "{i18n:scada.symbol.warning-color}",
+ "name": "{i18n:scada.symbol.alarm-colors}",
"type": "color",
"default": "#FAA405",
"required": null,
- "subLabel": null,
- "divider": null,
+ "subLabel": "{i18n:scada.symbol.warning}",
+ "divider": true,
"fieldSuffix": null,
"disableOnProperty": null,
"rowClass": "",
@@ -295,11 +311,11 @@
},
{
"id": "criticalColor",
- "name": "{i18n:scada.symbol.critical-color}",
+ "name": "{i18n:scada.symbol.alarm-colors}",
"type": "color",
"default": "#D12730",
"required": null,
- "subLabel": null,
+ "subLabel": "Critical",
"divider": null,
"fieldSuffix": null,
"disableOnProperty": null,
diff --git a/application/src/main/data/json/system/scada_symbols/right-analog-water-level-meter.svg b/application/src/main/data/json/system/scada_symbols/right-analog-water-level-meter.svg
index bc271bbdcf..4bd6754f5c 100644
--- a/application/src/main/data/json/system/scada_symbols/right-analog-water-level-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/right-analog-water-level-meter.svg
@@ -135,7 +135,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -144,16 +144,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -170,7 +179,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -179,16 +188,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/right-flow-meter.svg b/application/src/main/data/json/system/scada_symbols/right-flow-meter.svg
index 71ade4c774..9be5ec5857 100644
--- a/application/src/main/data/json/system/scada_symbols/right-flow-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/right-flow-meter.svg
@@ -120,7 +120,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -135,6 +135,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -155,7 +164,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -170,6 +179,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/right-heat-pump.svg b/application/src/main/data/json/system/scada_symbols/right-heat-pump.svg
index c2b4042671..b1aa081b82 100644
--- a/application/src/main/data/json/system/scada_symbols/right-heat-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/right-heat-pump.svg
@@ -259,7 +259,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -268,16 +268,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -294,7 +303,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -303,16 +312,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/right-motor-pump.svg b/application/src/main/data/json/system/scada_symbols/right-motor-pump.svg
index bb52315f1b..e1193a4df9 100644
--- a/application/src/main/data/json/system/scada_symbols/right-motor-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/right-motor-pump.svg
@@ -70,7 +70,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -85,6 +85,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -105,7 +114,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -120,6 +129,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/sand-filter-hp.svg b/application/src/main/data/json/system/scada_symbols/sand-filter-hp.svg
index 9a0b9c9d13..01cc98ce0f 100644
--- a/application/src/main/data/json/system/scada_symbols/sand-filter-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/sand-filter-hp.svg
@@ -1,10 +1,10 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/short-vertical-tank-hp.svg b/application/src/main/data/json/system/scada_symbols/short-vertical-tank-hp.svg
index 3d32e49ab8..8a86100091 100644
--- a/application/src/main/data/json/system/scada_symbols/short-vertical-tank-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/short-vertical-tank-hp.svg
@@ -1,9 +1,9 @@
-
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/simple-horizontal-scale-hp.svg b/application/src/main/data/json/system/scada_symbols/simple-horizontal-scale-hp.svg
index 88850cee1d..e69daae548 100644
--- a/application/src/main/data/json/system/scada_symbols/simple-horizontal-scale-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/simple-horizontal-scale-hp.svg
@@ -1,5 +1,4 @@
-
+Outdoor°C
+ 0
+ 100
+
+
+
+ 26
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/simple-vertical-scale-hp.svg b/application/src/main/data/json/system/scada_symbols/simple-vertical-scale-hp.svg
index 30b36e6e76..7f9244eaea 100644
--- a/application/src/main/data/json/system/scada_symbols/simple-vertical-scale-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/simple-vertical-scale-hp.svg
@@ -1,5 +1,4 @@
-
+Outdoor°C
+
+
+
+
+
+
+ 100
+ 0
+
+
+
+ 26
+
+
+
+
\ No newline at end of file
diff --git a/application/src/main/data/json/system/scada_symbols/small-cylindrical-tank.svg b/application/src/main/data/json/system/scada_symbols/small-cylindrical-tank.svg
index 153994b2c7..85bad5d9e0 100644
--- a/application/src/main/data/json/system/scada_symbols/small-cylindrical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/small-cylindrical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/small-left-motor-pump.svg b/application/src/main/data/json/system/scada_symbols/small-left-motor-pump.svg
index 196f032511..21b9c1ba02 100644
--- a/application/src/main/data/json/system/scada_symbols/small-left-motor-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/small-left-motor-pump.svg
@@ -70,7 +70,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -85,6 +85,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -105,7 +114,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -120,6 +129,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/small-right-motor-pump.svg b/application/src/main/data/json/system/scada_symbols/small-right-motor-pump.svg
index 171fbdfca1..61c679e3fd 100644
--- a/application/src/main/data/json/system/scada_symbols/small-right-motor-pump.svg
+++ b/application/src/main/data/json/system/scada_symbols/small-right-motor-pump.svg
@@ -70,7 +70,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -85,6 +85,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -105,7 +114,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -120,6 +129,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/small-spherical-tank.svg b/application/src/main/data/json/system/scada_symbols/small-spherical-tank.svg
index 2d2a5ca76c..7e6e4fa8a6 100644
--- a/application/src/main/data/json/system/scada_symbols/small-spherical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/small-spherical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/spherical-tank.svg b/application/src/main/data/json/system/scada_symbols/spherical-tank.svg
index 2c4128bdeb..4184bcf593 100644
--- a/application/src/main/data/json/system/scada_symbols/spherical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/spherical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/stand-cylindrical-tank.svg b/application/src/main/data/json/system/scada_symbols/stand-cylindrical-tank.svg
index a1b8ad7072..2ad4ac9ec8 100644
--- a/application/src/main/data/json/system/scada_symbols/stand-cylindrical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/stand-cylindrical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/stand-horizontal-tank.svg b/application/src/main/data/json/system/scada_symbols/stand-horizontal-tank.svg
index 014ea43994..8c3745ec3d 100644
--- a/application/src/main/data/json/system/scada_symbols/stand-horizontal-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/stand-horizontal-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/stand-vertical-short-tank.svg b/application/src/main/data/json/system/scada_symbols/stand-vertical-short-tank.svg
index 92a1c6b8d5..43eac50d35 100644
--- a/application/src/main/data/json/system/scada_symbols/stand-vertical-short-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/stand-vertical-short-tank.svg
@@ -144,7 +144,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -153,16 +153,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -179,7 +188,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -188,16 +197,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/stand-vertical-tank.svg b/application/src/main/data/json/system/scada_symbols/stand-vertical-tank.svg
index 8b8038fde0..07c3ea050c 100644
--- a/application/src/main/data/json/system/scada_symbols/stand-vertical-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/stand-vertical-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/top-flow-meter.svg b/application/src/main/data/json/system/scada_symbols/top-flow-meter.svg
index 2162610cfc..619bb48ef8 100644
--- a/application/src/main/data/json/system/scada_symbols/top-flow-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/top-flow-meter.svg
@@ -120,7 +120,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -135,6 +135,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -155,7 +164,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -170,6 +179,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/vertical-inline-flow-meter.svg b/application/src/main/data/json/system/scada_symbols/vertical-inline-flow-meter.svg
index 4d5017a6c4..fff4819e1e 100644
--- a/application/src/main/data/json/system/scada_symbols/vertical-inline-flow-meter.svg
+++ b/application/src/main/data/json/system/scada_symbols/vertical-inline-flow-meter.svg
@@ -120,7 +120,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -135,6 +135,15 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
@@ -155,7 +164,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -170,6 +179,12 @@
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
diff --git a/application/src/main/data/json/system/scada_symbols/vertical-short-tank.svg b/application/src/main/data/json/system/scada_symbols/vertical-short-tank.svg
index 82d33a2e2c..d4358e8fa7 100644
--- a/application/src/main/data/json/system/scada_symbols/vertical-short-tank.svg
+++ b/application/src/main/data/json/system/scada_symbols/vertical-short-tank.svg
@@ -143,7 +143,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.warning}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -152,16 +152,25 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "MAJOR",
+ "MINOR",
+ "WARNING",
+ "INDETERMINATE"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
@@ -178,7 +187,7 @@
"falseLabel": null,
"stateLabel": "{i18n:scada.symbol.critical}",
"defaultGetValueSettings": {
- "action": "DO_NOTHING",
+ "action": "GET_ALARM_STATUS",
"defaultValue": false,
"executeRpc": {
"method": "getState",
@@ -187,16 +196,22 @@
"persistentPollingInterval": 1000
},
"getAttribute": {
- "key": "state",
- "scope": null
+ "scope": null,
+ "key": "state"
},
"getTimeSeries": {
"key": "state"
},
+ "getAlarmStatus": {
+ "severityList": [
+ "CRITICAL"
+ ],
+ "typeList": null
+ },
"dataToValue": {
"type": "NONE",
- "compareToValue": true,
- "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
+ "compareToValue": true
}
},
"defaultSetValueSettings": null,
diff --git a/application/src/main/data/json/system/scada_symbols/vertical-tank-hp.svg b/application/src/main/data/json/system/scada_symbols/vertical-tank-hp.svg
index f7b77082f2..4a7bbb3fdf 100644
--- a/application/src/main/data/json/system/scada_symbols/vertical-tank-hp.svg
+++ b/application/src/main/data/json/system/scada_symbols/vertical-tank-hp.svg
@@ -1,8 +1,9 @@
+
\ No newline at end of file
diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json
index 75442e540c..6f2bf04ef6 100644
--- a/ui-ngx/src/assets/locale/locale.constant-en_US.json
+++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json
@@ -3162,7 +3162,7 @@
"critical": "Critical",
"critical-click": "Critical click",
"critical-state-hint": "Indicates whether component is in critical state.",
- "critical-state-animation": "Critical state animation",
+ "critical-state-animation": "Alarm state animation",
"critical-state-animation-hint": "Whether to enable blinking animation when component is in critical state.",
"animation": "Animation",
"broken": "Broken",
@@ -3187,6 +3187,7 @@
"top-right-connector": "Top right connector",
"running-color": "Running color",
"stopped-color": "Stopped color",
+ "stopped": "Stopped",
"warning-color": "Warning color",
"critical-color": "Critical color",
"opened": "Opened",
@@ -3286,7 +3287,9 @@
"low-critical-state": "Low Critical state",
"show-low-critical-scale": "Show Low Critical state",
"low-critical-scale": "Low Critical state",
- "low-critical-state-hint": "Double value indicates a low critical range up to the min value scale."
+ "low-critical-state-hint": "Double value indicates a low critical range up to the min value scale.",
+ "colors": "Colors",
+ "alarm-colors": "Alarm colors"
}
},
"item": {