예제 #1
0
        public void InitialConditions()
        {
            string   cf = Globals.TestDataPath + "\\RiverWare\\initial_conditions_control.txt";
            DateTime t  = DateTime.Now.Date.AddDays(-1);

            //c:\temp\Storage.Jackson.txt

            Reclamation.Riverware.HydrometDMI dmi;
            dmi = new Reclamation.Riverware.HydrometDMI(HydrometHost.PN, cf, t, DateTime.Now);
            dmi.ExportTextFiles();
        }
예제 #2
0
        public void ReadHydrometUingControlerDates()
        {
            string   cf = Globals.TestDataPath + "\\RiverWare\\importHydromet_control.txt";
            DateTime t1 = DateTime.Now.Date.AddDays(-100);
            DateTime t2 = DateTime.Now.Date.AddDays(-50);

            //c:\temp\Storage.Jackson.txt

            Reclamation.Riverware.HydrometDMI dmi;
            dmi = new Reclamation.Riverware.HydrometDMI(HydrometHost.PN, cf, t1, t2);
            dmi.ExportTextFiles();
        }