using ExtendUI.FTPManager; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FTPop { public delegate void FileTransferProgressEventHandler(object sender, FileTransferProgressEventArgs e); public sealed class FileTransferProgressEventArgs : EventArgs { /// /// 文件全路径 /// public string LocalPath { get; internal set; } /// /// 远程文件全路径 /// public string RemotePath { get; internal set; } /// /// 当前文件进度 /// public double FileProgress { get; internal set; } /// /// 当前传输速度 /// public double Speed { get; internal set; } /// /// 是否完成 /// public bool IsComplete { get; internal set; } = false; /// /// 是否是开始 /// public bool IsStart { get; internal set; } = false; /// /// 是否要取消 /// public bool Cancel { get; set; } public FTPInfo FTPInfo { get; internal set; } = null; } }