From 5505cb9bafba58214bb6e889babee647889f32d4 Mon Sep 17 00:00:00 2001 From: athatheocsd <athatheo@csd.auth.gr> Date: Sun, 16 Dec 2018 20:02:17 +0200 Subject: [PATCH] Further implementation of subservices --- inc/Services/EventActionService.hpp | 9 ++++++++- src/Services/EventActionService.cpp | 2 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/inc/Services/EventActionService.hpp b/inc/Services/EventActionService.hpp index d4101431..1c4a95f4 100644 --- a/inc/Services/EventActionService.hpp +++ b/inc/Services/EventActionService.hpp @@ -86,8 +86,15 @@ public: /** * Setter for event-action status */ - void setEventActionStatus(EventActionStatus){ + void setEventActionStatus(EventActionStatus e){ + eventActionStatus = e; + } + /** + * Setter for event-action function status + */ + void setEventActionFunctionStatus(EventActionFunctionStatus e){ + eventActionFunctionStatus = e; } }; diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp index 05e77706..989a5ba5 100644 --- a/src/Services/EventActionService.cpp +++ b/src/Services/EventActionService.cpp @@ -77,7 +77,6 @@ void EventActionService::enableEventActionFunction(Message message) { // TC[19,8] if (message.messageType == 8 && message.packetType == Message::TC && message.serviceType == 19){ - } } @@ -85,6 +84,5 @@ void EventActionService::disableEventActionFunction(Message message) { // TC[19,9] if (message.messageType == 9 && message.packetType == Message::TC && message.serviceType == 19){ - } } -- GitLab