Example #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="speed">传输速率值(数值大于0时启用)</param>
 /// <param name="unit">传输速率单位</param>
 /// <param name="delay">传输间隔毫秒数</param>
 public ModFtpTransSpeed(int speed, EFtpSpeedUnit unit, int delay)
 {
     Speed = speed;
     Unit  = unit;
     Delay = delay;
 }
Example #2
0
 /// <summary>
 /// 构造函数(默认延时100MS)
 /// </summary>
 /// <param name="speed">传输速率值(数值大于0时启用)</param>
 /// <param name="unit">传输速率单位</param>
 public ModFtpTransSpeed(int speed, EFtpSpeedUnit unit)
 {
     Speed = speed;
     Unit  = unit;
 }