Writer Class

COMTRADE data and config file writer.

Definition

Namespace: Gemstone.COMTRADE
Assembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.128 -- Release Build+c1068d6f7b1cbea5c860803b7fe23d1a1d3918a0
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