Added ngrest project structure and absolutehumidity rest
This commit is contained in:
14
RestServer/humidityserver/src/humidityserver.cpp
Normal file
14
RestServer/humidityserver/src/humidityserver.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
// This file generated by ngrestcg
|
||||
// For more information, please visit: https://github.com/loentar/ngrest
|
||||
|
||||
#include "humidityserver.h"
|
||||
|
||||
/*std::string humidityserver::echo(const std::string& text)
|
||||
{
|
||||
return "Hi, " + text;
|
||||
}*/
|
||||
|
||||
float humidityserver::absolutehumidity(float temperature, float humidity) {
|
||||
|
||||
return temperature + humidity;
|
||||
}
|
Reference in New Issue
Block a user