C# Class Tables.Denso.Table

Common functionality for 2D and 3D Table types.
Afficher le fichier Open project: SubaruDieselCrew/ScoobyRom Class Usage Examples

Méthodes publiques

Свойство Type Description
endian string

Protected Properties

Свойство Type Description
countX int
hasMAC bool
location int
multiplier float
posMax int
posMin int
rangeX Range
selected bool
tableType TableType
title string
typeUncertain bool
valuesX float[]

Méthodes publiques

Méthode Description
CalcMinMaxAverage ( float values, float &minimum, float &maximum, float &average ) : void
ChangeTypeToAndReload ( TableType newType, System stream ) : void
CheckAxisArray ( float floats ) : bool

Values must increase steadily (required for ROM interpolation sub to work).

CheckFloatArray ( float floats ) : bool
CommentValuesStats ( float min, float max ) : System.Xml.Linq.XComment
CommentValuesStats ( float min, float max, float avg ) : System.Xml.Linq.XComment
CopyTableRomRaider ( ) : string
GenerateExpression ( string varName ) : string
GenerateExpressionReverse ( string varName ) : string
HexNum ( int value ) : string
IsFloatValid ( float value ) : bool
IsRecordValid ( ) : bool
RRXml ( ) : System.Xml.Linq.XElement
RRXmlAxis ( AxisType axisType, string name, string unit, TableType tableType, Range range, float axis, float min, float max ) : System.Xml.Linq.XElement
RRXmlScaling ( string units, string expr, string to_byte, string format, float fineincrement, float coarseincrement ) : System.Xml.Linq.XElement
ReadValidateValues ( System stream ) : bool
ReadValues ( System stream, Range range, TableType tableType ) : Array
ReadValuesFloat ( System stream, Range range ) : float[]
ReadValuesInt16 ( System stream, Range range ) : short[]
ReadValuesInt8 ( System stream, Range range ) : sbyte[]
ReadValuesUInt16 ( System stream, Range range ) : ushort[]
ReadValuesUInt32 ( System stream, Range range ) : uint[]
ReadValuesUInt8 ( System stream, Range range ) : byte[]
Reset ( ) : void
TunerProXdf ( int categoryID ) : System.Xml.Linq.XElement

Méthodes protégées

Méthode Description
AxisXdf ( AxisType axisType, TableType tableType, int count, int address, string units ) : System.Xml.Linq.XElement
CategoryXdf ( int categoryID ) : System.Xml.Linq.XElement
CheckMAC ( ) : void
EmbeddedDataXdf ( TableType tableType, int colcount, int rowcount, int address ) : System.Xml.Linq.XElement
EmptyXAxisXdf ( ) : System.Xml.Linq.XElement
ThrowInvalidTableType ( TableType tableType ) : void
ValuesAsFloats ( Array array ) : float[]
ValuesFromTypeFloat ( Array array ) : float[]
ValuesFromTypeInt16 ( Array array ) : float[]
ValuesFromTypeInt8 ( Array array ) : float[]
ValuesFromTypeUInt16 ( Array array ) : float[]
ValuesFromTypeUInt32 ( Array array ) : float[]
ValuesFromTypeUInt8 ( Array array ) : float[]
ZAxisXdf ( TableType tableType, int colcount, int rowcount, int address, string units, string equation ) : System.Xml.Linq.XElement
mmedtypeflagsXdf ( TableType tableType, MajorOrderXdf majorOrder ) : int

Method Details

AxisXdf() protected static méthode

protected static AxisXdf ( AxisType axisType, TableType tableType, int count, int address, string units ) : System.Xml.Linq.XElement
axisType AxisType
tableType TableType
count int
address int
units string
Résultat System.Xml.Linq.XElement

CalcMinMaxAverage() public static méthode

public static CalcMinMaxAverage ( float values, float &minimum, float &maximum, float &average ) : void
values float
minimum float
maximum float
average float
Résultat void

CategoryXdf() protected static méthode

protected static CategoryXdf ( int categoryID ) : System.Xml.Linq.XElement
categoryID int
Résultat System.Xml.Linq.XElement

ChangeTypeToAndReload() public abstract méthode

public abstract ChangeTypeToAndReload ( TableType newType, System stream ) : void
newType TableType
stream System
Résultat void

CheckAxisArray() public static méthode

Values must increase steadily (required for ROM interpolation sub to work).
public static CheckAxisArray ( float floats ) : bool
floats float /// A ///
Résultat bool

CheckFloatArray() public static méthode

public static CheckFloatArray ( float floats ) : bool
floats float
Résultat bool

CheckMAC() protected méthode

protected CheckMAC ( ) : void
Résultat void

CommentValuesStats() public static méthode

public static CommentValuesStats ( float min, float max ) : System.Xml.Linq.XComment
min float
max float
Résultat System.Xml.Linq.XComment

CommentValuesStats() public static méthode

public static CommentValuesStats ( float min, float max, float avg ) : System.Xml.Linq.XComment
min float
max float
avg float
Résultat System.Xml.Linq.XComment

CopyTableRomRaider() public abstract méthode

public abstract CopyTableRomRaider ( ) : string
Résultat string

EmbeddedDataXdf() protected static méthode

protected static EmbeddedDataXdf ( TableType tableType, int colcount, int rowcount, int address ) : System.Xml.Linq.XElement
tableType TableType
colcount int
rowcount int
address int
Résultat System.Xml.Linq.XElement

EmptyXAxisXdf() protected static méthode

