ENH: update fan control mode sequence

jira: [STUDIO-14589]
Change-Id: I40f71ffe0ec65d7ebb945a06753b03c93135fa55
(cherry picked from commit c2d2bdc9349692a12b7cb0198864b6f6c7e88205)
This commit is contained in:
xin.zhang 2025-09-18 16:36:48 +08:00 committed by Noisyfox
parent abefa5ec4d
commit ada573a1fd

View file

@ -2,6 +2,8 @@
#include <nlohmann/json.hpp>
#include "slic3r/Utils/json_diff.hpp"
#include <map>
namespace Slic3r {
class MachineObject;
@ -69,7 +71,7 @@ public:
struct AirDuctData
{
int curren_mode{0};
std::unordered_map<int, AirMode> modes;
std::map<int, AirMode> modes;
std::vector<AirParts> parts;
int m_sub_mode = -1;// the submode of airduct, for cooling: 0-filter, 1-cooling