C# Class ObdShare.ObdUtil

Show file Open project: Azure-Samples/MyDriving

Public Methods

Method Description
GetEmulatorValue ( string cmd ) : string
GetPIDs ( ) : string>.Dictionary
ParseLongVIN ( string result ) : string
ParseObd01Msg ( string input ) : string
ParseVINMsg ( string result ) : string

Private Methods

Method Description
ParseString ( string str, int bytes ) : int
SimulateEngineFuelRateValue ( Random r ) : string
SimulateTemperatureValue ( Random r ) : string

Method Details

GetEmulatorValue() public static method

public static GetEmulatorValue ( string cmd ) : string
cmd string
return string

GetPIDs() public static method

public static GetPIDs ( ) : string>.Dictionary
return string>.Dictionary

ParseLongVIN() public static method

public static ParseLongVIN ( string result ) : string
result string
return string

ParseObd01Msg() public static method

public static ParseObd01Msg ( string input ) : string
input string
return string

ParseVINMsg() public static method

public static ParseVINMsg ( string result ) : string
result string
return string