public TrainController(ITrainControlCentreService controlService, ILocomotiveRepository locomotiveRepository, ILocomotiveStateService locomotiveStateService, IFunctionStateService funcStateService) { this.controlService = controlService; this.locomotiveRepository = locomotiveRepository; this.locomotiveStateService = locomotiveStateService; this.funcStateService = funcStateService; }
public LocomotiveService(ILocomotiveRepository repo) { this.repo = repo; }