repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: factor out change availability helper
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
1.6
/
OCPP16ResponseService.ts
diff --git
a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
index 0f697f630fe079a0b0e9aa72c6c13ed2154e631c..ae8b6287bd8757e01b134cfd2e50a67167bae383 100644
(file)
--- a/
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
+++ b/
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
@@
-14,7
+14,6
@@
import {
} from '../../../charging-station';
import { OCPPError } from '../../../exception';
import {
} from '../../../charging-station';
import { OCPPError } from '../../../exception';
import {
- type ChangeAvailabilityResponse,
type ChangeConfigurationResponse,
type ClearChargingProfileResponse,
ErrorType,
type ChangeConfigurationResponse,
type ClearChargingProfileResponse,
ErrorType,
@@
-27,6
+26,7
@@
import {
type OCPP16AuthorizeRequest,
type OCPP16AuthorizeResponse,
type OCPP16BootNotificationResponse,
type OCPP16AuthorizeRequest,
type OCPP16AuthorizeResponse,
type OCPP16BootNotificationResponse,
+ type OCPP16ChangeAvailabilityResponse,
OCPP16ChargePointStatus,
type OCPP16DataTransferResponse,
type OCPP16DiagnosticsStatusNotificationResponse,
OCPP16ChargePointStatus,
type OCPP16DataTransferResponse,
type OCPP16DiagnosticsStatusNotificationResponse,
@@
-209,7
+209,7
@@
export class OCPP16ResponseService extends OCPPResponseService {
],
[
OCPP16IncomingRequestCommand.CHANGE_AVAILABILITY,
],
[
OCPP16IncomingRequestCommand.CHANGE_AVAILABILITY,
- OCPP16ServiceUtils.parseJsonSchemaFile<ChangeAvailabilityResponse>(
+ OCPP16ServiceUtils.parseJsonSchemaFile<
OCPP16
ChangeAvailabilityResponse>(
'assets/json-schemas/ocpp/1.6/ChangeAvailabilityResponse.json',
moduleName,
'constructor',
'assets/json-schemas/ocpp/1.6/ChangeAvailabilityResponse.json',
moduleName,
'constructor',