private static CProcessingResultJob createJobResultNode(CProcessingResult rs)
        {
            CProcessingResultJob j = new CProcessingResultJob(rs);

            CBasketSet inset = rs.GetInputBasketSet();

            processBasketSetNode(inset);

            CBasketSet outset = rs.GetOutputBasketSet();

            processBasketSetNode(outset);

            j.AddItem(inset);
            j.AddItem(outset);

            return(j);
        }
        public static void CreateDisplayProcessingTreeView(MBillSimulate billSim)
        {
            String prevGroup         = "";
            CProcessingResultGroup g = null;

            billSim.ProcessingTree.Clear();

            foreach (CProcessingResult r in resultsArr)
            {
                String currGrp = r.GetGroupName();

                if (!currGrp.Equals(prevGroup))
                {
                    g = new CProcessingResultGroup(r);
                    billSim.ProcessingTree.Add(g);
                    prevGroup = currGrp;
                }

                CProcessingResultJob j = createJobResultNode(r);
                g.AddItem(j);
            }
        }
 public void AddItem(CProcessingResultJob job)
 {
     childs.Add(job);
 }