Add missing print params

This commit is contained in:
Noisyfox
2025-05-14 20:39:27 +08:00
parent 7a548ca7fb
commit 1c58c933e2
5 changed files with 95 additions and 6 deletions

View File

@@ -64,6 +64,18 @@ enum PrintFromType {
FROM_SDCARD_VIEW,
};
enum class CloudTaskNozzleId : int
{
NOZZLE_RIGHT = 0,
NOZZLE_LEFT = 1,
};
enum class ConfigNozzleIdx : int
{
NOZZLE_LEFT = 0,
NOZZLE_RIGHT = 1,
};
static int get_brightness_value(wxImage image) {
wxImage grayImage = image.ConvertToGreyscale();
@@ -539,6 +551,7 @@ public:
bool Show(bool show);
bool do_ams_mapping(MachineObject* obj_);
bool get_ams_mapping_result(std::string& mapping_array_str, std::string& mapping_array_str2, std::string& ams_mapping_info);
bool build_nozzles_info(std::string& nozzles_info);
PrintFromType get_print_type() {return m_print_type;};
wxString format_steel_name(std::string name);