4879 lines
142 KiB
Plaintext
4879 lines
142 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {},
|
|
"permissions": {
|
|
"securityLevels": [],
|
|
"type": "AllOf"
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 1018,
|
|
"width": 1504
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"custom": {
|
|
"colorHandler": {
|
|
"box": "var(--olGray)"
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Mechanical Overview"
|
|
},
|
|
"position": {
|
|
"height": 597,
|
|
"width": 1300,
|
|
"x": -25,
|
|
"y": 8
|
|
},
|
|
"propConfig": {
|
|
"custom.pipesOpacity": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.theme"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "100%",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "stream-light",
|
|
"output": "30%"
|
|
},
|
|
{
|
|
"input": "stream-dark",
|
|
"output": "50%"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.box"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[1].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.box"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[2].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.box"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[3].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.box"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[4].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.box"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].opacity": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.pipesOpacity"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].opacity": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.pipesOpacity"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M624.232,4.167c0,-0.995 0.395,-1.949 1.098,-2.652c0.704,-0.703 1.658,-1.098 2.652,-1.098l286.027,-0c0.995,-0 1.949,0.395 2.652,1.098c0.703,0.703 1.098,1.657 1.098,2.652l0,75.894c0,0.994 -0.395,1.948 -1.098,2.651c-0.703,0.704 -1.657,1.099 -2.652,1.099l-286.027,-0c-0.994,-0 -1.948,-0.395 -2.652,-1.099c-0.703,-0.703 -1.098,-1.657 -1.098,-2.651l0,-75.894Z",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "DH1",
|
|
"name": "DH1",
|
|
"stroke": {
|
|
"dasharray": "26.67,6.67,6.67,6.67,6.67,6.67",
|
|
"paint": "var(--olGray)",
|
|
"width": "0.83px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M624.232,94.167c0,-0.995 0.395,-1.949 1.098,-2.652c0.704,-0.703 1.658,-1.098 2.652,-1.098l286.027,-0c0.995,-0 1.949,0.395 2.652,1.098c0.703,0.703 1.098,1.657 1.098,2.652l0,75.894c0,0.994 -0.395,1.948 -1.098,2.651c-0.703,0.704 -1.657,1.099 -2.652,1.099l-286.027,-0c-0.994,-0 -1.948,-0.395 -2.652,-1.099c-0.703,-0.703 -1.098,-1.657 -1.098,-2.651l0,-75.894Z",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "DH2",
|
|
"name": "DH2",
|
|
"stroke": {
|
|
"dasharray": "26.67,6.67,6.67,6.67,6.67,6.67",
|
|
"paint": "var(--olGray)",
|
|
"width": "0.83px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M624.232,184.167c0,-2.071 1.679,-3.75 3.75,-3.75l286.027,-0c0.995,-0 1.949,0.395 2.652,1.098c0.703,0.703 1.098,1.657 1.098,2.652l0,75.894c0,0.994 -0.395,1.948 -1.098,2.651c-0.703,0.704 -1.657,1.099 -2.652,1.099l-286.027,-0c-2.071,-0 -3.75,-1.679 -3.75,-3.75c0,-15.069 0,-73.335 0,-75.894Z",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "DH3",
|
|
"name": "DH3",
|
|
"stroke": {
|
|
"dasharray": "26.67,6.67,6.67,6.67,6.67,6.67",
|
|
"paint": "var(--olGray)",
|
|
"width": "0.83px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M624.232,274.167c0,-0.995 0.395,-1.949 1.098,-2.652c0.704,-0.703 1.658,-1.098 2.652,-1.098l286.027,-0c0.995,-0 1.949,0.395 2.652,1.098c0.703,0.703 1.098,1.657 1.098,2.652l0,75.894c0,0.994 -0.395,1.948 -1.098,2.651c-0.703,0.704 -1.657,1.099 -2.652,1.099l-286.027,-0c-0.994,-0 -1.948,-0.395 -2.652,-1.099c-0.703,-0.703 -1.098,-1.657 -1.098,-2.651l0,-75.894Z",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "DH4",
|
|
"name": "DH4",
|
|
"stroke": {
|
|
"dasharray": "26.67,6.67,6.67,6.67,6.67,6.67",
|
|
"paint": "var(--olGray)",
|
|
"width": "0.83px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M624.232,364.167c0,-2.071 1.679,-3.75 3.75,-3.75c31.692,-0 254.336,-0 286.027,-0c2.072,-0 3.75,1.679 3.75,3.75c0,13.908 0,62.454 0,76.362c0,2.072 -1.678,3.75 -3.75,3.75c-31.691,0 -254.335,0 -286.027,0c-2.071,0 -3.75,-1.678 -3.75,-3.75c0,-13.908 0,-62.454 0,-76.362Z",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"id": "DH5",
|
|
"name": "DH5",
|
|
"stroke": {
|
|
"dasharray": "26.67,6.67,6.67,6.67,6.67,6.67",
|
|
"paint": "var(--olGray)",
|
|
"width": "0.83px"
|
|
},
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "DH-Rooms",
|
|
"name": "DH-Rooms",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M572.2420000005513 375.804l0-256.2",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path_1",
|
|
"stroke": {
|
|
"linecap": "square",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M158.468,119.6l375.307,0",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M158.468,375.91l375.307,-0.112",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path_0",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M571.275,375.804l12.585,0l17.666,63.931l244.108,-0.003l0.032,-22.251",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M571.275,314.679l17.701,0l10.388,35.649l246.27,0.015l0.032,-22.269",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M571.275,252.054l19.243,0l6.991,7.295l248.145,-0l0,-20.378",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M571.275,189.654l17.448,0l10.936,-20.12l245.995,-0.026l0,-22.303",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M571.275,119.623l13.462,-0.019l14.956,-41.359l245.961,-0.032l0,-20.935",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#0476df",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "Supply-Pipes",
|
|
"name": "Supply-Pipes",
|
|
"opacity": "100%",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M158.468,105.337l252.635,-0.017l15.393,-38.03l180.958,-0.03l0,-61.819l238.2,0l0,29.142",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#079a31",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M158.468,390.878l252.682,0.001l13.297,28.873l183.007,-0l0,-368.549",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"paint": "#079a31",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M607.551,95.441l238.103,0l0,28.964",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "square",
|
|
"paint": "#079a31",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M607.551,185.061l238.103,0l0,30.316",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "square",
|
|
"paint": "#079a31",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M607.551,274.377l238.103,0l0,30.028",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "square",
|
|
"paint": "#079a31",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M607.551,364.985l238.103,0l0,29.177",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "square",
|
|
"paint": "#079a31",
|
|
"width": "3.33px"
|
|
},
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "Return-Pipes",
|
|
"name": "Return-Pipes",
|
|
"opacity": "100%",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"fill": {
|
|
"rule": "evenodd"
|
|
},
|
|
"stroke": {
|
|
"linecap": "round",
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5"
|
|
},
|
|
"style": {
|
|
"clipRule": "evenodd"
|
|
},
|
|
"viewBox": "0 0 919 445"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Title Rooftop"
|
|
},
|
|
"position": {
|
|
"height": 32,
|
|
"rotate": {
|
|
"anchor": "50% 37%"
|
|
},
|
|
"width": 130,
|
|
"x": 18.9955,
|
|
"y": 110.982
|
|
},
|
|
"props": {
|
|
"text": "Rooftop Chillers"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Title Pump"
|
|
},
|
|
"position": {
|
|
"height": 32,
|
|
"width": 130,
|
|
"x": 243.636,
|
|
"y": 111.976
|
|
},
|
|
"props": {
|
|
"text": "Pump Room"
|
|
},
|
|
"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\tviewPath \u003d \u0027Pages/Dev/B_Mechanical/L3/B301 Chillers LLS\u0027\n\ttitle \u003d \u0027Chillers LLS\u0027\n\tutils.nav.openLLSPopup(viewPath,title)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Btn Chiller LLS"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 120,
|
|
"x": 1384,
|
|
"y": 491.5
|
|
},
|
|
"props": {
|
|
"text": "Chillers LLS"
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tpageId \u003d self.page.props.pageId\n\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\tviewPath \u003d \u0027Pages/Dev/B_Mechanical/L3/B302 CHW Pumps LLS\u0027\n\ttitle \u003d \u0027Chilled Water Pumps LLS\u0027\n\tutils.nav.openLLSPopup(viewPath,title)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Btn CHWP LLS"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"rotate": {
|
|
"anchor": "50% 40%"
|
|
},
|
|
"width": 120,
|
|
"x": 1254,
|
|
"y": 491.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"key": "value"
|
|
},
|
|
"text": "CHWP LLS"
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Divider 01"
|
|
},
|
|
"position": {
|
|
"height": 1,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 243
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--olGray)"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "CHWP PID Container"
|
|
},
|
|
"position": {
|
|
"height": 131,
|
|
"width": 120,
|
|
"x": 1254,
|
|
"y": 538.1
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "PID_Loop",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/CHWP_PID"
|
|
},
|
|
"path": "Library/Cards/Card_PID",
|
|
"style": {
|
|
"classes": "containers/HoverOver",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP_SpdSP"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "#.#",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"props": {
|
|
"text": "%",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "67px"
|
|
},
|
|
"props": {
|
|
"alignVertical": "top",
|
|
"text": "CHWP Speed Setpoint",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "30%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP_ADDLimit"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "#.##",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"props": {
|
|
"text": "%",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"alignVertical": "top",
|
|
"text": "CHWP Add Limit",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP SUB Limit"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "#.##",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"props": {
|
|
"text": "%",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"alignVertical": "top",
|
|
"text": "CHWP SuB Limit",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "40%"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP_Demand"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"props": {
|
|
"text": "VFD",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "67px"
|
|
},
|
|
"props": {
|
|
"alignVertical": "top",
|
|
"text": "CHWP Demand",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_1"
|
|
},
|
|
"position": {
|
|
"basis": "30%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "CHWP Calculation Container"
|
|
},
|
|
"position": {
|
|
"height": 144,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 679
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--container)",
|
|
"borderBottomLeftRadius": 4,
|
|
"borderBottomRightRadius": 4,
|
|
"borderTopLeftRadius": 4,
|
|
"borderTopRightRadius": 4,
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"gap": "5px",
|
|
"overflow": "visible",
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/CHWP_LLS/Value Feedback"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "#.#",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "67px"
|
|
},
|
|
"props": {
|
|
"alignVertical": "top",
|
|
"text": "CHWP Ref Feedback",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "30%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"text": "1-3 \u003d 1 ASPs",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"text": "4-6 \u003d 2 ASPs",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"text": "7-9 \u003d 3 ASPs",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_4"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_5"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"text": "10+ \u003d 4 ASPs",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "40%"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "1px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "LightGray"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/ASP Demand"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "67px"
|
|
},
|
|
"props": {
|
|
"alignVertical": "top",
|
|
"text": "ASP Demand",
|
|
"textStyle": {
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_1"
|
|
},
|
|
"position": {
|
|
"basis": "30%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "ASP Calculation Container"
|
|
},
|
|
"position": {
|
|
"height": 144,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 832
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--container)",
|
|
"borderBottomLeftRadius": 4,
|
|
"borderBottomRightRadius": 4,
|
|
"borderTopLeftRadius": 4,
|
|
"borderTopRightRadius": 4,
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"gap": "5px",
|
|
"overflow": "visible",
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DHDP Avg Block"
|
|
},
|
|
"position": {
|
|
"height": 60,
|
|
"width": 120,
|
|
"x": 1384,
|
|
"y": 609.1
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"format": "###.##",
|
|
"objectName": "AvgMinMax",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/DHDP_AvgObj"
|
|
},
|
|
"path": "Library/Widgets/Wdg_AvgMinMax",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Chiller DP Block"
|
|
},
|
|
"position": {
|
|
"height": 60,
|
|
"width": 120,
|
|
"x": 123.25,
|
|
"y": 23
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"format": "##.##",
|
|
"objectName": "AvgMinMax",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/ChillerDP_AvgObj"
|
|
},
|
|
"path": "Library/Widgets/Wdg_AvgMinMax",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "CHWST Avg Block"
|
|
},
|
|
"position": {
|
|
"height": 60,
|
|
"width": 120,
|
|
"x": 1384,
|
|
"y": 539
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"format": "###.##",
|
|
"objectName": "AvgMinMax",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/CHWST_AvgObj"
|
|
},
|
|
"path": "Library/Widgets/Wdg_AvgMinMax",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Plan Failures Block"
|
|
},
|
|
"position": {
|
|
"height": 61,
|
|
"width": 195,
|
|
"x": 600,
|
|
"y": 19
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "PlantFailure",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/SATB1_PlantFailureParameters"
|
|
},
|
|
"path": "Library/Widgets/Wdg_PlantFailure",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"custom": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140"
|
|
},
|
|
"meta": {
|
|
"name": "VFD Pie Chart"
|
|
},
|
|
"position": {
|
|
"height": 97,
|
|
"width": 113,
|
|
"x": 336.096875,
|
|
"y": 7
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140"
|
|
},
|
|
"path": "Library/Widgets/Wgt_EquipmentStatusCount",
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Chillers Pie Chart"
|
|
},
|
|
"position": {
|
|
"height": 97,
|
|
"width": 96,
|
|
"x": 4,
|
|
"y": 7
|
|
},
|
|
"propConfig": {
|
|
"custom.counts": {
|
|
"access": "PUBLIC"
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Roof"
|
|
},
|
|
"path": "Library/Widgets/Wgt_EquipmentStatusCount",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DH3 Elements"
|
|
},
|
|
"position": {
|
|
"height": 112,
|
|
"width": 402,
|
|
"x": 841,
|
|
"y": 12
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"DH": "DH3"
|
|
},
|
|
"path": "Library/Widgets/Mechanical/Wdg_DH_Overview",
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DH2 Elements"
|
|
},
|
|
"position": {
|
|
"height": 112,
|
|
"width": 402,
|
|
"x": 841,
|
|
"y": 133
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"DH": "DH2"
|
|
},
|
|
"path": "Library/Widgets/Mechanical/Wdg_DH_Overview",
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DH4 Elements"
|
|
},
|
|
"position": {
|
|
"height": 112,
|
|
"width": 402,
|
|
"x": 841,
|
|
"y": 253
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"DH": "DH4"
|
|
},
|
|
"path": "Library/Widgets/Mechanical/Wdg_DH_Overview",
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DH1 Elements"
|
|
},
|
|
"position": {
|
|
"height": 112,
|
|
"width": 402,
|
|
"x": 841,
|
|
"y": 373
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"DH": "DH1"
|
|
},
|
|
"path": "Library/Widgets/Mechanical/Wdg_DH_Overview",
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DH5 Elements"
|
|
},
|
|
"position": {
|
|
"height": 112,
|
|
"width": 402,
|
|
"x": 841,
|
|
"y": 495
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"DH": "DH5"
|
|
},
|
|
"path": "Library/Widgets/Mechanical/Wdg_DH_Overview",
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"custom": {
|
|
"ChillerTagInfo": {
|
|
"chillerLLSPath": "[Ignition_Common_IO_Gtwy]CHWS/Chiller_LLS",
|
|
"statusTranslation": [
|
|
{
|
|
"index": 0,
|
|
"value": [
|
|
"Not Avail",
|
|
"Available"
|
|
]
|
|
},
|
|
{
|
|
"index": 1,
|
|
"value": [
|
|
"Stopped",
|
|
"Running"
|
|
]
|
|
},
|
|
{
|
|
"index": 2,
|
|
"value": [
|
|
"Good",
|
|
"Failed"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Chiller LLS Table"
|
|
},
|
|
"position": {
|
|
"height": 366.84,
|
|
"width": 610,
|
|
"x": 9,
|
|
"y": 611.16
|
|
},
|
|
"propConfig": {
|
|
"custom.ChillerTagInfo.nUnits": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{this.custom.ChillerTagInfo.chillerLLSPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Config/Number of Units"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ChillerTagInfo.priority": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"1": "{this.custom.ChillerTagInfo.chillerLLSPath}"
|
|
},
|
|
"tagPath": "{1}/Reference Devices"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ChillerTagInfo.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"1": "{this.custom.ChillerTagInfo.chillerLLSPath}"
|
|
},
|
|
"tagPath": "{1}/Status Devices"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ChillerTagInfo.statusBinary": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ChillerTagInfo.status"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\t\n\tdef int_to_bits(num):\n\t # Ensure the integer is formatted as a 3-bit binary string and then reversed\n\t binary_str \u003d format(num % 8, \u002703b\u0027) # % 8 ensures only the last 3 bits are considered\n\t return [int(bit) for bit in binary_str[::-1]]\n\t\n\treturn [int_to_bits(num) for num in value]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.data": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"nUnits": "{this.custom.ChillerTagInfo.nUnits}",
|
|
"priority": "{this.custom.ChillerTagInfo.priority}",
|
|
"status": "{this.custom.ChillerTagInfo.statusBinary}",
|
|
"statusTranslation": "{this.custom.ChillerTagInfo.statusTranslation}"
|
|
},
|
|
"waitOnAll": false
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d []\n\tfor i, priority in enumerate(range(value[\u0027nUnits\u0027])):\n\t\tif i\u003c9:\n\t\t\tchillerName \u003d \u0027Chiller 0{}\u0027.format(i+1)\n\t\telse:\n\t\t\tchillerName \u003d \u0027Chiller {}\u0027.format(i+1)\n\t\tstatusTxt \u003d \"Available\"\n\t\tbgColor \u003d \"transparent\"\n\t\tif value[\u0027statusTranslation\u0027][2].value[value[\u0027status\u0027][i][2]] \u003d\u003d \"Failed\":\n\t\t\tstatusTxt\u003d \"Failed\"\n\t\t\tbgColor \u003d \u0027var(--error)\u0027\n\t\telif value[\u0027statusTranslation\u0027][1].value[value[\u0027status\u0027][i][1]]\u003d\u003d\"Running\":\n\t\t\tstatusTxt\u003d \"Running\"\t\t\n\t\t\n\t\t\n\t\tnewRow \u003d {\n\t\t\t\t\u0027index\u0027: i, # index\n\t\t\t\t\u0027chillerName\u0027: {\n\t\t\t\t\t\u0027value\u0027: chillerName, # chillerName\n\t\t\t\t\t\u0027style\u0027: {\n\t\t\t\t\t\t\u0027margin-left\u0027: 10\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\"status\": {\"value\":statusTxt,\n\t\t\t\t\t\t\t\"style\":{\n\t\t\t\t\t\t\t\t\"backgroundColor\":bgColor}\n\t\t\t\t\t\t},\n\t\t\t\t\u0027priority\u0027 : value[\u0027priority\u0027][i],\n\t\t\t\t\u0027priority2\u0027: value[\u0027priority\u0027][i] if value[\u0027priority\u0027][i] \u003e 0 else 999 , # priority\n\t\t\t}\n\t\toutput.append(newRow)\n\t\tif i \u003d\u003d value[\u0027nUnits\u0027]-1:\n\t\t\tbreak\n\treturn self.sortChillerData(output)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"columns": [
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "index",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": false,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": false,
|
|
"width": ""
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "chillerName",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Chiller"
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": ""
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "status",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Status"
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": ""
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "priority2",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "number",
|
|
"resizable": true,
|
|
"sort": "ascending",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": false,
|
|
"width": 0
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "priority",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Priority"
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": ""
|
|
}
|
|
],
|
|
"data": [
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 41"
|
|
},
|
|
"index": 40,
|
|
"priority": 1,
|
|
"priority2": 1,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 26"
|
|
},
|
|
"index": 25,
|
|
"priority": 2,
|
|
"priority2": 2,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 29"
|
|
},
|
|
"index": 28,
|
|
"priority": 3,
|
|
"priority2": 3,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 08"
|
|
},
|
|
"index": 7,
|
|
"priority": 4,
|
|
"priority2": 4,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 46"
|
|
},
|
|
"index": 45,
|
|
"priority": 5,
|
|
"priority2": 5,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 44"
|
|
},
|
|
"index": 43,
|
|
"priority": 6,
|
|
"priority2": 6,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 12"
|
|
},
|
|
"index": 11,
|
|
"priority": 7,
|
|
"priority2": 7,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 11"
|
|
},
|
|
"index": 10,
|
|
"priority": 8,
|
|
"priority2": 8,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Running"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 28"
|
|
},
|
|
"index": 27,
|
|
"priority": 9,
|
|
"priority2": 9,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 40"
|
|
},
|
|
"index": 39,
|
|
"priority": 10,
|
|
"priority2": 10,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 13"
|
|
},
|
|
"index": 12,
|
|
"priority": 11,
|
|
"priority2": 11,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 36"
|
|
},
|
|
"index": 35,
|
|
"priority": 12,
|
|
"priority2": 12,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 19"
|
|
},
|
|
"index": 18,
|
|
"priority": 13,
|
|
"priority2": 13,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 24"
|
|
},
|
|
"index": 23,
|
|
"priority": 14,
|
|
"priority2": 14,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 20"
|
|
},
|
|
"index": 19,
|
|
"priority": 15,
|
|
"priority2": 15,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 17"
|
|
},
|
|
"index": 16,
|
|
"priority": 16,
|
|
"priority2": 16,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 47"
|
|
},
|
|
"index": 46,
|
|
"priority": 17,
|
|
"priority2": 17,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 38"
|
|
},
|
|
"index": 37,
|
|
"priority": 18,
|
|
"priority2": 18,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 30"
|
|
},
|
|
"index": 29,
|
|
"priority": 19,
|
|
"priority2": 19,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 07"
|
|
},
|
|
"index": 6,
|
|
"priority": 20,
|
|
"priority2": 20,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 05"
|
|
},
|
|
"index": 4,
|
|
"priority": 21,
|
|
"priority2": 21,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 27"
|
|
},
|
|
"index": 26,
|
|
"priority": 22,
|
|
"priority2": 22,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 15"
|
|
},
|
|
"index": 14,
|
|
"priority": 23,
|
|
"priority2": 23,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 34"
|
|
},
|
|
"index": 33,
|
|
"priority": 24,
|
|
"priority2": 24,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 35"
|
|
},
|
|
"index": 34,
|
|
"priority": 25,
|
|
"priority2": 25,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 22"
|
|
},
|
|
"index": 21,
|
|
"priority": 26,
|
|
"priority2": 26,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 14"
|
|
},
|
|
"index": 13,
|
|
"priority": 27,
|
|
"priority2": 27,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 33"
|
|
},
|
|
"index": 32,
|
|
"priority": 28,
|
|
"priority2": 28,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 45"
|
|
},
|
|
"index": 44,
|
|
"priority": 29,
|
|
"priority2": 29,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 21"
|
|
},
|
|
"index": 20,
|
|
"priority": 30,
|
|
"priority2": 30,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 16"
|
|
},
|
|
"index": 15,
|
|
"priority": 31,
|
|
"priority2": 31,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 48"
|
|
},
|
|
"index": 47,
|
|
"priority": 32,
|
|
"priority2": 32,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 43"
|
|
},
|
|
"index": 42,
|
|
"priority": 33,
|
|
"priority2": 33,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 39"
|
|
},
|
|
"index": 38,
|
|
"priority": 34,
|
|
"priority2": 34,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 23"
|
|
},
|
|
"index": 22,
|
|
"priority": 35,
|
|
"priority2": 35,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 31"
|
|
},
|
|
"index": 30,
|
|
"priority": 36,
|
|
"priority2": 36,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 02"
|
|
},
|
|
"index": 1,
|
|
"priority": 37,
|
|
"priority2": 37,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 03"
|
|
},
|
|
"index": 2,
|
|
"priority": 38,
|
|
"priority2": 38,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 04"
|
|
},
|
|
"index": 3,
|
|
"priority": 39,
|
|
"priority2": 39,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 32"
|
|
},
|
|
"index": 31,
|
|
"priority": 40,
|
|
"priority2": 40,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 09"
|
|
},
|
|
"index": 8,
|
|
"priority": 41,
|
|
"priority2": 41,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 06"
|
|
},
|
|
"index": 5,
|
|
"priority": 42,
|
|
"priority2": 42,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 25"
|
|
},
|
|
"index": 24,
|
|
"priority": 43,
|
|
"priority2": 43,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 42"
|
|
},
|
|
"index": 41,
|
|
"priority": 44,
|
|
"priority2": 44,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 01"
|
|
},
|
|
"index": 0,
|
|
"priority": 45,
|
|
"priority2": 45,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 18"
|
|
},
|
|
"index": 17,
|
|
"priority": 46,
|
|
"priority2": 46,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 10"
|
|
},
|
|
"index": 9,
|
|
"priority": 47,
|
|
"priority2": 47,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
},
|
|
{
|
|
"chillerName": {
|
|
"style": {
|
|
"margin-left": 10
|
|
},
|
|
"value": "Chiller 37"
|
|
},
|
|
"index": 36,
|
|
"priority": 48,
|
|
"priority2": 48,
|
|
"status": {
|
|
"style": {
|
|
"backgroundColor": "transparent"
|
|
},
|
|
"value": "Available"
|
|
}
|
|
}
|
|
],
|
|
"pager": {
|
|
"bottom": false
|
|
}
|
|
},
|
|
"scripts": {
|
|
"customMethods": [
|
|
{
|
|
"name": "sortChillerData",
|
|
"params": [
|
|
"arrData"
|
|
],
|
|
"script": "\tpriority_rows \u003d sorted([row for row in arrData if row[\"priority2\"] \u003c 999], key\u003dlambda x: x[\"priority2\"])\n\tnewArr \u003d [row for row in arrData if row[\"priority2\"] \u003d\u003d 999]\n\tfor row in priority_rows:\n\t\tif row[\"priority2\"] \u003c 999:\n#\t\t\tsystem.perspective.print(\"%s placed in position %s\"%(row[\"chillerName\"][\"value\"], row[\"priority2\"]-1))\n\t\t\tnewArr.insert(row[\"priority2\"]-1, row)\n\t\n\treturn newArr\n\t\t\t\n\t\n\t"
|
|
}
|
|
],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": []
|
|
},
|
|
"type": "ia.display.table"
|
|
},
|
|
{
|
|
"custom": {
|
|
"ChillerTagInfo": {
|
|
"chillerLLSPath": "[Ignition_Common_IO_Gtwy]MPR1140/CHWP_LLS",
|
|
"statusTranslation": [
|
|
{
|
|
"index": 0,
|
|
"value": [
|
|
"Not Avail",
|
|
"Available"
|
|
]
|
|
},
|
|
{
|
|
"index": 1,
|
|
"value": [
|
|
"Stopped",
|
|
"Running"
|
|
]
|
|
},
|
|
{
|
|
"index": 2,
|
|
"value": [
|
|
"Good",
|
|
"Failed"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "CHWP LLS Table"
|
|
},
|
|
"position": {
|
|
"height": 367,
|
|
"width": 610,
|
|
"x": 629,
|
|
"y": 611
|
|
},
|
|
"propConfig": {
|
|
"custom.ChillerTagInfo.nUnits": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{this.custom.ChillerTagInfo.chillerLLSPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Config/Number of Units"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ChillerTagInfo.priority": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"1": "{this.custom.ChillerTagInfo.chillerLLSPath}"
|
|
},
|
|
"tagPath": "{1}/Reference Devices"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ChillerTagInfo.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"1": "{this.custom.ChillerTagInfo.chillerLLSPath}"
|
|
},
|
|
"tagPath": "{1}/Status Devices"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ChillerTagInfo.statusBinary": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ChillerTagInfo.status"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\t\n\tdef int_to_bits(num):\n\t # Ensure the integer is formatted as a 3-bit binary string and then reversed\n\t binary_str \u003d format(num % 8, \u002703b\u0027) # % 8 ensures only the last 3 bits are considered\n\t return [int(bit) for bit in binary_str[::-1]]\n\t\n\treturn [int_to_bits(num) for num in value]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.data": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"nUnits": "{this.custom.ChillerTagInfo.nUnits}",
|
|
"priority": "{this.custom.ChillerTagInfo.priority}",
|
|
"status": "{this.custom.ChillerTagInfo.statusBinary}",
|
|
"statusTranslation": "{this.custom.ChillerTagInfo.statusTranslation}"
|
|
},
|
|
"waitOnAll": false
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d []\n\tfor i, priority in enumerate(range(value[\u0027nUnits\u0027])):\n\t\tif i \u003c 9:\n\t\t\tchillerName \u003d \u0027CHWP 0{}\u0027.format(i+1)\n\t\telse:\n\t\t\tchillerName \u003d \u0027CHWP {}\u0027.format(i+1)\n\t\tstatusTxt \u003d \"Available\"\n\t\tbgColor \u003d \"transparent\"\n\t\tif value[\u0027statusTranslation\u0027][2].value[value[\u0027status\u0027][i][2]] \u003d\u003d \"Failed\":\n\t\t\tstatusTxt\u003d \"Failed\"\n\t\t\tbgColor \u003d \u0027var(--error)\u0027\n\t\telif value[\u0027statusTranslation\u0027][1].value[value[\u0027status\u0027][i][1]]\u003d\u003d\"Running\":\n\t\t\tstatusTxt\u003d \"Running\"\t\t\n\t\t\n\t\t\n\t\tnewRow \u003d {\n\t\t\t\t\u0027index\u0027: i, # index\n\t\t\t\t\u0027chillerName\u0027: {\n\t\t\t\t\t\u0027value\u0027: chillerName, # chillerName\n\t\t\t\t\t\u0027style\u0027: {\n\t\t\t\t\t\t\u0027margin-left\u0027: 10\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\"status\": {\"value\":statusTxt,\n\t\t\t\t\t\t\t\"style\":{\n\t\t\t\t\t\t\t\t\"backgroundColor\":bgColor}\n\t\t\t\t\t\t},\n\t\t\t\t\u0027priority\u0027 : value[\u0027priority\u0027][i],\n\t\t\t\t\u0027priority2\u0027: value[\u0027priority\u0027][i] if value[\u0027priority\u0027][i] \u003e 0 else 999 , # priority\n\t\t\t}\n\t\toutput.append(newRow)\n\t\tif i \u003d\u003d value[\u0027nUnits\u0027]-1:\n\t\t\tbreak\n\treturn self.sortChillerData(output)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"columns": [
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "index",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": false,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": false,
|
|
"width": ""
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "chillerName",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "CHWP"
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": ""
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "status",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Status"
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": ""
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "priority2",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "number",
|
|
"resizable": true,
|
|
"sort": "ascending",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": false,
|
|
"width": 0
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "priority",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Priority"
|
|
},
|
|
"justify": "auto",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": ""
|
|
}
|
|
],
|
|
"pager": {
|
|
"bottom": false
|
|
}
|
|
},
|
|
"scripts": {
|
|
"customMethods": [
|
|
{
|
|
"name": "sortChillerData",
|
|
"params": [
|
|
"arrData"
|
|
],
|
|
"script": "\tpriority_rows \u003d sorted([row for row in arrData if row[\"priority2\"] \u003c 999], key\u003dlambda x: x[\"priority2\"])\n\tnewArr \u003d [row for row in arrData if row[\"priority2\"] \u003d\u003d 999]\n\tfor row in priority_rows:\n\t\tif row[\"priority2\"] \u003c 999:\n#\t\t\tsystem.perspective.print(\"%s placed in position %s\"%(row[\"chillerName\"][\"value\"], row[\"priority2\"]-1))\n\t\t\tnewArr.insert(row[\"priority2\"]-1, row)\n\t\n\treturn newArr\n\t\t\t\n\t\n\t"
|
|
}
|
|
],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": []
|
|
},
|
|
"type": "ia.display.table"
|
|
},
|
|
{
|
|
"custom": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Roof"
|
|
},
|
|
"meta": {
|
|
"name": "Supply Chart"
|
|
},
|
|
"position": {
|
|
"height": 366,
|
|
"width": 352,
|
|
"x": 212.97,
|
|
"y": 159.97
|
|
},
|
|
"propConfig": {
|
|
"custom.raw": {
|
|
"binding": {
|
|
"config": {
|
|
"aggregate": "MinMax",
|
|
"avoidScanClassValidation": true,
|
|
"dateRange": {
|
|
"mostRecent": "2",
|
|
"mostRecentUnits": "HOUR"
|
|
},
|
|
"enableValueCache": true,
|
|
"ignoreBadQuality": false,
|
|
"polling": {
|
|
"enabled": true,
|
|
"rate": "60"
|
|
},
|
|
"preventInterpolation": false,
|
|
"returnFormat": "Wide",
|
|
"returnSize": {
|
|
"numRows": "120",
|
|
"type": "FIXED"
|
|
},
|
|
"tags": "{this.custom.tags}",
|
|
"valueFormat": "DOCUMENT"
|
|
},
|
|
"type": "tag-history"
|
|
}
|
|
},
|
|
"custom.tags": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d []\n\taggregate \u003d \"LastValue\"\n\talias \u003d \"Value\"\n\thistProvider \u003d {\"Ignition_Common_IO_Gtwy\":\"Ignition_Hist/ignition-satb1-io6:default\",\n\t\t\t\t\t\"Ignition_SATB1_IO1_Gtwy\":\"Ignition_Hist/ignition-satb1-io1:default\",\n\t\t\t\t\t\"Ignition_SATB1_IO2_Gtwy\":\"Ignition_Hist/ignition-satb1-io2:default\"}\n\ttags \u003d system.tag.browse(self.custom.tagPath, {\"name\":\"*SYSTEM\",\"typeId\":\"Objects/Mechanical/Chiller\",\"tagType\":\"UdtInstance\"})\n\tfor item in tags:\n\t\ttagname \u003d str(item[\"fullPath\"]) + \"/Load\"\n\t\tnameparts \u003d tagname.split(\"]\")\n\t\tprovider\u003d histProvider[nameparts[0][1:]]\n\t\trun_path \u003d \"[{}]{}\".format(provider, nameparts[1])\n\t\toutput.append({\"aggregate\": aggregate, \"alias\": str(item[\"name\"]), \"path\": run_path})\n\t\n\treturn output\n\t\n\t\n\t\t\n\t\t",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"props.dataSources.Tonnage": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"dataset": "{this.custom.raw}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput \u003d []\n\ttotal \u003d 0\n\tfor item in rawHist:\n\t\ttotal \u003d 0\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tif item[key] is None:\n\t\t\t\ttotal +\u003d 0\n\t\t\telse:\n\t\t\t\ttotal +\u003d item[key]\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"total\": total})\n\treturn output\n\t\n\t",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"background": {
|
|
"render": "color"
|
|
},
|
|
"dataSources": {},
|
|
"legend": {
|
|
"enabled": false
|
|
},
|
|
"series": [
|
|
{
|
|
"candlestick": {
|
|
"appearance": {
|
|
"deriveFieldsFromData": {
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": ""
|
|
},
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": "",
|
|
"width": ""
|
|
}
|
|
},
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"heatRules": {
|
|
"dataField": "",
|
|
"enabled": false,
|
|
"max": "",
|
|
"min": ""
|
|
},
|
|
"stacked": false,
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": 1,
|
|
"width": 1
|
|
}
|
|
},
|
|
"high": {
|
|
"x": "",
|
|
"y": ""
|
|
},
|
|
"low": {
|
|
"x": "",
|
|
"y": ""
|
|
},
|
|
"open": {
|
|
"x": "",
|
|
"y": ""
|
|
}
|
|
},
|
|
"column": {
|
|
"appearance": {
|
|
"deriveFieldsFromData": {
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": ""
|
|
},
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": "",
|
|
"width": ""
|
|
}
|
|
},
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"heatRules": {
|
|
"dataField": "",
|
|
"enabled": false,
|
|
"max": "",
|
|
"min": ""
|
|
},
|
|
"height": null,
|
|
"stacked": false,
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": 1,
|
|
"width": 1
|
|
},
|
|
"width": null
|
|
},
|
|
"open": {
|
|
"x": "",
|
|
"y": ""
|
|
}
|
|
},
|
|
"data": {
|
|
"source": "Tonnage",
|
|
"x": "t_stamp",
|
|
"y": "total"
|
|
},
|
|
"defaultState": {
|
|
"visible": true
|
|
},
|
|
"hiddenInLegend": false,
|
|
"label": {
|
|
"text": "Process Temp"
|
|
},
|
|
"line": {
|
|
"appearance": {
|
|
"bullets": [
|
|
{
|
|
"deriveFieldsFromData": {
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": ""
|
|
},
|
|
"rotation": "",
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": "",
|
|
"width": ""
|
|
}
|
|
},
|
|
"enabled": false,
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"heatRules": {
|
|
"dataField": "",
|
|
"enabled": false,
|
|
"max": 100,
|
|
"min": 2
|
|
},
|
|
"height": 10,
|
|
"label": {
|
|
"position": {
|
|
"dx": 0,
|
|
"dy": 0
|
|
},
|
|
"text": "{value}"
|
|
},
|
|
"render": "circle",
|
|
"rotation": 0,
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": 1,
|
|
"width": 1
|
|
},
|
|
"tooltip": {
|
|
"background": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"cornerRadius": 3,
|
|
"enabled": true,
|
|
"pointerLength": 4,
|
|
"text": "{name}: [bold]{valueY}[/]"
|
|
},
|
|
"width": 10
|
|
}
|
|
],
|
|
"connect": true,
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": 0
|
|
},
|
|
"minDistance": 0.5,
|
|
"stroke": {
|
|
"color": "",
|
|
"dashArray": "",
|
|
"opacity": 1,
|
|
"width": 3
|
|
},
|
|
"tensionX": 1,
|
|
"tensionY": 1
|
|
},
|
|
"open": {
|
|
"x": "",
|
|
"y": ""
|
|
}
|
|
},
|
|
"name": "Tonnage",
|
|
"render": "line",
|
|
"stepLine": {
|
|
"appearance": {
|
|
"bullets": [
|
|
{
|
|
"deriveFieldsFromData": {
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": ""
|
|
},
|
|
"rotation": "",
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": "",
|
|
"width": ""
|
|
}
|
|
},
|
|
"enabled": true,
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"heatRules": {
|
|
"dataField": "",
|
|
"enabled": false,
|
|
"max": 100,
|
|
"min": 2
|
|
},
|
|
"height": 10,
|
|
"label": {
|
|
"position": {
|
|
"dx": 0,
|
|
"dy": 0
|
|
},
|
|
"text": "{value}"
|
|
},
|
|
"render": "circle",
|
|
"rotation": 0,
|
|
"stroke": {
|
|
"color": "",
|
|
"opacity": 1,
|
|
"width": 1
|
|
},
|
|
"tooltip": {
|
|
"background": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"cornerRadius": 3,
|
|
"enabled": true,
|
|
"pointerLength": 4,
|
|
"text": "{name}: [bold]{valueY}[/]"
|
|
},
|
|
"width": 10
|
|
}
|
|
],
|
|
"connect": true,
|
|
"fill": {
|
|
"color": "",
|
|
"opacity": 0
|
|
},
|
|
"minDistance": 0.5,
|
|
"stroke": {
|
|
"color": "",
|
|
"dashArray": "",
|
|
"opacity": 1,
|
|
"width": 3
|
|
},
|
|
"tensionX": 1,
|
|
"tensionY": 1
|
|
},
|
|
"open": {
|
|
"x": "",
|
|
"y": ""
|
|
}
|
|
},
|
|
"tooltip": {
|
|
"background": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"cornerRadius": 3,
|
|
"enabled": true,
|
|
"pointerLength": 4,
|
|
"text": "{name}: [bold]{valueY}[/]"
|
|
},
|
|
"visible": true,
|
|
"xAxis": "time",
|
|
"yAxis": "Tonnage",
|
|
"zIndex": 0
|
|
}
|
|
],
|
|
"style": {
|
|
"overflow": "visible",
|
|
"paddingRight": 5
|
|
},
|
|
"title": {
|
|
"text": "Supply (Tons)"
|
|
},
|
|
"xAxes": [
|
|
{
|
|
"appearance": {
|
|
"font": {
|
|
"size": "",
|
|
"weight": 500
|
|
},
|
|
"grid": {
|
|
"color": "",
|
|
"dashArray": "",
|
|
"minDistance": 60,
|
|
"opacity": 0.5,
|
|
"position": 0.5
|
|
},
|
|
"inside": false,
|
|
"labels": {
|
|
"color": "",
|
|
"horizontalCenter": "middle",
|
|
"opacity": 1,
|
|
"rotation": 0,
|
|
"verticalCenter": "middle"
|
|
},
|
|
"opposite": false
|
|
},
|
|
"category": {
|
|
"break": {
|
|
"enabled": false,
|
|
"endCategory": "",
|
|
"size": 0.05,
|
|
"startCategory": ""
|
|
}
|
|
},
|
|
"date": {
|
|
"baseInterval": {
|
|
"count": 30,
|
|
"enabled": true,
|
|
"skipEmptyPeriods": false,
|
|
"timeUnit": "second"
|
|
},
|
|
"break": {
|
|
"enabled": false,
|
|
"endDate": "",
|
|
"size": 0.05,
|
|
"startDate": ""
|
|
},
|
|
"format": "HH:mm",
|
|
"inputFormat": "HH:mm",
|
|
"range": {
|
|
"max": "",
|
|
"min": "",
|
|
"useStrict": false
|
|
}
|
|
},
|
|
"inversed": false,
|
|
"label": {
|
|
"color": "",
|
|
"enabled": false,
|
|
"text": "Time"
|
|
},
|
|
"name": "time",
|
|
"render": "date",
|
|
"tooltip": {
|
|
"background": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"cornerRadius": 3,
|
|
"enabled": true,
|
|
"pointerLength": 4,
|
|
"text": ""
|
|
},
|
|
"value": {
|
|
"break": {
|
|
"enabled": false,
|
|
"endValue": 100,
|
|
"size": 0.05,
|
|
"startValue": 0
|
|
},
|
|
"format": "#,###.##",
|
|
"logarithmic": false,
|
|
"range": {
|
|
"max": "",
|
|
"min": "",
|
|
"useStrict": false
|
|
}
|
|
},
|
|
"visible": true
|
|
}
|
|
],
|
|
"yAxes": [
|
|
{
|
|
"appearance": {
|
|
"font": {
|
|
"size": "",
|
|
"weight": 500
|
|
},
|
|
"grid": {
|
|
"color": "",
|
|
"dashArray": "",
|
|
"minDistance": null,
|
|
"opacity": 0.5,
|
|
"position": 0.5
|
|
},
|
|
"inside": false,
|
|
"labels": {
|
|
"color": "",
|
|
"horizontalCenter": "middle",
|
|
"opacity": 1,
|
|
"rotation": 0,
|
|
"verticalCenter": "middle"
|
|
},
|
|
"opposite": false
|
|
},
|
|
"category": {
|
|
"break": {
|
|
"enabled": false,
|
|
"endCategory": "",
|
|
"size": 0.05,
|
|
"startCategory": ""
|
|
}
|
|
},
|
|
"date": {
|
|
"baseInterval": {
|
|
"count": 1,
|
|
"enabled": false,
|
|
"skipEmptyPeriods": false,
|
|
"timeUnit": "hour"
|
|
},
|
|
"break": {
|
|
"enabled": false,
|
|
"endDate": "",
|
|
"size": 0.05,
|
|
"startDate": ""
|
|
},
|
|
"format": "M/d/yyyy HH:mm:ss",
|
|
"inputFormat": "yyyy-MM-dd kk:mm:ss",
|
|
"range": {
|
|
"max": 10000,
|
|
"min": 0,
|
|
"useStrict": false
|
|
}
|
|
},
|
|
"inversed": false,
|
|
"label": {
|
|
"color": "",
|
|
"enabled": false,
|
|
"text": "CHWS"
|
|
},
|
|
"name": "Tonnage",
|
|
"render": "value",
|
|
"tooltip": {
|
|
"background": {
|
|
"color": "",
|
|
"opacity": 1
|
|
},
|
|
"cornerRadius": 3,
|
|
"enabled": true,
|
|
"pointerLength": 4,
|
|
"text": ""
|
|
},
|
|
"value": {
|
|
"break": {
|
|
"enabled": false,
|
|
"endValue": 100,
|
|
"size": 0.05,
|
|
"startValue": 0
|
|
},
|
|
"format": "#,###.##",
|
|
"logarithmic": false,
|
|
"range": {
|
|
"max": "",
|
|
"min": "",
|
|
"useStrict": false
|
|
}
|
|
},
|
|
"visible": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.chart.xy"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "Chiller Load Add Limit"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/ChillerLoad_ADDLimit"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"spinner": {
|
|
"enabled": false
|
|
},
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 01 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 100.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "Chiller Load \nSub Limit"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/ChillerLoad_SUBLimit"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 02 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 149.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "Chiller Tonnage Rating"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/ChillerTonRating"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 03 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 198.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "CHWP Add Limit"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP ADD Limit"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 04 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 247.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "CHWP Sub Limit"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP SUB Limit"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 05 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 296.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "Chiller Minimum Flow Setpoint"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/Chiller_MinFlow_SP"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 06 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 345.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "Bypass Valve DP Setpoint"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWBPV_DiffSP"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 07 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 394.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"text": "CHWP Diff Press Setpoint"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"basis": "125px",
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/CHWP DP Setpoint"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Value 08 block"
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 250,
|
|
"x": 1254,
|
|
"y": 443.5
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Status Indicator 01",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"text": "Bypass, DPs Fail amd Qty Chiller permissive are all good"
|
|
}
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 120,
|
|
"x": 1254,
|
|
"y": 5.5
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/PlantMgr Permissive OK",
|
|
"text": "Plant Manager Permissive"
|
|
},
|
|
"path": "Library/Framework/Badge",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Status Indicator 02",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"text": "At least 1 DH DP is not faulted"
|
|
}
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 120,
|
|
"x": 1384,
|
|
"y": 5.5
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/DPs Fail Permissive OK",
|
|
"text": "DPs Fail Permissive"
|
|
},
|
|
"path": "Library/Framework/Badge",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Status Indicator 03",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"text": "At least 1 CH is available"
|
|
}
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 120,
|
|
"x": 1254,
|
|
"y": 52.5
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/QtyChillers Permissive OK",
|
|
"text": "Qty Chillers Permissive"
|
|
},
|
|
"path": "Library/Framework/Badge",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Status Indicator 04",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"text": "At least 1 loop bypass valve available"
|
|
}
|
|
},
|
|
"position": {
|
|
"height": 40,
|
|
"width": 120,
|
|
"x": 1384,
|
|
"y": 52.5
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/PLC Tags/Bypass Permissive OK",
|
|
"text": "Bypass Permissive"
|
|
},
|
|
"path": "Library/Framework/Badge",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"contextMenu": {
|
|
"enabled": true,
|
|
"items": [
|
|
{
|
|
"children": [],
|
|
"icon": {
|
|
"color": "",
|
|
"path": "",
|
|
"style": {}
|
|
},
|
|
"link": {
|
|
"target": "self",
|
|
"url": ""
|
|
},
|
|
"message": {
|
|
"payload": {},
|
|
"scope": "page",
|
|
"type": "This as page is home now"
|
|
},
|
|
"method": {
|
|
"name": "",
|
|
"params": {}
|
|
},
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"text": "Set as Home Page",
|
|
"type": "method"
|
|
}
|
|
]
|
|
},
|
|
"name": "root"
|
|
},
|
|
"position": {
|
|
"x": 9,
|
|
"y": -13
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--containerRoot)",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "LLSPopupMsg",
|
|
"pageScope": true,
|
|
"script": "\t# implement your handler here\n\tutils.nav.LLSPopupMsg(self, payload)",
|
|
"sessionScope": false,
|
|
"viewScope": false
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |