2015-01-29 14:53:11 -05:00
|
|
|
#include "StopCompressing.h"
|
|
|
|
#include "../../DentRobot.h"
|
|
|
|
StopCompressing::StopCompressing() : Command("StopCompressing"){
|
2015-02-02 19:56:27 -05:00
|
|
|
Requires(DentRobot::airCompressor);
|
2015-01-29 14:53:11 -05:00
|
|
|
}
|
|
|
|
void StopCompressing::Initialize(){
|
|
|
|
}
|
|
|
|
void StopCompressing::Execute(){
|
2015-02-02 19:56:27 -05:00
|
|
|
DentRobot::airCompressor->StopCompressing();
|
2015-01-29 14:53:11 -05:00
|
|
|
}
|
|
|
|
bool StopCompressing::IsFinished(){
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
void StopCompressing::End(){
|
|
|
|
}
|
|
|
|
void StopCompressing::Interrupted(){
|
2015-02-02 20:08:04 -05:00
|
|
|
End();
|
2015-01-29 14:53:11 -05:00
|
|
|
}
|