Ejemplo n.º 1
0
        /// <summary>
        /// 根据图形名称获取图形DTO对象
        /// </summary>
        /// <param name="GraphName"></param>
        /// <returns></returns>
        private GraphicsbaseinfInfo getGraphicDto(string GraphName)
        {
            GraphicsbaseinfInfo Rvalue = new GraphicsbaseinfInfo();

            try
            {
                var getGraphicsbaseinfByNameRequest = new GetGraphicsbaseinfByNameRequest()
                {
                    GraphName = GraphName
                };
                var getGraphicsbaseinfByNameResponse = graphicsbaseinfService.GetGraphicsbaseinfByName(getGraphicsbaseinfByNameRequest);
                Rvalue = getGraphicsbaseinfByNameResponse.Data;
            }
            catch (Exception ex)
            {
                LogHelper.Error("RefPointSsz-getGraphicDto" + ex.Message + ex.StackTrace);
            }
            return(Rvalue);
        }
Ejemplo n.º 2
0
 public BasicResponse <GraphicsbaseinfInfo> GetGraphicsbaseinfByName(GetGraphicsbaseinfByNameRequest graphicsbaseinfrequest)
 {
     return(graphicsbaseinfService.GetGraphicsbaseinfByName(graphicsbaseinfrequest));
 }