实现串口监控功能,重构 ComKit::Work 方法以支持指定端口
This commit is contained in:
		@@ -38,7 +38,7 @@ class ComKit {
 | 
			
		||||
    static std::vector<ComStruct> *GetAllComPortNames();
 | 
			
		||||
    static void Start(std::string, std::string);
 | 
			
		||||
    static void End();
 | 
			
		||||
    static void Work();
 | 
			
		||||
    static void Work(const std::string& port_name);
 | 
			
		||||
    static bool ChangeComPortNumber(const std::string &oldPortName,
 | 
			
		||||
                                    const std::string &newPortName);
 | 
			
		||||
    static std::vector<std::string> watchingComPort;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user