automaticTransactionGenerator?: Status[];
};
+export enum OCPP16FirmwareStatus {
+ Downloaded = 'Downloaded',
+ DownloadFailed = 'DownloadFailed',
+ Downloading = 'Downloading',
+ Idle = 'Idle',
+ InstallationFailed = 'InstallationFailed',
+ Installing = 'Installing',
+ Installed = 'Installed',
+}
+
+export const FirmwareStatus = {
+ ...OCPP16FirmwareStatus,
+} as const;
+export type FirmwareStatus = OCPP16FirmwareStatus;
+
export type ChargingStationInfo = {
hashId: string;
chargingStationId?: string;
chargePointVendor: string;
firmwareVersionPattern?: string;
firmwareVersion?: string;
+ firmwareStatus?: FirmwareStatus;
numberOfConnectors?: number | number[];
baseName: string;
templateHash?: string;
connectors?: ConnectorStatus[];
};
-export type AvailabilityType = OCPP16AvailabilityType;
-
export enum OCPP16AvailabilityType {
INOPERATIVE = 'Inoperative',
OPERATIVE = 'Operative',
}
-
-export type ChargePointStatus = OCPP16ChargePointStatus;
+export type AvailabilityType = OCPP16AvailabilityType;
export enum OCPP16ChargePointStatus {
AVAILABLE = 'Available',
UNAVAILABLE = 'Unavailable',
FAULTED = 'Faulted',
}
+export type ChargePointStatus = OCPP16ChargePointStatus;
export type Status = {
start?: boolean;