mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls.git
synced 2026-01-27 10:22:52 +00:00
Adding tot simulation.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "RESTAPI_operation_handler.h"
|
||||
#include "Simulation.h"
|
||||
#include "SimStats.h"
|
||||
|
||||
namespace OpenWifi {
|
||||
void RESTAPI_operation_handler::DoPost() {
|
||||
@@ -40,7 +41,7 @@ namespace OpenWifi {
|
||||
|
||||
if(Error.empty()) {
|
||||
OWLSObjects::SimulationStatus S;
|
||||
SimulationCoordinator()->GetStatus(S);
|
||||
SimStats()->GetCurrent(S);
|
||||
Poco::JSON::Object Answer;
|
||||
S.to_json(Answer);
|
||||
return ReturnObject(Answer);
|
||||
|
||||
Reference in New Issue
Block a user