Updated SCADA
This commit is contained in:
parent
fc0f4f5c14
commit
4fe3f05eec
@ -1,14 +1,9 @@
|
|||||||
{
|
{
|
||||||
"custom": {
|
"custom": {
|
||||||
"PLC_list": [
|
"MCM": "MCM01",
|
||||||
"MCM01",
|
"PLC_list": null,
|
||||||
"MCM02",
|
"color": "#C2C2C2",
|
||||||
"MCM03",
|
"state": "Closed"
|
||||||
"MCM04",
|
|
||||||
"MCM05"
|
|
||||||
],
|
|
||||||
"color": "#FF0000",
|
|
||||||
"state": "VFD Reset Required"
|
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"tagProps": [
|
"tagProps": [
|
||||||
@ -25,6 +20,21 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"propConfig": {
|
"propConfig": {
|
||||||
|
"custom.MCM": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"path": "view.custom.MCM"
|
||||||
|
},
|
||||||
|
"transforms": [
|
||||||
|
{
|
||||||
|
"code": "\tbaseTag \u003d self.view.params.tagProps[0]\n\tparts \u003d baseTag.split(\"/\")\n\tmcm \u003d parts[1] if len(parts) \u003e 1 else None\n\treturn mcm",
|
||||||
|
"type": "script"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "property"
|
||||||
|
},
|
||||||
|
"persistent": true
|
||||||
|
},
|
||||||
"custom.PLC_list": {
|
"custom.PLC_list": {
|
||||||
"binding": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
@ -1880,18 +1890,55 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "NumericEntryField"
|
"name": "NumericEntryField",
|
||||||
|
"tooltip": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"basis": "150px"
|
"basis": "150px"
|
||||||
},
|
},
|
||||||
"propConfig": {
|
"propConfig": {
|
||||||
|
"meta.tooltip.text": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"path": "this.props.enabled"
|
||||||
|
},
|
||||||
|
"transforms": [
|
||||||
|
{
|
||||||
|
"fallback": "Turn on Setup Motor Speeds from MCM",
|
||||||
|
"inputType": "scalar",
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"input": true,
|
||||||
|
"output": "Setup Motor Speeds"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputType": "scalar",
|
||||||
|
"type": "map"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "property"
|
||||||
|
}
|
||||||
|
},
|
||||||
"props.enabled": {
|
"props.enabled": {
|
||||||
"binding": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
"expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0"
|
"fallbackDelay": 2.5,
|
||||||
|
"mode": "indirect",
|
||||||
|
"references": {
|
||||||
|
"0": "{view.custom.MCM}",
|
||||||
|
"fc": "{session.custom.fc}"
|
||||||
|
},
|
||||||
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]System/{0}/{0}/Setup_Motor_Speeds"
|
||||||
},
|
},
|
||||||
"type": "expr"
|
"transforms": [
|
||||||
|
{
|
||||||
|
"expression": "coalesce({value},{view.params.forceFaultStatus}, false)",
|
||||||
|
"type": "expression"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"props.value": {
|
"props.value": {
|
||||||
@ -2767,7 +2814,7 @@
|
|||||||
"grow": 1
|
"grow": 1
|
||||||
},
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"currentTabIndex": 1,
|
"currentTabIndex": 2,
|
||||||
"menuType": "modern",
|
"menuType": "modern",
|
||||||
"tabSize": {
|
"tabSize": {
|
||||||
"width": 1000
|
"width": 1000
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user