lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CS101.MeasuredValueScaled Class Reference
Inheritance diagram for lib60870.CS101.MeasuredValueScaled:
Collaboration diagram for lib60870.CS101.MeasuredValueScaled:

Public Member Functions

override int GetEncodedSize ()
 Gets the encoded payload size of the object (information object size without the IOA) More...
 
 MeasuredValueScaled (int objectAddress, int value, QualityDescriptor quality)
 Initializes a new instance of the lib60870.MeasuredValueScaled class. More...
 
override void Encode (Frame frame, ApplicationLayerParameters parameters, bool isSequence)
 
- Public Member Functions inherited from lib60870.CS101.InformationObject
 InformationObject (int objectAddress)
 

Properties

override TypeID Type [get]
 
override bool SupportsSequence [get]
 
ScaledValue ScaledValue [get]
 
QualityDescriptor Quality [get]
 
- Properties inherited from lib60870.CS101.InformationObject
int ObjectAddress [get, set]
 
abstract bool SupportsSequence [get]
 Indicates if this information object type supports sequence of information objects encoding More...
 
abstract TypeID Type [get]
 The type ID (message type) of the information object type More...
 

Additional Inherited Members

- Protected Member Functions inherited from lib60870.CS101.InformationObject
 InformationObject (ApplicationLayerParameters parameters, byte[] msg, int startIndex, bool isSequence)
 

Constructor & Destructor Documentation

◆ MeasuredValueScaled()

lib60870.CS101.MeasuredValueScaled.MeasuredValueScaled ( int  objectAddress,
int  value,
QualityDescriptor  quality 
)

Initializes a new instance of the lib60870.MeasuredValueScaled class.

Parameters
objectAddressInformation object address
valuescaled value (range -32768 - 32767)
qualityquality descriptor (according to IEC 60870-5-101:2003 7.2.6.3)

Member Function Documentation

◆ GetEncodedSize()

override int lib60870.CS101.MeasuredValueScaled.GetEncodedSize ( )
virtual

Gets the encoded payload size of the object (information object size without the IOA)

Returns
The encoded size in bytes

Implements lib60870.CS101.InformationObject.

Reimplemented in lib60870.CS101.MeasuredValueScaledWithCP56Time2a, and lib60870.CS101.MeasuredValueScaledWithCP24Time2a.


The documentation for this class was generated from the following file: