Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Code generation and Identifiers
July 7, 2016
9:44, EEST
Avatar
Nils-H
Member
Members
Forum Posts: 21
Member Since:
March 18, 2014
sp_UserOfflineSmall Offline

I’m experimenting with the code generation feature of the SDK, generating classes from an xml file exported by UaModeler, and I’m wondering if it is possible to get the code generation to generate a list of all identifiers of the nodes in the custom namespace? Like the `Identifiers` class in the SDK, but with the ids of the custom nodes instead? This would greatly simplify usage of the generated models.

July 7, 2016
10:56, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1068
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

This is in our TODO-list.

Currently some (every top-level id for Object/VariableTypes should be there) of the identifiers are already generated to class named ‘Ids’, but not all. In future 2.3 version it should contain all “top-level” identifiers and hopefully also for subnodes (InstanceDeclarations of TypeDefinitions). Note that they are given as ExpandedNodeIds.

– Bjarne

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 69
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1