Files
Stream_PHX_A7/Gateways/FE/projects/.resources/d701564219cb82e16edf70c24afd4c41df80d420f8cde40952e93839fc510202

5413 lines
169 KiB
Plaintext

{
"custom": {
"editPriority": false,
"nUnits": 4,
"priority": [
2,
3,
4,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"runtime": [
605.29926,
25.700062,
0,
1600.9562,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"status": [
1,
1,
1,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"statusBinary": [
[
1,
0,
0
],
[
1,
0,
0
],
[
1,
0,
0
],
[
1,
1,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
],
[
0,
0,
0
]
],
"statusTranslation": [
{
"index": 0,
"value": [
"Not Avail",
"Available"
]
},
{
"index": 1,
"value": [
"Stopped",
"Running"
]
},
{
"index": 2,
"value": [
"Good",
"Failed"
]
}
],
"tagPath": "[Ignition_Common_IO_Gtwy]MPR1140/ASP_LLS",
"tagPath1": "[Ignition_Common_IO_Gtwy]MPR1140/ASP_Rotation"
},
"params": {
"tagPaths": {
"tagPath_LLS": "[Ignition_Common_IO_Gtwy]MPR1140/ASP_LLS",
"tagPath_Rotation": "[Ignition_Common_IO_Gtwy]MPR1140/ASP_Rotation"
}
},
"permissions": {
"securityLevels": [],
"type": "AllOf"
},
"propConfig": {
"custom.editPriority": {
"binding": {
"config": {
"expression": "false"
},
"enabled": false,
"type": "expr"
},
"persistent": true
},
"custom.nUnits": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Number of Units"
},
"type": "tag"
},
"persistent": true
},
"custom.operatorPriority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices"
},
"type": "tag"
},
"persistent": false
},
"custom.priority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"1": "{view.custom.tagPath}"
},
"tagPath": "{1}/Reference Devices"
},
"type": "tag"
},
"persistent": true
},
"custom.runtime": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"1": "{view.custom.tagPath}"
},
"tagPath": "{1}/Device Runtime"
},
"type": "tag"
},
"persistent": true
},
"custom.status": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"1": "{view.custom.tagPath}"
},
"tagPath": "{1}/Status Devices"
},
"type": "tag"
},
"persistent": true
},
"custom.statusBinary": {
"binding": {
"config": {
"path": "view.custom.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"
},
"persistent": true
},
"custom.statusTranslation": {
"persistent": true
},
"custom.tagPath": {
"binding": {
"config": {
"path": "view.params.tagPaths.tagPath_LLS"
},
"type": "property"
},
"persistent": true
},
"custom.tagPath1": {
"binding": {
"config": {
"path": "view.params.tagPaths.tagPath_Rotation"
},
"type": "property"
},
"persistent": true
},
"params.tagPaths": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"width": 897
}
},
"root": {
"children": [
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "40px",
"shrink": 0
},
"props": {
"style": {
"border-bottom": "1px solid var(--border)"
},
"text": "Status",
"textStyle": {
"classes": "labels/section-title",
"text-indent": "10px"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"meta": {
"name": "Gauge"
},
"position": {
"basis": "142px",
"shrink": 0
},
"propConfig": {
"props.outerAxis.maxValue": {
"binding": {
"config": {
"path": "view.custom.nUnits"
},
"type": "property"
}
},
"props.outerAxis.ranges[1].end": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Avail"
},
"type": "tag"
}
},
"props.outerAxis.ranges[2].end": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Demand"
},
"type": "tag"
}
},
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Feedback"
},
"type": "tag"
}
}
},
"props": {
"backgroundColor": "",
"innerAxis": {
"data": "secondaryValue",
"maxValue": 80,
"percentRadius": 85,
"show": false,
"width": 1
},
"outerAxis": {
"data": "value",
"needle": {
"color": "#555555",
"reach": 95
},
"percentRadius": 90,
"ranges": [
{
"color": "#B4C0C6",
"end": 48,
"start": 0,
"width": 100
},
{
"color": "#77B6D8",
"start": 0,
"width": 100
},
{
"color": "#B46EED",
"start": 0,
"width": 4
}
],
"show": true,
"tickMarks": {
"length": 2
},
"width": 1
}
},
"type": "ia.chart.gauge"
},
{
"children": [
{
"meta": {
"name": "Color Indicator"
},
"position": {
"basis": "18px"
},
"props": {
"style": {
"backgroundColor": "#77B6D8",
"borderBottomLeftRadius": 2,
"borderBottomRightRadius": 2,
"borderTopLeftRadius": 2,
"borderTopRightRadius": 2,
"margin": 2
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Available"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Avail"
},
"type": "tag"
}
}
},
"props": {
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Available"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Color Indicator"
},
"position": {
"basis": "18px"
},
"props": {
"style": {
"backgroundColor": "#B46EED",
"borderBottomLeftRadius": 2,
"borderBottomRightRadius": 2,
"borderTopLeftRadius": 2,
"borderTopRightRadius": 2,
"margin": 2
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Demand"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Demand"
},
"type": "tag"
}
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Demand"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Color Indicator"
},
"position": {
"basis": "18px"
},
"props": {
"style": {
"backgroundColor": "#555555",
"borderBottomLeftRadius": 2,
"borderBottomRightRadius": 2,
"borderTopLeftRadius": 2,
"borderTopRightRadius": 2,
"margin": 2
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Feedback"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Feedback"
},
"type": "tag"
}
}
},
"props": {
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Feedback"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "EmbeddedView"
},
"position": {
"basis": "20px",
"shrink": 0
},
"propConfig": {
"props.params.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Status LineUp Adjusting"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "transparent"
},
{
"input": true,
"output": "gray"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"path": "Testing/Border CSS",
"style": {
"marginLeft": 2
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Status LineUp Adjusting"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "Adjusting Line Up"
},
{
"input": false,
"output": "Line Up Complete"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "LineUp Adjusting"
},
"position": {
"shrink": 0
},
"props": {
"justify": "center",
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "EmbeddedView"
},
"position": {
"basis": "20px",
"shrink": 0
},
"propConfig": {
"props.params.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Stage Mode"
},
"transforms": [
{
"fallback": "gray",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "transparent"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"path": "Testing/Border CSS",
"style": {
"marginLeft": 2
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Value Stage Mode"
},
"transforms": [
{
"fallback": "State Out Of Sequence",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "Normal Mode"
},
{
"input": 1,
"output": "Staging Up"
},
{
"input": 2,
"output": "Staging Down"
},
{
"input": 3,
"output": "Checking Stability"
},
{
"input": 4,
"output": "Operator Priority Changing"
},
{
"input": 5,
"output": "Runtime Rotations"
},
{
"input": 6,
"output": "Position Rotations"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Trans Active"
},
"position": {
"shrink": 0
},
"props": {
"justify": "center",
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Color Indicator"
},
"position": {
"basis": "18px"
},
"props": {
"style": {
"backgroundColor": "transparent",
"borderBottomLeftRadius": 2,
"borderBottomRightRadius": 2,
"borderTopLeftRadius": 2,
"borderTopRightRadius": 2,
"margin": 2
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label",
"tooltip": {
"text": "Rotation indication, 1 Hour notice flag."
}
},
"position": {
"basis": "50%",
"grow": 1
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath1": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath1}/Rotation Aproaching"
},
"transforms": [
{
"fallback": "-",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "Rotation Approaching"
},
{
"input": false,
"output": ""
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Rotation Approaching"
},
"position": {
"shrink": 0
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath1": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath1}/Rotation Aproaching"
},
"type": "tag"
}
}
},
"props": {
"justify": "center",
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"grow": 1
},
"props": {
"direction": "column",
"style": {
"borderLeft": "1px solid var(--border)",
"borderRight": "1px solid var(--border)",
"gap": "10px",
"padding": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Status"
},
"position": {
"basis": "247px",
"grow": 1,
"shrink": 0
},
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "40px",
"shrink": 0
},
"props": {
"style": {
"border-bottom": "1px solid var(--border)"
},
"text": "Controls",
"textStyle": {
"classes": "labels/section-title",
"text-indent": "10px"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Auto/Manual"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.style.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/Mode"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--callToAction)"
},
{
"input": false,
"output": "var(--neutral-90)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/Mode"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "Auto"
},
{
"input": false,
"output": "Manual"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"fontSize": 14,
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "ToggleSwitch"
},
"position": {
"basis": "21%"
},
"propConfig": {
"props.selected": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/Mode"
},
"type": "tag"
}
}
},
"type": "ia.input.toggle-switch"
}
],
"meta": {
"name": "Auto-Manual"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "On/Off"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.style.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/System_EnableCMD"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--callToAction)"
},
{
"input": false,
"output": "var(--neutral-90)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/System_EnableCMD"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "On"
},
{
"input": false,
"output": "Off"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"fontSize": 14,
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"meta": {
"name": "ToggleSwitch"
},
"position": {
"height": 33,
"width": 48,
"x": 1
},
"propConfig": {
"props.selected": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/System_EnableCMD"
},
"type": "tag"
}
}
},
"type": "ia.input.toggle-switch"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t\tutils.Alerts.showAlert(\"info\", \"Turn On-Off\", \"Are you sure you wan to change the state of the Chillwater Pumps LLS?\", \"true\" , \"Continue\" , \"Cancel\" , \"\" , \"\" , \"\" , \"setONOFFBtn\", \"CloseAlertDialog\", \"CloseAlertDialog\")\n\t\t\t\t\t\t #\"state\", \"title\"\t\t , \"message\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t , \"showCloseBtn\", \"btnTextPrimary\", \"btnTextSecondary\", \"btnIconPrimary\", \"btnIconSecondary\", \"btnIconAlignment\", \"btnActionPrimary\" , \"btnActionSecondary\" , \"btnActionClose\""
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Label"
},
"position": {
"height": 28,
"width": 43,
"x": 5.73,
"y": 3
},
"type": "ia.display.label"
}
],
"meta": {
"name": "CoordinateContainer"
},
"position": {
"basis": 19,
"grow": 1,
"shrink": 0
},
"type": "ia.container.coord"
}
],
"meta": {
"name": "On-Off"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Demand_SP"
},
"enabled": false,
"transforms": [
{
"expression": "\u0027Demand SP: \u0027+ tostr({value})",
"type": "expression"
}
],
"type": "tag"
}
}
},
"props": {
"text": "Demand SP:"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"position": {
"grow": 1
},
"propConfig": {
"props.style.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/System_EnableCMD"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--callToAction)"
},
{
"input": false,
"output": "var(--neutral-90)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Demand_SP"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"fontSize": 14,
"textAlign": "left"
}
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.props.tag \u003d self.props.tag + 1\n\t"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button_0"
},
"position": {
"basis": "18%"
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"struct": {
"lineUpComplete": "tag({view.custom.tagPath}+\u0027/Status LineUp Complete\u0027)",
"mode": "tag({view.custom.tagPath}+\u0027/Control/Mode\u0027)",
"stageMode": "tag({view.custom.tagPath}+\u0027/Value Stage Mode\u0027)"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif value[\u0027mode\u0027]\u003d\u003dFalse and value[\u0027lineUpComplete\u0027]\u003d\u003dTrue and value[\u0027stageMode\u0027]\u003d\u003d0:\n\t\tdisplay \u003d True\n\telse:\n\t\tdisplay \u003d False\n\treturn display",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.image.icon": {
"persistent": false
},
"props.tag": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Demand_SP"
},
"type": "tag"
}
}
},
"props": {
"align": "stretch",
"image": {
"position": "right"
},
"style": {
"overflow": "hidden"
},
"text": "Up"
},
"type": "ia.input.button"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.props.tag \u003d self.props.tag - 1\n\t"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "18%"
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"struct": {
"lineUpComplete": "tag({view.custom.tagPath}+\u0027/Status LineUp Complete\u0027)",
"mode": "tag({view.custom.tagPath}+\u0027/Control/Mode\u0027)",
"stageMode": "tag({view.custom.tagPath}+\u0027/Value Stage Mode\u0027)"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif value[\u0027mode\u0027]\u003d\u003dFalse and value[\u0027lineUpComplete\u0027]\u003d\u003dTrue and value[\u0027stageMode\u0027]\u003d\u003d0:\n\t\tdisplay \u003d True\n\telse:\n\t\tdisplay \u003d False\n\treturn display",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.image.icon": {
"persistent": false
},
"props.tag": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Demand_SP"
},
"type": "tag"
}
}
},
"props": {
"image": {},
"style": {
"overflow": "hidden"
},
"text": "Dn"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Demand"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Operator Priority"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.custom.tag \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Accept",
"tooltip": {
"enabled": true
}
},
"position": {
"basis": "25%",
"shrink": 0
},
"propConfig": {
"custom.tag": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Accept"
},
"type": "tag"
}
},
"meta.tooltip.text": {
"binding": {
"config": {
"struct": {
"Cfg_DuplicateNum": "tag({view.custom.tagPath}+\u0027/Alarms/Alm_Cfg_DuplicateNumber\u0027)",
"Cfg_Error": "tag({view.custom.tagPath}+\u0027/Alarms/Alm_Cfg_Error\u0027)",
"authentication": "{session.props.auth.authenticated}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif not value[\u0027authentication\u0027]:\n\t\tText \u003d \u0027No user is logged in\u0027\n\telif value[\u0027Cfg_Error\u0027]:\n\t\tText \u003d \u0027Operator priority has a duplicate number. Number: \u0027 + str(value[\u0027Cfg_DuplicateNum\u0027])\n\telse:\n\t\tText \u003d \u0027\u0027\n\treturn Text",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.enabled": {
"binding": {
"config": {
"expression": "{session.props.auth.authenticated}\r\n\u0026\u0026 !tag({view.custom.tagPath}+\u0027/Alarms/Alarm Cfg Error\u0027)\r\n\u0026\u0026 !tag({view.custom.tagPath}+\u0027/Status LineUp Adjusting\u0027)\r\n"
},
"type": "expr"
}
}
},
"props": {
"style": {
"padding": "0 10px"
},
"text": "Accept"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Operator Priority"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"alignVertical": "top",
"text": "Rotation Control",
"textStyle": {
"fontWeight": "600",
"textAlign": "left"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Rotation Control"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"borderTop": "1px solid var(--border)",
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Auto/Manual"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.style.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Auto Mode"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--callToAction)"
},
{
"input": false,
"output": "var(--neutral-90)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath1": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath1}/Auto Mode"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "Auto"
},
{
"input": false,
"output": "Manual"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"fontSize": 14,
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "ToggleSwitch"
},
"position": {
"basis": "21%"
},
"propConfig": {
"props.selected": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Auto Mode"
},
"type": "tag"
}
}
},
"type": "ia.input.toggle-switch"
}
],
"meta": {
"name": "Rotation AutoMAn"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Rotation Type"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.style.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath1": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath1}/Rotation Type"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "var(--callToAction)"
},
{
"input": false,
"output": "var(--neutral-90)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Rotation Type"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "Positions"
},
{
"input": false,
"output": "Runtime"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"textStyle": {
"fontSize": 14,
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "ToggleSwitch"
},
"position": {
"basis": "21%"
},
"propConfig": {
"props.selected": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Rotation Type"
},
"type": "tag"
}
}
},
"type": "ia.input.toggle-switch"
}
],
"meta": {
"name": "Rotation Type"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Rotate Now"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.custom.tag \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Accept",
"tooltip": {
"enabled": true
}
},
"position": {
"basis": "25%",
"shrink": 0
},
"propConfig": {
"custom.tag": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/OCmd Rotate Now"
},
"type": "tag"
}
},
"meta.tooltip.text": {
"binding": {
"config": {
"struct": {
"authentication": "{session.props.auth.authenticated}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif not value[\u0027authentication\u0027]:\n\t\tText \u003d \u0027No user is logged in\u0027\n\telse:\n\t\tText \u003d \u0027\u0027\n\treturn Text",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.enabled": {
"binding": {
"config": {
"expression": "!tag({view.custom.tagPath1}+\u0027/Auto Mode\u0027)\r\n\u0026\u0026 tag({view.custom.tagPath}+\u0027/Status LineUp Complete\u0027)\r\n\r\n\r\n"
},
"type": "expr"
}
}
},
"props": {
"style": {
"padding": "0 10px"
},
"text": "Rotate"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Rotate Now"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Skip Rotation"
},
"type": "ia.display.label"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.custom.tag \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Accept",
"tooltip": {
"enabled": true
}
},
"position": {
"basis": "25%",
"shrink": 0
},
"propConfig": {
"custom.tag": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/OCmd Skip Rotation"
},
"type": "tag"
}
},
"meta.tooltip.text": {
"binding": {
"config": {
"struct": {
"Cfg_DuplicateNum": "tag({view.custom.tagPath}+\u0027/Alarms/Alm_Cfg_DuplicateNumber\u0027)",
"Cfg_Error": "tag({view.custom.tagPath}+\u0027/Alarms/Alm_Cfg_Error\u0027)",
"authentication": "{session.props.auth.authenticated}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif not value[\u0027authentication\u0027]:\n\t\tText \u003d \u0027No user is logged in\u0027\n\telif value[\u0027Cfg_Error\u0027]:\n\t\tText \u003d \u0027Operator priority has a duplicate number. Number: \u0027 + str(value[\u0027Cfg_DuplicateNum\u0027])\n\telse:\n\t\tText \u003d \u0027\u0027\n\treturn Text",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.enabled": {
"binding": {
"config": {
"expression": "\r\ntag({view.custom.tagPath1}+\u0027/Rotation Aproaching\u0027)\r\n"
},
"type": "expr"
}
}
},
"props": {
"style": {
"padding": "0 10px"
},
"text": "Skip"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Skip rotation"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"grow": 1
},
"props": {
"direction": "column",
"style": {
"borderRight": "1px solid var(--border)",
"gap": "10px",
"padding": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Controls"
},
"position": {
"basis": "263px",
"grow": 1
},
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "40px",
"shrink": 0
},
"props": {
"style": {
"border-bottom": "1px solid var(--border)"
},
"text": "Config",
"textStyle": {
"classes": "labels/section-title",
"text-indent": "10px"
}
},
"type": "ia.display.label"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Stage Up Delay SP"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Stage Up Delay Setpoint"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_StageUpDelaySP"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Stage Down Delay SP"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Stage Down Delay Setpoint"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_StageDownDelaySP"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Transition Delay SP"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Transition Delay Setpoint"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_TransitionDelaySP"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Off Delay SP"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Off Delay Setpoint"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_OffDelaySP"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Max Demand"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Max Demand"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_MaxDemand"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Min Demand"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Min Demand"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_MinDemand"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Fail to Run Delay"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Fail To Run Setpoint"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_FTR_SP"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Fail to Stop Delay"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField"
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Config/Fail To Stop Setpoint"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_FTS_SP"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"alignVertical": "top",
"text": "Rotation Config",
"textStyle": {
"fontWeight": "600",
"textAlign": "left"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "Rotation Control"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"borderTop": "1px solid var(--border)",
"gap": "10px",
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Hour Rotate"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Hour"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField",
"tooltip": {
"enabled": true,
"text": "1\u003d1am ... 13\u003d1pm, etc."
}
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Cfg Hour Rotate"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_Hour_Rotate"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Day of Week"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Day of Week"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField",
"tooltip": {
"enabled": true,
"text": "1\u003dMonday, 2\u003dTuesday ... 7\u003dSunday."
}
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Cfg DayOfWeek Rotate"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_DayOfWeek_Rotate"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Day of Week"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"text": "Number Of Weeks"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "NumericEntryField",
"tooltip": {
"enabled": true,
"text": "1\u003dWeekly, 2\u003dBiWeekly, etc."
}
},
"position": {
"basis": "50px",
"shrink": 0
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath1}"
},
"tagPath": "{tagPath}/Cfg Num Weeks Rotate"
},
"type": "tag"
}
}
},
"props": {
"spinner": {
"enabled": false
},
"style": {
"margin-right": "auto"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "Cfg_NumberOfWeeks_Rotate"
},
"position": {
"shrink": 0
},
"props": {
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"grow": 1
},
"props": {
"direction": "column",
"style": {
"borderRight": "1px solid var(--border)",
"gap": "10px",
"padding": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Config"
},
"position": {
"basis": "290px",
"grow": 1
},
"props": {
"direction": "column",
"style": {
"overflow": "hidden"
},
"wrap": "wrap"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"shrink": 0
},
"type": "ia.container.flex"
},
{
"events": {
"component": {
"onEditCellCommit": {
"config": {
"script": "\tvalueToSet \u003d int(event.value)\n\teventRow \u003d int(event.row)\n\tself.props.data[event.row][event.column] \u003d valueToSet\n\ttagPath \u003d self.view.custom.tagPath + \u0027/Control/ORef_Devices\u0027 #\"[Ignition_Common_IO_Gtwy]CHWS/Chiller_LLS/Control/ORef_Devices\"\n\t\n\tav \u003d system.tag.readBlocking([tagPath])[0].value\n\tav[eventRow] \u003d valueToSet\n\tsystem.tag.writeBlocking([tagPath], [av])\n\t"
},
"scope": "G",
"type": "script"
},
"onEditCellStart": {
"config": {
"script": "\tself.custom.clear()"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Table"
},
"position": {
"basis": "400px",
"grow": 1
},
"propConfig": {
"props.columns": {
"persistent": true
},
"props.data": {
"binding": {
"config": {
"struct": {
"nUnits": "{view.custom.nUnits}",
"oPriority": "{view.custom.operatorPriority}",
"priority": "{view.custom.priority}",
"runtime": "{view.custom.runtime}",
"status": "{view.custom.statusBinary}",
"statusTranslation": "{view.custom.statusTranslation}"
},
"waitOnAll": false
},
"transforms": [
{
"code": "\toutput \u003d []\n\tfor i, priority in enumerate(value[\u0027priority\u0027]):\n\t\tchillerName \u003d \u0027ASP {}\u0027.format(i+1)\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\u0027available\u0027: {\n\t\t\t\t\t\u0027value\u0027: value[\u0027statusTranslation\u0027][0].value[value[\u0027status\u0027][i][0]], # available\n\t\t\t\t\t\u0027style\u0027: {\n\t\t\t\t\t\t\u0027backgroundColor\u0027: \u0027transparent\u0027 if value[\u0027status\u0027][i][0] \u003d\u003d 1 else \u0027var(--input--disabled)\u0027\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\u0027running\u0027: {\n\t\t\t\t\t\u0027value\u0027: value[\u0027statusTranslation\u0027][1].value[value[\u0027status\u0027][i][1]], # running\n\t\t\t\t\t\u0027style\u0027: {\n\t\t\t\t\t\t\u0027backgroundColor\u0027: \u0027transparent\u0027 if value[\u0027status\u0027][i][1] \u003d\u003d 1 else \u0027var(--input--disabled)\u0027\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\u0027failed\u0027: {\n\t\t\t\t\t\u0027value\u0027: value[\u0027statusTranslation\u0027][2].value[value[\u0027status\u0027][i][2]], # failed\n\t\t\t\t\t\u0027style\u0027: {\n\t\t\t\t\t\t\u0027backgroundColor\u0027: \u0027transparent\u0027 if value[\u0027status\u0027][i][2] \u003d\u003d 0 else \u0027var(--error)\u0027\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\u0027priority\u0027: value[\u0027priority\u0027][i], # priority\n\t\t\t\t\u0027oPriority\u0027: {\u0027value\u0027:value[\u0027oPriority\u0027][i], \u0027editable\u0027: True}, # oPriority\n\t\t\t\t\u0027runtime\u0027: value[\u0027runtime\u0027][i], #runtime\n\t\t\t\t\u0027reset\u0027:\u0027[Ignition_Common_IO_Gtwy]RT_Tags/ASP/ASP%s_RT_Reset\u0027%(i+1)\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 output",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.data[0].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[0]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[10].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[10]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[11].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[11]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[12].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[12]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[13].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[13]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[14].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[14]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[15].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[15]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[16].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[16]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[17].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[17]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[18].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[18]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[19].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[19]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[1].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[1]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[20].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[20]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[21].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[21]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[22].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[22]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[23].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[23]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[24].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[24]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[25].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[25]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[26].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[26]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[27].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[27]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[28].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[28]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[29].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[29]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[2].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[2]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[30].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[30]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[31].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[31]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[32].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[32]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[33].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[33]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[34].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[34]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[35].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[35]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[36].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[36]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[37].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[37]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[38].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[38]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[39].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[39]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[3].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[3]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[40].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[40]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[41].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[41]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[42].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[42]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[43].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[43]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[44].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[44]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[45].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[45]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[46].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[46]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[47].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[47]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[4].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[4]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[5].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[5]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[6].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[6]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[7].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[7]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[8].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[8]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.data[9].oPriority.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.custom.tagPath}"
},
"tagPath": "{tagPath}/Control/ORef_Devices[9]"
},
"overlayOptOut": true,
"type": "tag"
}
},
"props.pager.bottom": {
"binding": {
"config": {
"expression": "len({this.props.data}) \u003e {this.props.pager.initialOption}"
},
"enabled": false,
"type": "expr"
}
}
},
"props": {
"cells": {
"allowEditOn": "single-click"
},
"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": true,
"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": {
"border-right": "1px solid var(--border)",
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "available",
"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": "Available"
},
"justify": "center",
"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": {
"border-right": "1px solid var(--border)",
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "running",
"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": "Running"
},
"justify": "center",
"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": {
"border-right": "1px solid var(--border)",
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "failed",
"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": "Failed"
},
"justify": "center",
"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": {
"border-right": "1px solid var(--border)",
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"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": ""
},
"justify": "center",
"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": "oPriority",
"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": "center",
"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": {
"border-left": "1px solid var(--border)",
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "runtime",
"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": "center",
"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": {
"border-left": "1px solid var(--border)",
"border-right": "1px solid var(--border)",
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "reset",
"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": "center",
"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": true,
"strictWidth": false,
"style": {
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "Library/CommonObjects/resetButton",
"visible": true,
"width": ""
}
],
"dragOrderable": false,
"enableHeader": false,
"enableHeaderGroups": true,
"headerGroups": [
[
{
"align": "center",
"justify": "left",
"span": 1,
"style": {
"borderRight": "1px solid var(--border)",
"classes": "",
"text-indent": "10px"
},
"title": "Chiller"
},
{
"align": "center",
"justify": "left",
"span": 3,
"style": {
"borderRight": "1px solid var(--border)",
"classes": "",
"text-indent": "10px"
},
"title": "Status"
},
{
"align": "center",
"justify": "left",
"span": 1,
"style": {
"borderRight": "1px solid var(--border)",
"classes": "",
"text-indent": "10px"
},
"title": "Priority"
},
{
"align": "center",
"justify": "left",
"span": 1,
"style": {
"borderRight": "1px solid var(--border)",
"classes": "",
"text-indent": "10px"
},
"title": "Operator Priority"
},
{
"align": "center",
"justify": "left",
"span": 1,
"style": {
"borderRight": "1px solid var(--border)",
"classes": "",
"text-indent": "10px"
},
"title": "Runtime Hrs"
},
{
"align": "center",
"justify": "left",
"span": 1,
"style": {
"borderRight": "1px solid var(--border)",
"classes": "",
"text-indent": "10px"
},
"title": "Runtime Reset"
}
]
],
"pager": {
"bottom": false,
"initialOption": 48
},
"rows": {
"striped": {
"color": {
"even": "#FFFFFF",
"odd": "#F4F4F4"
}
},
"style": {
"borderBottomColor": "#ADA7A7",
"borderBottomStyle": "solid",
"borderBottomWidth": 0.1
},
"subviewExpansionMode": "single"
},
"selection": {
"enableColumnSelection": true
},
"style": {
"marginBottom": 5
},
"virtualized": false
},
"type": "ia.display.table"
}
],
"events": {
"dom": {
"onDoubleClick": {
"config": {
"script": "\ttable \u003d self.getChild(\"Table\")\n\tdata \u003d table.props.data\n\tpriorityTagPath \u003d self.view.custom.tagPath + \u0027/Ref_Chillers\u0027\n\toPriorityTagPath \u003d self.view.custom.tagPath + \u0027/ORef_Chillers\u0027\n\tpriority \u003d []\n\tfor i, rowData in enumerate(data):\n\t\toPriority \u003d rowData[\u0027oPriority\u0027]\n\t\tpriority.append(oPriority)\n\t\n\tdef myCallback(asyncReturn):\n\t for result in asyncReturn:\n\t # Do something if a bad qualified value was returned\n\t if not result.good:\n\t system.perspective.print(repr([\u0027result\u0027, result]))\n\t\n\tsystem.perspective.print(repr([\u0027priority\u0027, priority]))\n\tsystem.tag.writeBlocking([priorityTagPath, oPriorityTagPath], [priority, priority])\n\tself.view.custom.editPriority \u003d False"
},
"enabled": false,
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root"
},
"props": {
"direction": "column"
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "setONOFFBtn",
"pageScope": false,
"script": "\tenablePath \u003d self.view.custom.tagPath + \u0027/Control/System_EnableCMD\u0027\n\tenableTag \u003d system.tag.readBlocking([enablePath])[0].value\n\tif enableTag\u003d\u003dTrue:\n\t\tsystem.tag.writeBlocking([enablePath], [False])\n\telse:\n\t\tsystem.tag.writeAsync([enablePath], [True])\n\t\t\n\tsystem.perspective.closePopup(\u0027alertDialog\u0027)",
"sessionScope": true,
"viewScope": false
},
{
"messageType": "CloseAlertDialog",
"pageScope": false,
"script": "\n\tsystem.perspective.closePopup(\u0027alertDialog\u0027)",
"sessionScope": true,
"viewScope": false
}
]
},
"type": "ia.container.flex"
}
}