示例#1
0
文件: Task.cs 项目: hkiaipc/c2
 /// <summary>
 /// 
 /// </summary>
 /// <param name="opera"></param>
 public Task(Device device, Opera opera, Strategy strategy, TimeSpan timeout)
 {
     this.Device = device;
     this.Opera = opera;
     this.Strategy = strategy;
     this.Timeout = timeout;
 }
示例#2
0
文件: Task.cs 项目: hkiaipc/yh
 /// <summary>
 /// 
 /// </summary>
 /// <param name="opera"></param>
 public Task(Device device, Opera opera, Strategy strategy)
 {
     this.Device = device;
     this.Opera = opera;
     this.Strategy = strategy;
 }
示例#3
0
文件: Task.cs 项目: hkiaipc/c2
 public Task(Device device, Opera opera, Strategy strategy)
     : this(device, opera, strategy, TaskDefine.DefaultTaskTimeout)
 {
 }