公開方法(Public Methods) | |
| __init__ (self, comm_to_ptr, comm_type) | |
| 使用給定的通信指針和類型初始化一個新實例。 | |
| get_ptr_comm (self) | |
| 獲取 TCP 通信實例。 | |
| set_using_data_port (self, using_data_port) | |
| 如果使用 USB Comm,則設置為 True。 | |
| start (self) | |
| stop (self) | |
| 停止 JSON 通信。 | |
| stop_ex (self) | |
| JSON 通信的擴展停止功能。 | |
公開屬性 | |
| using_data_port | |
| m_th_is_running | |
| JsonMng.JsonComm.__init__ | ( | self, | |
| comm_to_ptr, | |||
| comm_type ) |
使用給定的通信指針和類型初始化一個新實例。
| comm_to_ptr | 通信實例的指針。 |
| comm_type | 通信類型。 |
| JsonMng.JsonComm.get_ptr_comm | ( | self | ) |
獲取 TCP 通信實例。
| JsonMng.JsonComm.set_using_data_port | ( | self, | |
| using_data_port ) |
如果使用 USB Comm,則設置為 True。
| using_data_port | 如果使用 USBComm,則為 True,否則為 False。 |
| JsonMng.JsonComm.start | ( | self | ) |
@~English @brief Starts the JSON communication. @~Chinese @brief 启动 JSON 通信。 @~Chinese-Traditional @brief 啟動 JSON 通信。
| JsonMng.JsonComm.stop | ( | self | ) |
停止 JSON 通信。
| JsonMng.JsonComm.stop_ex | ( | self | ) |
JSON 通信的擴展停止功能。
| JsonMng.JsonComm.m_th_is_running |
| JsonMng.JsonComm.using_data_port |