mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
19 lines
416 B
C++
19 lines
416 B
C++
#include "StopCompressing.h"
|
|
#include "../../DentRobot.h"
|
|
StopCompressing::StopCompressing() : Command("StopCompressing"){
|
|
Requires(DentRobot::airCompressor);
|
|
}
|
|
void StopCompressing::Initialize(){
|
|
}
|
|
void StopCompressing::Execute(){
|
|
DentRobot::airCompressor->StopCompressing();
|
|
}
|
|
bool StopCompressing::IsFinished(){
|
|
return false;
|
|
}
|
|
void StopCompressing::End(){
|
|
}
|
|
void StopCompressing::Interrupted(){
|
|
End();
|
|
}
|