Click or drag to resize

DPIObject Class

Represents one DPI object.
Inheritance Hierarchy

Namespace:  Demo3D.PLC.Rockwell.Comms.DPI.Nodes
Assembly:  PLC (in PLC.dll) Version: 14.0.0.10531
Syntax
C#
public abstract class DPIObject : DPIServices

The DPIObject type exposes the following members.

Properties
  NameDescription
Public propertyClassId
The class id of an object.
Public propertyInstanceId
The instance id of an object.
Public propertyNode
The associated node in the DPI node hierarchy.
Public propertyNodeName
Override to provide a name for the node.
Public propertyNumLinks
Returns the number of links.
Public propertyRouter
The DPI router instance.
Top
Methods
  NameDescription
Public methodAllObjects
Returns all linked nodes.
Protected methodConstructNode
Initialize object properties.
Public methodDescendants
Return all descendants of this node.
Public methodGetAttribute
Service GetAttribute DPI request.
(Inherited from DPIServices.)
Public methodGetAttributeProperties
Returns all attribute properties (in GetAttributeAll order, ie not necessarily numerical order).
(Inherited from DPIServices.)
Public methodGetAttributeProperties(UInt32)
Return the attribute properties for one attribute.
(Inherited from DPIServices.)
Public methodGetAttributeValue
Read the value of one attribute and write it into the responseData.
(Inherited from DPIServices.)
Public methodInitialize
Initialize the object.
Public methodMissingNodeFirstChance
First chance to intercept a missing node. Return true to indicate that we added a node.
Public methodNotifyAddedHierarchy
Initialize object after its has been added to the hierarchy.
Public methodNotifyAllChildrenRemoved
Called to notify when all removable children have been removed.
Public methodNotifyAttributeSet
Callback to indicate that an attribute value has been set. Only called at the end of the protocol request after all attributes in the packet have been set.
(Inherited from DPIServices.)
Public methodNotifyChildAdded
Called to notify when a child object is added.
Public methodNotifyChildRemoved
Called to notify when a child object has been removed.
Public methodNotifyRemovedHierarchy
Called to notify when this object has been removed from the hierarchy.
Public methodRequestRemoveChild
Called to request permission to remove a child.
Public methodSetAttribute
Service SetAttribute DPI request.
(Inherited from DPIServices.)
Public methodSetAttributeValue
Set one attribute to the value read from requestData.
(Inherited from DPIServices.)
Public methodSetInstance
Set the node id.
Top
Events
  NameDescription
Public eventOnChildAdded
Occurs when a child object has been added.
Public eventOnChildRemoved
Occurs when a child object has been removed.
Top
See Also