libplctag.DataTypes.RealPlcMapper Class Reference
Inheritance diagram for libplctag.DataTypes.RealPlcMapper:
libplctag.DataTypes.PlcMapperBase< float >

Public Member Functions

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

Public Attributes

override? int ElementSize => 4
 

Additional Inherited Members

- Protected Member Functions inherited from libplctag.DataTypes.PlcMapperBase< float >
virtual T [] DecodeArray (Tag tag)
 
virtual void EncodeArray (Tag tag, T[] values)
 
- Properties inherited from libplctag.DataTypes.PlcMapperBase< float >
PlcType PlcType [get, set]
 
abstract ? int ElementSize [get]
 
int [] ArrayDimensions [get, set]