mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH:optimize the management of access code
Change-Id: If8a3644207d5bca2bb10f49f8ee251b6b6219ce2
This commit is contained in:
		
							parent
							
								
									21cee56dbf
								
							
						
					
					
						commit
						3f109501ba
					
				
					 3 changed files with 15 additions and 1 deletions
				
			
		|  | @ -405,11 +405,14 @@ public: | |||
|     std::string connection_type() { return dev_connection_type; } | ||||
|     void set_dev_ip(std::string ip) {dev_ip = ip;}; | ||||
|     bool has_access_right() { return !get_access_code().empty(); } | ||||
|     void set_access_code(std::string code); | ||||
|     std::string get_access_code(); | ||||
| 
 | ||||
|     void set_access_code(std::string code); | ||||
|     void set_user_access_code(std::string code); | ||||
| 
 | ||||
|     std::string get_user_access_code(); | ||||
|     bool is_lan_mode_printer(); | ||||
| 
 | ||||
|     //PRINTER_TYPE printer_type = PRINTER_3DPrinter_UKNOWN;
 | ||||
|     std::string printer_type;       /* model_id */ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang