Esempio n. 1
0
        public string snow(string height_of_snow, string density_of_snow, string beginDateTime, string endDateTime)
        {
            SnowModel snow = new SnowModel();
            string    ret  = "";

            var begindate = snow.DateTimeTenDay(beginDateTime);
            var enddate   = snow.DateTimeTenDay(endDateTime);

            ret = snow.only_pull_snow(height_of_snow, density_of_snow, begindate, enddate);

            return(ret);
        }
Esempio n. 2
0
        public string Index(string beginDateTime, string endDateTime)
        {
            /*
             * SnowModel snow = new SnowModel();
             * return snow.PullDataPG();
             */
            SnowModel snow = new SnowModel();
            string    ret  = "";

            var    begindate       = snow.DateTimeTenDay(beginDateTime);
            var    enddate         = snow.DateTimeTenDay(endDateTime);
            string height_of_snow  = null;
            string density_of_snow = null;

            ret = snow.only_pull_snow(height_of_snow, density_of_snow, begindate, enddate);

            return(ret);
        }