예제 #1
0
        /// <summary>
        /// 获取分站基础信息
        /// </summary>
        /// <param name="fzh"></param>
        /// <returns></returns>
        public static GetSubstationBasicInfoResponse GetSubstationBasicInfo(string fzh)
        {
            var req = new GetSubstationBasicInfoRequest
            {
                Fzh = fzh,
            };
            var res = PointDefineService.GetSubstationBasicInfo(req);

            if (!res.IsSuccess)
            {
                throw new Exception(res.Message);
            }
            return(res.Data);
        }
 public BasicResponse <GetSubstationBasicInfoResponse> GetSubstationBasicInfo(GetSubstationBasicInfoRequest request)
 {
     return(_PointDefineService.GetSubstationBasicInfo(request));
 }