Public 成员函数 | |
__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 通信的扩展停止功能。 | |
Public 属性 | |
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 |