ENH: add nozzle type ntTungstenCarbide

jira: [STUDIO-11597]
Change-Id: Ibec41549042d253aeb85ba81e93e7c26a4a56ed2
(cherry picked from commit 1352cff31427eadd2c85ce4c9602ab3379a5ae9e)
This commit is contained in:
xin.zhang
2025-04-16 14:16:53 +08:00
committed by Noisyfox
parent 285c237095
commit 472a48acc6
11 changed files with 20 additions and 16 deletions

View File

@@ -6221,6 +6221,8 @@ void MachineObject::parse_new_info(json print)
nozzle_obj.nozzle_type = NozzleType::ntStainlessSteel;
} else if (type.substr(2, 2) == std::string("01")) {
nozzle_obj.nozzle_type = NozzleType::ntHardenedSteel;
} else if (type.substr(2, 2) == std::string("05")) {
nozzle_obj.nozzle_type = NozzleType::ntTungstenCarbide;
}
} else {
nozzle_obj.tool_type = NozzleToolType::NONE_TOOLTYPE;
@@ -6696,7 +6698,7 @@ bool DeviceManager::EnableMultiMachine = false;
bool DeviceManager::key_field_only = false;
std::vector<float> nozzle_diameter_list{ 0.2f,0.4f,0.6f,0.8f };
std::vector<std::string> nozzle_type_list{ "hardened_steel", "stainless_steel" };
std::vector<std::string> nozzle_type_list {"hardened_steel", "stainless_steel", "tungsten_carbide"};
DeviceManager::DeviceManager(NetworkAgent* agent)
{