/// <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; }
/// <summary> /// /// </summary> /// <param name="opera"></param> public Task(Device device, Opera opera, Strategy strategy) { this.Device = device; this.Opera = opera; this.Strategy = strategy; }
public Task(Device device, Opera opera, Strategy strategy) : this(device, opera, strategy, TaskDefine.DefaultTaskTimeout) { }