Empty classes of ActivePowerControl
This commit is contained in:
parent
32c947aa93
commit
cfdbf5963c
11
lib/Hoymiles/src/commands/ActivePowerControlCommand.cpp
Normal file
11
lib/Hoymiles/src/commands/ActivePowerControlCommand.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include "ActivePowerControlCommand.h"
|
||||||
|
|
||||||
|
ActivePowerControlCommand::ActivePowerControlCommand(uint64_t target_address, uint64_t router_address)
|
||||||
|
: DevControlCommand(target_address, router_address)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ActivePowerControlCommand::handleResponse(InverterAbstract* inverter, fragment_t fragment[], uint8_t max_fragment_id)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
10
lib/Hoymiles/src/commands/ActivePowerControlCommand.h
Normal file
10
lib/Hoymiles/src/commands/ActivePowerControlCommand.h
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "DevControlCommand.h"
|
||||||
|
|
||||||
|
class ActivePowerControlCommand : public DevControlCommand {
|
||||||
|
public:
|
||||||
|
ActivePowerControlCommand(uint64_t target_address = 0, uint64_t router_address = 0);
|
||||||
|
|
||||||
|
virtual bool handleResponse(InverterAbstract* inverter, fragment_t fragment[], uint8_t max_fragment_id);
|
||||||
|
};
|
||||||
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* CommandAbstract
|
* CommandAbstract
|
||||||
* DevControlCommand
|
* DevControlCommand
|
||||||
|
* ActivePowerControlCommand
|
||||||
* MultiDataCommand
|
* MultiDataCommand
|
||||||
* AlarmDataCommand
|
* AlarmDataCommand
|
||||||
* DevInfoAllCommand
|
* DevInfoAllCommand
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user