#include "DieselMotor.h" #include "Tsensor.h" #include DieselMotor::DieselMotor(Tsensor* t): t1(t){ } Tsensor* DieselMotor::tsensor(){ return t1; } void DieselMotor::start(){ std::cout <<"Diesel motor has started"<