コード例 #1
0
 public bool DelExchangePacketConfig(ExchangePacketConfig exchangePacketConfig)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         bool rs = _admin.DelExchangePacketConfig(exchangePacketConfig);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "DelExchangePacketConfig failed");
         return(false);
     }
 }
コード例 #2
0
 public Int32 AddExchangePacketConfig(ExchangePacketConfig exchangePacketConfig)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         int rs = _admin.AddExchangePacketConfig(exchangePacketConfig);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "AddExchangePacketConfig failed");
         return(0);
     }
 }
コード例 #3
0
 public Int32 AddDailyReportTotalPeople(DailyReportTotalPeople dailyReportTotalPeople)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         int rs = _admin.AddDailyReportTotalPeople(dailyReportTotalPeople);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "AddDailyReportTotalPeople failed");
         return(0);
     }
 }
コード例 #4
0
 public int UpdateDrawPacketConfig(DrawPacketConfig drawPacketConfig)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         int rs = _admin.UpdateDrawPacketConfig(drawPacketConfig);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "UpdateDrawPacketConfig failed");
         return(0);
     }
 }
コード例 #5
0
 public int SubmitDrawPacketConfigRate()
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         int rs = _admin.SubmitDrawPacketConfigRate();
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "SubmitDrawPacketConfigRate failed");
         return(0);
     }
 }
コード例 #6
0
 public Int64 AddWallets(Wallets wallets)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         long rs = _admin.AddWallets(wallets);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "AddWallets failed");
         return(0);
     }
 }
コード例 #7
0
 public Int32 importCSVtoDB(DataSet ds, string TableName)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         int rs = _admin.importCSVtoDB(ds, TableName);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "importCSVtoDB failed");
         return(0);
     }
 }
コード例 #8
0
 public Int32 UpdateBasicConfig(BasicConfig basicConfig)
 {
     _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
     try
     {
         int rs = _admin.UpdateBasicConfig(basicConfig);
         _admin.Close();
         return(rs);
     }
     catch (Exception ex)
     {
         _admin.CloseCatch(ex, "UpdateBasicConfig failed");
         return(0);
     }
 }
コード例 #9
0
        public TransferData_All_ReportDateConfig TransferDataAllReportDateConfigGetByConfigId(TransferData_All_ReportDateConfig searchTransferData_All_ReportDateConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            TransferData_All_ReportDateConfig result = new TransferData_All_ReportDateConfig();

            try
            {
                result = _admin.TransferDataAllReportDateConfigGetByConfigId(searchTransferData_All_ReportDateConfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataAllReportDateConfigGetByConfigId failed");
                return(result);
            }
        }
コード例 #10
0
        public Int32 TransferDataItemConsumeItemConfigUpdate(TransferData_ItemConsume_ItemConfig searchTransferData_ItemConsume_ItemConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            Int32 result = 0;

            try
            {
                result = _admin.TransferDataItemConsumeItemConfigUpdate(searchTransferData_ItemConsume_ItemConfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataItemConsumeItemConfigUpdate failed");
                return(result);
            }
        }
コード例 #11
0
        public bool TransferDataItemConsumeItemConfigDel(TransferData_ItemConsume_ItemConfig searchTransferData_ItemConsume_ItemConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            bool result = false;

            try
            {
                result = _admin.TransferDataItemConsumeItemConfigDel(searchTransferData_ItemConsume_ItemConfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataItemConsumeItemConfigDel failed");
                return(result);
            }
        }
コード例 #12
0
        public List <Wallets> GetWalletsList(ref DataPage dp, Wallets searchWallets)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <Wallets> lists = new List <Wallets>();

            try
            {
                lists = _admin.GetWalletsList(ref dp, searchWallets);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetWalletsList failed");
                return(lists);
            }
        }
コード例 #13
0
        public Int32 TransferDataGameDetailsItemConfigAdd(TransferData_GameDetails_ItemConfig searchTransferData_GameDetails_ItemConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            Int32 result = 0;

            try
            {
                result = _admin.TransferDataGameDetailsItemConfigAdd(searchTransferData_GameDetails_ItemConfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataGameDetailsItemConfigAdd failed");
                return(result);
            }
        }
コード例 #14
0
        public List <PacketQueueLog> GetPacketQueueLogList(ref DataPage dp, PacketQueueLog searchPacketQueueLog)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <PacketQueueLog> lists = new List <PacketQueueLog>();

            try
            {
                lists = _admin.GetPacketQueueLogList(ref dp, searchPacketQueueLog);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetPacketQueueLogList failed");
                return(lists);
            }
        }
コード例 #15
0
        public int RefreshTopNList()
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            Int32 result = 0;

            try
            {
                result = _admin.RefreshTopNList();
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "RefreshTopNList failed");
                return(result);
            }
        }
