|
8 | 8 | #include <set>
|
9 | 9 |
|
10 | 10 | #include <ocpp/common/message_dispatcher.hpp>
|
11 |
| -#include <ocpp/v201/functional_blocks/authorization.hpp> |
12 |
| -#include <ocpp/v201/functional_blocks/availability.hpp> |
13 |
| -#include <ocpp/v201/functional_blocks/data_transfer.hpp> |
14 |
| -#include <ocpp/v201/functional_blocks/diagnostics.hpp> |
15 |
| -#include <ocpp/v201/functional_blocks/display_message.hpp> |
16 |
| -#include <ocpp/v201/functional_blocks/firmware_update.hpp> |
17 |
| -#include <ocpp/v201/functional_blocks/meter_values.hpp> |
18 |
| -#include <ocpp/v201/functional_blocks/provisioning.hpp> |
19 |
| -#include <ocpp/v201/functional_blocks/remote_transaction_control.hpp> |
20 |
| -#include <ocpp/v201/functional_blocks/reservation.hpp> |
21 |
| -#include <ocpp/v201/functional_blocks/security.hpp> |
22 |
| -#include <ocpp/v201/functional_blocks/smart_charging.hpp> |
23 |
| -#include <ocpp/v201/functional_blocks/tariff_and_cost.hpp> |
24 |
| -#include <ocpp/v201/functional_blocks/transaction.hpp> |
25 | 11 |
|
26 | 12 | #include <ocpp/common/charging_station_base.hpp>
|
27 | 13 |
|
28 | 14 | #include <ocpp/v201/average_meter_values.hpp>
|
29 | 15 | #include <ocpp/v201/charge_point_callbacks.hpp>
|
30 |
| -#include <ocpp/v201/ctrlr_component_variables.hpp> |
31 |
| -#include <ocpp/v201/database_handler.hpp> |
32 |
| -#include <ocpp/v201/device_model.hpp> |
33 |
| -#include <ocpp/v201/device_model_storage_interface.hpp> |
34 |
| -#include <ocpp/v201/evse_manager.hpp> |
35 |
| -#include <ocpp/v201/monitoring_updater.hpp> |
36 | 16 | #include <ocpp/v201/ocpp_enums.hpp>
|
37 | 17 | #include <ocpp/v201/ocpp_types.hpp>
|
38 | 18 | #include <ocpp/v201/ocsp_updater.hpp>
|
39 | 19 | #include <ocpp/v201/types.hpp>
|
40 | 20 | #include <ocpp/v201/utils.hpp>
|
41 | 21 |
|
42 | 22 | #include <ocpp/v201/messages/Authorize.hpp>
|
43 |
| -#include <ocpp/v201/messages/BootNotification.hpp> |
44 |
| -#include <ocpp/v201/messages/ClearVariableMonitoring.hpp> |
45 |
| -#include <ocpp/v201/messages/CustomerInformation.hpp> |
46 | 23 | #include <ocpp/v201/messages/DataTransfer.hpp>
|
47 | 24 | #include <ocpp/v201/messages/Get15118EVCertificate.hpp>
|
48 |
| -#include <ocpp/v201/messages/GetBaseReport.hpp> |
49 |
| -#include <ocpp/v201/messages/GetLog.hpp> |
50 |
| -#include <ocpp/v201/messages/GetMonitoringReport.hpp> |
51 |
| -#include <ocpp/v201/messages/GetReport.hpp> |
52 |
| -#include <ocpp/v201/messages/GetVariables.hpp> |
53 |
| -#include <ocpp/v201/messages/NotifyCustomerInformation.hpp> |
54 |
| -#include <ocpp/v201/messages/NotifyEvent.hpp> |
55 |
| -#include <ocpp/v201/messages/NotifyMonitoringReport.hpp> |
56 |
| -#include <ocpp/v201/messages/NotifyReport.hpp> |
57 |
| -#include <ocpp/v201/messages/Reset.hpp> |
58 |
| -#include <ocpp/v201/messages/SetMonitoringBase.hpp> |
59 |
| -#include <ocpp/v201/messages/SetMonitoringLevel.hpp> |
60 |
| -#include <ocpp/v201/messages/SetNetworkProfile.hpp> |
61 |
| -#include <ocpp/v201/messages/SetVariableMonitoring.hpp> |
62 |
| -#include <ocpp/v201/messages/SetVariables.hpp> |
| 25 | +#include <ocpp/v201/messages/GetCompositeSchedule.hpp> |
63 | 26 |
|
64 | 27 | #include "component_state_manager.hpp"
|
65 | 28 |
|
66 | 29 | namespace ocpp {
|
67 | 30 | namespace v201 {
|
68 | 31 |
|
| 32 | +class AuthorizationInterface; |
| 33 | +class AvailabilityInterface; |
| 34 | +class DataTransferInterface; |
| 35 | +class DiagnosticsInterface; |
| 36 | +class DisplayMessageInterface; |
| 37 | +class FirmwareUpdateInterface; |
| 38 | +class MeterValuesInterface; |
| 39 | +class ProvisioningInterface; |
| 40 | +class RemoteTransactionControlInterface; |
| 41 | +class ReservationInterface; |
| 42 | +class SecurityInterface; |
| 43 | +class SmartChargingInterface; |
| 44 | +class TariffAndCostInterface; |
| 45 | +class TransactionInterface; |
| 46 | + |
| 47 | +class DatabaseHandler; |
| 48 | +class DeviceModel; |
| 49 | +class DeviceModelStorageInterface; |
| 50 | +class EvseManager; |
| 51 | + |
69 | 52 | class UnexpectedMessageTypeFromCSMS : public std::runtime_error {
|
70 | 53 | using std::runtime_error::runtime_error;
|
71 | 54 | };
|
@@ -358,11 +341,11 @@ class ChargePoint : public ChargePointInterface, private ocpp::ChargingStationBa
|
358 | 341 | std::unique_ptr<DisplayMessageInterface> display_message;
|
359 | 342 | std::unique_ptr<FirmwareUpdateInterface> firmware_update;
|
360 | 343 | std::unique_ptr<MeterValuesInterface> meter_values;
|
361 |
| - std::unique_ptr<SmartCharging> smart_charging; |
| 344 | + std::unique_ptr<SmartChargingInterface> smart_charging; |
362 | 345 | std::unique_ptr<TariffAndCostInterface> tariff_and_cost;
|
363 | 346 | std::unique_ptr<TransactionInterface> transaction;
|
364 | 347 | std::unique_ptr<ProvisioningInterface> provisioning;
|
365 |
| - std::unique_ptr<RemoteTransactionControl> remote_transaction_control; |
| 348 | + std::unique_ptr<RemoteTransactionControlInterface> remote_transaction_control; |
366 | 349 |
|
367 | 350 | // utility
|
368 | 351 | std::shared_ptr<MessageQueue<v201::MessageType>> message_queue;
|
|
0 commit comments