X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=c4ce0ff8c48e30b8faefd22a118c1718ec74505a;hb=8053c842c7b96f5d62f4daa7dbd5054ba7468e05;hp=bb765c75dcf8f00d6ed766c1c1f8ccdcd1592357;hpb=d58b442097da31f8b974d51aef63c64470d9ab48;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 */