Exemplo n.º 1
0
        //
        /// <summary>
        ///
        /// </summary>
        /// <param name="DataDirectoryName"></param>
        /// <param name="TempDirectoryName"></param>
        public Model(string DataDirectoryName, string TempDirectoryName)
        {
            string COriverFileName = DefineCOriverFileName;

            try
            {
                //PM = new Powell_mead(DataDirectoryName); // FUnitData, FUnitData2);
                //PM = new Powell_mead(DataDirectoryName, COriverFileName) ;
                PM  = new Powell_mead(DataDirectoryName, COriverFileName, ICSfileName);
                IMA = new IndianMunicipalAg();
                //  PM.IcsArizona = 100000;
                Loop();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemplo n.º 2
0
        //
        /// <summary>
        ///
        /// </summary>
        /// <param name="DataDirectoryName"></param>
        /// <param name="TempDirectoryName"></param>
        public COriverModel(string DataDirectoryName, string TempDirectoryName)
        {
            string COriverFileName = DefineCOriverFileName;
            // this file will need a getter/setter in the WS manager 06.09.20 DAS
            string DataFileID = "RightsP1.txt";

            try
            {
                //PM = new Powell_mead(DataDirectoryName); // FUnitData, FUnitData2);
                //PM = new Powell_mead(DataDirectoryName, COriverFileName) ;
                PM  = new Powell_mead(DataDirectoryName, COriverFileName, ICSfileName);
                IMA = new IndianMunicipalAg(DataDirectoryName + "\\" + DataFileID);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemplo n.º 3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="DataDirectoryName"></param>
        /// <param name="TempDirectoryName"></param>
        public COriverModel(string DataDirectoryName, string TempDirectoryName)
        {
            string COriverFileName = GetDefineCOriverFileName();
            // this file will need a getter/setter in the WS manager 06.09.20 DAS
            string DataFileID = "RightsP1.txt";
            string PathFileID = DataDirectoryName + "\\" + DataFileID;

            try
            {
                //BDP = new BasinDCP(PathFileID, DataDirectoryName, ICSfileName);
                //PM = new Powell_mead(DataDirectoryName, DataFileID, COriverFileName, ICSfileName);
                PM  = new Powell_mead(DataDirectoryName, DataFileID, COriverFileName, Gets_ICSdataFileID());
                IMA = new IndianMunicipalAg(PathFileID);
                Initialize();
                RunToDefaultYearCOempirical();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }