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

Corrects the call to generate events that were commented. Tests again… #1400

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

glcj
Copy link
Contributor

@glcj glcj commented Feb 12, 2024

Corrects call to generate asynchronous events for the S7 driver.

@chrisdutz
Copy link
Contributor

Had a look and it seems all changes only have an effect on the Event-based PLCs ... none of which I have. So I have no objections to merging this as is ;-)

if (parameter instanceof S7ParameterModeTransition) {
// TODO: The eventQueue is only drained in the S7ProtocolEventLogic.ObjectProcessor and here only messages of type S7Event are processed, so S7PayloadUserDataItem elements will just be ignored.
//eventQueue.add(parameter);
System.out.println(msg);
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe remove that before merge

if (parameterUDItem instanceof S7ParameterUserDataItemCPUFunctions) {

Copy link
Contributor

Choose a reason for hiding this comment

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

why are there so many empty lines now?

This was referenced Feb 12, 2024
@glcj glcj merged commit bc51fe4 into develop Feb 14, 2024
14 checks passed
@glcj glcj deleted the fix/Events branch February 14, 2024 16:15
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.

4 participants