Skip to content

Conversation

@adv12
Copy link
Contributor

@adv12 adv12 commented Aug 7, 2025

We have harvest data from a CNH Pro1200 display that is coming in as SowingAndPlanting with 5.6.2. Additionally, we observed that sometimes Unknown is being returned from TimeLogMapper.GetOperationTypeFromLoggingDevices when there was a more meaningful operation available in the list. This PR addresses those two issues with the following changes:

  1. Stop forcing CategoryEnum.Variety to OperationTypeEnum.SowingAndPlanting (could be Harvesting)
  2. In GetOperationTypeFromLoggingDevices, prefer a non-Unknown operation type when there are multiple options

- Stop forcing CategoryEnum.Variety to OperationTypeEnum.SowingAndPlanting (could be Harvesting)
- In GetOperationTypeFromLoggingDevices, prefer a non-Unknown operation type
@kelly-nelson
Copy link
Contributor

Looks good to me. @strhea can you also review/merge?

@strhea strhea merged commit e499f50 into ADAPT:develop Aug 7, 2025
1 check passed
@strhea
Copy link
Contributor

strhea commented Aug 7, 2025 via email

@kelly-nelson
Copy link
Contributor

@adv12 Do you have any additional changes pending, or can I proceed to release these changes?

@adv12
Copy link
Contributor Author

adv12 commented Aug 8, 2025

@knelson-farmbeltnorth This is all I know of at the present. Thanks for the fast turnaround!

@kelly-nelson
Copy link
Contributor

@adv12 released.

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.

3 participants