JXCT Soil Sensor 7-in-1 v3.4.9 (June 2025)
Professional IoT soil monitoring system with ESP32, Modbus RTU, MQTT, and advanced compensation algorithms
Загрузка...
Поиск...
Не найдено
Пространство имен CalibrationManager

Функции

const char * profileToFilename (SoilProfile)
 
bool init ()
 
bool saveCsv (SoilProfile profile, Stream &fileStream)
 
bool loadTable (SoilProfile profile, CalibrationEntry *outBuffer, size_t maxEntries, size_t &outCount)
 
bool hasTable (SoilProfile profile)
 
bool deleteTable (SoilProfile profile)
 
float applyCalibration (float rawValue, SoilProfile profile)
 

Переменные

static bool _initialized = false
 

Функции

◆ applyCalibration()

float CalibrationManager::applyCalibration ( float rawValue,
SoilProfile profile )

См. определение в файле calibration_manager.cpp строка 111

Перекрестные ссылки CalibrationEntry::corrected, hasTable(), loadTable() и CalibrationEntry::raw.

Используется в applyCompensationIfEnabled().

◆ deleteTable()

bool CalibrationManager::deleteTable ( SoilProfile profile)

См. определение в файле calibration_manager.cpp строка 100

Перекрестные ссылки init() и profileToFilename().

Используется в setupDataRoutes().

◆ hasTable()

bool CalibrationManager::hasTable ( SoilProfile profile)

См. определение в файле calibration_manager.cpp строка 94

Перекрестные ссылки init() и profileToFilename().

Используется в applyCalibration(), generateCalibrationPage() и setupDataRoutes().

◆ init()

bool CalibrationManager::init ( )

См. определение в файле calibration_manager.cpp строка 14

Перекрестные ссылки _initialized, logError() и logSuccess().

Используется в deleteTable(), handleCalibrationUpload(), handleReadingsUpload(), hasTable(), loadTable(), saveCsv(), setupCalibrationRoutes() и setupDataRoutes().

◆ loadTable()

bool CalibrationManager::loadTable ( SoilProfile profile,
CalibrationEntry * outBuffer,
size_t maxEntries,
size_t & outCount )

См. определение в файле calibration_manager.cpp строка 58

Перекрестные ссылки init(), logInfo(), logWarn() и profileToFilename().

Используется в applyCalibration().

◆ profileToFilename()

const char * CalibrationManager::profileToFilename ( SoilProfile )

См. определение в файле calibration_manager.cpp строка 9

Используется в deleteTable(), handleCalibrationUpload(), handleReadingsUpload(), hasTable(), loadTable() и saveCsv().

◆ saveCsv()

bool CalibrationManager::saveCsv ( SoilProfile profile,
Stream & fileStream )

См. определение в файле calibration_manager.cpp строка 35

Перекрестные ссылки init(), logError(), logSuccess() и profileToFilename().

Переменные

◆ _initialized

bool CalibrationManager::_initialized = false
static

См. определение в файле calibration_manager.cpp строка 7

Используется в init().