Exemple #1
0
 public WorkerService(
     ILogger <WorkerService> logger,
     IRpcConnection rpcConnection,
     IRtConnector connector,
     RpcHistoryService historyService,
     Rpc rpc)
 {
     this.logger         = logger;
     this.rpcConnection  = rpcConnection;
     this.connector      = connector;
     this.historyService = historyService;
     this.rpc            = rpc;
 }
Exemple #2
0
 public WorkerService(
     ILogger <WorkerService> logger,
     SimulationService simulation,
     RpcHistoryService historyService,
     IShiftService shiftService,
     Rpc rpc)
 {
     this.logger         = logger;
     this.simulation     = simulation;
     this.historyService = historyService;
     this.shiftService   = shiftService;
     this.rpc            = rpc;
 }