lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CS101.FileReady Class Reference

File ready - F_FR_NA_1 (120) More...

Inheritance diagram for lib60870.CS101.FileReady:
Collaboration diagram for lib60870.CS101.FileReady:

Public Member Functions

override int GetEncodedSize ()
 Gets the encoded payload size of the object (information object size without the IOA) More...
 
 FileReady (int objectAddress, NameOfFile nof, int lengthOfFile, bool positive)
 Initializes a new instance of the lib60870.CS101.FileReady 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]
 
NameOfFile NOF [get, set]
 
int LengthOfFile [get, set]
 
byte FRQ [get, set]
 Gets or sets the FRQ (File ready qualifier) More...
 
bool Positive [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)
 

Detailed Description

File ready - F_FR_NA_1 (120)

Constructor & Destructor Documentation

◆ FileReady()

lib60870.CS101.FileReady.FileReady ( int  objectAddress,
NameOfFile  nof,
int  lengthOfFile,
bool  positive 
)

Initializes a new instance of the lib60870.CS101.FileReady class.

Parameters
objectAddressinformation object address (IOA)
nofNOF (file type)
lengthOfFileLength of file.
positiveIf set to true positive ACK.

Member Function Documentation

◆ GetEncodedSize()

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

◆ FRQ

byte lib60870.CS101.FileReady.FRQ
getset

Gets or sets the FRQ (File ready qualifier)


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