1260 lines
49 KiB
Plaintext
1260 lines
49 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"Objects": {
|
|
"ATS_1": 1,
|
|
"ATS_2": 0,
|
|
"GEN": 0,
|
|
"PDU1": 2,
|
|
"PDU2": 2,
|
|
"PDU3": 2,
|
|
"PDU4": 2,
|
|
"UPS1": 1,
|
|
"UPS2": 1,
|
|
"UT": 1
|
|
},
|
|
"Room": "P1.1",
|
|
"tagPath": {
|
|
"ATS": "[Ignition_SATB1_IO2_default]ER1248/SWBD/SATB1_ER1248_ATS",
|
|
"GEN": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_GEN-P2-1",
|
|
"PDU1": "[Ignition_SATB1_IO2_default]GAL1271/SATB1_GAL1271_PDU_P2-1-1",
|
|
"PDU2": "[Ignition_SATB1_IO2_default]GAL1271/SATB1_GAL1271_PDU_P2-1-2",
|
|
"PDU3": "[Ignition_SATB1_IO2_default]GAL1271/SATB1_GAL1271_PDU_P2-1-3",
|
|
"PDU4": "[Ignition_SATB1_IO2_default]GAL1271/SATB1_GAL1271_PDU_P2-1-4",
|
|
"UPS1": "[Ignition_SATB1_IO2_default]ER1248/SATB1_ER1248_UPS-1",
|
|
"UPS2": "[Ignition_SATB1_IO2_default]ER1248/SATB1_ER1248_UPS-2",
|
|
"UT": "[Ignition_SATB1_IO2_default]Yard/SATB1_YARD_UT-P2-1"
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"params.Objects": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.Room": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 125,
|
|
"width": 220
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Room ID"
|
|
},
|
|
"position": {
|
|
"basis": "21px"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.params.Room}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"fontSize": 18,
|
|
"fontWeight": "bold",
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 5,
|
|
"paddingTop": 2
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.UT\n\tobjectName \u003d \"UT\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "UT"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.UT"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.UT"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 5,
|
|
"marginLeft": 2,
|
|
"marginRight": 2,
|
|
"marginTop": 5
|
|
},
|
|
"text": "UT",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.GEN\n\tobjectName \u003d \"GEN\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Gen STS"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.GEN"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D3D3D3",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#D3D3D3"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FFFF47"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FF0000"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.GEN"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 5,
|
|
"marginLeft": 2,
|
|
"marginRight": 2,
|
|
"marginTop": 5
|
|
},
|
|
"text": "GEN",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Column1"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.ATS\n\tobjectName \u003d \"ATS\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "SRC 1"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.ATS_1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.ATS_1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 5,
|
|
"marginLeft": 2,
|
|
"marginRight": 2,
|
|
"marginTop": 5
|
|
},
|
|
"text": "ATS SRC1 Utility",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.ATS\n\tobjectName \u003d \"ATS\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "SRC 2"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.ATS_2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.ATS_2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 5,
|
|
"marginLeft": 2,
|
|
"marginRight": 2,
|
|
"marginTop": 5
|
|
},
|
|
"text": "ATS SRC2 Gen.",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Column2"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.UPS1\n\tobjectName \u003d \"UPS\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "UPS1_Lbl"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.UPS1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.UPS1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 2,
|
|
"marginLeft": 3,
|
|
"marginRight": 3,
|
|
"marginTop": 2,
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
},
|
|
"text": "UPS1",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.UPS2\n\tobjectName \u003d \"UPS\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "UPS2_Lbl"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.UPS2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.UPS2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 2,
|
|
"marginLeft": 3,
|
|
"marginRight": 3,
|
|
"marginTop": 2,
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
},
|
|
"text": "UPS2",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Row1"
|
|
},
|
|
"position": {
|
|
"basis": "200px"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.PDU1\n\tobjectName \u003d \"PDU\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "PDU1_Lbl"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "var(--state-running)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 2,
|
|
"marginLeft": 3,
|
|
"marginRight": 3,
|
|
"marginTop": 2,
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
},
|
|
"text": "PDU1",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.PDU2\n\tobjectName \u003d \"PDU\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "PDU2_Lbl"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 2,
|
|
"marginLeft": 3,
|
|
"marginRight": 3,
|
|
"marginTop": 2,
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
},
|
|
"text": "PDU2",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Row2"
|
|
},
|
|
"position": {
|
|
"basis": "200px"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.PDU3\n\tobjectName \u003d \"PDU\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "PDU3_Lbl"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU3"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU3"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 2,
|
|
"marginLeft": 3,
|
|
"marginRight": 3,
|
|
"marginTop": 2,
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
},
|
|
"text": "PDU3",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\ttagPath \u003d self.view.params.tagPath.PDU4\n\tobjectName \u003d \"PDU\"\n\tpayload\u003d{\n\t\t\u0027objectName\u0027: objectName,\n\t\t\u0027tagPath\u0027: tagPath,\n\t\t\u0027modal\u0027: False,\n\t\t\u0027resizable\u0027: True,\n\t\t\u0027draggable\u0027: True,\n\t\t\u0027position\u0027: {\n#\t\t\t\u0027left\u0027:\u00270\u0027,\n#\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}\n\t}\n\tutils.nav.eqPopupMsg(self, payload)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "PDU4_Lbl"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU4"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "LightGray"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "White"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Red"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.Objects.PDU4"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "LightGray",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Black"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "White"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderStyle": "solid",
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"borderWidth": 1,
|
|
"classes": "containers/HoverOver",
|
|
"marginBottom": 2,
|
|
"marginLeft": 3,
|
|
"marginRight": 3,
|
|
"marginTop": 2,
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
},
|
|
"text": "PDU4",
|
|
"textStyle": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Row3"
|
|
},
|
|
"position": {
|
|
"basis": "200px"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Column3"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"paddingBottom": 2,
|
|
"paddingLeft": 2,
|
|
"paddingRight": 2,
|
|
"paddingTop": 2
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Devices"
|
|
},
|
|
"position": {
|
|
"basis": "128px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "none"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"backgroundColor": "#E5E5E5",
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"marginTop": 10,
|
|
"paddingBottom": 5,
|
|
"paddingLeft": 5,
|
|
"paddingRight": 5,
|
|
"paddingTop": 5
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |