Ejemplo n.º 1
0
 public ISimulationGroup CreateGroup(int id, string name, NetworkStyle ns, NetWorkType type)
 {
     ISimulationGroup group = new SimulationGroup(id);
     group.Name = name;
     group.NetworkType = type;
     group.Style = ns;   
  
     return group;
 }
Ejemplo n.º 2
0
        public ISimulationGroup Duplicate(int id, string name)
        {
            SimulationGroup group = new SimulationGroup(id);
            group.State = this.m_CalcState;
            group.Name = name;           
            group.Style = this.m_NetworkStyle;
            group.Result = this.m_Result;
            group.Region = this.m_Region;
            group.TrafficMaps = this.m_Maps;
            group.Locked = this.m_Lock;
            group.AdvanceParam = this.m_Param;           

            return group;
            
        }