Browse Source

get_mcu_other_info

rambo 7 months ago
parent
commit
313aa5e261
1 changed files with 3 additions and 3 deletions
  1. 3 3
      python/mcu/DeviceControl.py

+ 3 - 3
python/mcu/DeviceControl.py

@@ -456,8 +456,8 @@ class DeviceControl(BaseClass, metaclass=SingletonType):
         command = receive_data[0]
         receive_data_temp = receive_data[2:]
         receive_data_temp_text = " ".join([hex(x) for x in receive_data_temp])
-        print("command",command)
-        print("receive_data", receive_data_temp_text)
+        # print("command",command)
+        # print("receive_data", receive_data_temp_text)
         if command in self.deal_code_func_dict:
             self.deal_code_func_dict[command](receive_data)
 
@@ -682,7 +682,7 @@ class DeviceControl(BaseClass, metaclass=SingletonType):
         self.last_mcu_other_info_data["num"] += 1
         for k, v in self.last_mcu_other_info_data["data"].items():
             print("k:{},v:{}".format(k, v))
-        self.msg_type = "get_other_mcu_info"
+        self.msg_type = "get_mcu_other_info"
         self.sendSocketMessage(
             code=0,
             msg="获取mcu其他配置信息",