3362 lines
157 KiB
Plaintext
3362 lines
157 KiB
Plaintext
{
|
|
"custom": {
|
|
"PLC_list": [
|
|
"MCM01",
|
|
"MCM02"
|
|
],
|
|
"state": 0
|
|
},
|
|
"params": {
|
|
"tagProps": [
|
|
"System/MCM01/MCM01",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value"
|
|
]
|
|
},
|
|
"propConfig": {
|
|
"custom.PLC_list": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]Configuration/PLC"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tdevices \u003d system.util.jsonDecode(value)\n\tplcList \u003d []\n\tfor k in devices.keys():\n\t\tplcList.append(k)\n\t\t\n\treturn(sorted(set(plcList)))\n",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.state": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if(isNull({value}), 0, {value})",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": null,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 3,
|
|
"output": 3
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": 2
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": 1
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": 0
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.tagProps": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"width": 400
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\u0027Source ID: \u0027 + {view.params.tagProps[0]}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "#FFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"fontWeight": "bold",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tsystem.perspective.closeDock(\u0027Docked-East-MCM\u0027)\n\tself.getSibling(\"tabs\").props.currentTabIndex \u003d 0"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Icon",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"style": {
|
|
"cursor": "pointer"
|
|
},
|
|
"text": "Close faceplate"
|
|
}
|
|
},
|
|
"props": {
|
|
"path": "material/close",
|
|
"style": {
|
|
"cursor": "pointer",
|
|
"marginBottom": 5,
|
|
"marginLeft": 5,
|
|
"marginRight": 5,
|
|
"marginTop": 5
|
|
}
|
|
},
|
|
"type": "ia.display.icon"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "30px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "hidden"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "32px",
|
|
"display": false
|
|
},
|
|
"propConfig": {
|
|
"position.display": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({../AlarmTable.props.params.length_of_table_data} \u003d 0, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Labels/Label_1",
|
|
"marginTop": 20
|
|
},
|
|
"text": "No Active Alarms"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "AlarmStatusTable"
|
|
},
|
|
"position": {
|
|
"basis": "400px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.filters.active.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagProps[0]"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn value[1:]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"columns": {
|
|
"active": {
|
|
"displayPath": {
|
|
"enabled": false
|
|
},
|
|
"priority": {
|
|
"enabled": false
|
|
},
|
|
"source": {
|
|
"enabled": false
|
|
},
|
|
"state": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
},
|
|
"filters": {
|
|
"active": {
|
|
"priorities": {
|
|
"critical": false,
|
|
"high": false,
|
|
"low": false,
|
|
"medium": false
|
|
},
|
|
"states": {
|
|
"clearUnacked": false
|
|
}
|
|
}
|
|
},
|
|
"refreshRate": 500,
|
|
"toolbar": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"type": "ia.display.alarmstatustable"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Active_tab"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "NAME"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "DeviceName"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagProps[0]"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": " return value.rsplit(\u0027/\u0027, 1)[-1]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"overflow": "hidden"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "MOTOR FAULT"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Motor Fault"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Motor_Fault"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "MOTOR FAULTED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "MOTOR NOT FAULTED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "MOTOR FAULTED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "MOTOR NOT FAULTED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Motor Fault"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "JAM FAULT"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Jam Fault"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Jam_Fault"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "JAM FAULTED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "JAM NOT FAULTED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "JAM FAULTED",
|
|
"output": "#FFC000"
|
|
},
|
|
{
|
|
"input": "JAM NOT FAULTED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Jam Fault"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "FIRE RELAY DE ENERGIZED"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Fire Relay De Energized"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Fire_Relay_De_Energized"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "DE ENERGIZED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "NOT DE ENERGIZED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "DE ENERGIZED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "NOT DE ENERGIZED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Fire Relay De Energized"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "ESTOPPED"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Estopped"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/EStopped"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "ESTOPPED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "NOT ESTOPPED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "ESTOPPED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "NOT ESTOPPED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Estopped"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "ESTOPPED LOCALLY"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Estopped Locally"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/EStopped_Locally"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "ESTOPPED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "NOT ESTOPPED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "ESTOPPED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "NOT ESTOPPED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Estopped Locally"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "STOPPED"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Stopped"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Stopped"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "STOPPED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "NOT STOPPED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "STOPPED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "NOT STOPPED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Stopped"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "NAT SWITCH FAULT"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "NAT Switch Fault"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/NAT_Switch_Fault"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "SWITCH FAULTED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "SWITCH NOT FAULTED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "SWITCH FAULTED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "SWITCH NOT FAULTED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "NAT Switch Fault"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "ON UPS BATTERY"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "On UPS Battery"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/On_UPS_Battery"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "ON UPS BATTERY"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "NOT ON UPS BATTERY"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "NOT ON UPS BATTERY",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "NOT ON UPS BATTERY",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "On UPS Battery"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "UPS BATTERY FAULT"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "UPS Battery Fault"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Battery_Fault"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "BATTERY FAULTED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "BATTERY NOT FAULTED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "BATTERY FAULTED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "BATTERY NOT FAULTED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "UPS Battery Fault"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "UPS BATTERY LOW"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "UPS Battery Low"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Battery_Low"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "BATTERY LOW"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "BATTERY NOT LOW"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "BATTERY LOW",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "BATTERY NOT LOW",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "UPS Battery Low"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "UPS BATTERY ON"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "UPS Battery On"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Battery_On"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "ON"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "OFF"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "ON",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "OFF",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "UPS Battery On"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Name"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"paddingLeft": 20
|
|
},
|
|
"text": "UPS FAULT"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "UPS Fault"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#D5D5D5",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UNKNOWN",
|
|
"output": "#FFFFFF"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/UPS_Fault"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"UNKNOWN\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "UNKNOWN",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "UPS FAULTED"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "UPS NOT FAULTED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.textStyle.color": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.props.text"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "#000000",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "UPS FAULTED",
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": "UPS NOT FAULTED",
|
|
"output": "#47FF47"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Property"
|
|
},
|
|
"position": {
|
|
"basis": "35px",
|
|
"shrink": 2
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "UPS Fault"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Info_tab"
|
|
},
|
|
"position": {
|
|
"tabIndex": 1
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"margin-left": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Start_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Start_PB_Color"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"#006400\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "#006400",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#C2C2C2"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FFA500"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#0008FF"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#00FF00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#FFF700"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#87CEEB"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#90EE90"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#964B00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#000000"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#8B0000"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#8B8000"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#006400"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFFFC5"
|
|
},
|
|
{
|
|
"input": 16,
|
|
"output": "#00008B"
|
|
},
|
|
{
|
|
"input": 17,
|
|
"output": "#FF7276"
|
|
},
|
|
{
|
|
"input": 18,
|
|
"output": "#556B2F"
|
|
},
|
|
{
|
|
"input": 19,
|
|
"output": "#B43434"
|
|
},
|
|
{
|
|
"input": 20,
|
|
"output": "#4682B4"
|
|
},
|
|
{
|
|
"input": 21,
|
|
"output": "#FFD700"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"path": "material/not_started"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
},
|
|
"text": "START"
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Start"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Stop_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BB5050\",\r\n if(\r\n {this.props.text} \u003d \"STOP PRESSED\",\r\n \"#FF0000\",\r\n if(\r\n {this.props.text} \u003d \"STOP\",\r\n \"#CA0D0D\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Stop_PB"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "STOP",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "STOPPED"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"path": "material/stop_circle"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Stop"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Motor_Fault_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Motor_Fault_Reset_PB_Color"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"#FFF700\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "#FFF700",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#C2C2C2"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FFA500"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#0008FF"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#00FF00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#FFF700"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#87CEEB"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#90EE90"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#964B00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#000000"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#8B0000"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#8B8000"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#006400"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFFFC5"
|
|
},
|
|
{
|
|
"input": 16,
|
|
"output": "#00008B"
|
|
},
|
|
{
|
|
"input": 17,
|
|
"output": "#FF7276"
|
|
},
|
|
{
|
|
"input": 18,
|
|
"output": "#556B2F"
|
|
},
|
|
{
|
|
"input": 19,
|
|
"output": "#B43434"
|
|
},
|
|
{
|
|
"input": 20,
|
|
"output": "#4682B4"
|
|
},
|
|
{
|
|
"input": 21,
|
|
"output": "#FFD700"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"color": "#000000",
|
|
"path": "material/refresh"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
},
|
|
"text": "MOTOR FAULT RESET",
|
|
"textStyle": {
|
|
"color": "#000000"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Motor Fault Reset"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Power_Branch_Fault_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Power_Branch_Fault_Reset_PB_Color"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"#FFF700\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "#FFF700",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#C2C2C2"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FFA500"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#0008FF"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#00FF00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#FFF700"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#87CEEB"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#90EE90"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#964B00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#000000"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#8B0000"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#8B8000"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#006400"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFFFC5"
|
|
},
|
|
{
|
|
"input": 16,
|
|
"output": "#00008B"
|
|
},
|
|
{
|
|
"input": 17,
|
|
"output": "#FF7276"
|
|
},
|
|
{
|
|
"input": 18,
|
|
"output": "#556B2F"
|
|
},
|
|
{
|
|
"input": 19,
|
|
"output": "#B43434"
|
|
},
|
|
{
|
|
"input": 20,
|
|
"output": "#4682B4"
|
|
},
|
|
{
|
|
"input": 21,
|
|
"output": "#FFD700"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"color": "#000000",
|
|
"path": "material/power"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
},
|
|
"text": "POWER BRANCH FAULT",
|
|
"textStyle": {
|
|
"color": "#000000"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Power Branch Fault Reset"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Low_Air_Pressure_Reset_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Low_Air_Pressure_Reset_PB_Color"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"#00008B\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "#00008B",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#C2C2C2"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FFA500"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#0008FF"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#00FF00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#FFF700"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#87CEEB"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#90EE90"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#964B00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#000000"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#8B0000"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#8B8000"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#006400"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFFFC5"
|
|
},
|
|
{
|
|
"input": 16,
|
|
"output": "#00008B"
|
|
},
|
|
{
|
|
"input": 17,
|
|
"output": "#FF7276"
|
|
},
|
|
{
|
|
"input": 18,
|
|
"output": "#556B2F"
|
|
},
|
|
{
|
|
"input": 19,
|
|
"output": "#B43434"
|
|
},
|
|
{
|
|
"input": 20,
|
|
"output": "#4682B4"
|
|
},
|
|
{
|
|
"input": 21,
|
|
"output": "#FFD700"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"path": "material/waves"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
},
|
|
"text": "LOW AIR PRESSURE RESET"
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Low Air Pressure Reset"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Jam_Restart_PB\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Jam_Restart_PB_Color"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},\"#C2C2C2\")",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "#C2C2C2",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "#C2C2C2"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "#FF0000"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "#FFA500"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "#0008FF"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "#00FF00"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "#FFF700"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "#87CEEB"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "#90EE90"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "#964B00"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "#FFFFFF"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "#000000"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "#8B0000"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "#808080"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "#8B8000"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "#006400"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "#FFFFC5"
|
|
},
|
|
{
|
|
"input": 16,
|
|
"output": "#00008B"
|
|
},
|
|
{
|
|
"input": 17,
|
|
"output": "#FF7276"
|
|
},
|
|
{
|
|
"input": 18,
|
|
"output": "#556B2F"
|
|
},
|
|
{
|
|
"input": 19,
|
|
"output": "#B43434"
|
|
},
|
|
{
|
|
"input": 20,
|
|
"output": "#4682B4"
|
|
},
|
|
{
|
|
"input": 21,
|
|
"output": "#FFD700"
|
|
}
|
|
],
|
|
"outputType": "color",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"color": "#000000",
|
|
"path": "material/sync_problem"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
},
|
|
"text": "JAM RESTART",
|
|
"textStyle": {
|
|
"color": "#000000"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Jam Restart"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/Setup_Motor_Speeds\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "80px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Setup_Motor_Speeds"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {value} \u003d 1,\r\n \"#AAAAAA\",\r\n \"#FFFFFF\"\r\n )\r\n)\r\n",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"image": {
|
|
"icon": {
|
|
"color": "#000000",
|
|
"path": "material/speed"
|
|
}
|
|
},
|
|
"style": {
|
|
"classes": "Background-Styles/Controller"
|
|
},
|
|
"text": "SETUP MOTOR SPEEDS",
|
|
"textStyle": {
|
|
"color": "#000000"
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Setup Motor Speeds"
|
|
},
|
|
"position": {
|
|
"basis": "35px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "PopUp-Styles/InfoLabel",
|
|
"padding": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "100px",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"gap": 6,
|
|
"paddingBottom": 20,
|
|
"paddingLeft": 10,
|
|
"paddingRight": 10,
|
|
"paddingTop": 13
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Commands_tab"
|
|
},
|
|
"position": {
|
|
"tabIndex": 2
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"paddingTop": 1
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "tabs"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"currentTabIndex": 2,
|
|
"menuType": "modern",
|
|
"tabSize": {
|
|
"width": 1000
|
|
},
|
|
"tabStyle": {
|
|
"active": {
|
|
"classes": "",
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"fontWeight": "bold",
|
|
"paddingLeft": 10
|
|
},
|
|
"inactive": {
|
|
"classes": "",
|
|
"color": "#B8B8B8",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"fontWeight": "bold",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"tabs": [
|
|
"Alarms",
|
|
"Info",
|
|
"Commands"
|
|
]
|
|
},
|
|
"type": "ia.container.tab"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_1"
|
|
},
|
|
"position": {
|
|
"basis": "670px",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"border-top": "1px solid white",
|
|
"gap": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "800px",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"classes": "Buttons/Button-Menu"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |