NEW:Support direct connection to X printer

Change-Id: I4ea38d3a69834f607161ae35eda00d042b7c4f47
(cherry picked from commit a0f63b9a3a4efd2fd6d396aa757750cd0ff28178)
This commit is contained in:
tao wang 2024-10-28 20:26:41 +08:00 committed by Noisyfox
parent d57cfa2a99
commit 98ba252862
4 changed files with 243 additions and 111 deletions

View file

@ -1080,7 +1080,8 @@ public:
static bool get_printer_is_enclosed(std::string type_str);
static std::vector<std::string> get_resolution_supported(std::string type_str);
static std::vector<std::string> get_compatible_machine(std::string type_str);
static bool load_filaments_blacklist_config();
static std::vector<std::string> get_all_model_id();
static bool load_filaments_blacklist_config();
static void check_filaments_in_blacklist(std::string tag_vendor, std::string tag_type, bool& in_blacklist, std::string& ac, std::string& info);
static std::string load_gcode(std::string type_str, std::string gcode_file);
};