C# Класс SharpTuneCore.ECUMetaData

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConvertXML ( string fetchPath, List &blobtables, Dictionary &t3d, Dictionary &t2d, Dictionary &t1d, String>.Dictionary imap, bool isbase ) : void

Load parameters from XML an XML file

CopyTables ( ECUMetaData d ) : void

Creates a table XEL from the template file, adding proper addresses

ECUMetaData ( AvailableDevices ad ) : System

Constructor

ECUMetaData ( AvailableDevices ad, string filepath ) : System

Constructor TODO: Change to a factory to share already-opened definitions TODO: Include more information about inheritance in the class for def-editing

ECUMetaData ( AvailableDevices ad, string fp, Mod mod ) : System

Constructor used to create new definitions using existing data

ECUMetaData ( AvailableDevices ad, string respath, bool isres ) : System
ExportEcuFlashXML ( ) : bool
ExportEcuFlashXML ( string filepath ) : bool
ExportRRRomId ( ) : XElement
ExposeTable ( string name, LookupTable lut ) : void
GetBaseRomTable ( string tablename, TableMetaData &basetable ) : bool
ImportMapFile ( string filepath, ECU image ) : void
ImportMapText ( string text, ECU image ) : void
ParseMetaData_ECUFlash ( ) : void

Read the rom identification header and include from a file

Populate ( ) : bool

Populates a 'short def' (romid + include) into a full definition

ReadEcuFlashRamTables ( XDocument xmlDoc, IXmlLineInfo info ) : bool
ReadEcuFlashRomTables ( XDocument xmlDoc, IXmlLineInfo info ) : bool
ReadEcuFlashScalings ( XDocument xmlDoc, IXmlLineInfo info ) : bool
ReadMap ( EcuMap idaMap, ECU image ) : void
ReadXML ( ) : bool

Load parameters from XML an XML file

pullScalings ( String fetchPath, List &xbs, List &xs ) : void

Pulls the scaling xelement from the definition at fetchPath

Приватные методы

Метод Описание
AddRamTable ( TableMetaData table, int line ) : void
AddRomTable ( TableMetaData table, int line ) : void
Clear ( ) : void
GetBaseTable ( string name ) : TableMetaData
Inherit ( ) : void

Описание методов

ConvertXML() публичный статический Метод

Load parameters from XML an XML file
public static ConvertXML ( string fetchPath, List &blobtables, Dictionary &t3d, Dictionary &t2d, Dictionary &t1d, String>.Dictionary imap, bool isbase ) : void
fetchPath string
blobtables List
t3d Dictionary
t2d Dictionary
t1d Dictionary
imap String>.Dictionary
isbase bool
Результат void

CopyTables() публичный Метод

Creates a table XEL from the template file, adding proper addresses
public CopyTables ( ECUMetaData d ) : void
d ECUMetaData
Результат void

ECUMetaData() публичный Метод

Constructor
public ECUMetaData ( AvailableDevices ad ) : System
ad AvailableDevices
Результат System

ECUMetaData() публичный Метод

Constructor TODO: Change to a factory to share already-opened definitions TODO: Include more information about inheritance in the class for def-editing
public ECUMetaData ( AvailableDevices ad, string filepath ) : System
ad AvailableDevices
filepath string
Результат System

ECUMetaData() публичный Метод

Constructor used to create new definitions using existing data
public ECUMetaData ( AvailableDevices ad, string fp, Mod mod ) : System
ad AvailableDevices
fp string
mod Mod
Результат System

ECUMetaData() публичный Метод

public ECUMetaData ( AvailableDevices ad, string respath, bool isres ) : System
ad AvailableDevices
respath string
isres bool
Результат System

ExportEcuFlashXML() публичный Метод

public ExportEcuFlashXML ( ) : bool
Результат bool

ExportEcuFlashXML() публичный Метод

public ExportEcuFlashXML ( string filepath ) : bool
filepath string
Результат bool

ExportRRRomId() публичный Метод

public ExportRRRomId ( ) : XElement
Результат XElement

ExposeTable() публичный Метод

public ExposeTable ( string name, LookupTable lut ) : void
name string
lut LookupTable
Результат void

GetBaseRomTable() публичный Метод

public GetBaseRomTable ( string tablename, TableMetaData &basetable ) : bool
tablename string
basetable TableMetaData
Результат bool

ImportMapFile() публичный Метод

public ImportMapFile ( string filepath, ECU image ) : void
filepath string
image ECU
Результат void

ImportMapText() публичный Метод

public ImportMapText ( string text, ECU image ) : void
text string
image ECU
Результат void

ParseMetaData_ECUFlash() публичный Метод

Read the rom identification header and include from a file
public ParseMetaData_ECUFlash ( ) : void
Результат void

Populate() публичный Метод

Populates a 'short def' (romid + include) into a full definition
public Populate ( ) : bool
Результат bool

ReadEcuFlashRamTables() публичный Метод

public ReadEcuFlashRamTables ( XDocument xmlDoc, IXmlLineInfo info ) : bool
xmlDoc XDocument
info IXmlLineInfo
Результат bool

ReadEcuFlashRomTables() публичный Метод

public ReadEcuFlashRomTables ( XDocument xmlDoc, IXmlLineInfo info ) : bool
xmlDoc XDocument
info IXmlLineInfo
Результат bool

ReadEcuFlashScalings() публичный Метод

public ReadEcuFlashScalings ( XDocument xmlDoc, IXmlLineInfo info ) : bool
xmlDoc XDocument
info IXmlLineInfo
Результат bool

ReadMap() публичный Метод

public ReadMap ( EcuMap idaMap, ECU image ) : void
idaMap EcuMap
image ECU
Результат void

ReadXML() публичный Метод

Load parameters from XML an XML file
public ReadXML ( ) : bool
Результат bool

pullScalings() публичный статический Метод

Pulls the scaling xelement from the definition at fetchPath
public static pullScalings ( String fetchPath, List &xbs, List &xs ) : void
fetchPath String /// Fetch path. ///
xbs List
xs List
Результат void