Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcRawTypeExtension type exposes the following members.
Retrieves the according character representation which matches the specified value
.
C#
public static char GetChar(PlcRawType value)
Parameters
value
PlcRawType
The PlcRawType its character representation is to be retrieved.
Returns
The character representation of the value
specified.
Exceptions
The according character representation could not be retrieved.
Retrieves the according length of the specified value
.
C#
public static int GetSize(PlcRawType value)
Parameters
value
PlcRawType
The PlcRawType its length is to be retrieved.
Returns
The according length of the value
specified.
Exceptions
The according length could not be retrieved.
Retrieves the according length of the specified value
.
C#
public static int GetSize(PlcRawType value, bool inBytes)
Parameters
value
PlcRawType
The PlcRawType its length is to be retrieved.
inBytes
Boolean
The value true, to retrieve the length of value
in bytes; otherwise the value false to retrieve the length in bits.
Returns
The according length of the value
specified.
Exceptions
The according length could not be retrieved.
Retrieves the according string representation which matches the specified value
.
C#
public static string GetString(PlcRawType value)
Parameters
value
PlcRawType
The PlcRawType its string representation is to be retrieved.
Returns
The string representation of the value
.
Exceptions
The according string representation could not be retrieved.