power and pus upstream taken over
This commit is contained in:
parent
f6e7e232f5
commit
2e1ad41da7
7
power/CMakeLists.txt
Normal file
7
power/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
target_sources(${LIB_FSFW_NAME}
|
||||||
|
PRIVATE
|
||||||
|
Fuse.cpp
|
||||||
|
PowerComponent.cpp
|
||||||
|
PowerSensor.cpp
|
||||||
|
PowerSwitcher.cpp
|
||||||
|
)
|
11
pus/CMakeLists.txt
Normal file
11
pus/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
target_sources(${LIB_FSFW_NAME}
|
||||||
|
PRIVATE
|
||||||
|
CService200ModeCommanding.cpp
|
||||||
|
CService201HealthCommanding.cpp
|
||||||
|
Service17Test.cpp
|
||||||
|
Service1TelecommandVerification.cpp
|
||||||
|
Service2DeviceAccess.cpp
|
||||||
|
Service5EventReporting.cpp
|
||||||
|
Service8FunctionManagement.cpp
|
||||||
|
Service9TimeManagement.cpp
|
||||||
|
)
|
@ -86,11 +86,15 @@ ReturnValue_t CService201HealthCommanding::handleReply
|
|||||||
object_id_t objectId, bool *isStep) {
|
object_id_t objectId, bool *isStep) {
|
||||||
Command_t replyId = reply->getCommand();
|
Command_t replyId = reply->getCommand();
|
||||||
if (replyId == HealthMessage::REPLY_HEALTH_SET) {
|
if (replyId == HealthMessage::REPLY_HEALTH_SET) {
|
||||||
return prepareHealthSetReply(reply);
|
return EXECUTION_COMPLETE;
|
||||||
|
}
|
||||||
|
else if(replyId == CommandMessageIF::REPLY_REJECTED) {
|
||||||
|
return reply->getReplyRejectedReason();
|
||||||
}
|
}
|
||||||
return CommandingServiceBase::INVALID_REPLY;
|
return CommandingServiceBase::INVALID_REPLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Not used for now, health state already reported by event
|
||||||
ReturnValue_t CService201HealthCommanding::prepareHealthSetReply(
|
ReturnValue_t CService201HealthCommanding::prepareHealthSetReply(
|
||||||
const CommandMessage* reply) {
|
const CommandMessage* reply) {
|
||||||
prepareHealthSetReply(reply);
|
prepareHealthSetReply(reply);
|
||||||
|
Loading…
Reference in New Issue
Block a user