ResultDataQuery Class

Class for querying results in a ResultData object

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class ResultDataQuery
Inheritance
Object    ResultDataQuery

Constructors

ResultDataQuery(IResultData) Create query object based on the provided resultData object
ResultDataQuery(IResultData, NullableBoolean) Create query object based on the provided resultData object

Methods

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)
FindClosestElement Find element in dataItem that is closest to chainage
FindDataItem Find data item in dataSet which quantity matches the given quantityId.

Returns null if none found

GetCatchmentValues Get time series values for quantityId of catchment with id catchmentId. If catchment or quantity could not be found, null is returned.
GetDateTimes Get result file datetimes.
GetDateTimesAsStrings Get result file datetimes as strings.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNodeValues Get time series values for the node with the id nodeId and quantity with id quantityId. If node or quantity could not be found, null is returned.
GetReachEndValues Get time series values at the end of of the reach with name reachName and quantity with id quantityId. If reach or quantity could not be found, null is returned.
GetReachStartValues Get time series values at the start of of the reach with name reachName and quantity with id quantityId. If reach or quantity could not be found, null is returned.
GetReachSumValues Get time series values summing up quantity for all grid points in reach. This is useful for quantities like water volumes.
GetReachValue Get value at the element that is closest to chainage in reach with name reachName and quantity with id quantityId, at time time, interpolated if required. If reach or quantity could not be found, null is returned.
GetReachValues Get time series values at the element that is closest to chainage in reach with name reachName and quantity with id quantityId. If reach or quantity could not be found, null is returned.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
TimeInterpolate Interpolate a value in the dataItem from the specified elementIndex at the time time.

returns float.MinValue if time is outside time span of file

ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

_resultData Result Data object to query
_searcher Result Data Search object to help search for nodes, reaches, catchments etc.

See Also