Parser Class |
public class Parser : IDisposable
The Parser type exposes the following members.
Name | Description | |
---|---|---|
AdjustToUTC | 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. | |
BinaryByteCount | Gets the byte count as parsed from a Combined File Format (.cff) file targeted with binary format. | |
FileName | 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. | |
InferTimeFromSampleRates | Gets or sets flag that determines if time should be inferred from sample rates. | |
IsCombinedFileFormat | Gets flag that determines if FileName is a Combined File Format (.cff) file. | |
PrimaryValues | Gets values of current record with secondary analog channels scaled to primary values. | |
Schema | Gets or sets associated COMTRADE schema for this Parser. | |
SecondaryValues | Gets values of current record with primary analog channels scaled to secondary values. | |
TargetAngleUnit | Gets or sets target angle unit for any analog channels that are angles. | |
Timestamp | Gets timestamp of current record. | |
Values | Gets values of current record. |
Name | Description | |
---|---|---|
CloseFiles | Closes all COMTRADE data file streams. | |
Dispose | Releases all the resources used by the Parser object. | |
Dispose(Boolean) | Releases the unmanaged resources used by the Parser object and optionally releases the managed resources. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Releases the unmanaged resources before the Parser object is reclaimed by GC.
(Overrides ObjectFinalize) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OpenFiles | Opens all COMTRADE data file streams. | |
ReadNext | Reads next COMTRADE record. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |