300 lines
10 KiB
Plaintext
300 lines
10 KiB
Plaintext
{
|
|
"custom": {
|
|
"Motor": "/Motor",
|
|
"PID": "/PID",
|
|
"inTagPath": "[Ignition_Common_IO_Gtwy]ER1229/SATB1_EF5"
|
|
},
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "DiscreteIn",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]ER1229/SATB1_EF5"
|
|
},
|
|
"propConfig": {
|
|
"custom.Motor": {
|
|
"persistent": true
|
|
},
|
|
"custom.PID": {
|
|
"persistent": true
|
|
},
|
|
"custom.inTagPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagPath"
|
|
},
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.embedded": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": [
|
|
{
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath + self.view.custom.ZSO01\n\tobjectName \u003d self.view.params.objectName\n\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\t\n\t\tutils.nav.openEQPopup(objectName, tagPath)\n\telse:\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"
|
|
},
|
|
"enabled": false,
|
|
"scope": "G",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"config": {
|
|
"draggable": true,
|
|
"id": "sII9XbeP",
|
|
"modal": false,
|
|
"overlayDismiss": false,
|
|
"position": {
|
|
"height": 800,
|
|
"width": 1000
|
|
},
|
|
"positionType": "exact",
|
|
"resizable": true,
|
|
"showCloseIcon": false,
|
|
"type": "open",
|
|
"viewParams": {
|
|
"objectName": "VSD",
|
|
"tagPath": "{view.custom.inTagPath}{view.custom.Motor}"
|
|
},
|
|
"viewPath": "Library/Templates/Base",
|
|
"viewportBound": false
|
|
},
|
|
"scope": "C",
|
|
"type": "popup"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "150PX"
|
|
},
|
|
"propConfig": {
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "expression",
|
|
"tagPath": "{view.custom.inTagPath} + {view.custom.JA01}+\"/VAL\""
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": "purple",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "white"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "var(--state-standby)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "#AEAEAE",
|
|
"borderBottomLeftRadius": 4,
|
|
"borderBottomRightRadius": 4,
|
|
"borderTopLeftRadius": 4,
|
|
"borderTopRightRadius": 4,
|
|
"classes": "containers/HoverOver",
|
|
"outlineStyle": "none",
|
|
"paddingBottom": 5,
|
|
"paddingLeft": 5,
|
|
"paddingRight": 5,
|
|
"paddingTop": 5
|
|
},
|
|
"text": "Motor",
|
|
"textStyle": {
|
|
"color": "white",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": [
|
|
{
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath + self.view.custom.ZSO02\n\tobjectName \u003d self.view.params.objectName\n\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\t\n\t\tutils.nav.openEQPopup(objectName, tagPath)\n\telse:\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"
|
|
},
|
|
"enabled": false,
|
|
"scope": "G",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"config": {
|
|
"draggable": true,
|
|
"id": "sII9XbeP",
|
|
"modal": false,
|
|
"overlayDismiss": false,
|
|
"position": {
|
|
"height": 800,
|
|
"width": 1000
|
|
},
|
|
"positionType": "exact",
|
|
"resizable": true,
|
|
"showCloseIcon": false,
|
|
"type": "open",
|
|
"viewParams": {
|
|
"objectName": "PID_Loop",
|
|
"tagPath": "{view.custom.inTagPath}{view.custom.PID}"
|
|
},
|
|
"viewPath": "Library/Templates/Base",
|
|
"viewportBound": false
|
|
},
|
|
"scope": "C",
|
|
"type": "popup"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "150PX"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "expression",
|
|
"tagPath": "{view.custom.inTagPath} + {view.custom.ZSO02} +\"/Alarms/Alarm Target Disagree\""
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": "purple",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "var(--state-faulted)"
|
|
},
|
|
{
|
|
"input": false,
|
|
"output": "var(--state-standby)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "expression",
|
|
"tagPath": "{view.custom.inTagPath} + {view.custom.JA02}+\"/VAL\""
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": "purple",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "white"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "var(--state-standby)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "#AEAEAE",
|
|
"borderBottomLeftRadius": 4,
|
|
"borderBottomRightRadius": 4,
|
|
"borderTopLeftRadius": 4,
|
|
"borderTopRightRadius": 4,
|
|
"classes": "containers/HoverOver",
|
|
"outlineStyle": "none",
|
|
"paddingBottom": 5,
|
|
"paddingLeft": 5,
|
|
"paddingRight": 5,
|
|
"paddingTop": 5
|
|
},
|
|
"text": "PID",
|
|
"textStyle": {
|
|
"color": "white",
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "150px"
|
|
},
|
|
"props": {
|
|
"justify": "space-around",
|
|
"style": {
|
|
"gap": 5,
|
|
"padding": 5
|
|
},
|
|
"wrap": "wrap"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"classes": "containers/padded-container"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |