/// <summary> ///获取图形更新时间 /// </summary> /// <param name="graphicsbaseinfrequest"></param> /// <returns></returns> public BasicResponse <DataTable> GetGraphicTimer(GetGraphicTimerRequest graphicsbaseinfrequest) { var response = new BasicResponse <DataTable>(); if (string.IsNullOrWhiteSpace(graphicsbaseinfrequest.GraphName)) { response.Code = -100; response.Message = "参数错误!"; return(response); } try { var graphicsrouteinfData = _Repository.GetGraphicTimer(graphicsbaseinfrequest.GraphName); response.Data = graphicsrouteinfData; } catch (Exception ex) { response.Code = -100; response.Message = ex.Message; this.ThrowException("GetMapPointsInfo-获取图形对应测点绑定信息", ex); } return(response); }
public BasicResponse <DataTable> GetGraphicTimer(GetGraphicTimerRequest graphicsbaseinfrequest) { var responsestr = HttpClientHelper.Post(Webapi + "/v1/graphicsbaseinf/getgraphictimer?token=" + Token, JSONHelper.ToJSONString(graphicsbaseinfrequest)); return(JSONHelper.ParseJSONString <BasicResponse <DataTable> >(responsestr)); }
public BasicResponse <DataTable> GetGraphicTimer(GetGraphicTimerRequest graphicsbaseinfrequest) { return(graphicsbaseinfService.GetGraphicTimer(graphicsbaseinfrequest)); }