44 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
45 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
60 bool sendCommand(std::string command);
61 bool DC5DIFFMODE=
false;
62 bool DC5CONSTMODE=
false;
63 bool DC6DIFFMODE=
false;
64 bool DC6CONSTMODE=
false;
65 bool DC7DIFFMODE=
false;
66 bool DC7CONSTMODE=
false;
68 static constexpr const char *ENVIRONMENT_TAB {
"Environment"};
69 static constexpr const char *SENSORS_TAB {
"Sensors"};
70 static constexpr const char *DC5_TAB {
"DC5"};
71 static constexpr const char *DC6_TAB {
"DC6"};
72 static constexpr const char *DC7_TAB {
"DC7"};
74 INDI::PropertySwitch CalibrateSP{1};
86 void updateENV(
double temp1,
double temp2,
double temp3,
double DHTH,
double DHTT);
89 double Tcurrentread = 0;
91 double V19currentread = 0;
93 double ARcurrentread = 0;
95 void updatePower(
double Tcurrent,
double V19_current,
double AR_current,
double voltage);
96 double voltageread = 0;
98 void updateUSB31(
int value);
101 void updateUSB32(
int value);
104 void updateUSB33(
int value);
107 void updateUSB21(
int value);
110 void updateUSB22(
int value);
113 void updateDC34(
int value);
116 void updateDC5(
int value);
119 void updateDC6(
int value);
122 void updateDC7(
int value);
125 void updateDC8_9(
int value);
128 void updateDC10_11(
int value);
131 void updateDC34SET(
double value);
134 bool setDewPWM(uint8_t
id, uint8_t value);
137 INDI::PropertySwitch dc3_4ControlSP{2};
138 INDI::PropertySwitch dc8_9ControlSP{2};
139 INDI::PropertySwitch dc10_11ControlSP{2};
141 INDI::PropertySwitch usb31ControlSP{2};
142 INDI::PropertySwitch usb32ControlSP{2};
143 INDI::PropertySwitch usb33ControlSP{2};
144 INDI::PropertySwitch usb21ControlSP{2};
145 INDI::PropertySwitch usb22ControlSP{2};
147 INDI::PropertyNumber dc5ControlNP{1};
153 INDI::PropertyNumber dc6ControlNP{1};
159 INDI::PropertyNumber dc7ControlNP{1};
165 INDI::PropertySwitch dc5diffSP{3};
173 INDI::PropertyNumber dc5diffSETNP{1};
178 INDI::PropertyNumber dc5constSETNP{1};
185 INDI::PropertySwitch dc6diffSP{3};
193 INDI::PropertyNumber dc6diffSETNP{1};
198 INDI::PropertyNumber dc6constSETNP{1};
205 INDI::PropertySwitch dc7diffSP{3};
213 INDI::PropertyNumber dc7diffSETNP{1};
218 INDI::PropertyNumber dc7constSETNP{1};
225 INDI::PropertyNumber setDC34voltageNP{1};
233 INDI::PropertyNumber PowerMonitorNP{4};
244 INDI::PropertyNumber ENVMonitorNP{6};
259 Connection::Serial *serialConnection{
nullptr };
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.