示例#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;
 }