264 lines
6.6 KiB
Plaintext
264 lines
6.6 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"alwaysShowAll": false,
|
|
"isClickable": true,
|
|
"tagPath": ""
|
|
},
|
|
"propConfig": {
|
|
"params.alwaysShowAll": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.isClickable": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 110,
|
|
"width": 66
|
|
},
|
|
"loading": {
|
|
"mode": "blocking"
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Conveyor"
|
|
},
|
|
"position": {
|
|
"height": 30,
|
|
"rotate": {
|
|
"anchor": "0 0",
|
|
"angle": "90deg"
|
|
},
|
|
"width": 102,
|
|
"x": 56,
|
|
"y": 1
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Conv/Graphics"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"config": {
|
|
"type": "chute"
|
|
}
|
|
},
|
|
"type": "dex.display.conveyor"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "BCN1_AMB"
|
|
},
|
|
"position": {
|
|
"height": 16,
|
|
"width": 16,
|
|
"x": 5,
|
|
"y": 62
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/BCN1/AMB/Graphics"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"type": "dex.display.beacon"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "RS1"
|
|
},
|
|
"position": {
|
|
"height": 20,
|
|
"width": 20,
|
|
"x": 1,
|
|
"y": 82
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/RS1/Restart/Graphics"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"type": "dex.display.pushbutton"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Half_PE"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"rotate": {
|
|
"anchor": "0 0",
|
|
"angle": "180deg"
|
|
},
|
|
"width": 43,
|
|
"x": 65,
|
|
"y": 79
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Half_PE/Graphics"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"type": "dex.display.photoeye"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "BCN1_BLU"
|
|
},
|
|
"position": {
|
|
"height": 16,
|
|
"width": 16,
|
|
"x": 5,
|
|
"y": 47
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/BCN1/BLU/Graphics"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"type": "dex.display.beacon"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Full_PE"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"rotate": {
|
|
"anchor": "0 0",
|
|
"angle": "180deg"
|
|
},
|
|
"width": 43,
|
|
"x": 65,
|
|
"y": 56
|
|
},
|
|
"propConfig": {
|
|
"props.status": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Full_PE/Graphics"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"type": "dex.display.photoeye"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"propConfig": {
|
|
"props.style.transform": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.mirror"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": null,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "scale(-1, 1)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "hidden"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"customMethods": [
|
|
{
|
|
"name": "openPopup",
|
|
"params": [],
|
|
"script": "\tif self.view.params.isClickable:\n\t\tid \u003d \"DivChute|\" + self.view.params.tagPath\n\t\ttitle \u003d utils.prettyName(self.view.params.tagPath.split(\"/\")[-1])\n\t\tparams \u003d { \n\t\t\t\"deviceType\": \"divchute\",\n\t\t\t\"props\": { \n\t\t\t\t\"config\": {\n\t\t\t\t\t\"alwaysShowAll\": self.view.params.alwaysShowAll,\n\t\t\t\t\t\"isClickable\": self.view.params.isClickable,\n\t\t\t\t\t#\"rotate\": self.view.params.rotate,\n\t\t\t\t\t\"mirror\": self.view.params.mirror\n\t\t\t\t},\n\t\t\t\t\"status\": {\n\t\t\t\t\t\"tagPath\": self.view.params.tagPath\n\t\t\t\t}\n\t\t \t},\n\t\t \t\"tabs\": [\"Controls\", \"Alarm History\", \"Devices\"]\t\t\n\t\t}\n\t\tsystem.perspective.openPopup(id, \"Popups/DeviceWrapper\", params, title, resizable \u003d True)"
|
|
}
|
|
],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": []
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |