using System; using System.Collections.Generic; namespace DrawGraph { public class PackObjTree { private PackObjBase parent = new PackObjBase(); private PackObjBase current = new PackObjBase(); private List sonPobs = new List(); public PackObjBase ParentPob { get { return this.parent; } set { this.parent = value; this.current.SetParent = value; } } public PackObjBase Current { get { return this.current; } set { this.current = value; } } public List SonPobs { get { return this.sonPobs; } set { this.sonPobs = value; } } } }