Added Tooltips for overview and created new Chute Overview symbol
This commit is contained in:
parent
703600c8ee
commit
747735c1c3
File diff suppressed because it is too large
Load Diff
@ -9,8 +9,8 @@
|
|||||||
"attributes": {
|
"attributes": {
|
||||||
"lastModification": {
|
"lastModification": {
|
||||||
"actor": "admin",
|
"actor": "admin",
|
||||||
"timestamp": "2025-10-14T17:58:50Z"
|
"timestamp": "2025-10-15T19:41:20Z"
|
||||||
},
|
},
|
||||||
"lastModificationSignature": "16432e6c47476b70c892793cfa3f8b07686a5ad920dd73a6c0ba89846df88914"
|
"lastModificationSignature": "4184664bfa30b28d3c947503269802147613bb01919adfb566ef80b62e2e3eb2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"custom": {
|
"custom": {
|
||||||
"color": "#00FF00",
|
"color": "#000000",
|
||||||
"priority": "No Active Alarms",
|
"priority": "No Active Alarms",
|
||||||
"state": "Enabled"
|
"state": "Inactive"
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"tagProps": [
|
"tagProps": [
|
||||||
@ -20,24 +20,6 @@
|
|||||||
},
|
},
|
||||||
"propConfig": {
|
"propConfig": {
|
||||||
"custom.color": {
|
"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
|
"persistent": true
|
||||||
},
|
},
|
||||||
"custom.priority": {
|
"custom.priority": {
|
||||||
@ -89,21 +71,36 @@
|
|||||||
},
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"defaultSize": {
|
"defaultSize": {
|
||||||
"height": 52,
|
"height": 20,
|
||||||
"width": 19
|
"width": 29
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "CoordinateContainer"
|
"name": "RunningStatus"
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"basis": "200px"
|
"display": false,
|
||||||
|
"grow": 1
|
||||||
},
|
},
|
||||||
"propConfig": {
|
"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": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
"path": "view.custom.color"
|
"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": {
|
"events": {
|
||||||
@ -121,6 +136,7 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East-CH\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
"script": "\tsystem.perspective.openDock(\u0027Docked-East-CH\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||||
},
|
},
|
||||||
|
"enabled": false,
|
||||||
"scope": "G",
|
"scope": "G",
|
||||||
"type": "script"
|
"type": "script"
|
||||||
}
|
}
|
||||||
@ -130,7 +146,7 @@
|
|||||||
"name": "root",
|
"name": "root",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"location": "top-left",
|
"location": "center",
|
||||||
"style": {}
|
"style": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Loading…
x
Reference in New Issue
Block a user