C# Class PlugwiseLib.UTIL.ConversionClass

Afficher le fichier Open project: GreenCodeLab/Tool-GreenPlugwise

Méthodes publiques

Méthode Description
GetBytes ( string hexString, int &discarded ) : byte[]
HexStringToFloat ( string pvVal ) : float
HexStringToUInt16 ( string pvVal ) : ushort
HexStringToUInt32 ( string pvVal ) : uint
HexToByte ( string hex ) : byte
IsHexDigit ( char c ) : bool

Private Methods

Méthode Description
ReverseBytes ( byte lvBytes ) : byte[]

Method Details

GetBytes() public static méthode

public static GetBytes ( string hexString, int &discarded ) : byte[]
hexString string
discarded int
Résultat byte[]

HexStringToFloat() public static méthode

public static HexStringToFloat ( string pvVal ) : float
pvVal string
Résultat float

HexStringToUInt16() public static méthode

public static HexStringToUInt16 ( string pvVal ) : ushort
pvVal string
Résultat ushort

HexStringToUInt32() public static méthode

public static HexStringToUInt32 ( string pvVal ) : uint
pvVal string
Résultat uint

HexToByte() public static méthode

public static HexToByte ( string hex ) : byte
hex string
Résultat byte

IsHexDigit() public static méthode

public static IsHexDigit ( char c ) : bool
c char
Résultat bool