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

Patch statemachine to work with example #1663

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tmcguc
Copy link

@tmcguc tmcguc commented Jun 19, 2024

We modified the library so the state machine works with the example provided

my-changes.patch Outdated
@@ -0,0 +1,36 @@
From 7a5311b4f1094dff434df43acc46ead4d1b2d7a0 Mon Sep 17 00:00:00 2001
Copy link
Member

Choose a reason for hiding this comment

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

what is that file?

@tmcguc
Copy link
Author

tmcguc commented Jun 20, 2024 via email

@AndreasHeine
Copy link
Member

AndreasHeine commented Jul 22, 2024

@oroulet @tmcguc

As sidenote:
StateMachineType is not Abstract. So it can be instantiated!

StateVariableType: https://reference.opcfoundation.org/Core/Part5/v104/docs/B.4.3
HasProperty | Variable | Id | BaseDataType | PropertyType | Mandatory

BaseDataType!!! so it can be any BaseDataType / Subtype of it e.g. NodeId

Id is a name which uniquely identifies the current state within the StateMachineType. A subtype may restrict the DataType.

I chose NodeId at that time because the State-ObjectType-Instance has a unique id (node-id) in the Addressspace!

i am not sure if the change is valid!?

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