public void Submit(SA_ProgressStatus status) { if (this.PendingEntry == null) return; this.PendingEntry.End = DateTime.Now; this.PendingEntry.State = status.VerboseStatus; this.FinalState = status.VerboseStatus; this.Quantity = status.CurrentQuantity; this.Entries.Add(this.PendingEntry); this.PendingEntry = (SA_LogEntry) null; this.OnLogChanged(EventArgs.Empty); }
public void PrepareEntry() { this.PendingEntry = new SA_LogEntry(); this.PendingEntry.Start = DateTime.Now; }