public object Clone()
        {
            // Returns a cloned copy of this object (deep)
            ModelComponent newModel = new ModelComponent();

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