EpanetError Enumeration

Error code for reading EPANet result files

Definition

Namespace: DHI.Mike1D.ResultDataAccess.Epanet
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public enum EpanetError

Members

FNoError0 
FEndOfFile1 End of file was reached.
FFailData1,000 Failed reading data from the file. File is corrupt, not a EPANet result file or handled incorrectly.

Returned if a wrong method is called, i.e, if file has a equidistant 2D spatial axis, and one of the other spatial axis get/set methods was called.

FFailIllegalTstep1,001 The time step number is out of range.
FFailIllegalItem1,002 The item number is out of range.
FErrMalloc2,000 Error allocating memory
FErrRead2,001 Error reading file. Reasons: File has zero size, disc is corrupt, other.
FErrWrite2,002 Error writing data to disc. Reasons: Disc is full, filename is invalid, other.
FErrOpen2,003 Error opening file. Filename is invalid, or header could not be read (corrupt, or not a EPANet result file).
FErrClose2,004 Error closing file.
FErrInvalidFile2,005 Error invalid file.
FErrFlush2,006 Error flushing data to disc. Disc/quota may be full.
FErrSeek2,007 Error seeking in file. File has been truncated or disc is corrupt.
FErrItemno2,008 An item number is out of range.
FErrIndex2,009 An index number is out of range.
FErrDtype2,010 A data type does not match (internal error). File is most likely corrupt.
FErrData2,011 Error in file data, file is most likely corrupt.
FErrDateFormat2,012 Date format is invalid. Must be YYYY-MM-dd
FErrTimeFormat2,013 Time format is invalid. Must be hh:mm:ss
FErrSize2,014 A size does not match (internal error). File is most likely corrupt.
FErrTag2,015 Error reading DHI DFS tag (DHI_). Most likely file is not a EPANet result file.
FErrReadonly2,016 Trying to write to a readonly file.
FErrSkip2,017 Error skipping a logical block (internal error). Most likely file is corrupt.
FErrApptag2,018 Error reading DHI DFS API tag (DFS_). Most likely file is not a EPANet result file.
FErrAxis2,019 Wrong axis type number (internal error). Most likely the file is corrupt.
FErrCtype2,020 Error reading logical block type (internal error). Most likely the file is corrupt.
FErrEum2,021 EUM unit and type does not match.
FErrNotDtx2,022 File is not a dtx file, though loaded as such.
FErrPlugin2,023 Error in extension plugin.
FErrMagicnum2,024 The magic number is not match. Most likely the engine is not completed properly or the file is corrupt. Please see the summmary file for details.

Extension Methods

IsOneOf Returns true if enumeration is one of the listed ones.
(Defined by GenericExtensions)

See Also