Click or drag to resize

DataGapRecovererLogDataGap Method

Logs a new data gap for processing.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
public bool LogDataGap(
	DateTimeOffset startTime,
	DateTimeOffset endTime,
	bool forceLog = false
)
View Source

Parameters

startTime  DateTimeOffset
Start time of data gap.
endTime  DateTimeOffset
End time of data gap.
forceLog  Boolean  (Optional)
Indicates whether to skip data gap validation and force the outage to be logged.

Return Value

Boolean
true if data gap was logged for processing; otherwise, false.
Remarks
Data gap will not be logged for processing if the startTime and endTime do not represent a valid time span for recovery according to MinimumRecoverySpan and MaximumRecoverySpan.
See Also