Exemplo n.º 1
0
        /// <summary>
        /// 获取所有设备种类
        /// </summary>
        /// <returns>获取所有设备种类</returns>
        public List <EnumcodeInfo> GetAllDeviceClassCache()
        {
            BasicResponse <List <EnumcodeInfo> > response = largeDataAnalysisCacheClientService.GetAllDeviceClassCache(new DeviceClassCacheGetAllRequest());

            if (response.IsSuccess && response.Data != null)
            {
                return(response.Data);
            }
            return(new List <EnumcodeInfo>());
        }
 public BasicResponse <List <EnumcodeInfo> > GetAllDeviceClassCache(DeviceClassCacheGetAllRequest deviceClassCacheRequest)
 {
     return(largeDataAnalysisCacheClientService.GetAllDeviceClassCache(deviceClassCacheRequest));
 }