Connectivity Software User's Guide and Reference
ISparkplugProducer Interface Members
Properties  Methods 

OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace : ISparkplugProducer Interface

The following tables list the members exposed by ISparkplugProducer.

Public Properties
 NameDescription
 PropertyDetermines whether the Primary Host Application is online.  
 PropertyDetermines whether an attempt will be made to convert the data in the incoming command to the type of the metric.  
 PropertyContains the condition of the data source connection associated with the Sparkplug producer.  
 PropertyDetermines when and how the Sparkplug producer (edge node or device) connects and disconnects its data source.  
 PropertyDetermines whether the publishing is currently locked, i.e. metric data changes are not immediately published.  
 PropertyDetermines whether the component is currently started. (Inherited from OpcLabs.BaseLib.ComponentModel.IReadOnlyStartable)
 PropertyDefines how the Sparkplug metrics are identified in the Birth and Data messages.  
 PropertyThe collection of Sparkplug metrics that this producer publishes.  
 PropertyDetermines whether this Sparkplug producer (edge node or device) is online.  
 PropertyThe interval in milliseconds at which the Sparkplug producer (edge node or device) publishes its data.  
 PropertyDetermines whether the Sparkplug producer (edge node or device) publishes only the last data known.  
 PropertyDetermines whether your code will report any changed data to the producer, or whether the producer will poll for data changes.  
Top
Public Methods
 NameDescription
 MethodIndicates that the data source connection for the edge node or device has failed.  
 MethodIndicates that the data source connection for the edge node or device has been successfully established.  
 MethodIndicates that the data source connection for the edge node or device has been successfully disconnected.  
 MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable)
 MethodLocks the publishing of metric data changes, so that they are not immediately published.  
 MethodIn manual data source connection mode, instructs the producer to connect to the data source.  
 MethodIn manual data source connection mode, instructs the producer to disconnect from the data source.  
 MethodPerforms the periodic polling of data from the data source, and publishes the data payload.  
 MethodPublishes the specified data payload to the Sparkplug system (MQTT broker).  
 MethodPublishes any assembled metric data changes, and unlocks the publishing.  
Top
Extension Methods
 NameDescription
Public Extension MethodDefines an action to be performed for connecting the edge node or device to a data source.
Public Extension MethodOverloaded. Indicates that the data source connection for the edge node or device has failed.
Public Extension MethodDefines an action to be performed for disconnecting the edge node or device from a data source.
Public Extension MethodLocks the publishing of metric data changes and returns an object that unlocks the publishing upon its disposal.
Public Extension MethodGets the Sparkplug metric with the specified metric name from the Sparkplug edge node or device.
Public Extension MethodDefines a function that will be called when the producer is polled for data.
Public Extension MethodReads from a Sparkplug metric with the specified metric name from the Sparkplug edge node or device and returns the Sparkplug data object.
Public Extension MethodReads from a Sparkplug metric with the specified metric name from the Sparkplug edge node or device and returns the metric value.
Public Extension MethodWrites Sparkplug data to a Sparkplug metric with the specified metric name.
Public Extension MethodWrites a value to a Sparkplug metric with the specified metric name.
Top
See Also

Reference

ISparkplugProducer Interface
OpcLabs.EasySparkplug Namespace