X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2F1.6%2FOCPP16RequestService.ts;h=8ff6bea4b08406cfbcca392d456d3eca5e79b67b;hb=7edba9a79cf60b1d1113ec89f310788194ddb97a;hp=7158e5348251218e3325b4028dcd94fa88762d2e;hpb=31f59c6d2def2ab2b53240c1d3d35333ac00933b;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts index 7158e534..8ff6bea4 100644 --- a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts @@ -2,6 +2,8 @@ import type { JSONSchemaType } from 'ajv'; +import { OCPP16Constants } from './OCPP16Constants'; +import { OCPP16ServiceUtils } from './OCPP16ServiceUtils'; import type { ChargingStation } from '../../../charging-station'; import { OCPPError } from '../../../exception'; import { @@ -23,12 +25,8 @@ import { type RequestParams, } from '../../../types'; import { Constants, Utils } from '../../../utils'; -import { - OCPP16ServiceUtils, - OCPPConstants, - OCPPRequestService, - type OCPPResponseService, -} from '../internal'; +import { OCPPRequestService } from '../OCPPRequestService'; +import type { OCPPResponseService } from '../OCPPResponseService'; const moduleName = 'OCPP16RequestService'; @@ -176,7 +174,7 @@ export class OCPP16RequestService extends OCPPRequestService { ...commandParams, } as unknown as Request; case OCPP16RequestCommand.HEARTBEAT: - return OCPPConstants.OCPP_REQUEST_EMPTY as unknown as Request; + return OCPP16Constants.OCPP_REQUEST_EMPTY as unknown as Request; case OCPP16RequestCommand.START_TRANSACTION: return { idTag: Constants.DEFAULT_IDTAG,