예제 #1
0
 void Manual()
 {
     _currentMode = new ManualMode();
     _currentMode.Start(_exitEvent, _tokenSource.Token);
 }
예제 #2
0
 void Watering()
 {
     _currentMode = new WateringMode();
     _currentMode.Start(_exitEvent, _tokenSource.Token);
 }
예제 #3
0
 void Cleaning()
 {
     _currentMode = new CleaningMode();
     _currentMode.Start(_exitEvent, _tokenSource.Token);
 }
예제 #4
0
 void Standby()
 {
     _currentMode = new StandbyMode();
     _currentMode.Start(_exitEvent, _tokenSource.Token);
 }