コード例 #1
0
 internal OfficialServices(string host, int port)
 {
     _host                      = host;
     _port                      = port;
     FileUrlService             = new FileUrlService(host, port);
     OverClockDataService       = new OverClockDataService(host, port);
     NTMinerWalletService       = new NTMinerWalletService(host, port);
     KernelOutputKeywordService = new KernelOutputKeywordService(host, port);
     ControlCenterService       = new ControlCenterService(host, port);
     ServerMessageService       = new ServerMessageService(host, port);
 }
コード例 #2
0
 internal ServerServices()
 {
     ControlCenterService = new ControlCenterService();
     UserService          = new UserService();
     MinerGroupService    = new MinerGroupService();
     MineWorkService      = new MineWorkService();
     WalletService        = new WalletService();
     PoolService          = new PoolService();
     ColumnsShowService   = new ColumnsShowServiceFace();
     ClientService        = new ClientService();
     AppSettingService    = new AppSettingServiceFace();
     ReportService        = new ReportService();
     MinerClientService   = new WrapperMinerClientService();
 }