87 lines
No EOL
1.9 KiB
C++
87 lines
No EOL
1.9 KiB
C++
#ifndef PORTPARAMETERS_H
|
|
#define PORTPARAMETERS_H
|
|
|
|
#include "portParametersGeneric.h"
|
|
|
|
class PortParameterMicroinverterSerialNumber : public PortParameterInt {
|
|
protected:
|
|
void setValueFromRegisters(uint16_t *readArray, int readArraySize);
|
|
|
|
public:
|
|
PortParameterMicroinverterSerialNumber();
|
|
};
|
|
|
|
class PortParameterPortNumber : public PortParameterInt {
|
|
private:
|
|
void setValueFromRegisters(uint16_t *readArray, int readArraySize);
|
|
|
|
public:
|
|
PortParameterPortNumber();
|
|
};
|
|
|
|
class PortParameterPvVoltage : public PortParameterFloat {
|
|
public:
|
|
PortParameterPvVoltage();
|
|
};
|
|
|
|
class PortParameterPvCurrentMi : public PortParameterFloat {
|
|
public:
|
|
PortParameterPvCurrentMi();
|
|
};
|
|
|
|
class PortParameterPvCurrentHm : public PortParameterFloat {
|
|
public:
|
|
PortParameterPvCurrentHm();
|
|
};
|
|
|
|
class PortParameterGridVoltage : public PortParameterFloat {
|
|
public:
|
|
PortParameterGridVoltage();
|
|
};
|
|
|
|
class PortParameterGridFrequency : public PortParameterFloat {
|
|
public:
|
|
PortParameterGridFrequency();
|
|
};
|
|
|
|
class PortParameterPvPower : public PortParameterFloat {
|
|
public:
|
|
PortParameterPvPower();
|
|
};
|
|
|
|
class PortParameterTodayProduction : public PortParameterInt {
|
|
public:
|
|
PortParameterTodayProduction();
|
|
};
|
|
|
|
class PortParameterTotalProduction : public PortParameterInt {
|
|
public:
|
|
PortParameterTotalProduction();
|
|
};
|
|
|
|
class PortParameterTemperature : public PortParameterFloat {
|
|
public:
|
|
PortParameterTemperature();
|
|
};
|
|
|
|
class PortParameterOperatingStatus : public PortParameterInt {
|
|
public:
|
|
PortParameterOperatingStatus();
|
|
};
|
|
|
|
class PortParameterAlarmCode : public PortParameterInt {
|
|
public:
|
|
PortParameterAlarmCode();
|
|
};
|
|
|
|
class PortParameterAlarmCount : public PortParameterInt {
|
|
public:
|
|
PortParameterAlarmCount();
|
|
};
|
|
|
|
class PortParameterLinkStatus : public PortParameterInt {
|
|
public:
|
|
PortParameterLinkStatus();
|
|
};
|
|
|
|
#endif |