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

Dev/154 155 #156

Merged
merged 8 commits into from
Oct 8, 2024
Merged

Dev/154 155 #156

merged 8 commits into from
Oct 8, 2024

Conversation

it-hms
Copy link
Contributor

@it-hms it-hms commented Sep 30, 2024

closes #154
closes #155

google-java-format: version 1.23.0
@it-hms it-hms requested a review from alexjhawk September 30, 2024 18:38
@it-hms
Copy link
Contributor Author

it-hms commented Sep 30, 2024

@alexjhawk, These changes still need to be tested

Copy link
Collaborator

@alexjhawk alexjhawk left a comment

Choose a reason for hiding this comment

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

It looks good, aside from the two recommendations. We can talk about testing tomorrow.

The Flexy UpdateTagForm request requires that boolean tag values are 1
or 0 and not true or false. This change updates the
EwonUpdateTagValuesRequest class to convert boolean tag values to 1 or
0.
Closes #155
The tag quality values differ between DataMailbox and the instant
values from M2Web API. The former provides strings e.g., "good", "bad",
and the later provides a bit map consisting of multiple flags. The
connector maps DataMailbox responses to the instant value bitmaps.
This commit corrects the mapping.
it-hms added 5 commits October 1, 2024 16:15
For DataMailbox responses, values are parsed to java Objects. The values
 0 and 1 will be Doubles. The values True and False will be Booleans.
 Talk2M responses are parsed to Strings '1' and '0'. This addition will
 handle these possibilities.
Tag values from DataMailbox responses are parsed into Objects, which
GSON makes Doubles. Tag values from Talk2M responses are parsed into
Strings. This change allows for both.
@it-hms it-hms requested a review from alexjhawk October 2, 2024 15:40
@benlbaum
Copy link

benlbaum commented Oct 8, 2024

@it-hms @alexjhawk are we able to get v2.0.1 merged so that we can test the Issue #154 fix?

@it-hms
Copy link
Contributor Author

it-hms commented Oct 8, 2024

@alexjhawk ,
The changes you requested are completed. Could you please add a review?

@it-hms it-hms merged commit 5c870f9 into main Oct 8, 2024
4 checks passed
@it-hms it-hms deleted the dev/154_155 branch October 8, 2024 19:41
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.

Boolean tag data type can not change value Different code quality into IGN Tag Historian than DM one
3 participants