/// <summary>
 /// ��ʼ������ṹ��
 /// </summary>
 /// <returns></returns>
 private OrderBlock initializationOB()
 {
     OrderBlock newOB = new OrderBlock();
     newOB.ContainCtrls = new List<ControlInfo>();
     newOB.InputPorts = new List<string>();
     return newOB;
 }
        private OrderBlock CreateOB(Stack <ControlInfo> orderS)
        {
            OrderBlock newOB = initializationOB();

            newOB.ContainCtrls.AddRange(orderS);
            //newOB.LUpoint = cassview.FindBlockInfo(orderS[0]).StartPoint;//第一控件的起点坐标
            return(newOB);
        }
        /// <summary>
        /// 初始化排序结构体
        /// </summary>
        /// <returns></returns>
        private OrderBlock initializationOB()
        {
            OrderBlock newOB = new OrderBlock();

            newOB.ContainCtrls = new List <ControlInfo>();
            newOB.InputPorts   = new List <string>();
            return(newOB);
        }