949 lines
34 KiB
Plaintext
949 lines
34 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"viewFocus": "value"
|
|
},
|
|
"propConfig": {
|
|
"params.viewFocus": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 373,
|
|
"width": 195
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "36px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"background-color": "#555555",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center"
|
|
},
|
|
"text": "Status Filters"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/all"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": [
|
|
{
|
|
"config": {
|
|
"script": "\tpayload \u003d {}\n\tif self.props.selected:\n\t\tvalue \u003d True\n\telse:\n\t\tvalue \u003d False\n\t\n\tpayload[\"data\"] \u003d value\n\t\n\tsystem.perspective.sendMessage(\"select-all-filters\", \n\t\t\t\t\t\t\t\t\tpayload \u003d payload, \n\t\t\t\t\t\t\t\t\tscope \u003d \"view\")"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Select-All",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({session.custom.alarm_filter.show_dpm_mcm} \u0026\u0026 \r\n{session.custom.alarm_filter.show_beacons} \u0026\u0026\r\n{session.custom.alarm_filter.show_VFD} \u0026\u0026\r\n{session.custom.alarm_filter.show_buttons} \u0026\u0026\r\n{session.custom.alarm_filter.show_photoeyes} \u0026\u0026\r\n{session.custom.alarm_filter.show_encoders} \u0026\u0026\r\n{session.custom.alarm_filter.show_epc} \u0026\u0026\r\n{session.custom.alarm_filter.show_px} \u0026\u0026\r\n{session.custom.alarm_filter.show_camera_jams} \u0026\u0026\r\n{session.custom.alarm_filter.show_fio_safety}, True, False)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Select All"
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/running_status"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Running",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_VFD"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show VFD"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/low_alarms"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-Buttons",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_buttons"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show Buttons"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data\n\tsystem.perspective.print(data)",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/estops_pullChords"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "E-Stops",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_epc"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show E-Stops \u0026 Pull Chords"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/gateways"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-DPM-MCM",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_dpm_mcm"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show DPM \u0026 MCM"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/camera_jams"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-Camera-Jams",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_camera_jams"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show Camera Jams"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/fio_sio"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-Fios",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_fio_safety"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show FIO \u0026 SIO"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/running_status"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-Photoeyes",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_photoeyes"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show Photoeyes"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/running_status"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-Beacons",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_beacons"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show Beacons"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/running_status"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-PX",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_px"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show Prox Switches"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
},
|
|
{
|
|
"custom": {
|
|
"buttonid": "status_filters/running_status"
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tif not self.props.selected:\n\t\tbuttonid \u003d self.custom.buttonid\n\t\tactivityLog.logger.callLogger(self.view, \u0027click\u0027, buttonid)\n\t\tactivityLog.productMetrics.callLogger(self.view, \u0027click\u0027, buttonid)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Show-Encoders",
|
|
"tooltip": {
|
|
"delay": 250
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "36px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({session.custom.alarm_filter.show_map}\u003dTrue \u0026\u0026 {session.custom.view_in_focus}\u003d\u0027/MAP-Home\u0027, True, False)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.selected": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"path": "session.custom.alarm_filter.show_encoders"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"checkedIcon": {
|
|
"color": {
|
|
"disabled": "#FFFFFF",
|
|
"enabled": "#FFFFFF"
|
|
}
|
|
},
|
|
"style": {
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 12,
|
|
"fontWeight": "bold",
|
|
"marginLeft": 10,
|
|
"marginRight": 10
|
|
},
|
|
"text": "Show Encoders"
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "select-all-filters",
|
|
"pageScope": false,
|
|
"script": "\tdata \u003d payload[\"data\"]\n\tself.props.selected \u003d data",
|
|
"sessionScope": false,
|
|
"viewScope": true
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.input.checkbox"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "space-between"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\tsystem.perspective.closePopup(\u0027\u0027)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Button"
|
|
},
|
|
"position": {
|
|
"basis": "30px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"box-shadow": "5px 5px 5px",
|
|
"style": {
|
|
"backgroundColor": "#555555",
|
|
"classes": "Background-Styles/Controller",
|
|
"marginBottom": 5,
|
|
"marginLeft": 20,
|
|
"marginRight": 20,
|
|
"marginTop": 5
|
|
},
|
|
"text": "Close"
|
|
},
|
|
"type": "ia.input.button"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Status"
|
|
},
|
|
"position": {
|
|
"basis": "200px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"borderColor": "#FFFFFF",
|
|
"borderStyle": "solid",
|
|
"borderWidth": 1
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Background-Styles/Controller",
|
|
"overflow": "hidden"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |