Esempio n. 1
0
        public VirtualWBS CreateChildNode(string name)
        {
            var child = new VirtualWBS();

            child.VirtualLevel = this.VirtualLevel + 1;
            child.ParentID     = this.VirtualID;
            child.Name         = name;
            return(child);
        }
Esempio n. 2
0
 public VirtualWBS CreateChildNode(S_W_WBS wbs, bool fillPty = false)
 {
     if (wbs == null)
     {
         var child = new VirtualWBS();
         child.VirtualLevel = this.VirtualLevel + 1;
         child.ParentID     = this.VirtualID;
         return(child);
     }
     else
     {
         var child = new VirtualWBS(wbs, fillPty);
         child.VirtualLevel = this.VirtualLevel + 1;
         child.ParentID     = this.VirtualID;
         return(child);
     }
 }