mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +08:00
任立新 温控系统
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
//
|
||||
// Created by xin on 25-4-2.
|
||||
//
|
||||
|
||||
#ifndef TEMPERATUREREGULATOR_H
|
||||
#define TEMPERATUREREGULATOR_H
|
||||
#include "TG_Manager.h"
|
||||
#include "TemperaTureWoker.h"
|
||||
#include "QObject"
|
||||
|
||||
class TemperatureRegulator :public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
TemperatureRegulator();
|
||||
void setconfig(json j);
|
||||
void SetTartGetX_Y(int x,int y);
|
||||
void init();
|
||||
void loop();
|
||||
static bool looptask();
|
||||
|
||||
|
||||
|
||||
private:
|
||||
TemperaTureWoker *m_TemperaTureWoker;
|
||||
TG_Manager *m_TG_Manager;
|
||||
float M_Targert_Max_Tempreature=35;
|
||||
float M_Targert_Min_Tempreature=25;
|
||||
int m_target_index=0;
|
||||
int m_target_indey=0;
|
||||
bool isinit=false;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //TEMPERATUREREGULATOR_H
|
Reference in New Issue
Block a user