229 lines
7.4 KiB
Plaintext
229 lines
7.4 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"Count": 2,
|
|
"RightLeft": false,
|
|
"tagPath": "Chute_3"
|
|
},
|
|
"propConfig": {
|
|
"params.Count": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.RightLeft": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 10,
|
|
"width": 32
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Induct_blue"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 10,
|
|
"x": 11
|
|
},
|
|
"propConfig": {
|
|
"meta.visible": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{this.props.params.Visibility} || {session.custom.show.Beacons}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.Visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if (tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Full50\") \u003d false \u0026\u0026 tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Full\") \u003d false, false, true)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.bool": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if (tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Full50\") \u0026\u0026 tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Full\") \u003d false,\r\n\t\ttrue,\r\n\tif (tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Full\") \u0026\u0026 tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Full50\") \u003d false,\r\n\t\tif(getSecond(now()) % 2 \u003d 1,\r\n\t\ttrue,\r\n\t\tfalse \r\n\t\t), \r\n\t\tfalse \r\n\t)\r\n)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.tagPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagPath"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"ASdata": "BeaconChuteB",
|
|
"Browser": "Amazon",
|
|
"Color": 13,
|
|
"DeviceType": "Beacon",
|
|
"FolderPath": "Status/Lane Status/",
|
|
"Font-size": 7,
|
|
"Text": "B",
|
|
"Vendor": "Interroll"
|
|
},
|
|
"path": "Templates/Interroll/Beacon"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Beacon_amber"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 10
|
|
},
|
|
"propConfig": {
|
|
"meta.visible": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{view.params.Count} \u003d 3 "
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"position.x": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({view.params.Count} \u003d 3\t\u0026\u0026 {view.params.RightLeft},\r\n\t22,\r\nif ({view.params.Count} \u003d 3\t\u0026\u0026 {view.params.RightLeft} \u003d false,\r\n\t0,\r\n\t0))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.Visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if (tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Jam\") \u003d false \u0026\u0026 tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/PEJam\") \u003d false, false, true)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.bool": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if (tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Jam\") \u0026\u0026 tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/PEJam\") \u003d false,\r\n\t\ttrue,\r\n\tif (tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/PEJam\") \u0026\u0026 tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Jam\"),\r\n\t\tif(getSecond(now()) % 2 \u003d 1,\r\n\t\ttrue,\r\n\t\tfalse \r\n\t\t), \r\n\t\tfalse \r\n\t)\r\n)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.tagPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagPath"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"ASdata": "BeaconChuteA",
|
|
"Browser": "Amazon",
|
|
"Color": 13,
|
|
"DeviceType": "Beacon",
|
|
"FolderPath": "Status/Lane Status/",
|
|
"Font-size": 7,
|
|
"Text": "A",
|
|
"Vendor": "Interroll"
|
|
},
|
|
"path": "Templates/Interroll/Beacon"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Induct_green"
|
|
},
|
|
"position": {
|
|
"height": 10,
|
|
"width": 10
|
|
},
|
|
"propConfig": {
|
|
"meta.visible": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{session.custom.show.Beacons}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"position.x": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({view.params.RightLeft} \u003d true,\r\n\t0,\r\n\t22)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.Visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({this.props.params.bool}, true, false)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.bool": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "tag(\"[\"+{this.props.params.Browser}+\"]\"+{this.props.params.FolderPath}+{this.props.params.tagPath}+\"/Suspended\") \u003d 0"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.params.tagPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagPath"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"ASdata": "BeaconChuteG",
|
|
"Browser": "Amazon",
|
|
"Color": 10,
|
|
"DeviceType": "Beacon",
|
|
"FolderPath": "Status/Lane Status/",
|
|
"Font-size": 7,
|
|
"Text": "G",
|
|
"Vendor": "Interroll"
|
|
},
|
|
"path": "Templates/Interroll/Beacon"
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"transform": "translate3d(0,0,0)"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |