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

Change Mover.Payload to a structure #94

Open
netbymatt opened this issue Jan 31, 2025 · 0 comments
Open

Change Mover.Payload to a structure #94

netbymatt opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@netbymatt
Copy link
Collaborator

Since our intended use for Mover.Payload is to carry data specific about the part on this mover, let's change this to something more useful than a single DINT.

If I were to store some typical data with this mover it might include: serialNumber, recipeId, failureReason which would need to be in a structure.

Changing Mover.Payload to a structure is doable if you follow all the errors, but a significant process that touches: iMover, ErrorMover, Mover and requires creating the structure.

To make Payload more useful, let's pre-create the structure and put it outside of XTS (Do Not Edit) so it's something more visible. By making the new structure have some common example elements like above it also makes the use case much easier to document.

@netbymatt netbymatt self-assigned this Jan 31, 2025
@netbymatt netbymatt added the enhancement New feature or request label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant