|
SharedHubGetStatistic Method
|
If measurement is a statistic, returns the associated Statistic record; otherwise, returns null.
Namespace: GSF.Web.SharedAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.205-beta
Syntax function GetStatistic(metadataRecord);
View SourceParameters
- metadataRecord Object
- Record of measurement metadata used to lookup Statistic record.
Return Value
StatisticAssociated Statistic record, if measurement is a statistic; otherwise, returns
null.
Remarks
For best results, this function should be called after all statistic engine sources have been registered.
metadataRecord object expected to contain a "signalid" and "signalreference" property.
See Also