Click or drag to resize

SubscriberHubSetMeasurementFormat Method

Defines a string format to apply for a given measurement.

Namespace: GSF.Web.Shared
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.205-beta
Syntax
public void SetMeasurementFormat(
	string subscriberID,
	Guid signalID,
	string format,
	string dataType
)
View Source

Parameters

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