C# Class AgGateway.ADAPT.ISOv4Plugin.ExportMappers.BinaryWriter

Inheritance: IBinaryWriter
Show file Open project: ADAPT/ISOv4Plugin Class Usage Examples

Public Methods

Method Description
BinaryWriter ( ) : System
BinaryWriter ( IEnumeratedValueMapper enumeratedValueMapper, INumericValueMapper numericValueMapper ) : System
Write ( string fileName, List meters, IEnumerable spatialRecords ) : IEnumerable

Private Methods

Method Description
GetMeterToIsoIdCache ( List meters ) : int>.Dictionary
GetMeterValues ( AgGateway.ADAPT.ApplicationDataModel.LoggedData.SpatialRecord spatialRecord, List meters, int>.Dictionary metersByIsoIds ) : uint>.Dictionary
GetMeterValuesAndAssignDlvNumbers ( AgGateway.ADAPT.ApplicationDataModel.LoggedData.SpatialRecord spatialRecord, List meters ) : uint>.Dictionary
WriteMeterValues ( AgGateway.ADAPT.ApplicationDataModel.LoggedData.SpatialRecord spatialRecord, List meters, MemoryStream memoryStream, int>.Dictionary metersByIsoIds ) : void
WritePosition ( AgGateway.ADAPT.ApplicationDataModel.Shapes.Shape geometry, MemoryStream memoryStream ) : void
WriteSpatialRecord ( AgGateway.ADAPT.ApplicationDataModel.LoggedData.SpatialRecord spatialRecord, List meters, MemoryStream memoryStream, int>.Dictionary metersByIsoIds ) : void
WriteTimeStart ( System.DateTime timestamp, MemoryStream memoryStream ) : void

Method Details

BinaryWriter() public method

public BinaryWriter ( ) : System
return System

BinaryWriter() public method

public BinaryWriter ( IEnumeratedValueMapper enumeratedValueMapper, INumericValueMapper numericValueMapper ) : System
enumeratedValueMapper IEnumeratedValueMapper
numericValueMapper INumericValueMapper
return System

Write() public method

public Write ( string fileName, List meters, IEnumerable spatialRecords ) : IEnumerable
fileName string
meters List
spatialRecords IEnumerable
return IEnumerable