public IDSSubSystem()
        {
            ID           = "";
            ParentID     = "";
            Code         = "";
            Name         = "";
            IsNameInLoop = false;
            Phase        = "";
            SerialNumber = "";
            Description  = "";

            Loops = new IDSLoopCollection();
        }
Beispiel #2
0
        /// <summary>
        /// Deep Clone
        /// </summary>
        /// <returns></returns>
        public IDSLoopCollection Copy()
        {
            IDSLoopCollection loops = new IDSLoopCollection();

            if (this.Count <= 0)
            {
                return(loops);
            }
            else
            {
                foreach (IDSLoop loop in this)
                {
                    loops.Add(loop.Copy());
                }
                return(loops);
            }
        }