C# Class VAGSuite.EDC15P6FileParser

Inheritance: IEDCFileParser
Datei anzeigen Open project: Blackfrosch/VAGEDCSuite Class Usage Examples

Public Methods

Method Description
ExtractBoschPartnumber ( byte allBytes ) : string
ExtractInfo ( byte allBytes ) : string
ExtractPartnumber ( byte allBytes ) : string
ExtractSoftwareNumber ( byte allBytes ) : string
FindSVBL ( byte allBytes, string filename, SymbolCollection newSymbols, List newCodeBlocks ) : void
NameKnownMaps ( byte allBytes, SymbolCollection newSymbols, List newCodeBlocks ) : void
parseFile ( string filename, List &newCodeBlocks, List &newAxisHelpers ) : SymbolCollection

Private Methods

Method Description
AddToAxisCollection ( List newAxisHelpers, int ID, string descr, string units, double correction, double offset ) : void
AddToSymbolCollection ( SymbolCollection newSymbols, SymbolHelper newSymbol, List newCodeBlocks ) : bool
BuildAxisIDList ( SymbolCollection newSymbols, List newAxisHelpers ) : void
CheckAxisCount ( int offset, byte allBytes, List &mapSelectors ) : int
CheckCodeBlock ( int offset, byte allBytes, SymbolCollection newSymbols, List newCodeBlocks ) : int
CheckMap ( int t, byte allBytes, SymbolCollection newSymbols, List newCodeBlocks, int &len2Skip ) : bool
DetermineCodeBlockByByAddress ( long address, List currBlocks ) : int
DetermineNumberByFlashBank ( long address, List currBlocks ) : string
GetMapNameCountForCodeBlock ( string varName, int codeBlock, SymbolCollection newSymbols, bool debug ) : int
GetMaxAxisValue ( byte allBytes, SymbolHelper sh, MapViewerEx axisIdent ) : int
GetTemperatureDurRange ( int index ) : double
GetTemperatureSOIRange ( MapSelector sh, int index ) : double
IsValidTemperatureAxis ( byte allBytes, SymbolHelper sh, MapViewerEx axisIdent ) : bool
MapContainsNegativeValues ( byte allBytes, SymbolHelper sh ) : bool
MapIsEmpty ( byte allBytes, SymbolHelper sh ) : bool
MatchAxis ( SymbolCollection newSymbols, List newAxisHelpers ) : void
RemoveNonSymbols ( SymbolCollection newSymbols, List newCodeBlocks ) : void
VerifyCodeBlocks ( byte allBytes, SymbolCollection newSymbols, List newCodeBlocks ) : void
findNextMap ( byte allBytes, int index, int maxBytesToSearch ) : int
isAxisID ( int id ) : bool
isValidLength ( int length, int id ) : bool

Method Details

ExtractBoschPartnumber() public method

public ExtractBoschPartnumber ( byte allBytes ) : string
allBytes byte
return string

ExtractInfo() public method

public ExtractInfo ( byte allBytes ) : string
allBytes byte
return string

ExtractPartnumber() public method

public ExtractPartnumber ( byte allBytes ) : string
allBytes byte
return string

ExtractSoftwareNumber() public method

public ExtractSoftwareNumber ( byte allBytes ) : string
allBytes byte
return string

FindSVBL() public method

public FindSVBL ( byte allBytes, string filename, SymbolCollection newSymbols, List newCodeBlocks ) : void
allBytes byte
filename string
newSymbols SymbolCollection
newCodeBlocks List
return void

NameKnownMaps() public method

public NameKnownMaps ( byte allBytes, SymbolCollection newSymbols, List newCodeBlocks ) : void
allBytes byte
newSymbols SymbolCollection
newCodeBlocks List
return void

parseFile() public method

public parseFile ( string filename, List &newCodeBlocks, List &newAxisHelpers ) : SymbolCollection
filename string
newCodeBlocks List
newAxisHelpers List
return SymbolCollection