Click or drag to resize

Schema Class

Represents the schema for a configuration file in the COMTRADE file standard, IEEE Std C37.111-1999/2013.
Inheritance Hierarchy
SystemObject
  GSF.COMTRADESchema

Namespace: GSF.COMTRADE
Assembly: GSF.COMTRADE (in GSF.COMTRADE.dll) Version: 2.4.205-beta
Syntax
public class Schema
View Source

The Schema type exposes the following members.

Constructors
 NameDescription
Public methodSchema Creates a new instance of the Schema.
Public methodSchema(String) Creates a new instance of the Schema from an existing configuration file name.
Public methodSchema(String, Boolean) Creates a new instance of the Schema from an existing configuration file name.
Top
Properties
 NameDescription
Public propertyAnalogChannels Gets or sets analog channels of this Schema.
Public propertyBinary32RecordLength Calculates the size of a record, in bytes, when the file type is binary32.
Public propertyBinaryRecordLength Calculates the size of a record, in bytes, when the file type is binary.
Public propertyDeviceID Gets or sets free-form device ID for this Schema.
Public propertyDigitalChannels Gets or sets digital channels of this Schema.
Public propertyDigitalWords Gets the total digital words for given number of digital values when the file type is binary.
Public propertyFileImage Gets the file image of this Schema.
Public propertyFileName Gets the file name used to generate this schema when constructed with one; otherwise, null.
Public propertyFileType Gets or sets file type of this Schema.
Public propertyFloat32RecordLength Calculates the size of a record, in bytes, when the file type is float32.
Public propertyIsCombinedFileFormat Gets flag that determines if FileName is a Combined File Format (.cff) file.
Public propertyLeapSecondIndicator Gets or sets the leap second indicator for the recorded data set.
Public propertyLocalCode Gets or sets UTC offset for timezone of recording device, or "x" for not applicable - format HhMM.
Public propertyNominalFrequency Gets or sets nominal frequency of this Schema.
Public propertySampleRates Gets or sets sampling rates of this Schema. A file of phasor data will normally be made using a single sampling rate, so this will usually be 1.
Public propertyStartTime Gets or sets start timestamp of this Schema.
Public propertyStationName Gets or sets free-form station name for this Schema.
Public propertyTimeCode Gets or sets UTC offset for channel timestamps - format HhMM.
Public propertyTimeFactor Gets or sets the multiplication factor for the time differential (timestamp) field in this Schema.
Public propertyTimeQualityIndicatorCode Gets or sets the time quality indicator code for the recorded data set.
Public propertyTotalAnalogChannels Gets total number of analog channels of this Schema.
Public propertyTotalChannels Gets total number of analog and digital channels of this Schema.
Public propertyTotalChannelValues Gets total number of channels values, i.e., TotalChannels * TotalSamples.
Public propertyTotalDigitalChannels Gets total number of digital channels of this Schema.
Public propertyTotalSampleRates Gets total number of sample rates of this Schema.
Public propertyTotalSamples Gets total number of samples, i.e., rows per timestamp, as reported by the sample rates.
Public propertyTriggerTime Gets or sets trigger timestamp of this Schema.
Public propertyVersion Gets or sets version number of the IEEE Std C37.111 used by this Schema.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
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 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