[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
Re: [milo-dev] request information
|
Good morning Kevin,
thanks very much for your reply;
I was able to solve the issue for what i send the mail, even if I do not understand why, I just changed the reference, as indicated in the picture:
methodNode.addReference(new Reference(
methodNode.getNodeId(),
//Identifiers.HasModellingRule,
//Identifiers.HasComponent,
//objectTypeNode.getNodeId().expanded(),
Identifiers.HasModellingRule,
Identifiers.ModellingRule_Mandatory.expanded(),
false
));
And I get what I want that is an object "MyObject" and a method as a child under it "SendJoinprocess"
Now I have a different problem. The method defined under MyObject does not works at all (the code on method SendJoinProcess is the same as in the method sqrt(x)).
and if a make a call:
while I'm going to aspect:
So I'm not able to understand, why the method under QualityServer works well, and the method under MyObject does not work at all; In attached the class ExampleNamespace
What have you tried so far?
The example adds a method as a child to a folder object, which is conceptually the same thing you are trying to accomplish, so I'm not sure what you're missing.
Hi all,
I'm new to eclipse Milo and opc-ua so please apologies to me, for the question if it can be seen as a stupid question.
Any help is really appreciated!!!
What I try to accomplish on the server side is an object that has some methods as child, like in the following figure:
I have tried almost everything (trying to understand the example in the milo repository), in particular in the class exampleNamespace:
but after 2 days spent in that, nothing has worked.
thanks
-- Ing. Viscomi Francesco
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/milo-dev
-- Ing. Viscomi Francesco
Attachment:
ExampleNamespace.java
Description: Binary data