From 9b08b69dde59617ef7a2e009744c53f0e95bdea6 Mon Sep 17 00:00:00 2001 From: Armin Co <armin.co@hs-bochum.de> Date: Wed, 7 Oct 2020 08:06:11 +0200 Subject: [PATCH] log sim state --- src/apps/smart_grid/SmartOpcServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/smart_grid/SmartOpcServer.cpp b/src/apps/smart_grid/SmartOpcServer.cpp index b5d5f23..9b73863 100644 --- a/src/apps/smart_grid/SmartOpcServer.cpp +++ b/src/apps/smart_grid/SmartOpcServer.cpp @@ -44,6 +44,7 @@ private: void DataChange(uint32_t handle, const Node &node, const Variant &val, AttributeId attr) override { auto v = val.As<bool>(); + std::cout << v << std::endl; m_state_machine.set_sim_mode_enabled(v); } SmgStateMachine &m_state_machine; -- GitLab