24#ifndef _PCB_CALCULATOR_SETTINGS_H
25#define _PCB_CALCULATOR_SETTINGS_H
28#include <unordered_map>
32#define DEFAULT_REGULATOR_RESTOL "1"
33#define DEFAULT_REGULATOR_R1 "0.240"
34#define DEFAULT_REGULATOR_R2 "0.720"
35#define DEFAULT_REGULATOR_VREF_MIN "1.20"
36#define DEFAULT_REGULATOR_VREF_TYP "1.25"
37#define DEFAULT_REGULATOR_VREF_MAX "1.30"
38#define DEFAULT_REGULATOR_VOUT_TYP "5"
39#define DEFAULT_REGULATOR_IADJ_TYP "50"
40#define DEFAULT_REGULATOR_IADJ_MAX "100"
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
std::map< std::string, double > TL_PARAM_MAP
Map of TRANSLINE_PRM id to value.
PCB_CALCULATOR_SETTINGS()
virtual ~PCB_CALCULATOR_SETTINGS()
CORROSION_TABLE m_CorrosionTable
TRANSMISSION_LINE m_TransLine
ATTENUATORS m_Attenuators
virtual std::string getLegacyFrameName() const override
virtual bool MigrateFromLegacy(wxConfigBase *aLegacyConfig) override
Migrates from wxConfig to JSON-based configuration.
std::map< std::string, int > TL_PARAM_UNITS_MAP
Map of TRANSLINE_PRM id to units selection.
std::unordered_map< std::string, ATTENUATOR > attenuators
wxString conductorTemperature
wxString conductorMaterialResitivity
wxString conductorThermalCoef
wxString threshold_voltage
double iec60664_RMSvoltage
int iec60664_materialGroup
int iec60664_insulationType
double iec60664_transientOV
double iec60664_ratedVoltage
int iec60664_pollutionDegree
wxString selected_regulator
int int_track_width_units
wxString int_track_thickness
int int_track_thickness_units
int ext_track_thickness_units
int ext_track_width_units
wxString ext_track_thickness
std::map< std::string, TL_PARAM_MAP > param_values
Transline parameters, per transline type.
std::map< std::string, TL_PARAM_UNITS_MAP > param_units
Transline parameter units selections, per transline type.
int characteristic_impedance_units
wxString characteristic_impedance
wxString plating_resistivity
wxString clearance_diameter
int clearance_diameter_units