C# Class S7.Net.Types.Timer

Converts the Timer data type to C# data type
Mostra file Open project: killnine/s7netplus

Public Methods

Method Description
FromByteArray ( byte bytes ) : double

Converts the timer bytes to a double

ToArray ( byte bytes ) : double[]

Converts an array of bytes formatted as time to an array of doubles

ToByteArray ( UInt16 value ) : byte[]

Converts a ushort (UInt16) to an array of bytes formatted as time

Method Details

FromByteArray() public static method

Converts the timer bytes to a double
public static FromByteArray ( byte bytes ) : double
bytes byte
return double

ToArray() public static method

Converts an array of bytes formatted as time to an array of doubles
public static ToArray ( byte bytes ) : double[]
bytes byte
return double[]

ToByteArray() public static method

Converts a ushort (UInt16) to an array of bytes formatted as time
public static ToByteArray ( UInt16 value ) : byte[]
value System.UInt16
return byte[]