4 Star 0 Fork 0

edmundwz / o2mation_dev

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
driver.pyi 2.74 KB
一键复制 编辑 原始数据 按行查看 历史
edmundwz 提交于 2019-03-28 10:45 . add pyi
# Stubs for driver (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from component import Component, Folder
from control import AbstractProxyExt
from typing import Any
class ExceptionNotLicensed(Exception): ...
class ProxyExt(AbstractProxyExt):
device: Any = ...
fatal_fault: bool = ...
def __init__(self) -> None: ...
def get_network(self): ...
def write(self) -> None: ...
def get_device(self): ...
def check_fatal_fault(self): ...
def is_fatal_fault(self): ...
def started(self) -> None: ...
def stopped(self) -> None: ...
class DeviceExt(Component):
def add_point(self, point: Any) -> None: ...
def get_network(self): ...
def get_device(self): ...
class PointFolder(Folder):
def __init__(self) -> None: ...
def get_device(self): ...
def check_add(self, value: Any) -> None: ...
class PollScheduler(Component):
enabled: Any = ...
queue: Any = ...
period: Any = ...
is_alive: bool = ...
def __init__(self) -> None: ...
thread: Any = ...
def started(self) -> None: ...
def stopped(self) -> None: ...
def run(self) -> None: ...
def subscribe(self, pollable: Any) -> None: ...
def unsubscribe(self, pollable: Any) -> None: ...
class BasicNetwork(Component):
status: Any = ...
enabled: Any = ...
fault_cause: Any = ...
response_timeout: Any = ...
retry: Any = ...
poll_scheduler: Any = ...
worker: Any = ...
ping: Any = ...
active: bool = ...
comm: Any = ...
def __init__(self) -> None: ...
def get_response_timeout(self): ...
def check_add(self, value: Any) -> None: ...
def check_license(self) -> None: ...
def set_fault_cause(self, v: Any) -> None: ...
def get_worker(self): ...
def get_comm(self): ...
def get_poll_scheduler(self): ...
def ping(self) -> None: ...
def do_ping(self, v: Any) -> None: ...
def ping_ok(self) -> None: ...
def ping_fail(self) -> None: ...
def set_comm_active(self, v: Any) -> None: ...
def is_comm_active(self): ...
def start_comm(self) -> None: ...
def stop_comm(self) -> None: ...
def started(self) -> None: ...
def stopped(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Device(Component):
status: Any = ...
enabled: Any = ...
fault_cause: Any = ...
device_ext: Any = ...
ping: Any = ...
def __init__(self) -> None: ...
def set_fault_cause(self, v: Any) -> None: ...
def mounted(self, value: Any) -> None: ...
def check_add(self, value: Any) -> None: ...
def get_device_ext(self): ...
def get_network(self): ...
def set_status(self, str: Any) -> None: ...
def ping(self) -> None: ...
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

搜索帮助