Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics PSIL Callback Rearchitect #229

Closed
MikaylaFischler opened this issue May 5, 2023 · 0 comments
Closed

Graphics PSIL Callback Rearchitect #229

MikaylaFischler opened this issue May 5, 2023 · 0 comments
Assignees
Labels
coordinator Coordinating computer related enhancement New feature or improvement graphics Graphics library and/or user interface plc Programmable logic controller related rtu Remote terminal unit related
Milestone

Comments

@MikaylaFischler
Copy link
Owner

MikaylaFischler commented May 5, 2023

Elements will have an assigned PSIL reference and subscribing will be done through the graphics layer, allowing for automatic cleanup on element deletion.

Example:

elem.register("rps_trip", elem.update)

Or possibly with an enum:

elem.register("rps_trip", EVENT.UPDATE)

Allowing for an elem.delete() to both hide itself and unlink itself from the PSIL.

Final strategy:

elem.register(ps, "rps_trip", elem.update)

That allows for multiple PSILs plus using functions that use the given element but do other things as well, as in cases that append or calculate things based on the subscribed data.

@MikaylaFischler MikaylaFischler self-assigned this May 5, 2023
@MikaylaFischler MikaylaFischler added enhancement New feature or improvement plc Programmable logic controller related rtu Remote terminal unit related coordinator Coordinating computer related graphics Graphics library and/or user interface labels May 5, 2023
@MikaylaFischler MikaylaFischler added this to the 2023.05.07 milestone May 5, 2023
@MikaylaFischler MikaylaFischler added this to Backlog in Full Release Project Board via automation May 5, 2023
@MikaylaFischler MikaylaFischler moved this from Backlog to In progress in Full Release Project Board May 5, 2023
@MikaylaFischler MikaylaFischler moved this from In progress to Testing in Full Release Project Board May 14, 2023
Full Release Project Board automation moved this from Testing to Done May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coordinator Coordinating computer related enhancement New feature or improvement graphics Graphics library and/or user interface plc Programmable logic controller related rtu Remote terminal unit related
Projects
Development

No branches or pull requests

1 participant