Compare commits

..

No commits in common. "28f62b23a853c8797bfe0d9c897c0c3bde0a4754" and "ce35a825031c4e3314bfabd6100244c4743bbd3f" have entirely different histories.

View File

@ -6,9 +6,9 @@
"$": [
"ts",
192,
1750766217642
1747730947188
],
"$ts": 1750766217641
"$ts": 1747730947187
}
}
},
@ -512,7 +512,7 @@
}
},
"props": {
"color": "#47FF47",
"color": "#FF0000",
"path": "material/table_chart"
},
"type": "ia.display.icon"
@ -780,23 +780,8 @@
"position": {
"basis": "30px"
},
"propConfig": {
"props.color": {
"binding": {
"config": {
"path": "../Label.props.text"
},
"transforms": [
{
"code": "\t\n\treturn \"red\" if value \u003e 0 else \"#fff\"",
"type": "script"
}
],
"type": "property"
}
}
},
"props": {
"color": "#FFFFFF",
"path": "material/notifications_active",
"style": {
"classes": ""
@ -815,19 +800,17 @@
"props.text": {
"binding": {
"config": {
"polling": {
"enabled": true,
"rate": "3"
},
"queryPath": "GetActiveAlarmsByLocationAndPriority"
"fallbackDelay": 2.5,
"mode": "direct",
"tagPath": "System/aws_data"
},
"transforms": [
{
"code": "\tdata \u003d value\n\trows \u003d system.dataset.toPyDataSet(data)\n\t\n\ttotal \u003d sum(row[\"Count\"] for row in rows)\n\t\n\treturn total",
"code": "\tjson_decode \u003d system.util.jsonDecode(value)\n\treturn len(json_decode)",
"type": "script"
}
],
"type": "query"
"type": "tag"
}
}
},
@ -841,24 +824,11 @@
}
],
"meta": {
"name": "FlexContainer",
"tooltip": {
"enabled": true
}
"name": "FlexContainer"
},
"position": {
"basis": "80px"
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "{./Label.props.text} + \" active alarms in the system\""
},
"type": "expr"
}
}
},
"props": {
"justify": "flex-end",
"style": {