07/24/2024
Hey, I have question about correct devices modelling. I’m using Softing SDK.
Imagine we are creating the subtype of DeviceType, e.g. MyDeviceType.
This custom subtype should have following methods:
-Method1
-Method2
And following properties:
-Property1
-Property2
When I create the instance of MyDeviceType, I see that my properties and methods are created, MethodSet and ParameterSet objects are also created.
My goal is to locate my properties/methods inside MethodSet and ParameterSet objects accordingly.
My question is should I move my properties and methods inside MethodSet and ParameterSet objects on the instance creation level, or it should be somehow done on the level of Type creation?
Thanks in advance!
07/24/2024
In our case, there is a requirement that our device should be a subtype of a DeviceType. And I’m trying to understand what is the correct way of modelling our device so we have our plain properties under ParameterSet and methods under MethodSet.
For now I see the solution only like that (using Softing library), but not sure it is a proper way:
Root
>Objects
>DeviceSet
>MyDevice
>MethodSet
>Method1
>Method2
>ParameterSet
>Property1
>Property2
>Types
>ObjectTypes
>BaseObjectType
>TopologyElementType
>ComponentType
>DeviceType
>MyDeviceType
>Method1
>Method2
>Property1
>Property2
>MethodSet
>ParameterSet
Sorry, do not know how to insert the screenshot of UaExpert here, so described the information model tree like this
Could you please confirm if I’m on the right way?
Thank you!
1 Guest(s)