X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=c4ce0ff8c48e30b8faefd22a118c1718ec74505a;hb=a1c394ae6f706a51274c4a2adb1d5d89c0913596;hp=bb765c75dcf8f00d6ed766c1c1f8ccdcd1592357;hpb=041936041d9803859ac2faad9316c20e49b658c9;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index bb765c75..c4ce0ff8 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -36,6 +36,7 @@ export class Constants { static readonly DEFAULT_FLUCTUATION_PERCENT = 5; + static readonly DEFAULT_PERFORMANCE_DIRECTORY = 'performance'; static readonly DEFAULT_PERFORMANCE_RECORDS_FILENAME = 'performanceRecords.json'; static readonly DEFAULT_PERFORMANCE_RECORDS_DB_NAME = 'e-mobility-charging-stations-simulator'; static readonly PERFORMANCE_RECORDS_TABLE = 'performance_records'; @@ -47,6 +48,8 @@ export class Constants { static readonly MAX_RANDOM_INTEGER = 281474976710654; + static readonly STOP_SIMULATOR_TIMEOUT = 120000; // Ms + static readonly EMPTY_FREEZED_OBJECT = Object.freeze({}); static readonly EMPTY_FUNCTION = Object.freeze(() => { /* This is intentional */