'DeclarationPublic Event Read As SparkplugMetricReadEventHandler
'UsageDim instance As SparkplugDevice Dim handler As SparkplugMetricReadEventHandler AddHandler instance.Read, handler
public event SparkplugMetricReadEventHandler Read
public: event SparkplugMetricReadEventHandler^ Read
Event Data
The event handler receives an argument of type SparkplugMetricReadEventArgs containing data related to this event. The following SparkplugMetricReadEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Device | The device associated with this event, if any. (Inherited from OpcLabs.EasySparkplug.OperationModel.SparkplugProducerProcessedEventArgs) |
| EdgeNode | The edge node associated with this event. (Inherited from OpcLabs.EasySparkplug.OperationModel.SparkplugProducerProcessedEventArgs) |
| Handled | (Inherited from System.ComponentModel.HandledEventArgs) |
| Metric | The metric associated with this event. (Inherited from OpcLabs.EasySparkplug.OperationModel.SparkplugMetricProcessedEventArgs) |
| MetricName | The name of the metric associated with this event. Empty if the event is not associated with a metric. (Inherited from OpcLabs.EasySparkplug.OperationModel.SparkplugProducerProcessedEventArgs) |
| Result | The value and timestamps that is the result of the Sparkplug read. |
Remarks
Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.
Requirements