2421 lines
70 KiB
Plaintext
2421 lines
70 KiB
Plaintext
{
|
|
"custom": {
|
|
"HS1": 219.5,
|
|
"HS2": 213,
|
|
"M": [
|
|
100,
|
|
100,
|
|
100,
|
|
101,
|
|
100,
|
|
99,
|
|
101,
|
|
100
|
|
],
|
|
"M1-M8": 0,
|
|
"P1": 1998.4,
|
|
"P1_Main": 2183,
|
|
"P2": 1897.3,
|
|
"P2_Main": 2060,
|
|
"P3": 132.1,
|
|
"P3_Main": 146.2,
|
|
"P4": 130.1,
|
|
"P4_Main": 141.6,
|
|
"P5": 3.1,
|
|
"P5_Main": 4.7,
|
|
"SES1A": 2700,
|
|
"SES1B": 2400
|
|
},
|
|
"params": {},
|
|
"propConfig": {
|
|
"custom.HS1": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]ER1151/SATB1_MPR1151_HS1_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.HS2": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MR1253/SATB1_MPR1253_HS2_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.M": {
|
|
"persistent": true
|
|
},
|
|
"custom.M1-M8": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.M"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\ttotal \u003d 0\n\tfor item in value:\n\t\tif item is None:\n\t\t\ttotal +\u003d 0\n\t\telse:\n\t\t\ttotal +\u003d item\n\treturn total",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.M[0]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1240/SATB1_MPR1240_M1_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[1]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1240/SATB1_MPR1240_M2_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[2]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1241/SATB1_MPR1241_M3_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[3]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1241/SATB1_MPR1241_M4_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[4]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1150/SATB1_MPR1150_M5_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[5]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1150/SATB1_MPR1150_M6_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[6]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1247/SATB1_MPR1247_M7_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.M[7]": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1247/SATB1_MPR1247_M8_PQM/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.P1": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO1_default]PUE/Critical_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P1_Main": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO1_default]PUE/Total_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P2": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO2_default]PUE/Critical_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P2_Main": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO2_default]PUE/Total_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P3": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO3_default]PUE/Critical_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P3_Main": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO3_default]PUE/Total_Power"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P4": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO4_default]PUE/Critical_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P4_Main": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO4_default]PUE/Total_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P5": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO5_default]PUE/Critical_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.P5_Main": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_SATB1_IO5_default]PUE/Total_Power"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.SES1A": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_SES_1A/PQM_Main/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.SES1B": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_SES_1B/PQM_Main/Real Power"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 200,
|
|
"width": 570
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.SES1A"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn float(value) /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "#.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.SES1A"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"props": {
|
|
"alignContent": "center",
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "SES 1A",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.SES1B"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn float(value) /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "0.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.SES1B"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "SES 1B",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_4"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.SES1A} + {view.custom.SES1B}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "0.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.SES1A} + {view.custom.SES1B}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Total",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "SES"
|
|
},
|
|
"position": {
|
|
"basis": "15%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.HS1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "0.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.HS1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "HS1",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.HS2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "0.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.HS2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "HS2",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_4"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.M1-M8}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "0.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.M1-M8}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "M1-M8",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_5"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Total",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_4"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.M1-M8}+{view.custom.HS1}+{view.custom.HS2}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value /1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "0.0",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.M1-M8}+{view.custom.HS1}+{view.custom.HS2}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_2"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "HS"
|
|
},
|
|
"position": {
|
|
"basis": "20%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH1",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P1_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P1_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH2",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P2_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e1000:\n\t\treturn value / 1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH2"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH3",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P3_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P3"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH4",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P4_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P4_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH4"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH5",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P5_Main"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P5"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH5"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Total Main",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.P1_Main}+{view.custom.P2_Main}+{view.custom.P3_Main}+{view.custom.P4_Main}+{view.custom.P5_Main}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.P1_Main}+{view.custom.P2_Main}+{view.custom.P3_Main}+{view.custom.P4_Main}+{view.custom.P5_Main}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\telse: \n\t\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH6"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "P - Main"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"alignContent": "space-between",
|
|
"alignItems": "flex-start",
|
|
"direction": "column",
|
|
"justify": "space-between",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"padding": "10px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH1",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P1"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH2",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn float(value) / 1000\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P2"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH2"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH3",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P3"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn float(value) / 1000\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P3"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH3"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH4",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P4"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn float(value) / 1000\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P4"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH4"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "DH5",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P5"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.P5"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH5"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "Total IT",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.P1}+{view.custom.P2}+{view.custom.P3}+{view.custom.P4}+{view.custom.P5}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn value/1000\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 24,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.custom.P1}+{view.custom.P2}+{view.custom.P3}+{view.custom.P4}+{view.custom.P5}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value \u003e 1000:\n\t\treturn \"MW\"\n\telse: \n\t\treturn \"kW\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"alignVertical": "bottom",
|
|
"textStyle": {
|
|
"color": "var(--units-color)",
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "DH6"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "P - IT"
|
|
},
|
|
"position": {
|
|
"basis": "25%"
|
|
},
|
|
"props": {
|
|
"alignContent": "space-between",
|
|
"alignItems": "flex-start",
|
|
"direction": "column",
|
|
"justify": "space-between",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"padding": "10px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"p1": "{view.custom.P1}",
|
|
"p2": "{view.custom.P2}",
|
|
"p3": "{view.custom.P3}",
|
|
"p4": "{view.custom.P4}",
|
|
"p5": "{view.custom.P5}",
|
|
"sesA": "{view.custom.SES1A}",
|
|
"sesB": "{view.custom.SES1B}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\ttotal \u003d value[\u0027sesA\u0027] + value [\u0027sesB\u0027]\n\tp1 \u003d value[\u0027p1\u0027]\n\tif p1 is None:\n\t\tp1 \u003d 0\n\tp2 \u003d value[\u0027p2\u0027]\n\tif p2 is None:\n\t\tp2 \u003d 0\n\tp3 \u003d value[\u0027p3\u0027]\n\tif p3 is None:\n\t\tp3 \u003d 0\n\tp4 \u003d value[\u0027p4\u0027]\n\tif p4 is None:\n\t\tp4 \u003d 0\n\tp5 \u003d value[\u0027p5\u0027]\n\tif p5 is None:\n\t\tp5 \u003d 0\n\ttry:\n\t\tPUE \u003d total / (p1 + p2 + p3 + p4 +p5)\n\texcept:\n\t\tPUE \u003d 0\n\treturn PUE",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "number",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 36,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"text": "PUE",
|
|
"textStyle": {
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "PUE"
|
|
},
|
|
"position": {
|
|
"basis": "15%"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "10px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |