BLL/TCWL_B_ClientTime.cs

(完整代码) 1KB

namespace BLL
{
    using Common;
    using DAL;
    using System;
    using System.Data;

    public class TCWL_B_ClientTime
    {
        private readonly TCWL_D_ClientTime dal = new TCWL_D_ClientTime();

        public string StaticInd(string startTime, string endTime, string v, string srvid, string where, string type)
        {
            DataTable dt = this.dal.StaticInd(startTime, endTime, v, srvid, where, type);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string StaticIndLoad(string startTime, string endTime, string v, string srvid, string where, string type)
        {
            DataTable dt = this.dal.StaticIndLoad(startTime, endTime, v, srvid, where, type);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string StaticMonth(string v, string srvid, string where)
        {
            DataTable dt = this.dal.StaticMonth(v, srvid, where);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string StaticQuarter(string v, string srvid, string where)
        {
            DataTable dt = this.dal.StaticQuarter(v, srvid, where);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string StaticTop(string v, string srvid, string where)
        {
            DataTable dt = this.dal.StaticTop(v, srvid, where);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string StaticYear(string v, string srvid, string where)
        {
            DataTable dt = this.dal.StaticYear(v, srvid, where);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。