mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-05 09:07:39 +00:00
16 lines
371 B
C++
16 lines
371 B
C++
#include "DevChamber.h"
|
|
#include "slic3r/GUI/DeviceManager.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
int DevChamber::CtrlSetChamberTemp(int temp)
|
|
{
|
|
json j;
|
|
j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
|
|
j["print"]["command"] = "set_ctt";
|
|
j["print"]["ctt_val"] = temp;
|
|
|
|
return m_owner->publish_json(j, 1);
|
|
}
|
|
|
|
} // namespace Slic3r
|