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