代码拉取完成,页面将自动刷新
# 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: ...
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。