Пример #1
0
        public string Temperature2(string ttt_aver,string ttt_min,string ttt_max,string beginDateTime, string endDateTime)
        {
            TempModel temp = new TempModel();
            string ret = "";

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

            ret = temp.only_pull_temp(ttt_aver,ttt_max,ttt_min,begindate, enddate);

            return ret;
        }
Пример #2
0
        public string soil(string tx_aver, string tx_max, string tx_min, string beginDateTime, string endDateTime)
        {
            TempModel temp = new TempModel();

            string ret = "";

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

            ret = temp.only_pull_soil(tx_aver,tx_max,tx_min,begindate, enddate);

            return ret;
        }
Пример #3
0
        public string irimhe_temp_date(string beginDateTime,string endDateTime)
        {
            //
            TempModel temp = new TempModel();
            string ret = "";

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

            ret = temp.PullData_begin_end(begindate,enddate);

            return ret;
        }
Пример #4
0
        public string percipitation(string sum_rrr_max, string beginDateTime, string endDateTime)
        {
            TempModel temp = new TempModel();

            string ret = "";

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

            ret = temp.only_pull_percipitation(sum_rrr_max, begindate, enddate);

            return ret;

        }
Пример #5
0
        public string wind(string windmax,string beginDateTime, string endDateTime)
        {
            TempModel temp = new TempModel();

            string ret = "";

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

            ret = temp.only_pull_wind(windmax, begindate, enddate);

            return ret;

        }
Пример #6
0
        public string irimhe_temp(string dateTime,string station)
        {   
            TempModel temp = new TempModel();
         
            string ret = "";

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

            return ret;
        }