/// <summary> /// /// </summary> void ErrorWriteFile(emIOOperateCode resultCode, string message) { if (resultCode == emIOOperateCode.DiskFull) { string ms = string.IsNullOrEmpty(message) ? "Disk Full!" : "Disk Full, " + message; Error(emErrorCode.DiskFull, ms); } else if (resultCode == emIOOperateCode.Fail) { string ms = string.IsNullOrEmpty(message) ? "WriteException!" : "WriteException, " + message; Error(emErrorCode.WriteException, ms); } }
/// <summary> /// /// </summary> void SetResult(bool isDone, emIOOperateCode result, string error) { this.isDone = isDone; this.resultCode = result; this.error = error; }
/// <summary> /// /// </summary> void SetResult(bool isDone, emIOOperateCode result) { this.isDone = isDone; this.resultCode = result; }