Connectivity Software User's Guide and Reference
SparkplugMetricIdentificationMode Enumeration



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace : SparkplugMetricIdentificationMode Enumeration
Defines how the Sparkplug metrics are identified in the Birth and Data messages.
Syntax
'Declaration
 
<DisplayName2Attribute("Sparkplug Metric Identification Mode")>
Public Enum SparkplugMetricIdentificationMode 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As SparkplugMetricIdentificationMode
[DisplayName2("Sparkplug Metric Identification Mode")]
public enum SparkplugMetricIdentificationMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
[DisplayName2("Sparkplug Metric Identification Mode")]
public enum class SparkplugMetricIdentificationMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
MemberValueDescription
Alias2Use the metric alias only for identification.

The value of this enum member is 2.

Name1Use the metric name only for identification.

The value of this enum member is 1.

NameAndAlias3Use both the metric name and alias for identification.

The value of this enum member is 3.

None0No identification. This value should not be used.

The value of this enum member is 0.

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         OpcLabs.EasySparkplug.SparkplugMetricIdentificationMode

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also