| 800 | } |
| 801 | |
| 802 | void AmsConfiguration::clearUiConfig(UiConfig& config) { |
| 803 | // 1 = Enable, 2 = Auto, 0 = Disable |
| 804 | config.showImport = 1; |
| 805 | config.showExport = 2; |
| 806 | config.showVoltage = 2; |
| 807 | config.showAmperage = 2; |
| 808 | config.showReactive = 0; |
| 809 | config.showRealtime = 1; |
| 810 | config.showPeaks = 2; |
| 811 | config.showPricePlot = 2; |
| 812 | config.showDayPlot = 1; |
| 813 | config.showMonthPlot = 1; |
| 814 | config.showTemperaturePlot = 2; |
| 815 | config.showRealtimePlot = 2; |
| 816 | config.showPerPhasePower = 2; |
| 817 | config.showPowerFactor = 2; |
| 818 | config.darkMode = 2; |
| 819 | memset(config.language, 0, 3); |
| 820 | } |
| 821 | |
| 822 | bool AmsConfiguration::isUiLanguageChanged() { |
| 823 | return uiLanguageChanged; |
nothing calls this directly
no outgoing calls
no test coverage detected