Click or drag to resize

ResultDataQuery Class

Class for querying results in a ResultData object
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.ResultDataAccessResultDataQuery

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class ResultDataQuery

The ResultDataQuery type exposes the following members.

Constructors
  NameDescription
Public methodResultDataQuery
Create query object based on the provided resultData object
Top
Methods
  NameDescription
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 methodFindClosestElement
Find element in dataItem that is closest to chainage
Public methodFindDataItem
Find data item in dataSet which quantity matches the given quantityId.

Returns null if none found

Public methodGetCatchmentValues
Get time series values for quantityId of catchment with id catchmentId. If catchment or quantity could not be found, null is returned.
Public methodGetDateTimes
Get result file datetimes.
Public methodGetDateTimesAsStrings
Get result file datetimes as strings.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNodeValues
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.
Public methodGetReachEndValues
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.
Public methodGetReachStartValues
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.
Public methodGetReachSumValues
Get time series values summing up quantity for all grid points in reach. This is useful for quantities like water volumes.
Public methodGetReachValue
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.
Public methodGetReachValues
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.
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 methodTimeInterpolate
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

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_resultData
Result Data object to query
Protected field_searcher
Result Data Search object to help search for nodes, reaches, catchments etc.
Top
See Also