Ejemplo n.º 1
0
        public void AddStep(HistoryDualEnergy dualEnergy)
        {
            HistoryStep step = new HistoryStep();

            step.DualEnergy  = dualEnergy;
            step.number      = stepField.Count;
            step.category    = "Dual Energy";
            step.description = dualEnergy.name;

            UpdateStep(step);
        }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
        public void SetFirstStep(HistoryDualEnergy dualEnergy)
        {
            HistoryStep step = FindStep(0);

            if (step == null)
            {
                step             = new HistoryStep();
                step.number      = 0;
                step.DualEnergy  = dualEnergy;
                step.category    = "Setup";
                step.description = "Original";

                AddStep(step);
            }
            else
            {
                step.DualEnergy = dualEnergy;
            }
        }