public BasicResponse <DataTable> GetMnlBjLineDt(GetMnlBjLineDtRequest request)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Chart/GetMnlBjLineDt?token=" + Token,
                                                    JSONHelper.ToJSONString(request));
            var res   = JSONHelper.ParseJSONString <BasicResponse <string> >(responseStr);
            var resZh = ObjectConverter.FromBase64String <DataTable>(res.Data);

            return(new BasicResponse <DataTable>
            {
                Data = resZh
            });
        }
        /// <summary>
        ///     获取模拟量报警曲线
        /// </summary>
        /// <param name="SzNameT"></param>
        /// <param name="CurrentPointID"></param>
        /// <param name="CurrentDevid"></param>
        /// <param name="CurrentWzid"></param>
        /// <param name="kglztjsfs"></param>
        /// <returns></returns>
        public DataTable getMnlBjDdLineDt(DateTime SzNameS, DateTime SzNameE, string CurrentPointID, string CurrentDevid,
                                          string CurrentWzid, string type)
        {
            var dtR = new DataTable();

            //
            dtR.Columns.Add("C");
            dtR.Columns.Add("D");
            dtR.Columns.Add("E");
            dtR.Columns.Add("sTimer", typeof(DateTime));
            dtR.Columns.Add("eTimer", typeof(DateTime));
            dtR.Columns.Add("stateName");
            try
            {
                //dtR = ServiceFactory.CreateService<IChartService>()
                //    .getMnlBjLineDt(SzNameS, SzNameE, CurrentPointID, CurrentDevid, CurrentWzid, type);
                var req = new GetMnlBjLineDtRequest
                {
                    SzNameS        = SzNameS,
                    SzNameE        = SzNameE,
                    CurrentPointID = CurrentPointID,
                    CurrentDevid   = CurrentDevid,
                    CurrentWzid    = CurrentWzid,
                    type           = type
                };
                var res = _chartService.GetMnlBjLineDt(req);
                if (!res.IsSuccess)
                {
                    throw new Exception(res.Message);
                }
                dtR = res.Data;
            }
            catch (Exception Ex)
            {
                LogHelper.Error("KglStateLineBarQueryClass_getStateLineDt" + Ex.Message + Ex.StackTrace);
            }
            return(dtR);
        }