X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=433f95e032c80b43f7599404017f4d980529af63;hb=58f715a0330ef56c7c27b48dfda4246f5fd6ed79;hp=b115a42f24f07398ebd7b67827dca0a3e20f1eb9;hpb=25f5a959c137b7d302485e8ef6ca9d4a2f1cb6f6;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index b115a42f..433f95e0 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -90,6 +90,15 @@ export default class Constants { static readonly CHARGING_STATION_DEFAULT_RESET_TIME = 60000; // Ms static readonly CHARGING_STATION_ATG_INITIALIZATION_TIME = 1000; // Ms static readonly CHARGING_STATION_ATG_DEFAULT_STOP_AFTER_HOURS = 0.25; // Hours + static readonly CHARGING_STATION_CONFIGURATION_SECTIONS = Object.freeze([ + 'stationInfo', + 'configurationKey', + 'configurationHash', + ]); + + static readonly DEFAULT_CIRCULAR_BUFFER_CAPACITY = Number.MAX_SAFE_INTEGER; + + static readonly DEFAULT_HASH_ALGORITHM = 'sha384'; static readonly DEFAULT_IDTAG = '00000000'; @@ -110,7 +119,7 @@ export default class Constants { static readonly DEFAULT_FLUCTUATION_PERCENT = 5; static readonly DEFAULT_PERFORMANCE_RECORDS_FILENAME = 'performanceRecords.json'; - static readonly DEFAULT_PERFORMANCE_RECORDS_DB_NAME = 'charging-stations-simulator'; + static readonly DEFAULT_PERFORMANCE_RECORDS_DB_NAME = 'e-mobility-charging-stations-simulator'; static readonly PERFORMANCE_RECORDS_TABLE = 'performance_records'; static readonly DEFAULT_UI_WEBSOCKET_SERVER_HOST = 'localhost';