Example #1
0
        /// <summary>
        /// 获取商户列表
        /// </summary>
        /// <returns></returns>
        public static IEnumerable <Model.XCCloudRS232.Base_MerchInfo> GetMerchList()
        {
            BLL.IBLL.XCCloudRS232.IMerchService deviceService = BLLContainer.Resolve <BLL.IBLL.XCCloudRS232.IMerchService>();
            var merchList = deviceService.GetModels(d => true);

            return(merchList);
        }
Example #2
0
        public static void Init()
        {
            BLL.IBLL.XCCloudRS232.IMerchService deviceService = BLLContainer.Resolve <BLL.IBLL.XCCloudRS232.IMerchService>();
            var merch = deviceService.GetModels(d => true).ToList <Base_MerchInfo>();

            merchList.AddRange(merch);
        }