CIPObjectConstructNode Method |
Namespace: Demo3D.PLC.Comms.CIP.Nodes
protected virtual void ConstructNode()
Initialization part 1. The object's constructor performs basic object initialization (eg property default values) and this method ConstructNode is called.
Initialization part 2. When a node is added to the hierarchy, NotifyAddedHierarchy is called on the child object (for object specific initialization) first, and then NotifyChildAdded(CIPObject) is called on the parent object (for class level initialization).
Initialization part 3. After the basic node hierarchy has been established, the Message Router calls SetupBus(BusNode, BusConfiguration) on all nodes in the hierarchy.
Initialization part 4. Also after the basic node hierarchy has been established, the Message Router calls Initialize on all nodes in the hierarchy. If a node is added after initialization, then the method gets called immediately after NotifyChildAdded(CIPObject).