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

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

            ret = snow.PullData_begin_end(begindate, enddate);

            return(ret);
        }
Esempio n. 2
0
        public string irimhe_snow(DateTime dateTime, string station)
        {
            SnowModel snow = new SnowModel();
            string    ret  = "";

            if (string.IsNullOrEmpty(station))
            {
                var ten = snow.DateTimeTotenDay(dateTime);
                ret = snow.PullDataPGDB_station(ten);
            }
            else
            {
                var ten = snow.DateTimeTotenDay(dateTime);
                ret = snow.PullData_station(station, ten);
            }

            return(ret);
        }