예제 #1
0
 public RPiConnectionService(IAuthenticationService _auth, IRPiConnectionDatabaseService _rpiConDbService, IFlightplanService _fpService, ISendHttpService _sendHttpService)
 {
     this.auth            = _auth;
     this.rpiConDbService = _rpiConDbService;
     this.fpService       = _fpService;
     this.sendHttpService = _sendHttpService;
 }
예제 #2
0
 /**
  * Constructor for dependency injection.
  */
 public FlightplanController(IFlightplanService _flightplanService, IAuthenticationService _auth, ICommandService _commandService)
 {
     this.flightplanService = _flightplanService;
     this.commandService    = _commandService;
     this.auth = _auth;
 }