You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
333 B
23 lines
333 B
//
|
|
// Created by iflyt on 2025/7/13.
|
|
//
|
|
|
|
#include "temp_control.h"
|
|
|
|
void TempControl::init() {
|
|
|
|
}
|
|
|
|
int32_t TempControl::setTemp(double temp) {
|
|
target_temp_ = temp;
|
|
current_temp_ = temp;
|
|
return 0;
|
|
}
|
|
|
|
int32_t TempControl::close() {
|
|
return 0;
|
|
}
|
|
|
|
double TempControl::getCurrentTemp() const {
|
|
return current_temp_;
|
|
}
|