{ "custom": { "alarmHighlight": "", "alarm_filter": { "show_VFD": true, "show_beacons": true, "show_buttons": true, "show_camera_jams": true, "show_dpm_mcm": true, "show_encoders": true, "show_epc": true, "show_fio_safety": true, "show_map": true, "show_photoeyes": true, "show_px": true }, "areaHover": [], "currentGraphic": "Windows/Graphics/Overview", "demoHighlight": "", "dexmanager": { "config": { "font": "bold 12px Arial", "highlight": "#ff0" }, "show": { "Beacons": false, "ConveyorLabels": true, "ConveyorPatterns": true, "Conveyors": true, "DivertPaddles": true, "EIPs": false, "Encoders": false, "Estops": false, "Gaylords": true, "LimitSwitches": false, "MCPs": false, "PhotoEyes": false, "PushButtons": false, "Scanners": false, "VFDs": false } }, "fc": "BNA8", "heatmapSettings": { "alarms": [], "alarmsText": "", "data": { "$": [ "ds", 192, 1754654890875 ], "$columns": [ { "data": [], "name": "firsttime", "type": "Date" }, { "data": [], "name": "lasttime", "type": "Date" }, { "data": [], "name": "duration", "type": "String" }, { "data": [], "name": "count", "type": "Long" }, { "data": [], "name": "device", "type": "String" }, { "data": [], "name": "description", "type": "String" } ] }, "devices": [], "devicesText": "", "enabled": false, "shifts": [], "shiftsText": "", "time": { "end": "2020-07-30 00:00:00", "start": "2020-07-29 00:00:00" } }, "searchId": "value", "timewidget": { "endDate": { "$": [ "ts", 192, 1604092861010 ], "$ts": 1604116800000 }, "mode": "currentDay", "startDate": { "$": [ "ts", 192, 1604092861010 ], "$ts": 1604030400000 }, "update": { "$": [ "ts", 192, 1604092861010 ], "$ts": 1604092861010 } } }, "propConfig": { "custom.dexmanager.highlight": { "binding": { "config": { "struct": { "alarm": "{this.custom.alarmHighlight}", "demo": "{this.custom.demoHighlight}", "toggle": "{[default]Gateway/ToggleTag}" }, "waitOnAll": true }, "transforms": [ { "code": "\thighlights \u003d []\n\t# Add alarm highlight:\n\tif len(value.alarm) \u003e 0:\n\t\thighlights.append({\n\t\t\t\"color\": \"#F00\" if value.toggle else \"#FF0\",\n\t\t\t\"keys\": [value.alarm]\n\t\t})\n\t\tif \".\" in value.alarm:\n\t\t\thighlights.append({\n\t\t\t\t\"color\": \"#F00\" if value.toggle else \"#FF0\",\n\t\t\t\t\"keys\": [value.alarm.split(\".\")[0], \"conveyor\"]\n\t\t\t})\n\t# Add demo highlight:\n\tif False and len(value.demo) \u003e 0:\n\t\thighlights.append({\n\t\t\t\"color\": \"#F00\" if value.toggle else \"#FF0\",\n\t\t\t\"keys\": [\"conveyor\", value.demo]\n\t\t})\n\treturn highlights", "type": "script" } ], "type": "expr-struct" } }, "custom.isMobile": { "binding": { "config": { "expression": "indexOf(lower({session.props.device.userAgent}), \"mobile\")\u003e\u003d0" }, "type": "expr" } }, "props.auth": { "access": "PRIVATE", "persistent": false }, "props.device.accelerometer": { "access": "SYSTEM", "persistent": false }, "props.device.identifier": { "access": "SYSTEM", "persistent": false }, "props.device.timezone": { "access": "SYSTEM", "persistent": false }, "props.device.type": { "access": "SYSTEM", "persistent": false }, "props.device.userAgent": { "access": "SYSTEM", "persistent": false }, "props.gateway": { "access": "SYSTEM", "persistent": false }, "props.geolocation.data": { "access": "SYSTEM", "persistent": false }, "props.geolocation.permissionGranted": { "access": "SYSTEM", "persistent": false }, "props.host": { "access": "SYSTEM", "persistent": false }, "props.id": { "access": "SYSTEM", "persistent": false }, "props.lastActivity": { "access": "SYSTEM", "persistent": false } }, "props": { "address": "127.0.0.1", "device": {}, "geolocation": {}, "locale": "en-US", "timeZoneId": "Asia/Tbilisi" } }