public int[] getRelativeId(int num, int id)
        {
            IDBUtil dBUtil = DBUtilFactory.getDBUtil("DBUtilImpl");
            Member  m1     = dBUtil.getMember(id);

            int[] a = new int[10];
            for (int i = 0; i < 10; i++)
            {
                a[i] = 0;
            }
            if (num == 1)
            {
                a[0] = m1.Fatherid;
            }
            else if (num == 2)
            {
                List <Member> l1 = dBUtil.getChildList(m1.Fatherid);
                for (int i = 0; i < l1.Count; i++)
                {
                    if (l1[i].Sex == '男' && l1[i].Id != id)
                    {
                        a[i] = l1[i].Id;
                    }
                }
            }
            else if (num == 3)
            {
                List <Member> l1 = dBUtil.getChildList(m1.Fatherid);
                for (int i = 0; i < l1.Count; i++)
                {
                    if (l1[i].Sex == '女' && l1[i].Id != id)
                    {
                        a[i] = l1[i].Id;
                    }
                }
            }
            else if (num == 4)
            {
                List <Member> l1 = dBUtil.getChildList(m1.Id);
                {
                    for (int i = 0; i < l1.Count; i++)
                    {
                        a[i] = l1[i].Id;
                    }
                }
            }
            return(a);
        }