311 lines
7.5 KiB
Plaintext
311 lines
7.5 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"TagPosition": true,
|
|
"objectName": "FCU",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]ER1128/SATB1_HS2_EL1128_FCU16"
|
|
},
|
|
"propConfig": {
|
|
"params.TagPosition": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 70,
|
|
"width": 120
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"height": 70,
|
|
"width": 120
|
|
},
|
|
"propConfig": {
|
|
"props.alignVertical": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.TagPosition"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "top",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "bottom"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "top"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Meta/EqName"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": "FCU",
|
|
"textStyle": {
|
|
"color": "var(--text-muted)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"paddingLeft": 8,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Container"
|
|
},
|
|
"position": {
|
|
"height": 41,
|
|
"width": 92,
|
|
"x": 10,
|
|
"y": 13.5
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Current Error Code"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e0:\n\t\treturn \"var(--state-faulted)\"\n\telse:\n\t\treturn \"var(--state-standby)\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Var01"
|
|
},
|
|
"position": {
|
|
"height": 23,
|
|
"width": 44,
|
|
"x": 20,
|
|
"y": 15
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Space Temperature"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "#.##",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": 72.5,
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 12
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EU 01"
|
|
},
|
|
"position": {
|
|
"height": 23,
|
|
"width": 44,
|
|
"x": 60,
|
|
"y": 15
|
|
},
|
|
"props": {
|
|
"text": "degF",
|
|
"textStyle": {
|
|
"fontSize": 12
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Var02"
|
|
},
|
|
"position": {
|
|
"height": 23,
|
|
"width": 44,
|
|
"x": 20,
|
|
"y": 30
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Controls/System Mode"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": "error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "Cool"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Heat"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "Fan"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "Auto"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "Dry"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "Off"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": "Cool",
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 12
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EU 02"
|
|
},
|
|
"position": {
|
|
"height": 23,
|
|
"width": 44,
|
|
"x": 60,
|
|
"y": 30
|
|
},
|
|
"props": {
|
|
"text": "Mode",
|
|
"textStyle": {
|
|
"fontSize": 12
|
|
}
|
|
},
|
|
"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)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Box"
|
|
},
|
|
"position": {
|
|
"height": 50,
|
|
"width": 102,
|
|
"x": 5,
|
|
"y": 9.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "containers/HoverOver"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |