fixed the header null error, fixed the solenoids and prox switch filtering issues

This commit is contained in:
Salijoghli 2025-08-18 21:11:05 +04:00
parent 671be46a69
commit fb49648106
18 changed files with 108 additions and 31 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -188,7 +188,7 @@
"meta.visible": { "meta.visible": {
"binding": { "binding": {
"config": { "config": {
"path": "session.custom.alarm_filter.show_beacons" "path": "session.custom.alarm_filter.show_px"
}, },
"type": "property" "type": "property"
} }

View File

@ -8,9 +8,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T17:00:42Z" "timestamp": "2025-08-18T17:06:14Z"
}, },
"lastModificationSignature": "33b6bad9edc3c17cfb3e6917447d214b10a006a342158d1dc6e7787018d5032f" "lastModificationSignature": "e233175b59a33bd771a4aa14f8361dc017245fb277350dfec8fe8b28dccbf4d5"
} }
} }

View File

@ -13,7 +13,8 @@
"show_fio_safety": true, "show_fio_safety": true,
"show_map": true, "show_map": true,
"show_photoeyes": true, "show_photoeyes": true,
"show_px": true "show_px": true,
"show_solenoids": true
}, },
"areaHover": [], "areaHover": [],
"currentGraphic": "Windows/Graphics/Overview", "currentGraphic": "Windows/Graphics/Overview",

View File

@ -9,8 +9,8 @@
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "admin", "actor": "admin",
"timestamp": "2025-08-18T16:57:55Z" "timestamp": "2025-08-18T17:09:15Z"
}, },
"lastModificationSignature": "ddc489c620faaaf3614c708dc6c093665bcc5c336fb1ccc3a55373beb285ba2a" "lastModificationSignature": "19a8d32576a5dd2328dbbea9daca214777e3fc8e92321f2078245fef0d36a4c3"
} }
} }

View File

@ -9,9 +9,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T17:00:42Z" "timestamp": "2025-08-18T17:06:35Z"
}, },
"lastModificationSignature": "42310c2bc66bb426a2566881ee90a4585465b08798ab0856683866deb241a93f" "lastModificationSignature": "f7ce6455e576f34a531726016f349810dc2ef53652ec32614f8452f8840bb016"
} }
} }

View File

@ -9,9 +9,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T17:00:42Z" "timestamp": "2025-08-18T17:06:35Z"
}, },
"lastModificationSignature": "3de81ff088f352e83b2daeaa76574c818c83cdea076b4ed11a2f52b24d16e6b1" "lastModificationSignature": "ab4eee9ffbf14a771f611261d4e2b383847e0d0ef4246d845453bca8f3937979"
} }
} }

View File

@ -9,9 +9,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T16:55:42Z" "timestamp": "2025-08-18T17:10:18Z"
}, },
"lastModificationSignature": "31ddea76b3ecfb7def00184c58da0ad37388d8915ba585cf3a23e876c6f5ea0c" "lastModificationSignature": "ca8be9c37bbcbadf5ed96232cff9fa89d84bd494ccdc12cb2ac039dcfb4e21e3"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 994 B

View File

@ -620,7 +620,7 @@
"enabled": true, "enabled": true,
"rate": "3" "rate": "3"
}, },
"queryPath": "GetActiveAlarmsByLocationAndPriority", "queryPath": "Alarms-autStand/GetActiveAlarmsByLocationAndPriority",
"returnFormat": "json" "returnFormat": "json"
}, },
"transforms": [ "transforms": [

View File

@ -8,9 +8,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T16:55:42Z" "timestamp": "2025-08-18T17:08:46Z"
}, },
"lastModificationSignature": "f8786139a3f1492627e7d3464cebcf9126e65143515a7a05429d167fa22c2aa9" "lastModificationSignature": "721db10ed0e52f538b0c1ac2ad648791f90fdf9144b06aa5348ae9eba45b141c"
} }
} }

View File

@ -188,7 +188,7 @@
"meta.visible": { "meta.visible": {
"binding": { "binding": {
"config": { "config": {
"path": "session.custom.alarm_filter.show_beacons" "path": "session.custom.alarm_filter.show_px"
}, },
"type": "property" "type": "property"
} }

View File

@ -8,9 +8,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T16:55:42Z" "timestamp": "2025-08-18T17:08:57Z"
}, },
"lastModificationSignature": "6b65e5c700d932dcadec1b0a6be51d4b3cda8764b3536730418c2b8b94b07f8a" "lastModificationSignature": "51e9a0e7a2aafdff7528728f9d3d333ce4c0d2a6a1cbf510d703bd4536d57c02"
} }
} }

View File

@ -2,8 +2,8 @@
"custom": { "custom": {
"plc": "", "plc": "",
"searchId": "value", "searchId": "value",
"state": 1, "state": 0,
"string": "Actuated" "string": "Inactive"
}, },
"params": { "params": {
"tagProps": [ "tagProps": [
@ -188,7 +188,7 @@
"meta.visible": { "meta.visible": {
"binding": { "binding": {
"config": { "config": {
"path": "session.custom.alarm_filter.show_beacons" "path": "session.custom.alarm_filter.show_solenoids"
}, },
"type": "property" "type": "property"
} }

View File

@ -9,9 +9,9 @@
], ],
"attributes": { "attributes": {
"lastModification": { "lastModification": {
"actor": "external", "actor": "admin",
"timestamp": "2025-08-18T16:55:42Z" "timestamp": "2025-08-18T17:07:31Z"
}, },
"lastModificationSignature": "1d9446235fbf63495abfea7af0c230820650921ac7efccf37030e790796dde76" "lastModificationSignature": "3d57ad96a1346126c73b545dd5158455d74c8636fd07af5257370dc0fd643420"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -85,7 +85,7 @@
"props.selected": { "props.selected": {
"binding": { "binding": {
"config": { "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)" "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_solenoids} \u0026\u0026\r\n{session.custom.alarm_filter.show_fio_safety}, True, False)"
}, },
"type": "expr" "type": "expr"
} }
@ -869,6 +869,82 @@
] ]
}, },
"type": "ia.input.checkbox" "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-Sols",
"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_solenoids"
},
"type": "property"
}
}
},
"props": {
"checkedIcon": {
"color": {
"disabled": "#FFFFFF",
"enabled": "#FFFFFF"
}
},
"style": {
"color": "#FFFFFF",
"fontFamily": "Arial",
"fontSize": 12,
"fontWeight": "bold",
"marginLeft": 10,
"marginRight": 10
},
"text": "Show Solenoids"
},
"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": { "meta": {