public void SetClip(LogClip p) { this.log = p.Log; this.process = p.Process; this.isdone = p.State; this.hlog = new FormerLog((FormerLog.LogType)p.LogType, p.Log); }
/// <summary> /// 构造 /// </summary> public AsyncOperator() { isdone = false; log = "start"; process = 0; hlog = new FormerLog() { Type = FormerLog.LogType.Log }; hlog.AppendLine(log); }