public object Clone()
        {
            // Returns a deep (value-wise) copy of the object
            EnvironmentComponent clone = new EnvironmentComponent();

            clone.FromXml(ToXml());
            return(clone);
        }
Ejemplo n.º 2
0
 public ScenarioComponent()
 {
     ElementType  = "SCENARIO";
     ScenarioName = "Unknown Scenario";
     SimParams    = new SimulationParametersElement();
     SchParams    = new SchedulerParametersElement();
     Targetdeck   = new TargetdeckComponent();
     Environment  = new EnvironmentComponent();
     Model        = new ModelComponent();
 }