Writer Class

COMTRADE data and config file writer.

Definition

Namespace: Gemstone.COMTRADE
Assembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.160 -- Release Build+115e94fbb56ed672507f10910e5c7a2485aaddb9
public static class Writer
Inheritance
Object    Writer

Methods

CreateCFFStream(Stream, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream.
CreateCFFStream(String, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream.
CreateCFFStreamAscii(Stream, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream targeted for ASCII.
CreateCFFStreamAscii(String, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream targeted for ASCII.
CreateSchema Creates a new COMTRADE configuration Schema.
UpdateCFFEndSample Updates a Combined File Format (.cff) COMTRADE file stream with a final end sample number.
UpdateCFFStreamBinaryByteCount Updates a Combined File Format (.cff) COMTRADE file stream with a final binary byte count.
WriteNextRecordAscii(StreamWriter, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in ASCII format.
WriteNextRecordAscii(StreamWriter, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in ASCII format.
WriteNextRecordBinary(Stream, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary format.
WriteNextRecordBinary(Stream, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary format.
WriteNextRecordBinary32(Stream, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary32 format.
WriteNextRecordBinary32(Stream, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary32 format.
WriteNextRecordFloat32(Stream, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in float32 format.
WriteNextRecordFloat32(Stream, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in float32 format.

Fields

CRLF Defines a carriage return and line feed constant, i.e., "\r\n".
MaxEndSample Defines the maximum COMTRADE end sample number.
MaxFileSize Defines the maximum file size for this COMTRADE implementation.

See Also