Coding style cleanups
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationInfo.ts
index 732bf00ade5863a1bcb27fff38b1f7e60709b004..192e5771c0152ecf83126778b2a9eac38db69a3b 100644 (file)
@@ -1,8 +1,26 @@
-import ChargingStationTemplate from './ChargingStationTemplate';
+import type ChargingStationTemplate from './ChargingStationTemplate';
 
-export default interface ChargingStationInfo extends ChargingStationTemplate {
+export default interface ChargingStationInfo
+  extends Omit<
+    ChargingStationTemplate,
+    | 'AutomaticTransactionGenerator'
+    | 'Configuration'
+    | 'power'
+    | 'powerUnit'
+    | 'chargeBoxSerialNumberPrefix'
+    | 'chargePointSerialNumberPrefix'
+    | 'meterSerialNumberPrefix'
+  > {
+  hashId: string;
+  infoHash?: string;
   chargingStationId?: string;
   chargeBoxSerialNumber?: string;
-  maxPower?: number; // Always in Watt
-  powerDivider?: number;
+  chargePointSerialNumber?: string;
+  meterSerialNumber?: string;
+  maximumPower?: number; // Always in Watt
+  maximumAmperage?: number; // Always in Ampere
+}
+
+export interface ChargingStationInfoConfiguration {
+  stationInfo?: ChargingStationInfo;
 }