import type { ChargingStation } from './ChargingStation';
import { checkChargingStation } from './Helpers';
import { IdTagsCache } from './IdTagsCache';
import type { ChargingStation } from './ChargingStation';
import { checkChargingStation } from './Helpers';
import { IdTagsCache } from './IdTagsCache';
RequestCommand,
type StartTransactionRequest,
type StartTransactionResponse,
RequestCommand,
type StartTransactionRequest,
type StartTransactionResponse,
delete connectorStatus?.startDate;
delete connectorStatus?.lastRunDate;
delete connectorStatus?.stopDate;
delete connectorStatus?.stoppedDate;
if (
!this.started &&
delete connectorStatus?.startDate;
delete connectorStatus?.lastRunDate;
delete connectorStatus?.stopDate;
delete connectorStatus?.stoppedDate;
if (
!this.started &&
)} start transaction with an idTag '${idTag}'`;
if (this.getRequireAuthorize()) {
++this.connectorsStatus.get(connectorId)!.authorizeRequests!;
)} start transaction with an idTag '${idTag}'`;
if (this.getRequireAuthorize()) {
++this.connectorsStatus.get(connectorId)!.authorizeRequests!;
++this.connectorsStatus.get(connectorId)!.acceptedAuthorizeRequests!;
logger.info(startTransactionLogMsg);
// Start transaction
++this.connectorsStatus.get(connectorId)!.acceptedAuthorizeRequests!;
logger.info(startTransactionLogMsg);
// Start transaction