4 Star 0 Fork 0

edmundwz / o2mation_dev

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
modbus.pyi 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
edmundwz 提交于 2019-03-28 10:45 . add pyi
# Stubs for modbus (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
import driver
from typing import Any
class ModbusNetwork(driver.BasicNetwork):
port: Any = ...
baud_rate: Any = ...
data_bits: Any = ...
stop_bits: Any = ...
parity: Any = ...
def __init__(self) -> None: ...
def get_port(self): ...
def get_baud_rate(self): ...
def get_data_bits(self): ...
def get_stop_bits(self): ...
def get_parity(self): ...
class ModbusDevice(driver.Device):
device_address: Any = ...
device_ext: Any = ...
ping_address: Any = ...
def __init__(self) -> None: ...
def get_ping_address(self): ...
def set_device_address(self, v: Any) -> None: ...
def get_device_address(self): ...
class ModbusDevicesExt(driver.DeviceExt):
def add_point(self, point: Any) -> None: ...
class ModbusRtuMasterNetwork(ModbusNetwork):
def __init__(self) -> None: ...
comm: Any = ...
def start_comm(self) -> None: ...
def stop_comm(self) -> None: ...
def changed(self, property: Any) -> None: ...
class ModbusProxyExt(driver.ProxyExt):
data_address: Any = ...
force_read: Any = ...
force_write: Any = ...
def __init__(self) -> None: ...
def do_force_read(self, v: Any) -> None: ...
def do_force_write(self, v: Any) -> None: ...
class ModbusNumberProxyExt(ModbusProxyExt):
data_type: Any = ...
def __init__(self) -> None: ...
def run(self) -> None: ...
def read(self) -> None: ...
class ModbusRtuMasterDevice(ModbusDevice):
def do_ping(self, v: Any) -> None: ...
1
https://gitee.com/edmund_wz/o2mation_dev.git
git@gitee.com:edmund_wz/o2mation_dev.git
edmund_wz
o2mation_dev
o2mation_dev
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891