基质喷涂
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.

31 lines
406 B

  1. //
  2. // Created by iflyt on 2025/7/13.
  3. //
  4. #ifndef TEMP_CONTROL_H
  5. #define TEMP_CONTROL_H
  6. #include <stdint.h>
  7. class TempControl {
  8. public:
  9. TempControl() = default;
  10. ~TempControl() = default;
  11. void init();
  12. int32_t setTemp(double temp);
  13. int32_t close();
  14. double getCurrentTemp() const;
  15. private:
  16. double target_temp_{0};
  17. double current_temp_{0};
  18. };
  19. #endif //TEMP_CONTROL_H