mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
ENH: update fan control mode sequence
jira: [STUDIO-14589] Change-Id: I40f71ffe0ec65d7ebb945a06753b03c93135fa55 (cherry picked from commit c2d2bdc9349692a12b7cb0198864b6f6c7e88205)
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
#include "slic3r/Utils/json_diff.hpp"
|
#include "slic3r/Utils/json_diff.hpp"
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
|
||||||
class MachineObject;
|
class MachineObject;
|
||||||
@@ -69,7 +71,7 @@ public:
|
|||||||
struct AirDuctData
|
struct AirDuctData
|
||||||
{
|
{
|
||||||
int curren_mode{0};
|
int curren_mode{0};
|
||||||
std::unordered_map<int, AirMode> modes;
|
std::map<int, AirMode> modes;
|
||||||
std::vector<AirParts> parts;
|
std::vector<AirParts> parts;
|
||||||
|
|
||||||
int m_sub_mode = -1;// the submode of airduct, for cooling: 0-filter, 1-cooling
|
int m_sub_mode = -1;// the submode of airduct, for cooling: 0-filter, 1-cooling
|
||||||
|
|||||||
Reference in New Issue
Block a user