X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=433f95e032c80b43f7599404017f4d980529af63;hb=58f715a0330ef56c7c27b48dfda4246f5fd6ed79;hp=10f5ff3771757f220c56e5057268980e65d752aa;hpb=3f94cab5f9ffdc613338a715cf3fad1cede5a687;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index 10f5ff37..433f95e0 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -90,6 +90,13 @@ 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'; @@ -112,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';