CosemMethodDescriptorsCollection Class

Represents collection of COSEM method descriptors.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public class CosemMethodDescriptorsCollection
Inheritance
Object    CosemMethodDescriptorsCollection

Constructors

CosemMethodDescriptorsCollection Initializes a new instance of class.

Properties

CurrentIndex Index of currently proccessed method.
MethodDescriptorsCount Count of methods.

Methods

GetNextMethodsForActionRequestWithDataBlock Gets array of methods for creating action-request-with-list-with-first-block so it fits in single APDU. Starts from method on CurrentIndex position.
GetNextMethodsForActionRequestWithList Gets array of method descriptors for creating action-request-with-list so it fits in single APDU. Starts from method on CurrentIndex position.
CheckIfDataWillFitIntoOneActionRequest Checks if the request can be send as normal request or collection of normal requests with list according to maxPDUsize and the lenght of the attributes and values

See Also