Пример #1
0
 public TrainController(ITrainControlCentreService controlService, ILocomotiveRepository locomotiveRepository, ILocomotiveStateService locomotiveStateService, IFunctionStateService funcStateService)
 {
     this.controlService         = controlService;
     this.locomotiveRepository   = locomotiveRepository;
     this.locomotiveStateService = locomotiveStateService;
     this.funcStateService       = funcStateService;
 }
Пример #2
0
 public LocomotiveService(ILocomotiveRepository repo)
 {
     this.repo = repo;
 }