Files
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

38 lines
1.0 KiB
C++

// SPDX-License-Identifier: Apache-2.0
// Copyright chargebyte GmbH and Contributors to EVerest
#ifndef METHODS_CHARGEPOINT_HPP
#define METHODS_CHARGEPOINT_HPP
#include "../../data/DataStore.hpp"
using namespace data;
namespace RPCDataTypes = types::json_rpc_api;
namespace methods {
static const std::string METHOD_CHARGEPOINT_GET_EVSE_INFOS = "ChargePoint.GetEVSEInfos";
static const std::string METHOD_CHARGEPOINT_GET_ACTIVE_ERRORS = "ChargePoint.GetActiveErrors";
/// This class includes all methods of the ChargePoint namespace.
/// It contains the data object and the methods to access it.
class ChargePoint {
public:
// Constructor and Destructor
ChargePoint() = delete;
explicit ChargePoint(DataStoreCharger& dataobj) : m_dataobj(dataobj){};
~ChargePoint() = default;
// Methods
RPCDataTypes::ChargePointGetEVSEInfosResObj getEVSEInfos();
RPCDataTypes::ChargePointGetActiveErrorsResObj getActiveErrors();
private:
DataStoreCharger& m_dataobj;
};
} // namespace methods
#endif // METHODS_CHARGEPOINT_HPP