protected static EmptyXAxisXdf ( ) : System.Xml.Linq.XElement
Résultat System.Xml.Linq.XElement

GenerateExpression() public méthode

public GenerateExpression ( string varName ) : string
varName string
Résultat string

GenerateExpressionReverse() public méthode

public GenerateExpressionReverse ( string varName ) : string
varName string
Résultat string

HexNum() public static méthode

public static HexNum ( int value ) : string
value int
Résultat string

IsFloatValid() public static méthode

public static IsFloatValid ( float value ) : bool
value float
Résultat bool

IsRecordValid() public abstract méthode

public abstract IsRecordValid ( ) : bool
Résultat bool

RRXml() public abstract méthode

public abstract RRXml ( ) : System.Xml.Linq.XElement
Résultat System.Xml.Linq.XElement

RRXmlAxis() public méthode

public RRXmlAxis ( AxisType axisType, string name, string unit, TableType tableType, Range range, float axis, float min, float max ) : System.Xml.Linq.XElement
axisType AxisType
name string
unit string
tableType TableType
range Range
axis float
min float
max float
Résultat System.Xml.Linq.XElement

RRXmlScaling() public static méthode

public static RRXmlScaling ( string units, string expr, string to_byte, string format, float fineincrement, float coarseincrement ) : System.Xml.Linq.XElement
units string
expr string
to_byte string
format string
fineincrement float
coarseincrement float
Résultat System.Xml.Linq.XElement

ReadValidateValues() public abstract méthode

public abstract ReadValidateValues ( System stream ) : bool
stream System
Résultat bool

ReadValues() public static méthode

public static ReadValues ( System stream, Range range, TableType tableType ) : Array
stream System
range Range
tableType TableType
Résultat System.Array

ReadValuesFloat() public static méthode

public static ReadValuesFloat ( System stream, Range range ) : float[]
stream System
range Range
Résultat float[]

ReadValuesInt16() public static méthode

public static ReadValuesInt16 ( System stream, Range range ) : short[]
stream System
range Range
Résultat short[]

ReadValuesInt8() public static méthode

public static ReadValuesInt8 ( System stream, Range range ) : sbyte[]
stream System
range Range
Résultat sbyte[]

ReadValuesUInt16() public static méthode

public static ReadValuesUInt16 ( System stream, Range range ) : ushort[]
stream System
range Range
Résultat ushort[]

ReadValuesUInt32() public static méthode

public static ReadValuesUInt32 ( System stream, Range range ) : uint[]
stream System
range Range
Résultat uint[]

ReadValuesUInt8() public static méthode

public static ReadValuesUInt8 ( System stream, Range range ) : byte[]
stream System
range Range
Résultat byte[]

Reset() public méthode

public Reset ( ) : void
Résultat void

ThrowInvalidTableType() protected static méthode

protected static ThrowInvalidTableType ( TableType tableType ) : void
tableType TableType
Résultat void

TunerProXdf() public abstract méthode

public abstract TunerProXdf ( int categoryID ) : System.Xml.Linq.XElement
categoryID int
Résultat System.Xml.Linq.XElement

ValuesAsFloats() protected méthode

protected ValuesAsFloats ( Array array ) : float[]
array System.Array
Résultat float[]

ValuesFromTypeFloat() protected méthode

protected ValuesFromTypeFloat ( Array array ) : float[]
array System.Array
Résultat float[]

ValuesFromTypeInt16() protected méthode

protected ValuesFromTypeInt16 ( Array array ) : float[]
array System.Array
Résultat float[]

ValuesFromTypeInt8() protected méthode

protected ValuesFromTypeInt8 ( Array array ) : float[]
array System.Array
Résultat float[]

ValuesFromTypeUInt16() protected méthode

protected ValuesFromTypeUInt16 ( Array array ) : float[]
array System.Array
Résultat float[]

ValuesFromTypeUInt32() protected méthode

protected ValuesFromTypeUInt32 ( Array array ) : float[]
array System.Array
Résultat float[]

ValuesFromTypeUInt8() protected méthode

protected ValuesFromTypeUInt8 ( Array array ) : float[]
array System.Array
Résultat float[]

ZAxisXdf() protected static méthode

protected static ZAxisXdf ( TableType tableType, int colcount, int rowcount, int address, string units, string equation ) : System.Xml.Linq.XElement
tableType TableType
colcount int
rowcount int
address int
units string
equation string
Résultat System.Xml.Linq.XElement

mmedtypeflagsXdf() protected static méthode

protected static mmedtypeflagsXdf ( TableType tableType, MajorOrderXdf majorOrder ) : int
tableType TableType
majorOrder MajorOrderXdf
Résultat int

Property Details

countX protected_oe property

protected int countX
Résultat int

endian public_oe static_oe property

public static string endian
Résultat string

hasMAC protected_oe property

protected bool hasMAC
Résultat bool

location protected_oe property

protected int location
Résultat int

multiplier protected_oe property

protected float multiplier
Résultat float

posMax protected_oe static_oe property

protected static int posMax
Résultat int

posMin protected_oe static_oe property

protected static int posMin
Résultat int

rangeX protected_oe property

protected Range rangeX
Résultat Range

selected protected_oe property

protected bool selected
Résultat bool

tableType protected_oe property

protected TableType tableType
Résultat TableType

title protected_oe property

protected string title
Résultat string

typeUncertain protected_oe property

protected bool typeUncertain
Résultat bool

valuesX protected_oe property

protected float[] valuesX
Résultat float[]