C# Class hobd.OBD2Sensor

Inheritance: CoreSensor
Show file Open project: cail/hobd Class Usage Examples

Public Properties

Property Type Description
obdValue double>.Func

Protected Properties

Property Type Description
data_offset int
dataraw byte[]

Public Methods

Method Description
OBD2Sensor ( ) : System
SetRawValue ( byte msg ) : bool
SetValue ( byte dataraw ) : bool
get ( int idx ) : double
get_bit ( int idx, int bit ) : double
get_word ( int idx ) : double
getab ( ) : double
getbc ( ) : double
getcd ( ) : double
getde ( ) : double
getraw ( int idx ) : double
getraw_dword ( int idx ) : double
getraw_dwordle ( int idx ) : double
getraw_word ( int idx ) : double
getraw_wordle ( int idx ) : double
len ( ) : int
to_h ( byte a ) : byte

Method Details

OBD2Sensor() public method

public OBD2Sensor ( ) : System
return System

SetRawValue() public method

public SetRawValue ( byte msg ) : bool
msg byte
return bool

SetValue() public method

public SetValue ( byte dataraw ) : bool
dataraw byte
return bool

get() public method

public get ( int idx ) : double
idx int
return double

get_bit() public method

public get_bit ( int idx, int bit ) : double
idx int
bit int
return double

get_word() public method

public get_word ( int idx ) : double
idx int
return double

getab() public method

public getab ( ) : double
return double

getbc() public method

public getbc ( ) : double
return double

getcd() public method

public getcd ( ) : double
return double

getde() public method

public getde ( ) : double
return double

getraw() public method

public getraw ( int idx ) : double
idx int
return double

getraw_dword() public method

public getraw_dword ( int idx ) : double
idx int
return double

getraw_dwordle() public method

public getraw_dwordle ( int idx ) : double
idx int
return double

getraw_word() public method

public getraw_word ( int idx ) : double
idx int
return double

getraw_wordle() public method

public getraw_wordle ( int idx ) : double
idx int
return double

len() public method

public len ( ) : int
return int

to_h() public static method

public static to_h ( byte a ) : byte
a byte
return byte

Property Details

data_offset protected property

protected int data_offset
return int

dataraw protected property

protected byte[] dataraw
return byte[]

obdValue public property

public Func obdValue
return double>.Func