/// <summary> /// 删除图形的绑定测点信息 /// </summary> /// <param name="graphicspointsinfrequest"></param> /// <returns></returns> public BasicResponse DeleteGraphicsPointsInfForGraphId(DeleteGraphicsPointsInfForGraphIdRequest graphicspointsinfrequest) { var response = new BasicResponse(); if (string.IsNullOrWhiteSpace(graphicspointsinfrequest.GraphId)) { response.Code = -100; response.Message = "参数错误!"; return(response); } try { _Repository.DeleteGraphicsPointsInfForGraphId(graphicspointsinfrequest.GraphId); } catch (Exception ex) { response.Code = -100; response.Message = ex.Message; this.ThrowException("DeleteGraphicsPointsInfForGraphId-删除图形的绑定测点信息", ex); } return(response); }
public BasicResponse DeleteGraphicsPointsInfForGraphId(DeleteGraphicsPointsInfForGraphIdRequest graphicspointsinfrequest) { return(graphicsbaseinfService.DeleteGraphicsPointsInfForGraphId(graphicspointsinfrequest)); }
public BasicResponse DeleteGraphicsPointsInfForGraphId(DeleteGraphicsPointsInfForGraphIdRequest graphicspointsinfrequest) { var responsestr = HttpClientHelper.Post(Webapi + "/v1/graphicspointsinf/deletegraphicspointsinfforgraphid?token=" + Token, JSONHelper.ToJSONString(graphicspointsinfrequest)); return(JSONHelper.ParseJSONString <BasicResponse <GraphicspointsinfInfo> >(responsestr)); }