OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.ControlPanel.FileTransferStatus Class Reference

Track the status of a file transfer to a PD. More...

Public Member Functions

 FileTransferStatus (Model.ReplyData.FileTransferStatus.StatusDetail status, int currentOffset, Nak nak)
 Initializes a new instance of the FileTransferStatus class.

Properties

Model.ReplyData.FileTransferStatus.StatusDetail Status [get]
 The last status returned from the PD.
int CurrentOffset [get]
 The current offset in the data of the file transfer.
Nak Nak [get]
 Contains Nak reply if returned.

Detailed Description

Track the status of a file transfer to a PD.

Definition at line 2148 of file ControlPanel.cs.

Constructor & Destructor Documentation

◆ FileTransferStatus()

OSDP.Net.ControlPanel.FileTransferStatus.FileTransferStatus ( Model.ReplyData.FileTransferStatus.StatusDetail status,
int currentOffset,
Nak nak )
inline

Initializes a new instance of the FileTransferStatus class.

Parameters
statusThe last status returned from the PD
currentOffsetThe current offset in the data of the file transfer
nakContains Nak reply data if returned

Definition at line 2156 of file ControlPanel.cs.

References CurrentOffset, Nak, and Status.

Property Documentation

◆ CurrentOffset

int OSDP.Net.ControlPanel.FileTransferStatus.CurrentOffset
get

The current offset in the data of the file transfer.

Definition at line 2172 of file ControlPanel.cs.

Referenced by FileTransferStatus().

◆ Nak

Nak OSDP.Net.ControlPanel.FileTransferStatus.Nak
get

Contains Nak reply if returned.

Definition at line 2177 of file ControlPanel.cs.

Referenced by FileTransferStatus().

◆ Status

Model.ReplyData.FileTransferStatus.StatusDetail OSDP.Net.ControlPanel.FileTransferStatus.Status
get

The last status returned from the PD.

Definition at line 2167 of file ControlPanel.cs.

Referenced by FileTransferStatus().


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