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

Public Member Functions

override int GetEncodedSize ()
 Gets the encoded payload size of the object (information object size without the IOA) More...
 
 SingleCommand (int ioa, bool command, bool selectCommand, int qu)
 
override void Encode (Frame frame, ApplicationLayerParameters parameters, bool isSequence)
 
override string ToString ()
 
- Public Member Functions inherited from lib60870.CS101.InformationObject
 InformationObject (int objectAddress)
 

Properties

override TypeID Type [get]
 
override bool SupportsSequence [get]
 
int QU [get, set]
 
bool State [get, set]
 Gets the state (off - false / on - true) of this command More...
 
bool Select [get, set]
 Indicates if the command is a select or an execute command More...
 
- 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)
 

Member Function Documentation

◆ GetEncodedSize()

override int lib60870.CS101.SingleCommand.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.

Property Documentation

◆ Select

bool lib60870.CS101.SingleCommand.Select
getset

Indicates if the command is a select or an execute command

true if select; execute, false.

◆ State

bool lib60870.CS101.SingleCommand.State
getset

Gets the state (off - false / on - true) of this command

true if on; otherwise, false.


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