'Declaration<ExtensionAttribute()> Public Overloads Shared Sub PublishEdgeNodeMetric( _ ByVal consumer As IEasySparkplugConsumer, _ ByVal groupId As String, _ ByVal edgeNodeId As String, _ ByVal metricName As String, _ ByVal metricData As SparkplugMetricData _ )
'UsageDim consumer As IEasySparkplugConsumer Dim groupId As String Dim edgeNodeId As String Dim metricName As String Dim metricData As SparkplugMetricData IEasySparkplugConsumerExtension.PublishEdgeNodeMetric(consumer, groupId, edgeNodeId, metricName, metricData)
[Extension()] public static void PublishEdgeNodeMetric( IEasySparkplugConsumer consumer, string groupId, string edgeNodeId, string metricName, SparkplugMetricData metricData )
[Extension()] public: static void PublishEdgeNodeMetric( IEasySparkplugConsumer^ consumer, String^ groupId, String^ edgeNodeId, String^ metricName, SparkplugMetricData^ metricData )
Parameters
- consumer
- The consumer object that will perform the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - groupId
- The Sparkplug group ID.
The value represents a Sparkplug group ID. It must be a string with valid UTF-8 characters except for the reserved characters of '+' (plus), '/' (forward slash), and '#' (number sign).
The value of this parameter cannot be
null(Nothingin Visual Basic). - edgeNodeId
- The Sparkplug edge node ID.
The value represents a Sparkplug edge node ID. It must be a string with valid UTF-8 characters except for the reserved characters of '+' (plus), '/' (forward slash), and '#' (number sign).
The value of this parameter cannot be
null(Nothingin Visual Basic). - metricName
- The name of the Sparkplug metric.
The value of this parameter cannot be
null(Nothingin Visual Basic). - metricData
- The Sparkplug metric data.
The value of this parameter cannot be
null(Nothingin Visual Basic).