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
Hook the OCPP 2.0 stack into the main code
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
OCPPResponseService.ts
diff --git
a/src/charging-station/ocpp/OCPPResponseService.ts
b/src/charging-station/ocpp/OCPPResponseService.ts
index 91b1499676b01f3b1e7583c0c385490c70e78ef8..3f69655ec82dfaa573bb04b269e244c45c3a4102 100644
(file)
--- a/
src/charging-station/ocpp/OCPPResponseService.ts
+++ b/
src/charging-station/ocpp/OCPPResponseService.ts
@@
-13,7
+13,7
@@
const moduleName = 'OCPPResponseService';
export default abstract class OCPPResponseService {
private static instance: OCPPResponseService | null = null;
export default abstract class OCPPResponseService {
private static instance: OCPPResponseService | null = null;
- private ajv: Ajv;
+ private
readonly
ajv: Ajv;
protected constructor() {
this.ajv = new Ajv();
protected constructor() {
this.ajv = new Ajv();
@@
-54,8
+54,9
@@
export default abstract class OCPPResponseService {
);
}
);
}
- // eslint-disable-next-line @typescript-eslint/no-empty-function
- protected emptyResponseHandler() {}
+ protected emptyResponseHandler() {
+ /* This is intentional */
+ }
public abstract responseHandler(
chargingStation: ChargingStation,
public abstract responseHandler(
chargingStation: ChargingStation,