mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
Revert "ENH:direct connected devices support fram mode"
This reverts commit dc032e6b719d5d3526f9e757dde884e32583be46. Reason for revert: <just reverts> Change-Id: I7e9050cd48d59270fb23b6430990a2c88f3fabab (cherry picked from commit be08d1d793acf104e1d541c2bd2a49f868ed6189)
This commit is contained in:
@@ -2138,20 +2138,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;
|
||||
}
|
||||
|
||||
CallAfter([this, detectData, str_ip, str_access_code]() {
|
||||
DeviceManager* dev = wxGetApp().getDeviceManager();
|
||||
|
||||
Reference in New Issue
Block a user