Repository navigation
How to handle data change event #397
|
Hi Everyone, I have used s7 library in C# where you define S7DataItem and listen to DataChange event. |
Answered by
swamper123
Oct 30, 2022
Replies: 2 comments
|
There is no out-of-the-box solution for your question and it still would take some time to implement it. You may want to look for "Observer Patterns" for your purpose and make your own "better S7DataItem" class. |
0 replies
Answer selected by
gijzelaerr
|
Closing as answered. There is no built-in data change event mechanism. Users need to implement their own polling/observer pattern. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no out-of-the-box solution for your question and it still would take some time to implement it.
You may want to look for "Observer Patterns" for your purpose and make your own "better S7DataItem" class.