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

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