|
SubscriberHubSetMeasurementFormat Method
|
Defines a string format to apply for a given measurement.
Namespace: GSF.Web.SharedAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax Public Sub SetMeasurementFormat (
subscriberID As String,
signalID As Guid,
format As String,
dataType As String
)
member SetMeasurementFormat :
subscriberID : string *
signalID : Guid *
format : string *
dataType : string -> unit
function SetMeasurementFormat(subscriberID, signalID, format, dataType);
View SourceParameters
- subscriberID String
- The ID of the subscriber.
- signalID Guid
- Measurement signal ID to which to apply the format.
- format String
- String format to apply, e.g., "{0:N3} seconds".
- dataType String
- Fully qualified data type for measurement, defaults to "System.Double" if null.
Remarks
Set format to null to remove any existing formatting.
Conversion of double-precision measurement floating point value to specified
dataType will be attempted when type is provided.
See Also