lib60870.NET 2.3.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
|
Public Member Functions | |
int | GetCA () |
Returns the CA (Comman address) of the file. | |
int | GetIOA () |
Returns the IOA (information object address of the file) | |
NameOfFile | GetNameOfFile () |
Gets the type ("name") of the file. | |
DateTime | GetFileDate () |
int | GetFileSize () |
Gets the size of the file in bytes. | |
int | GetSectionSize (int sectionNumber) |
Gets the size of a section in byzes. | |
bool | GetSegmentData (int sectionNumber, int offset, int segmentSize, byte[] segmentData) |
Gets the segment data. | |
void | TransferComplete (bool success) |
Indicates that the transfer is complete. When success equals true the file data can be deleted. | |
int lib60870.CS101.IFileProvider.GetCA | ( | ) |
Returns the CA (Comman address) of the file.
Implemented in lib60870.CS101.TransparentFile.
int lib60870.CS101.IFileProvider.GetFileSize | ( | ) |
Gets the size of the file in bytes.
Implemented in lib60870.CS101.TransparentFile.
int lib60870.CS101.IFileProvider.GetIOA | ( | ) |
Returns the IOA (information object address of the file)
Implemented in lib60870.CS101.TransparentFile.
NameOfFile lib60870.CS101.IFileProvider.GetNameOfFile | ( | ) |
Gets the type ("name") of the file.
Implemented in lib60870.CS101.TransparentFile.
int lib60870.CS101.IFileProvider.GetSectionSize | ( | int | sectionNumber | ) |
Gets the size of a section in byzes.
sectionNumber | Number of section (starting with 0) |
Implemented in lib60870.CS101.TransparentFile.
bool lib60870.CS101.IFileProvider.GetSegmentData | ( | int | sectionNumber, |
int | offset, | ||
int | segmentSize, | ||
byte[] | segmentData ) |
Gets the segment data.
true
, if segment data was gotten, false
otherwise.sectionNumber | Section number. |
offset | Offset. |
segmentSize | Segment size. |
segmentData | Segment data. |
Implemented in lib60870.CS101.TransparentFile.
void lib60870.CS101.IFileProvider.TransferComplete | ( | bool | success | ) |
Indicates that the transfer is complete. When success equals true the file data can be deleted.
success | If set to true success. |
Implemented in lib60870.CS101.TransparentFile.