NEW: add HMS action to stop AMS drying

jira: [STUDIO-12372]
Change-Id: Ic6a818487fdfdde206b63708303dfe8af6e79dbf
(cherry picked from commit 092de0c43f7e3f4702f529c28a637a5b3d78e20a)
This commit is contained in:
xin.zhang
2025-05-26 14:44:24 +08:00
committed by Noisyfox
parent ad6681fa9d
commit d44ad07cfa
5 changed files with 18 additions and 2 deletions

View File

@@ -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)
{