2026-04-24 backup

This commit is contained in:
2026-04-24 19:54:32 +00:00
parent 7f0f440b0a
commit db4b7f60b3
457 changed files with 30803 additions and 33084 deletions

View File

@@ -0,0 +1,211 @@
{
"custom": {
"AlarmSevery": 4,
"RunStatus": false,
"Status": null,
"tag": "GEN-P4_5"
},
"params": {
"objectName": "GEN",
"tagPath": "[Ignition_SATB1_IO1_default]Yard/GEN-P1_1"
},
"propConfig": {
"custom.AlarmSevery": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
},
"transforms": [
{
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.RunStatus": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Run_Status"
},
"type": "tag"
},
"persistent": true
},
"custom.Status": {
"binding": {
"config": {
"expression": "if({view.params.tagPath}/AlarmSummary \u003e1,2, {view.params.tagPath}/Run_Status)\r\n"
},
"type": "expr"
},
"persistent": true
},
"custom.tag": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Meta/Label"
},
"type": "tag"
},
"persistent": true
},
"params.objectName": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 65
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "60px"
},
"propConfig": {
"props.style.backgroundColor": {
"binding": {
"config": {
"expression": "if({view.custom.AlarmSevery}\u003e1, 2, {view.custom.RunStatus})"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "lightGray"
},
{
"input": 1,
"output": "White"
},
{
"input": 2,
"output": "var(--elec-on)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "expr"
}
},
"props.text": {
"binding": {
"config": {
"path": "view.custom.tag"
},
"type": "property"
}
},
"props.textStyle.color": {
"binding": {
"config": {
"expression": "if({view.custom.AlarmSevery}\u003e1, 2, {view.custom.RunStatus})"
},
"transforms": [
{
"fallback": "yellow",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "black"
},
{
"input": 1,
"output": "black"
},
{
"input": 2,
"output": "white"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "expr"
}
}
},
"props": {
"style": {
"borderBottomLeftRadius": 5,
"borderBottomRightRadius": 5,
"borderTopLeftRadius": 5,
"borderTopRightRadius": 5,
"marginBottom": 0,
"marginLeft": 0,
"marginRight": 0,
"marginTop": 0
},
"textStyle": {
"fontSize": 12,
"textAlign": "center"
}
},
"type": "ia.display.label"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tpageId \u003d self.page.props.pageId\n\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\ttagPath \u003d self.view.params.tagPath\n\tobjectName \u003d self.view.params.objectName\n\tutils.nav.openEQPopup(objectName, tagPath)\t"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"justify": "center",
"style": {
"borderBottomLeftRadius": "var(--borderRadiusInput)",
"borderBottomRightRadius": "var(--borderRadiusInput)",
"borderTopLeftRadius": "var(--borderRadiusInput)",
"borderTopRightRadius": "var(--borderRadiusInput)",
"classes": "containers/HoverOver",
"marginLeft": 2
}
},
"type": "ia.container.flex"
}
}