11:10, EEST
October 29, 2014
Spec says:
“Each Transition can have one or more HasEffect References pointing to the effects that occur when the Transition was triggered.”
Is there any ordering in the effects? Can this be specified somehow?
E.g. the order in which multiple events would be triggered can matter. Or in case the effects are method calls, then order is important.
Grt, Patrick
14:46, EEST
December 21, 2011
The specification does not define these including any order that could be defined or guaranteed for the client. In the server implementation you need to ensure yourself of the correct order. The natural order of the References collection in ServerNode (base of all UaNode implementations in the server side) is based on the TargetId of the references. To keep any other order, you need to somehow keep track of that yourself.
11:36, EEST
October 29, 2014
Hum, that’s a pitty. Seems to be a flaw in the speficiation imho. If you can model multiple effects, then the order should also be defined.
From a modelling point of view the targets of HasEffect references are not to be coupled to a transition, since they can be applicable to multiple transitions.
Hence target ID can not be used to model a certain required order of effect execution.
Using the target ID as reference order is Prosys SDK specific, or is this standardized?
Grt, Patrick
14:48, EEST
December 21, 2011
Yes, that could perhaps be extended in the specification. You are free to add a request to OPC Foundation at
https://opcfoundation-onlineapplications.org/mantis/
Yes, the ordering that I mentioned is Prosys SDK specific – or specific to the UaNode/ServerNode implementation, since the references are stored in a ConcurrentSkipListMap to ensure natural ordering. You would need to implement your own UaNode version to override that at the moment, I am afraid.
Most Users Ever Online: 1919
Currently Online:
54 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1