186 lines
4.3 KiB
JSON
186 lines
4.3 KiB
JSON
{
|
|
"custom": {
|
|
"colours": {
|
|
"Fallback": "#00FF00",
|
|
"colour_impaired": false,
|
|
"state0": "#8C8C8C",
|
|
"state1": "#FF0000",
|
|
"state6": "#CCCCFF"
|
|
},
|
|
"command_auth": {
|
|
"auth_time": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1674052360661
|
|
],
|
|
"$ts": 1674052360661
|
|
},
|
|
"enabled": false,
|
|
"timeout_sp": 500
|
|
},
|
|
"devices_filter": {
|
|
"show_buttons": true,
|
|
"show_camera_jams": true,
|
|
"show_fio": true,
|
|
"show_gateways": true,
|
|
"show_inductions": true,
|
|
"show_pes": true,
|
|
"show_safety": true
|
|
},
|
|
"fc": "TPA8"
|
|
},
|
|
"propConfig": {
|
|
"custom.alarmId": {
|
|
"persistent": false
|
|
},
|
|
"custom.colours.state2": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.custom.colours.colour_impaired},\u0027#F00077\u0027,\u0027#FF8000\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.colours.state3": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.custom.colours.colour_impaired},\u0027#FF6000\u0027,\u0027#FFFF00\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.colours.state4": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.custom.colours.colour_impaired},\u0027#FCC400\u0027,\u0027#007EFC\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.colours.state5": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.custom.colours.colour_impaired},\u0027#007DFA\u0027,\u0027#00CC00\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.command_auth.auth_timeout": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.custom.command_auth.enabled},toInt(dateDiff({this.custom.command_auth.auth_time},now(),\u0027seconds\u0027)),0)"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\tif currentValue.value \u003e self.custom.command_auth.timeout_sp:\n\t\tself.custom.command_auth.enabled \u003d False"
|
|
}
|
|
},
|
|
"custom.command_auth.enabled": {
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\tif currentValue.value:\n\t\tself.custom.command_auth.auth_time \u003d system.date.now()"
|
|
}
|
|
},
|
|
"custom.covert": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.deviceSearchId": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.fc": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.has_fc_role": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.id_to_state": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.show_south_dock": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.state": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.state_messages": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"custom.state_view": {
|
|
"access": "PRIVATE"
|
|
},
|
|
"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.offline.capable": {
|
|
"access": "SYSTEM",
|
|
"persistent": false
|
|
},
|
|
"props.offline.enabled": {
|
|
"access": "SYSTEM",
|
|
"persistent": false
|
|
},
|
|
"props.offline.lastSynced": {
|
|
"access": "SYSTEM",
|
|
"persistent": false
|
|
}
|
|
},
|
|
"props": {
|
|
"address": "127.0.0.1",
|
|
"appBar": {
|
|
"togglePosition": "hidden"
|
|
},
|
|
"device": {},
|
|
"geolocation": {},
|
|
"locale": "en-US",
|
|
"offline": {},
|
|
"timeZoneId": "America/Los_Angeles"
|
|
}
|
|
} |