Ejemplo n.º 1
0
        /// <summary>查找COM下的所有分站
        /// </summary>
        /// <param name="com"></param>
        /// <returns></returns>
        public static List <Jc_DefInfo> QueryPointByCOMCache(string com)
        {
            PointDefineGetByCOMRequest PointDefineRequest = new PointDefineGetByCOMRequest();

            PointDefineRequest.COM = com;
            var result = _PointDefineService.GetPointDefineCacheByCOM(PointDefineRequest);

            if (result.IsSuccess == true)
            {
                return(result.Data);
            }
            else
            {
                throw new Exception(result.Message);
            }
        }
 public BasicResponse <List <Jc_DefInfo> > GetPointDefineCacheByCOM(PointDefineGetByCOMRequest PointDefineRequest)
 {
     return(_PointDefineService.GetPointDefineCacheByCOM(PointDefineRequest));
 }