代码拉取完成,页面将自动刷新
# Stubs for o2platform (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from component import Component
from typing import Any
class ConfigEncoder:
def encode_doc(self, path: Any, component: Any): ...
def encode_as_dict(self, component: Any, step: Any): ...
def encode_as_string(self, component: Any, step: Any): ...
def decode_info(self, s: Any): ...
class ConfigDecoder:
@staticmethod
def decode_info(s: Any): ...
def decode_doc(self, path: Any): ...
encoder: Any
decoder: Any
class Console(Component):
buf: Any = ...
size: Any = ...
def __init__(self) -> None: ...
def set_buf(self, v: Any) -> None: ...
console: Any
class Platform(Component):
console: Any = ...
editor: Any = ...
def __init__(self) -> None: ...
class DriverContainer(Component):
add_network: Any = ...
def __init__(self) -> None: ...
class Station(Component):
component_map: Any = ...
id: int = ...
next_id: int = ...
open: Any = ...
close: Any = ...
save: Any = ...
path: Any = ...
station: Any = ...
platform: Any = ...
drivers: Any = ...
def __init__(self) -> None: ...
def find_component(self, id: Any): ...
def find_by_path(self, path: Any): ...
def set_path(self, v: Any) -> None: ...
def save(self) -> None: ...
def open(self) -> None: ...
def close(self) -> None: ...
def do_save(self, v: Any) -> None: ...
def do_close(self) -> None: ...
def do_open(self) -> None: ...
def mount(self, component: Any) -> None: ...
def unmount(self, component: Any) -> None: ...
def started(self) -> None: ...
def stopped(self) -> None: ...
def station_started(self) -> None: ...
def station_stopped(self) -> None: ...
class Home:
module_manager: Any = ...
path: Any = ...
station: Any = ...
def __init__(self) -> None: ...
def find_comoponent(self, id: Any): ...
def mount(self, component: Any) -> None: ...
def create_component(self, id: Any, name: Any, c_type: Any): ...
def delete_component(self, id: Any): ...
def get_component_reply(self, id: Any, step: Any): ...
def get_propertys(self, id: Any): ...
def update_properties(self, values: Any): ...
def update_property(self, id: Any, values: Any): ...
def delete_link(self, id: Any, src_name: Any, tar_name: Any): ...
def create_link(self, src_id: Any, src_slot_name: Any, tar_id: Any, tar_slot_name: Any): ...
def get_actions_reply(self, id: Any, text: Any, text_input: Any): ...
def type_filter(self, base_type: Any): ...
def type_filter_all(self, base_type: Any): ...
def get_module(self, name: Any): ...
def get_module_list(self): ...
def get_modules(self): ...
def navigator(self): ...
def component_ui(self, id: Any): ...
def get_menu(self, id: Any): ...
def post_menu(self, id: Any, name: Any, value: Any): ...
def get_station_reply(self): ...
def get_ui_reply(self, name: Any): ...
def get_devices(self, id: Any): ...
def get_networks(self, id: Any): ...
def get_points(self, id: Any): ...
home: Any
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。