mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH:Update IP address input process
Change-Id: Iaf1c187dac117ba10ac16045049a346f7c2b9478 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									1015b7bca9
								
							
						
					
					
						commit
						9a8f832498
					
				
					 21 changed files with 527 additions and 318 deletions
				
			
		|  | @ -321,6 +321,9 @@ private: | |||
|     bool check_valid_ip(); | ||||
|     void _parse_print_option_ack(int option); | ||||
| 
 | ||||
|     std::string access_code; | ||||
|     std::string user_access_code; | ||||
| 
 | ||||
| public: | ||||
| 
 | ||||
|     enum LIGHT_EFFECT { | ||||
|  | @ -398,12 +401,14 @@ public: | |||
|     std::string dev_ip; | ||||
|     std::string dev_id; | ||||
|     bool        local_use_ssl { false }; | ||||
|     std::string access_code; | ||||
|     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(); } | ||||
|     void set_access_code(std::string code); | ||||
|     std::string get_access_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