Connectivity Software User's Guide and Reference
Constant Method (SparkplugMetricExtension)



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > SparkplugMetricExtension Class : Constant Method
Modifies the metric to provide the specified constant data (value, timestamp), non-writable.

The metric will not be writable.

Overload List
OverloadDescription
Makes a constant metric with given value type, and Sparkplug data object (value, timestamp).  
Makes a constant metric with given value type code, and Sparkplug data object (value, timestamp).  
Makes a constant metric with given Sparkplug type, and Sparkplug data object (value, timestamp).  
Makes a constant metric using generic-typed Sparkplug data object (typed value, timestamp).  
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

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