PeriodicScheduler Class

Default implementation of IPeriodicScheduler The GetValue results are buffered. If updating the SpecialDays or the SchedulePatternMatch, call Reset() in order to reset the buffer.

Definition

Namespace: DHI.Mike1D.BoundaryModule.PeriodicItem
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class PeriodicScheduler : IPeriodicScheduler, 
	IExtensibleDataObject
Inheritance
Object    PeriodicScheduler
Implements
IPeriodicScheduler, IExtensibleDataObject

Constructors

PeriodicSchedulerInitializes a new instance of the PeriodicScheduler class

Properties

ExtensionData Data from an extended DataContract not recognized here
Id Id of Periodic Pattern
ScheduleProfileMap Schedule-DailyPattern map, ordered such that the top most ones are tested first
SpecialDays Special days. Set to null to remove existing/disable.

Methods

Add Add a schedule and a dailyPattern to the PeriodicScheduler
Count Number of Schedule-Pattern pairs
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAccumulatedValue Get the accumulated value in the time span.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetProfileAt Return the Schedule for the Schedule-dailyPattern pair at the specified index
GetScheduleAt Return the Schedule for the Schedule-dailyPattern pair at the specified index
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue Get the value of the periodic pattern at the given date.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Prepare Prepare item for simulation.
RemoveAt Remove a schedule and a dailyPattern at the specified index
ResetBuffer Reset the buffer, in case changes have been made to the object, the buffer may no longer contain the correct value.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validate this

See Also