Add SnapmakerPrinterAgent with filament sync support

Introduce SnapmakerPrinterAgent as a MoonrakerPrinterAgent subclass
that handles Snapmaker UI -specific filament detection
This commit is contained in:
SoftFever
2026-02-01 21:35:53 +08:00
parent 1e1ffe72f6
commit 3da6f3bf77
7 changed files with 204 additions and 15 deletions

View File

@@ -4,6 +4,7 @@
#include "BBLPrinterAgent.hpp"
#include "OrcaPrinterAgent.hpp"
#include "QidiPrinterAgent.hpp"
#include "SnapmakerPrinterAgent.hpp"
#include "MoonrakerPrinterAgent.hpp"
#include <boost/log/trivial.hpp>
#include <map>
@@ -96,6 +97,7 @@ void NetworkAgentFactory::register_all_agents()
{
register_agent<OrcaPrinterAgent>();
register_agent<QidiPrinterAgent>();
register_agent<SnapmakerPrinterAgent>();
register_agent<MoonrakerPrinterAgent>();
// BBLPrinterAgent takes no constructor args, so register manually