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