/// <summary>通过设备种类查找测点 /// </summary> /// <param name="DevClassID"></param> /// <returns></returns> public static List <Jc_DefInfo> QueryPointByDevClassIDCache(int DevClassID) { PointDefineGetByDevClassIDRequest PointDefineRequest = new PointDefineGetByDevClassIDRequest(); PointDefineRequest.DevClassID = DevClassID; var result = _PointDefineService.GetPointDefineCacheByDevClassID(PointDefineRequest); if (result.IsSuccess == true) { return(result.Data); } else { throw new Exception(result.Message); } }
public BasicResponse <List <Jc_DefInfo> > GetPointDefineCacheByDevClassID(PointDefineGetByDevClassIDRequest PointDefineRequest) { return(_PointDefineService.GetPointDefineCacheByDevClassID(PointDefineRequest)); }