You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/ked/oldDevFiles/temp/finite_state_machine/oven.cpp

47 lines
615 B

#include "oven.hpp"
#include <iostream>
Oven::Oven()
{
turnEverythingOff();
}
void Oven::setHeaterDutyCycle()
{
}
void Oven::turnOnHeater()
{
std::cout << "Oven::turnOnHeateri()" << std::endl;
}
void Oven::turnOffHeater()
{
std::cout << "Oven::turnOffHeater()" << std::endl;
}
float Oven::getTemperature_C()
{
return 0;
}
void Oven::turnOnAirCirculation()
{
std::cout << "Oven::turnOnAirCirculation()" << std::endl;
}
void Oven::turnOffAirCirculation()
{
std::cout << "Oven::turnOnffAirCirculation()" << std::endl;
}
void Oven::turnEverythingOff()
{
turnOffHeater();
turnOffAirCirculation();
}