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