Track ATG status on a per connector basis.
[e-mobility-charging-stations-simulator.git] / src / utils / Utils.ts
index 92373cf043ba2161426ae6066c3376ef53097af4..b04814a7a6437dd6a369b81b5998458f652e3465 100644 (file)
@@ -108,7 +108,7 @@ export default class Utils {
     return sign * (randomPositiveFloat * (max - min) + min);
   }
 
-  public static getRandomInt(max: number, min = 0): number {
+  public static getRandomInteger(max: number, min = 0): number {
     if (max < 0) {
       throw new RangeError('Invalid interval');
     }