52 lines
682 B
C#
52 lines
682 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DrawGraph
|
|
{
|
|
public class PackObjTree
|
|
{
|
|
private PackObjBase parent = new PackObjBase();
|
|
|
|
private PackObjBase current = new PackObjBase();
|
|
|
|
private List<PackObjTree> sonPobs = new List<PackObjTree>();
|
|
|
|
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<PackObjTree> SonPobs
|
|
{
|
|
get
|
|
{
|
|
return this.sonPobs;
|
|
}
|
|
set
|
|
{
|
|
this.sonPobs = value;
|
|
}
|
|
}
|
|
}
|
|
}
|