mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +00:00
Initial Commit for OrcaPrinterAgent AMS Sync
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <atomic>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
@@ -28,6 +29,12 @@ private:
|
||||
// Combine filament_type + filament_sub_type into a unified type string
|
||||
static std::string combine_filament_type(const std::string& type, const std::string& sub_type);
|
||||
|
||||
// Resolve tray_info_idx for the collected trays. Reads the GUI preset
|
||||
// bundle, so it is invoked on the main thread from within the shared
|
||||
// build_ams_payload_for_device() (never on the fetch worker).
|
||||
static void resolve_snapmaker_tray_info(std::vector<AmsTrayData>& trays,
|
||||
const std::vector<std::string>& vendors);
|
||||
|
||||
void start_camera_monitor();
|
||||
void on_status_loop_tick(const std::string& dev_id) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user