public void AddStep(HistoryBuffer buffer) { HistoryStep step = new HistoryStep(); step.Buffer = buffer; step.number = stepField.Count; step.category = "Buffer"; step.description = buffer.name; UpdateStep(step); }
public HistoryStep() { filterField = new List <HistoryFilter>(); pseudoColorField = null; bufferField = null; histogramField = null; dualEnergyField = null; numberField = -1; categoryField = string.Empty; descriptionField = string.Empty; DateTime timeField = DateTime.Now; }
public void SetFirstStep(HistoryBuffer buffer) { HistoryStep step = FindStep(0); if (step == null) { step = new HistoryStep(); step.number = 0; step.Buffer = buffer; step.category = "Setup"; step.description = "Original"; AddStep(step); } else { step.Buffer = buffer; } }