FIX: check with internal filament type

jira: [STUDIO-14216]
Change-Id: I89e0d62b572872d7e2ea8e6e57ac662b64baf92b
(cherry picked from commit 6767c2334bbfcffa41d4d020ee4f2e183a327cee)
This commit is contained in:
xin.zhang
2025-08-25 18:02:54 +08:00
committed by Noisyfox
parent b3df46ff9c
commit 106dbdecb4
8 changed files with 39 additions and 34 deletions

View File

@@ -28,7 +28,7 @@ public:
std::string tag_uid; // tag_uid
std::string setting_id; // tray_info_idx
std::string filament_setting_id; // setting_id
std::string type;
std::string m_fila_type;
std::string sub_brands;
std::string color;
std::vector<std::string> cols;
@@ -57,7 +57,7 @@ public:
// operators
bool operator==(DevAmsTray const& o) const
{
return id == o.id && type == o.type && filament_setting_id == o.filament_setting_id && color == o.color;
return id == o.id && m_fila_type == o.m_fila_type && filament_setting_id == o.filament_setting_id && color == o.color;
}
bool operator!=(DevAmsTray const& o) const { return !operator==(o); }