mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 03:42:05 +00:00
ENH:add network detection for LAN mode printer
Change-Id: I0e3616b08f1a455df05c98c3b194ff9177df3ff1
This commit is contained in:
@@ -404,7 +404,7 @@ public:
|
||||
std::string dev_connection_type; /* lan | cloud */
|
||||
std::string connection_type() { return dev_connection_type; }
|
||||
void set_dev_ip(std::string ip) {dev_ip = ip;};
|
||||
bool has_access_right() { return !access_code.empty(); }
|
||||
bool has_access_right() { return !get_access_code().empty(); }
|
||||
void set_access_code(std::string code);
|
||||
std::string get_access_code();
|
||||
void set_user_access_code(std::string code);
|
||||
|
||||
Reference in New Issue
Block a user