MIRA
|
Function block for charger power supply ports (since 0x01040101) More...
#include <functionblock/PowerSupplyPort.h>
Public Member Functions | |
PowerSupplyPort_v1 () | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
Reflect for serialization. More... | |
bool | isCharging () |
Is the power supply enabled. More... | |
float | getVoltage () |
Return the current voltage. More... | |
float | getCurrent () |
Return the current current. More... | |
Class const & | getClass () const |
Other functions | |
void | checkFunctionBlockID () |
Static Public Member Functions | |
static PseudoClass const & | CLASS () |
Public Attributes | |
uint32 | functionBlockID |
ID of the function block. More... | |
uint8 | nodeID |
ID of the can node. More... | |
uint16 | index |
Index. More... | |
mira::can::CANOpenSDOClientPtr | sdoClient |
Protected Member Functions | |
virtual Class const & | internalGetClass () const=0 |
Protected Attributes | |
uint8 | subIndexIsCharging |
Subindex for charging flag. More... | |
uint8 | subIndexVoltage |
Subindex for retrieving the voltage. More... | |
uint8 | subIndexCurrent |
Subindex for retrieving the current. More... | |
Function block for charger power supply ports (since 0x01040101)
|
inline |
|
inlineinherited |
Reflect for serialization.
|
inlineinherited |
Is the power supply enabled.
|
inlineinherited |
Return the current voltage.
|
inlineinherited |
Return the current current.
|
inherited |
|
protectedinherited |
Subindex for charging flag.
|
protectedinherited |
Subindex for retrieving the voltage.
|
protectedinherited |
Subindex for retrieving the current.
|
inherited |
ID of the function block.
|
inherited |
ID of the can node.
|
inherited |
Index.
Pointer to the SDO client
|
inherited |