Click or drag to resize

Parser Class

COMTRADE data file(s) parser.
Inheritance Hierarchy
SystemObject
  GSF.COMTRADEParser

Namespace: GSF.COMTRADE
Assembly: GSF.COMTRADE (in GSF.COMTRADE.dll) Version: 2.4.218-beta
Syntax
public class Parser : IDisposable
View Source

The Parser type exposes the following members.

Constructors
 NameDescription
Public methodParserInitializes a new instance of the Parser class
Top
Properties
 NameDescription
Public propertyAdjustToUTC Gets or sets flag that determines if schemas that include a time code for a UTC offset should apply the adjustment so that timestamps are parsed as UTC.
Public propertyBinaryByteCount Gets the byte count as parsed from a Combined File Format (.cff) file targeted with binary format.
Public propertyFileName Gets or sets COMTRADE data filename. If there are more than one data files in a set, this should be set to first file name in the set, e.g., DATA123.D00.
Public propertyInferTimeFromSampleRates Gets or sets flag that determines if time should be inferred from sample rates.
Public propertyIsCombinedFileFormat Gets flag that determines if FileName is a Combined File Format (.cff) file.
Public propertyPrimaryValues Gets values of current record with secondary analog channels scaled to primary values.
Public propertySchema Gets or sets associated COMTRADE schema for this Parser.
Public propertySecondaryValues Gets values of current record with primary analog channels scaled to secondary values.
Public propertyTargetAngleUnit Gets or sets target angle unit for any analog channels that are angles.
Public propertyTimestamp Gets timestamp of current record.
Public propertyValues Gets values of current record.
Top
Methods
 NameDescription
Public methodCloseFiles Closes all COMTRADE data file streams.
Public methodDispose Releases all the resources used by the Parser object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the Parser object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the Parser object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpenFiles Opens all COMTRADE data file streams.
Public methodReadNext Reads next COMTRADE record.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also