BNA8/.resources/79769ab7cf3272d780160cf10eb1d793b1815f428d782ec5768b69fb1098154b
2025-09-30 16:15:56 +04:00

230 lines
5.6 KiB
Plaintext

{
"custom": {
"alarmHighlight": "value",
"alarm_filter": {
"show_VFD": true,
"show_beacons": true,
"show_buttons": true,
"show_camera_jams": true,
"show_diagnostic": true,
"show_dpm_mcm": true,
"show_encoders": true,
"show_epc": true,
"show_fio_safety": true,
"show_gateways": true,
"show_low_alarm": true,
"show_map": true,
"show_photoeyes": true,
"show_px": true,
"show_running": true,
"show_safety": true,
"show_solenoids": true
},
"areaHover": [],
"colours": {
"Fallback": "#00FF00",
"colour_impaired": false,
"state0": "#8C8C8C",
"state1": "#FF0000",
"state2": "#FF8000",
"state3": "#FFFF00",
"state4": "#007EFC",
"state5": "#00CC00",
"state6": "#CCCCFF"
},
"covert": true,
"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
}
},
"dpm_view_path": "autStand/Custom_Views/Enternet-Windows/DPMS/DPM Devices/MCM01/PS3_1_DPM1",
"fc": "BNA8",
"heatmapSettings": {
"alarms": [],
"alarmsText": "",
"data": {
"$": [
"ds",
192,
1755608623601
],
"$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"
}
},
"rotation": "0deg",
"show_dpm_device_view": false,
"show_dpm_view": false,
"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"
}
}