2026-04-24 FE Backup
This commit is contained in:
@@ -0,0 +1,584 @@
|
||||
{
|
||||
"custom": {
|
||||
"AlarmSeverity": 0
|
||||
},
|
||||
"params": {
|
||||
"embedded": false,
|
||||
"objectName": "Panel_340_580",
|
||||
"tagPath": "[Ignition_Common_IO_Gtwy]SR1133/SATB1_HS1_SR1133_EF03"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.AlarmSeverity": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
|
||||
},
|
||||
"enabled": false,
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"params.embedded": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 190,
|
||||
"width": 170
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Generic panel"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.5824,
|
||||
"width": 0.4647,
|
||||
"x": 0.2588,
|
||||
"y": 0.3294
|
||||
},
|
||||
"props": {
|
||||
"elements": [
|
||||
{
|
||||
"d": "M5,72 l23,0 0,854 -23,0 0,-854z",
|
||||
"fill": {
|
||||
"paint": "#b2b29b"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,117 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,297 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,476 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,656 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,836 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,162 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,342 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,521 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,701 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,881 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,207 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,387 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,566 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M5,746 l23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,252 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,431 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,611 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,791 l-23,0",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M28,5 l808,0 0,988 -808,0 0,-988z",
|
||||
"fill": {
|
||||
"paint": "#e5e5dd"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M32,988 l799,0 0,-624 -799,168 0,456z",
|
||||
"fill": {
|
||||
"paint": "#deded4"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M32,988 l799,0 0,-557 -799,169 0,388z",
|
||||
"fill": {
|
||||
"paint": "#d4d4c7"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M32,988 l799,0 0,-399 -799,168 0,231z",
|
||||
"fill": {
|
||||
"paint": "#ccccbd"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M95,72 l674,0 0,854 -674,0 0,-854",
|
||||
"fill": {
|
||||
"paint": "transparent"
|
||||
},
|
||||
"name": "path",
|
||||
"stroke": {
|
||||
"paint": "#4c4c4c",
|
||||
"width": "2"
|
||||
},
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M140,117 l90,0 0,23 -90,0 0,-23z",
|
||||
"fill": {
|
||||
"paint": "#ccccbd"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"d": "M836,454 l22,0 0,90 -22,0 0,-90z",
|
||||
"fill": {
|
||||
"paint": "#4c4c16"
|
||||
},
|
||||
"name": "path",
|
||||
"type": "path"
|
||||
}
|
||||
],
|
||||
"viewBox": "0 0 864 999"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tif(self.view.params.embedded \u003d\u003d True):\n\t\tpageId \u003d self.page.props.pageId\n\t\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\t\ttagPath \u003d self.view.params.tagPath\n\t\tobjectName \u003d self.view.params.objectName\n\t\tutils.nav.openEQPopup(objectName, tagPath)\n\telse:\n\t\ttagPath \u003d self.view.params.tagPath\n\t\tobjectName \u003d self.view.params.objectName\n\t\tpayload\u003d{\n\t\t\t\u0027objectName\u0027: objectName,\n\t\t\t\u0027tagPath\u0027: tagPath,\n\t\t\t\u0027modal\u0027: False,\n\t\t\t\u0027resizable\u0027: True,\n\t\t\t\u0027draggable\u0027: True,\n\t\t\t\u0027position\u0027: {\n\t#\t\t\t\u0027left\u0027:\u00270\u0027,\n\t#\t\t\t\u0027top\u0027:\u00270\u0027,\n\t\t\t\u0027width\u0027: \u00271000px\u0027,\n\t\t\t\u0027height\u0027: \u0027800px\u0027\n\t\t\t}\n\t\t}\n\t\tutils.nav.eqPopupMsg(self, payload)\n\t\n\t"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.6588,
|
||||
"width": 0.5353,
|
||||
"x": 0.2147,
|
||||
"y": 0.2912
|
||||
},
|
||||
"propConfig": {
|
||||
"props.style.outlineColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.AlarmSeverity"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "none",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": -1,
|
||||
"output": "white"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "white"
|
||||
},
|
||||
{
|
||||
"input": 1,
|
||||
"output": "var(--coolpurple)"
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": "var(--goldenyellow)"
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": "var(--sunsetorange)"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "var(--alarmred)"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.style.outlineStyle": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.AlarmSeverity"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "none",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": -1,
|
||||
"output": "none"
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": "none"
|
||||
},
|
||||
{
|
||||
"input": 1,
|
||||
"output": "solid"
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": "solid"
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": "solid"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "solid"
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"classes": "containers/HoverOver"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label_0"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.1647,
|
||||
"width": 1,
|
||||
"y": 0.1471
|
||||
},
|
||||
"propConfig": {
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/Meta/EqName"
|
||||
},
|
||||
"enabled": false,
|
||||
"type": "tag"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"text": "Panel",
|
||||
"textStyle": {
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label_1"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.1412,
|
||||
"width": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/Meta/Room"
|
||||
},
|
||||
"enabled": false,
|
||||
"type": "tag"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"text": "Room"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "AlarmIcons"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.2824,
|
||||
"width": 0.2647,
|
||||
"x": 0.6263,
|
||||
"y": 0.1294
|
||||
},
|
||||
"propConfig": {
|
||||
"props.params.AlarmSeverity": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.AlarmSeverity"
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"path": "Library/Alarms/Icons"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"mode": "percent",
|
||||
"style": {
|
||||
"backgroundColor": "var(--containerNested)",
|
||||
"borderBottomLeftRadius": 5,
|
||||
"borderBottomRightRadius": 5,
|
||||
"borderTopLeftRadius": 5,
|
||||
"borderTopRightRadius": 5,
|
||||
"overflow": "hidden",
|
||||
"paddingBottom": 10,
|
||||
"paddingLeft": 10,
|
||||
"paddingRight": 10,
|
||||
"paddingTop": 10
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user