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

19 lines
426 B
C++
Raw Normal View History

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
}