'DeclarationPublic Function New( _ ByVal edgeNode As EasySparkplugEdgeNodeCore, _ ByVal device As SparkplugDevice, _ ByVal metric As SparkplugMetric, _ ByVal data As SparkplugData _ )
'UsageDim edgeNode As EasySparkplugEdgeNodeCore Dim device As SparkplugDevice Dim metric As SparkplugMetric Dim data As SparkplugData Dim instance As New SparkplugMetricWriteEventArgs(edgeNode, device, metric, data)
public SparkplugMetricWriteEventArgs( EasySparkplugEdgeNodeCore edgeNode, SparkplugDevice device, SparkplugMetric metric, SparkplugData data )
public: SparkplugMetricWriteEventArgs( EasySparkplugEdgeNodeCore^ edgeNode, SparkplugDevice^ device, SparkplugMetric^ metric, SparkplugData^ data )
Parameters
- edgeNode
- The Sparkplug edge node.
The value of this parameter cannot be
null(Nothingin Visual Basic). - device
- The Sparkplug device.
The value of this parameter can be
null(Nothingin Visual Basic). - metric
- The Sparkplug metric.
The value of this parameter cannot be
null(Nothingin Visual Basic). - data
- The value/timestamp that is the input of the Sparkplug write.
The value of this parameter cannot be
null(Nothingin Visual Basic).