EIVE upstream #29
@ -573,8 +573,6 @@ void DeviceHandlerBase::setTransition(Mode_t modeTo, Submode_t submodeTo) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void DeviceHandlerBase::setMode(Mode_t newMode, uint8_t newSubmode) {
|
void DeviceHandlerBase::setMode(Mode_t newMode, uint8_t newSubmode) {
|
||||||
/* TODO: This will probably be done by the LocalDataPoolManager now */
|
|
||||||
// changeHK(mode, submode, false);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* handle transition from OFF to NORMAL by continuing towards normal when ON is reached
|
* handle transition from OFF to NORMAL by continuing towards normal when ON is reached
|
||||||
@ -1595,6 +1593,14 @@ void DeviceHandlerBase::setPowerSwitcher(PowerSwitchIF* switcher) {
|
|||||||
this->powerSwitcher = switcher;
|
this->powerSwitcher = switcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Mode_t DeviceHandlerBase::getMode() {
|
||||||
|
return mode;
|
||||||
|
}
|
||||||
|
|
||||||
|
Submode_t DeviceHandlerBase::getSubmode() {
|
||||||
|
return submode;
|
||||||
|
}
|
||||||
|
|
||||||
void DeviceHandlerBase::disableCommandsAndReplies() {
|
void DeviceHandlerBase::disableCommandsAndReplies() {
|
||||||
for (auto& command : deviceCommandMap) {
|
for (auto& command : deviceCommandMap) {
|
||||||
if (command.second.isExecuting) {
|
if (command.second.isExecuting) {
|
||||||
|
@ -755,7 +755,7 @@ class DeviceHandlerBase : public DeviceHandlerIF,
|
|||||||
*
|
*
|
||||||
* set via setMode()
|
* set via setMode()
|
||||||
*/
|
*/
|
||||||
Submode_t getSubmode;
|
Submode_t getSubmode();
|
||||||
|
|
||||||
/** This is the counter value from performOperation(). */
|
/** This is the counter value from performOperation(). */
|
||||||
uint8_t pstStep = 0;
|
uint8_t pstStep = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user