Connectivity Software User's Guide and Reference
SparkplugPayload Class Members
Properties  Methods 


OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace : SparkplugPayload Class

The following tables list the members exposed by SparkplugPayload.

Public Constructors
 NameDescription
Public ConstructorOverloaded. Initializes a new instance of the class.  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)Default timestamp. In UTC.  
Public Propertystatic (Shared in Visual Basic)Default timestamp. In local time.  
Public PropertyA read-only dictionary of Sparkplug metadata for metrics contained in the payload, keyed by metric name.  
Public PropertyA read-only dictionary of Sparkplug metric data for metrics contained in the payload, keyed by metric name.  
Public PropertyA read-only collection of Sparkplug payload elements, which are key-value pairs of metric names and metric elements.  
Public PropertyA read-only dictionary of Sparkplug template definitions for metrics in the payload, keyed by template definition name.  
Public PropertyThe timestamp of the payload. In UTC.  
Public PropertyThe timestamp of the payload. In local time.  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Adds a Sparkplug metric to the payload, specifying the metric name and data.  
Public MethodOverridden.   
Public MethodOverloaded. Overridden. Determines whether the specified SparkplugPayload is equal to the current object.  
Public Method  
Public MethodOverridden.   
Public MethodOverridden.   
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodOverridden.   
Public Method (Inherited from OpcLabs.BaseLib.Info)
Top
Protected Methods
 NameDescription
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Protected MethodInfrastructure. (Inherited from OpcLabs.BaseLib.Info)
Protected MethodInfrastructure. (Inherited from OpcLabs.BaseLib.Info)
Top
Extension Methods
 NameDescription
Public Extension MethodSets the arbitrary object associated with the node.
Top
Public Operators
Determines whether the two objects are equal.
Determines whether the two objects are not equal.
Top
See Also

Reference

SparkplugPayload Class
OpcLabs.EasySparkplug Namespace