2
0
mirror of https://github.com/team2059/Dent synced 2025-01-07 22:14:14 -05:00
dent/Commands/Compressor/StartCompressing.cpp

19 lines
426 B
C++
Raw Normal View History

2015-01-29 19:53:11 +00: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 19:53:11 +00:00
}
void StartCompressing::Initialize(){
}
void StartCompressing::Execute(){
2015-02-02 19:56:27 -05:00
DentRobot::airCompressor->StartCompressing();
2015-01-29 19:53:11 +00:00
}
bool StartCompressing::IsFinished(){
return false;
}
void StartCompressing::End(){
}
void StartCompressing::Interrupted(){
2015-02-02 20:08:04 -05:00
End();
2015-01-29 19:53:11 +00:00
}