|
|
| TariffAndCost (const FunctionalBlockContext &functional_block_context, MeterValuesInterface &meter_values, std::optional< SetDisplayMessageCallback > &set_display_message_callback, std::optional< SetRunningCostCallback > &set_running_cost_callback, boost::asio::io_service &io_service) |
| |
| void | handle_message (const ocpp::EnhancedMessage< MessageType > &message) override |
| | Handles the given message from the CSMS. This includes dispatching a CALLRESULT as a response to the incoming message . More...
|
| |
| void | handle_cost_and_tariff (const TransactionEventResponse &response, const TransactionEventRequest &original_message, const json &original_transaction_event_response) override |
| | Create cost and / or tariff message and call the callbacks to send it, if tariff and / or cost is enabled. More...
|
| |
| virtual void | handle_cost_and_tariff (const TransactionEventResponse &response, const TransactionEventRequest &original_message, const json &original_transaction_event_response)=0 |
| | Create cost and / or tariff message and call the callbacks to send it, if tariff and / or cost is enabled. More...
|
| |
| virtual void | handle_message (const EnhancedMessage< MessageType > &message)=0 |
| | Handles the given message from the CSMS. This includes dispatching a CALLRESULT as a response to the incoming message . More...
|
| |
◆ handle_cost_and_tariff()
Create cost and / or tariff message and call the callbacks to send it, if tariff and / or cost is enabled.
- Parameters
-
| response | The TransactionEventResponse where the tariff and cost information is added to. |
| original_message | The original TransactionEventRequest, which contains some information we need as well. |
| original_transaction_event_response | The original json from the response. |
Implements ocpp::v2::TariffAndCostInterface.
◆ handle_message()
Handles the given message from the CSMS. This includes dispatching a CALLRESULT as a response to the incoming message .
- Parameters
-
Implements ocpp::v2::MessageHandlerInterface.
The documentation for this class was generated from the following files:
- include/ocpp/v2/functional_blocks/tariff_and_cost.hpp
- lib/ocpp/v2/functional_blocks/tariff_and_cost.cpp