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

Add enum for milk characteristics type #452

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

cookeac
Copy link
Collaborator

@cookeac cookeac commented Apr 4, 2024

Add an enumeration for milk characteristics type.

icarMilkingVisitEventResource and icarMilkCharacteristicsType are quite old and hard to understand.
Ideally milking characteristics would be managed with a scheme and a published list of characteristics with documented values.

A fallback is to make this an enum. Even there, for a few edge cases, moving from a string to an enum (with a list of valid values) might be a breaking change. Therefore, we have created the enum file and are just referencing it from the description.

Resolves #444 (sort of).

@cookeac cookeac linked an issue Apr 4, 2024 that may be closed by this pull request
Copy link
Collaborator

@erwinspeybroeck erwinspeybroeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@cookeac cookeac merged commit c2dc653 into adewg:Develop Apr 10, 2024
@cookeac cookeac deleted the 444-milk-characteristics-enum branch May 16, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improvements to documentation of icarMilkingVisitEventResource
2 participants