Updated SCADA
This commit is contained in:
parent
fc0f4f5c14
commit
4fe3f05eec
@ -1,14 +1,9 @@
|
||||
{
|
||||
"custom": {
|
||||
"PLC_list": [
|
||||
"MCM01",
|
||||
"MCM02",
|
||||
"MCM03",
|
||||
"MCM04",
|
||||
"MCM05"
|
||||
],
|
||||
"color": "#FF0000",
|
||||
"state": "VFD Reset Required"
|
||||
"MCM": "MCM01",
|
||||
"PLC_list": null,
|
||||
"color": "#C2C2C2",
|
||||
"state": "Closed"
|
||||
},
|
||||
"params": {
|
||||
"tagProps": [
|
||||
@ -25,6 +20,21 @@
|
||||
]
|
||||
},
|
||||
"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": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@ -1880,18 +1890,55 @@
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "NumericEntryField"
|
||||
"name": "NumericEntryField",
|
||||
"tooltip": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"position": {
|
||||
"basis": "150px"
|
||||
},
|
||||
"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": {
|
||||
"binding": {
|
||||
"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": {
|
||||
@ -2767,7 +2814,7 @@
|
||||
"grow": 1
|
||||
},
|
||||
"props": {
|
||||
"currentTabIndex": 1,
|
||||
"currentTabIndex": 2,
|
||||
"menuType": "modern",
|
||||
"tabSize": {
|
||||
"width": 1000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user