コード例 #16
0
        public TransferData_ItemConsume_ItemConfig TransferDataItemConsumeItemConfigGetByItemId(TransferData_ItemConsume_ItemConfig searchTransferData_ItemConsume_ItemConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            TransferData_ItemConsume_ItemConfig result = new TransferData_ItemConsume_ItemConfig();

            try
            {
                result = _admin.TransferDataItemConsumeItemConfigGetByItemId(searchTransferData_ItemConsume_ItemConfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataItemConsumeItemConfigGetByItemId failed");
                return(result);
            }
        }
コード例 #17
0
        public BasicConfig GetBasicConfig(BasicConfig searchBasicConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            BasicConfig lists = new BasicConfig();

            try
            {
                lists = _admin.GetBasicConfig(searchBasicConfig);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetBasicConfig failed");
                return(lists);
            }
        }
コード例 #18
0
        public List <BasicConfig> GetBasicConfigAll()
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <BasicConfig> lists = new List <BasicConfig>();

            try
            {
                lists = _admin.GetBasicConfigAll();
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetBasicConfigAll failed");
                return(lists);
            }
        }
コード例 #19
0
        public List <ExchangePacketConfig> GetExchangePacketConfigList(ref DataPage dp)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <ExchangePacketConfig> lists = new List <ExchangePacketConfig>();

            try
            {
                lists = _admin.GetExchangePacketConfigList(ref dp);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetExchangePacketConfigList failed");
                return(lists);
            }
        }
コード例 #20
0
        public ExchangePacketConfig GetExchangePacketConfig(ExchangePacketConfig searchExchangePacketConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            ExchangePacketConfig lists = new ExchangePacketConfig();

            try
            {
                lists = _admin.GetExchangePacketConfig(searchExchangePacketConfig);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetExchangePacketConfig failed");
                return(lists);
            }
        }
コード例 #21
0
        public List <TransferData_ItemConsume_ItemConfig> TransferDataItemConsumeItemConfigGetList(ref DataPage dp, TransferData_ItemConsume_ItemConfig searchTransferData_ItemConsume_ItemConfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <TransferData_ItemConsume_ItemConfig> result = new List <TransferData_ItemConsume_ItemConfig>();

            try
            {
                result = _admin.TransferDataItemConsumeItemConfigGetList(ref dp, searchTransferData_ItemConsume_ItemConfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataItemConsumeItemConfigGetList failed");
                return(result);
            }
        }
コード例 #22
0
        public List <DailyReportTotalPeople> GetDailyReportTotalPeopleList(ref DataPage dp, DailyReportTotalPeople searchDailyReportTotalPeople)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <DailyReportTotalPeople> lists = new List <DailyReportTotalPeople>();

            try
            {
                lists = _admin.GetDailyReportTotalPeopleList(ref dp, searchDailyReportTotalPeople);
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetDailyReportTotalPeopleList failed");
                return(lists);
            }
        }
コード例 #23
0
        public List <RankList_TopN> GetRankListTopNList(ref DataPage dp, RankList_TopN searchRankListTopN)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <RankList_TopN> result = new List <RankList_TopN>();

            try
            {
                result = _admin.GetRankListTopNList(ref dp, searchRankListTopN);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetRankListTopNList failed");
                return(result);
            }
        }
コード例 #24
0
        public List <DailyReportItemConsume> GetDailyReportItemConsumeAll()
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <DailyReportItemConsume> lists = new List <DailyReportItemConsume>();

            try
            {
                lists = _admin.GetDailyReportItemConsumeAll();
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetDailyReportItemConsumeAll failed");
                return(lists);
            }
        }
コード例 #25
0
        public Int32 TransferDataGameDetailsUsersConfigBatchAdd(List <TransferData_GameDetails_UsersConfig> listuserconfig)
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            Int32 result = 0;

            try
            {
                result = _admin.TransferDataGameDetailsUsersConfigBatchAdd(listuserconfig);
                _admin.Close();
                return(result);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "TransferDataGameDetailsUsersConfigBatchAdd failed");
                return(result);
            }
        }
コード例 #26
0
        public List <DailyReportGameDetailsPerUser> GetDailyReportGameDetailsPerUserAll()
        {
            _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient();
            List <DailyReportGameDetailsPerUser> lists = new List <DailyReportGameDetailsPerUser>();

            try
            {
                lists = _admin.GetDailyReportGameDetailsPerUserAll();
                _admin.Close();
                return(lists);
            }
            catch (Exception ex)
            {
                _admin.CloseCatch(ex, "GetDailyReportGameDetailsPerUserAll failed");
                return(lists);
            }
        }