예제 #1
0
        /// <summary>
        /// 根据分站号获取所有电源箱信息
        /// </summary>
        /// <param name="fzh"></param>
        /// <returns></returns>
        public static GetSubstationAllPowerBoxInfoResponse GetSubstationPowerBoxInfo(string fzh)
        {
            var req = new GetSubstationAllPowerBoxInfoRequest
            {
                Fzh = fzh
            };
            var res = PointDefineService.GetSubstationAllPowerBoxInfo(req);

            if (!res.IsSuccess)
            {
                throw new Exception(res.Message);
            }
            return(res.Data);
        }
 public BasicResponse <GetSubstationAllPowerBoxInfoResponse> GetSubstationAllPowerBoxInfo(GetSubstationAllPowerBoxInfoRequest request)
 {
     return(_PointDefineService.GetSubstationAllPowerBoxInfo(request));
 }