Click or drag to resize

SharedHubGetStatistic Method

If measurement is a statistic, returns the associated Statistic record; otherwise, returns null.

Namespace: GSF.Web.Shared
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.205-beta
Syntax
public Statistic GetStatistic(
	Object metadataRecord
)
View Source

Parameters

metadataRecord  Object
Record of measurement metadata used to lookup Statistic record.

Return Value

Statistic
Associated 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