/// <summary> /// 获取分站电源箱信息 /// </summary> /// <param name="add"></param> /// <param name="fzh"></param> /// <returns></returns> public static BatteryItem GetSubstationBatteryInfo(string add, string fzh) { var req = new GetSubstationBatteryInfoRequest() { Address = add, Fzh = fzh }; var res = PointDefineService.GetSubstationBatteryInfo(req); if (!res.IsSuccess) { throw new Exception(res.Message); } return(res.Data); }
public BasicResponse <Sys.Safety.DataContract.CommunicateExtend.BatteryItem> GetSubstationBatteryInfo(GetSubstationBatteryInfoRequest request) { return(_PointDefineService.GetSubstationBatteryInfo(request)); }