加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
serialport.pyi 819 Bytes
一键复制 编辑 原始数据 按行查看 历史
edmundwz 提交于 2019-03-28 21:27 . update
# Stubs for serialport (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from component import Component
from typing import Any
class SerialPort(Component):
status: Any = ...
fault_cause: Any = ...
port: Any = ...
baud_rate: Any = ...
data_bits: Any = ...
stop_bits: Any = ...
parity: Any = ...
open: Any = ...
close: Any = ...
is_active: bool = ...
comm: Any = ...
def __init__(self) -> None: ...
def get_comm(self): ...
def set_status(self, v: Any) -> None: ...
def do_open(self, v: Any) -> None: ...
def do_close(self, v: Any) -> None: ...
def set_fault_cause(self, v: Any) -> None: ...
def started(self) -> None: ...
def stopped(self) -> None: ...
def changed(self, property: Any) -> None: ...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化