AsciiBridge Class |
Namespace: DHI.Mike1D.ResultDataAccess
The AsciiBridge type exposes the following members.
Name | Description | |
---|---|---|
AsciiBridge | Initializes a new instance of the AsciiBridge class |
Name | Description | |
---|---|---|
SecondsBetweenFileFlush |
Seconds between flush to file. Set this lower if you need to read the result file while your
calculations are running. WARNING: File flush is a potentially expensive operation. Use with care.
|
Name | Description | |
---|---|---|
DoStore |
Store at this time
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Finish |
Finish the file. Write dynamic statistics and static values.
| |
GetFormat |
Get output format of dynamic item
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsIncluded |
Returns true if grid point on reach is included in the output.
| |
IsXyStaticItem |
Returns true if the static item is a (x,y) static item and prints
two outputs.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Prepare | ||
ResultDataDoStoreOverride |
Method to used as the DoStoreUserFunction, to make
sure ResultData gets data at every time step (to update statistics)
| |
Save |
Writes the content of the _resultDataAccess into file
| |
SetupDynamicItems |
Setup dynamic items
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Truncate(String) |
Truncate string to column width, though only if delimiter is not defined
| |
Truncate(String, Int32) |
Truncate string to length, though only if delimiter is not defined
| |
WriteDashLine |
Write a line of dashes (-) in the txt file, matching numColumns columns of output data
| |
WriteHeader |
Write header, called in end of prepare method
| |
WriteStaticValue |
Write static value for the staticItem at the reach and grid point index
| |
WriteTimeSteps |
Write time steps. Called during simulation.
|
Name | Description | |
---|---|---|
_columnWidth | Width (minimum) of each column | |
_culture | Culture to use when outputting. Defaults to InvariantCulture | |
_data | Ascii output data | |
_doTruncate | Flag indicating if truncation of string should take place - only when no delimiter is defined | |
_formatChainage | Format string for chainage outputs | |
_formatDefault | Format string for string outputs | |
_formats | Format strings for dynamic and static outputs | |
_itemPredefinedNames | Default predefined names for static items | |
_itemPredefinedNamesYOffset | Offset for Y name of static item, for the XY outputs | |
_maximumTime | Time of maximum value of output quantity | |
_maximumValue | Maximum value of output quantity | |
_minimumTime | Time of minimum value of output quantity | |
_minimumValue | Minimum value of output quantity | |
_resultData | Result data to extract results from | |
_resultSpec | Result specification - storing frequence is used | |
_timeBetweenUpdates | ||
_timeOfNextUpdate | ||
_timestepCount | ||
_writer |