Click or drag to resize

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.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.BoundaryModule.PeriodicItemPeriodicScheduler

Namespace:  DHI.Mike1D.BoundaryModule.PeriodicItem
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class PeriodicScheduler : IPeriodicScheduler, 
	IExtensibleDataObject

The PeriodicScheduler type exposes the following members.

Constructors
  NameDescription
Public methodPeriodicScheduler
Initializes a new instance of the PeriodicScheduler class
Top
Properties
  NameDescription
Public propertyExtensionData
Data from an extended DataContract not recognized here
Public propertyId
Id of Periodic Pattern
Public propertyScheduleProfileMap
Schedule-DailyPattern map, ordered such that the top most ones are tested first
Public propertySpecialDays
Special days. Set to null to remove existing/disable.
Top
Methods
  NameDescription
Public methodAdd
Add a schedule and a dailyPattern to the PeriodicScheduler
Public methodCount
Number of Schedule-Pattern pairs
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAccumulatedValue
Get the accumulated value in the time span.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProfileAt
Return the Schedule for the Schedule-dailyPattern pair at the specified index
Public methodGetScheduleAt
Return the Schedule for the Schedule-dailyPattern pair at the specified index
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Get the value of the periodic pattern at the given date.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare item for simulation.
Public methodRemoveAt
Remove a schedule and a dailyPattern at the specified index
Public methodResetBuffer
Reset the buffer, in case changes have been made to the object, the buffer may no longer contain the correct value.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validate this
Top
See Also