mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 21:33:17 +08:00
Revert "ENH:direct connected devices support fram mode"
This reverts commit dc032e6b719d5d3526f9e757dde884e32583be46. Reason for revert: <just reverts> Change-Id: I7e9050cd48d59270fb23b6430990a2c88f3fabab
This commit is contained in:
parent
18728451d0
commit
be08d1d793
@ -2113,20 +2113,17 @@ void InputIpAddressDialog::workerThreadFunc(std::string str_ip, std::string str_
|
||||
return;
|
||||
}
|
||||
|
||||
if (detectData.connect_type != "farm") {
|
||||
if (detectData.bind_state == "occupied") {
|
||||
post_update_test_msg(wxEmptyString, true);
|
||||
post_update_test_msg(_L("The printer has already been bound."), false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (detectData.connect_type == "cloud") {
|
||||
post_update_test_msg(wxEmptyString, true);
|
||||
post_update_test_msg(_L("The printer mode is incorrect, please switch to LAN Only."), false);
|
||||
return;
|
||||
}
|
||||
if (detectData.bind_state == "occupied") {
|
||||
post_update_test_msg(wxEmptyString, true);
|
||||
post_update_test_msg(_L("The printer has already been bound."), false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (detectData.connect_type == "cloud") {
|
||||
post_update_test_msg(wxEmptyString, true);
|
||||
post_update_test_msg(_L("The printer mode is incorrect, please switch to LAN Only."), false);
|
||||
return;
|
||||
}
|
||||
|
||||
DeviceManager* dev = wxGetApp().getDeviceManager();
|
||||
m_obj = dev->insert_local_device(detectData.dev_name, detectData.dev_id, str_ip, detectData.connect_type, detectData.bind_state, detectData.version, str_access_code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user