PowerTools/src/consts.ts

49 lines
1.9 KiB
TypeScript

export const BACKEND_INFO = "VINFO";
export const DRIVER_INFO = "GENERAL_provider";
export const LIMITS_INFO = "LIMITS_all";
export const CURRENT_BATT = "BATTERY_current_now";
export const CHARGE_RATE_BATT = "BATTERY_charge_rate";
export const CHARGE_MODE_BATT = "BATTERY_charge_mode";
export const CHARGE_LIMIT_BATT = "BATTERY_charge_limit";
export const CHARGE_NOW_BATT = "BATTERY_charge_now";
export const CHARGE_FULL_BATT = "BATTERY_charge_full";
export const CHARGE_DESIGN_BATT = "BATTERY_charge_design";
export const CHARGE_POWER_BATT = "BATTERY_charge_power";
//export const TOTAL_CPUS = "CPUs_total";
export const ONLINE_CPUS = "CPUs_online";
export const ONLINE_STATUS_CPUS = "CPUs_status_online";
export const SMT_CPU = "CPUs_SMT";
export const CLOCK_MIN_CPU = "CPUs_min_clock";
export const CLOCK_MAX_CPU = "CPUs_max_clock";
export const CLOCK_MIN_MAX_CPU = "CPUs_minmax_clocks";
export const GOVERNOR_CPU = "CPUs_governor";
export const FAST_PPT_GPU = "GPU_fastPPT";
export const SLOW_PPT_GPU = "GPU_slowPPT";
export const CLOCK_MIN_GPU = "GPU_min_clock";
export const CLOCK_MAX_GPU = "GPU_max_clock";
export const SLOW_MEMORY_GPU = "GPU_slow_memory";
export const PERSISTENT_GEN = "GENERAL_persistent";
export const NAME_GEN = "GENERAL_name";
export const PATH_GEN = "GENERAL_path";
export const VARIANTS_GEN = "GENERAL_setting_variants";
export const CURRENT_VARIANT_GEN = "GENERAL_current_variant";
export const MESSAGE_LIST = "MESSAGE_messages";
export const INTERNAL_STEAM_ID = "INTERNAL_steam_id";
export const INTERNAL_STEAM_USERNAME = "INTERNAL_stream_username";
export const STORE_RESULTS = "INTERNAL_store_results";
export const PERIODICAL_BACKEND_PERIOD = 5000; // milliseconds
export const AUTOMATIC_REAPPLY_WAIT = 2000; // milliseconds
export const STORE_RESULTS_URI = "/plugins/PowerTools/settings_store";
export const STORE_MAIN_APP_ID = "1";
export const STORE_MAIN_APP_ID_DEV = "0";