libplctag.DataTypes.UdtInfoPlcMapper Class Reference
Inheritance diagram for libplctag.DataTypes.UdtInfoPlcMapper:
libplctag.DataTypes.IPlcMapper< UdtInfo >

Public Member Functions

UdtInfo Decode (Tag tag)
void Encode (Tag tag, UdtInfo value)
int? GetElementCount ()
- Public Member Functions inherited from libplctag.DataTypes.IPlcMapper< UdtInfo >
int? GetElementCount ()
 This is used to convert the number of array elements into the raw element count, which is used by the library. More...
Decode (Tag tag)
 This is the method that reads/unpacks the underlying value of the tag and returns it as a C# type More...
void Encode (Tag tag, T value)
 This is the method that transforms the C# type into the underlying value of the tag More...

Public Attributes

int? ElementSize => null


PlcType PlcType [get, set]
int [] ArrayDimensions [get, set]
- Properties inherited from libplctag.DataTypes.IPlcMapper< UdtInfo >
PlcType PlcType [get, set]
 You can define different marshalling behaviour for different types The PlcType is injected during PlcMapper instantiation, and will be available to you in your marshalling logic More...
int? ElementSize [get]
 Provide an integer value for ElementSize if you want to pass this into the tag constructor More...
int [] ArrayDimensions [get, set]
 The dimensions of the array. More...