예제 #1
0
 public Robot(IHardwareRobot hardwareRobot, int width, int length)
 {
     this.hardwareRobot = hardwareRobot;
     room     = new Room(width, length, new DirectionMapper());
     cleaning = new Cleaning(hardwareRobot, room);
     @return  = new Return(hardwareRobot);
 }
 public CleaningJobController(ICleaning CleaningItemImp, IRequestService ServiceRequestImp, ITeam TeamRepository)
 {
     this.CleaningItemImp   = CleaningItemImp;
     this.ServiceRequestImp = ServiceRequestImp;
     this.TeamRepository    = TeamRepository;
 }