fix: flag worker set as stopped as soon the stopped event is emitted
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
1 import type { ChargingStationTemplate } from './ChargingStationTemplate.js'
2 import type { FirmwareStatus } from './ocpp/Requests.js'
3
4 export type ChargingStationInfo = Omit<
5 ChargingStationTemplate,
6 | 'AutomaticTransactionGenerator'
7 | 'Configuration'
8 | 'Connectors'
9 | 'Evses'
10 | 'power'
11 | 'powerUnit'
12 | 'chargeBoxSerialNumberPrefix'
13 | 'chargePointSerialNumberPrefix'
14 | 'meterSerialNumberPrefix'
15 > & {
16 hashId: string
17 templateName: string
18 /** @deprecated Use hashId instead */
19 infoHash?: string
20 chargingStationId?: string
21 chargeBoxSerialNumber?: string
22 chargePointSerialNumber?: string
23 meterSerialNumber?: string
24 maximumPower?: number // Always in Watt
25 maximumAmperage?: number // Always in Ampere
26 firmwareStatus?: FirmwareStatus
27 }
28
29 export interface ChargingStationInfoConfiguration {
30 stationInfo?: ChargingStationInfo
31 }