From ada573a1fdc739eab10e29bf100d47d74f3787ec Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Thu, 18 Sep 2025 16:36:48 +0800 Subject: [PATCH] ENH: update fan control mode sequence jira: [STUDIO-14589] Change-Id: I40f71ffe0ec65d7ebb945a06753b03c93135fa55 (cherry picked from commit c2d2bdc9349692a12b7cb0198864b6f6c7e88205) --- src/slic3r/GUI/DeviceCore/DevFan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DeviceCore/DevFan.h b/src/slic3r/GUI/DeviceCore/DevFan.h index 5975b43192..dd8a3164bc 100644 --- a/src/slic3r/GUI/DeviceCore/DevFan.h +++ b/src/slic3r/GUI/DeviceCore/DevFan.h @@ -2,6 +2,8 @@ #include #include "slic3r/Utils/json_diff.hpp" +#include + namespace Slic3r { class MachineObject; @@ -69,7 +71,7 @@ public: struct AirDuctData { int curren_mode{0}; - std::unordered_map modes; + std::map modes; std::vector parts; int m_sub_mode = -1;// the submode of airduct, for cooling: 0-filter, 1-cooling