Replies: 4 comments 18 replies
-
Can you post the full error and some code? |
Beta Was this translation helpful? Give feedback.
-
sorry to ask again, but how do I write values to the custom defined properties? do I need to create special classes that extend BaseEventTypeNode or can I just BaseEventTypeNode.setProperty with a properly QualifiedProperty<> - but what do I need for a QualifiedProperty? |
Beta Was this translation helpful? Give feedback.
-
Solved: I used the wrong namespace_uri - fyi Okay, I now started to create Classes like I create the Nodes and add them to the type-tree and after that I am adding them to the ObjectTypeManager with
But when I am invoking an event it is still just an SimpleEvent without the self defined properties. If I am invoking some other event with properties like "ConditionType" I am getting the specific properties - am I missing something? |
Beta Was this translation helpful? Give feedback.
-
@jnsw @kevinherron Is there any success story (example) of adding custom event type to server? (at least with single integer field) |
Beta Was this translation helpful? Give feedback.
-
I want to create a BaseEventTypeNode with Properties in BaseEventType to instance them later as an Event. But if I do so, it is not an abstract node like the other nodes already in BaseEventType and some "Bad Internal Error" occurs. If I am making UaObjectTypeNode, it can't cast UaObjectTypeNode to BaseEventTypeNode. What I am missing? Can someone provide some example code for creating an CustomEvent with properties, that I can use for example in startBogusEventNotifier() to see, if it works?
Beta Was this translation helpful? Give feedback.
All reactions