2020-10-29 02:55:55 -07:00
|
|
|
#pragma once
|
|
|
|
|
2023-06-20 17:24:48 -07:00
|
|
|
struct ISampler
|
|
|
|
{
|
|
|
|
virtual float GetNernstDc() const = 0;
|
|
|
|
virtual float GetNernstAc() const = 0;
|
|
|
|
virtual float GetPumpNominalCurrent() const = 0;
|
|
|
|
virtual float GetInternalBatteryVoltage() const = 0;
|
2023-06-20 17:26:54 -07:00
|
|
|
virtual float GetSensorTemperature() const = 0;
|
|
|
|
virtual float GetSensorInternalResistance() const = 0;
|
2023-06-20 17:24:48 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
// Get the sampler for a particular channel
|
|
|
|
ISampler& GetSampler(int ch);
|
|
|
|
|
2020-10-29 02:55:55 -07:00
|
|
|
void StartSampling();
|
|
|
|
|
2022-08-29 17:19:30 -07:00
|
|
|
float GetNernstAc(int ch);
|
|
|
|
float GetSensorInternalResistance(int ch);
|
|
|
|
float GetSensorTemperature(int ch);
|
|
|
|
float GetNernstDc(int ch);
|
|
|
|
float GetPumpNominalCurrent(int ch);
|
|
|
|
float GetInternalBatteryVoltage(int ch);
|