Example #1
0
        /// <summary>
        /// 根据分站号获取电源箱地址号
        /// </summary>
        /// <param name="fzh"></param>
        /// <returns></returns>
        public static List <string> GetSubstationPowerBoxAddress(string fzh)
        {
            var req = new GetAllPowerBoxAddressRequest
            {
                Fzh = fzh
            };
            var res = PointDefineService.GetAllPowerBoxAddress(req);

            if (!res.IsSuccess)
            {
                throw new Exception(res.Message);
            }
            return(res.Data);
        }
 public BasicResponse <List <string> > GetAllPowerBoxAddress(GetAllPowerBoxAddressRequest request)
 {
     return(_PointDefineService.GetAllPowerBoxAddress(request));
 }