public IDSSystem() { ID = ""; ParentID = ""; Code = ""; Name = ""; Phase = ""; SerialNumber = ""; Description = ""; SubSystems = new IDSSubSystemCollection(); }
/// <summary> /// Deep Clone /// </summary> /// <returns></returns> public IDSSubSystemCollection Copy() { IDSSubSystemCollection subSystems = new IDSSubSystemCollection(); if (this.Count <= 0) { return(subSystems); } else { foreach (IDSSubSystem subSystem in this) { subSystems.Add(subSystem.Copy()); } return(subSystems); } }