Click or drag to resize

LTSEventList Class

List of LTS events. An event is a set of values with a time stamp. This class is abstract, and the calculation of the values in the events is performed in the purely abstract function Update().
Inheritance Hierarchy

Namespace:  DHI.Mike1D.Mike1DDataAccess
Assembly:  DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public abstract class LTSEventList

The LTSEventList type exposes the following members.

Constructors
  NameDescription
Protected methodLTSEventList
Constructor
Top
Properties
  NameDescription
Public propertyGetter
The current value to use when calculating the maximum
Public propertyMaxNumberOfResults
The maximum number of result that will be written to the result file.
Public propertyMinimumTimeBetweenValues
Two events in the event list should be separated by at least this TimeSpan. If they are closer together then they are considered part of the same event.
Top
Methods
  NameDescription
Public methodAdd(DateTime, Double)
Add an event with a single value to the list
Public methodAdd(DateTime, Double, Double)
Add an event with two values to the list
Public methodAdd(DateTime, Double, Double, Double)
Add an event with three values to the list
Public methodCommitLastValueInJob
Commit the last value in the LTS job (and LTS simulation consists of multiple jobs)
Public methodCommitLastValueInSimulation
Commit the last value in the LTS simulation (and LTS simulation consists of multiple jobs)
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepareForNextLTSJob
Resets the state of the eventlist in preparation for another simulation in the LTS sequence.
Protected methodSortOnTime
Sort the event list on time stamps
Protected methodSortOnValue1
Sort the event list on the first value of each event
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update calculates the values in the events.
Public methodWriteToPFSFile
Write this event list to a PFS file (MU ERF format)
Top
Fields
  NameDescription
Protected field_events
List of LTS events
Protected field_getter
The current value to use when calculating the maximum
Protected field_minimumTimeBetweenValues
Two events in the event list should be separated by at least this TimeSpan. If they are closer together then they are considered part of the same event.
Protected field_zeroFlow
Zero flow tolerance
Top
See Also