|
SubscriberHubSetMeasurementFormats Method
|
Defines string formats to apply for the collection of format records.
Namespace: GSF.Web.SharedAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax function SetMeasurementFormats(subscriberID, formatRecords);
View SourceParameters
- subscriberID String
- The ID of the subscriber.
- formatRecords IEnumerableObject
- Collection of format records.
Remarks
This is simply a bulk operation for
SetMeasurementFormat(String, Guid, String, String).
Each format record should be a Json object similar to the following:
{
"signalID":"4B1DEE7C-72EC-41EA-AAF3-7E8094355740",
"format":"{0:N3} seconds",
"dataType":"System.Double"
}
Where
- "signalID" is the measurement signal ID to which to apply the format
- "format" is the string format to apply, and
- "dataType" is the fully qualified data type for measurement
See Also