コード例 #1
0
        /// <summary>查找MAC地址下的所有分站
        /// </summary>
        /// <param name="mac"></param>
        /// <returns></returns>
        public static List <Jc_DefInfo> QueryPointByMACCache(string mac)
        {
            PointDefineGetByMacRequest PointDefineRequest = new PointDefineGetByMacRequest();

            PointDefineRequest.Mac = mac;
            var result = _PointDefineService.GetPointDefineCacheByMac(PointDefineRequest);

            if (result.IsSuccess == true)
            {
                return(result.Data);
            }
            else
            {
                throw new Exception(result.Message);
            }
        }
コード例 #2
0
 public BasicResponse <List <Jc_DefInfo> > GetPointDefineCacheByMac(PointDefineGetByMacRequest PointDefineRequest)
 {
     return(_PointDefineService.GetPointDefineCacheByMac(PointDefineRequest));
 }