Esempio n. 1
0
        }       //  end TableEditChecks

        public int MethodChecks()
        {
            IEnumerable <TreeDO> tList = Global.BL.getTrees();

            errorValue = ErrorLogMethods.CheckCruiseMethods(Global.BL.getStratum(), tList);
            errList    = ErrorLogMethods.errList;
            if (errList.Count > 0)
            {
                Global.BL.SaveErrorMessages(errList);
            }
            return(errorValue);
        } //  end MethodChecks
        }       //  end TableEditChecks

        public int MethodChecks()
        {
            CPbusinessLayer bslyr = new CPbusinessLayer();

            bslyr.DAL      = DAL;
            bslyr.fileName = fileName;

            List <StratumDO> strList = bslyr.getStratum();
            List <TreeDO>    tList   = bslyr.getTrees();

            elm.bslyr.fileName = fileName;
            elm.bslyr.DAL      = bslyr.DAL;
            errorValue         = elm.CheckCruiseMethods(strList, tList);
            errList            = elm.errList;
            bslyr.fileName     = fileName;
            if (errList.Count > 0)
            {
                bslyr.SaveErrorMessages(errList);
            }
            return(errorValue);
        } //  end MethodChecks