Added Tooltips for overview and created new Chute Overview symbol

This commit is contained in:
gigi.mamaladze 2025-10-16 00:51:09 +04:00
parent 703600c8ee
commit 747735c1c3
3 changed files with 8903 additions and 37 deletions

View File

@ -9,8 +9,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-10-14T17:58:50Z"
"timestamp": "2025-10-15T19:41:20Z"
},
"lastModificationSignature": "16432e6c47476b70c892793cfa3f8b07686a5ad920dd73a6c0ba89846df88914"
"lastModificationSignature": "4184664bfa30b28d3c947503269802147613bb01919adfb566ef80b62e2e3eb2"
}
}

View File

@ -1,8 +1,8 @@
{
"custom": {
"color": "#00FF00",
"color": "#000000",
"priority": "No Active Alarms",
"state": "Enabled"
"state": "Inactive"
},
"params": {
"tagProps": [
@ -20,24 +20,6 @@
},
"propConfig": {
"custom.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/"
},
"transforms": [
{
"code": "\n data \u003d dict(value) if value else {}\n\n if data.get(\"Jam\"):\n return \"#FFA500\"\n elif data.get(\"Full\"):\n return \"#0000FF\"\n elif data.get(\"Half_Full\"):\n return \"#FFFF00\"\n elif data.get(\"No_Container\"):\n return \"#C2C2C2\"\n elif data.get(\"Disabled\") \u003d\u003d False:\n return \"#00FF00\"\n else:\n return \"#000000\"",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.priority": {
@ -89,21 +71,36 @@
},
"props": {
"defaultSize": {
"height": 52,
"width": 19
"height": 20,
"width": 29
}
},
"root": {
"children": [
{
"meta": {
"name": "CoordinateContainer"
"name": "RunningStatus"
},
"position": {
"basis": "200px"
"display": false,
"grow": 1
},
"propConfig": {
"props.style.backgroundColor": {
"position.rotate.angle": {
"binding": {
"config": {
"path": "view.params.directionLeft"
},
"transforms": [
{
"expression": "if({value}, \u0027180deg\u0027, \u00270deg\u0027)",
"type": "expression"
}
],
"type": "property"
}
},
"props.elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
@ -112,7 +109,25 @@
}
}
},
"type": "ia.container.coord"
"props": {
"elements": [
{
"d": "M 0 0 L 40 0 L 40 0 L 70 30 L 40 60 L 40 60 L 0 60 L 0 0 Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#4c4c4c",
"width": 3
},
"type": "path"
}
],
"style": {
"overflow": "hidden"
},
"viewBox": "-1.5 -1.5 73 63"
},
"type": "ia.shapes.svg"
}
],
"events": {
@ -121,6 +136,7 @@
"config": {
"script": "\tsystem.perspective.openDock(\u0027Docked-East-CH\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
},
"enabled": false,
"scope": "G",
"type": "script"
}
@ -130,7 +146,7 @@
"name": "root",
"tooltip": {
"enabled": true,
"location": "top-left",
"location": "center",
"style": {}
}
},