mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
NEW: add HMS action to stop AMS drying
jira: [STUDIO-12372] Change-Id: Ic6a818487fdfdde206b63708303dfe8af6e79dbf (cherry picked from commit 092de0c43f7e3f4702f529c28a637a5b3d78e20a)
This commit is contained in:
@@ -2316,6 +2316,13 @@ int MachineObject::command_ams_control(std::string action)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int MachineObject::command_ams_drying_stop()
|
||||
{
|
||||
json j;
|
||||
j["print"]["command"] = "auto_stop_ams_dry";
|
||||
j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
|
||||
return this->publish_json(j.dump());
|
||||
}
|
||||
|
||||
int MachineObject::command_set_chamber_light(LIGHT_EFFECT effect, int on_time, int off_time, int loops, int interval)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user