Method | Description | |
---|---|---|
CWord ( int value ) : |
Converts a C# int value to a C# short value, to be used as word.
|
|
FromByteArray ( byte bytes ) : |
Converts a S7 Int (2 bytes) to short (Int16)
|
|
FromBytes ( byte LoVal, byte HiVal ) : |
Converts a S7 Int (2 bytes) to short (Int16)
|
|
ToArray ( byte bytes ) : System.Int16[] |
Converts an array of S7 Int to an array of short (Int16)
|
|
ToByteArray ( |
Converts a short (Int16) to a S7 Int byte array (2 bytes)
|
public static CWord ( int value ) : |
||
value | int | |
return |
public static FromByteArray ( byte bytes ) : |
||
bytes | byte | |
return |
public static FromBytes ( byte LoVal, byte HiVal ) : |
||
LoVal | byte | |
HiVal | byte | |
return |
public static ToArray ( byte bytes ) : System.Int16[] | ||
bytes | byte | |
return | System.Int16[] |
public static ToByteArray ( |
||
value | ||
return | byte[] |