2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Commands/Compressor/StopCompressing.cpp

19 lines
416 B
C++
Raw Normal View History

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
}