代码拉取完成,页面将自动刷新
# Stubs for schedule (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
import threading
from component import Component
from typing import Any
class ScheduleEngine(threading.Thread):
queue: Any = ...
flag: bool = ...
def __init__(self) -> None: ...
def run(self) -> None: ...
def subscribe(self, pollable: Any) -> None: ...
def unsubscribe(self, pollable: Any) -> None: ...
schedule_engine: Any
class DateRangeSchedule(Component):
start: Any = ...
end: Any = ...
def __init__(self) -> None: ...
def get_start(self): ...
def get_end(self): ...
class TimeRangeSchedule(Component):
enabled: Any = ...
start: Any = ...
end: Any = ...
def __init__(self) -> None: ...
def get_start(self): ...
def get_end(self): ...
class ControlSchedule(Component):
date_range: Any = ...
monday: Any = ...
tuesday: Any = ...
wednesday: Any = ...
thursday: Any = ...
friday: Any = ...
saturday: Any = ...
sunday: Any = ...
active: Any = ...
inactive: Any = ...
def __init__(self) -> None: ...
def started(self) -> None: ...
def stopped(self) -> None: ...
def poll(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
class BooleanSchedule(ControlSchedule):
out: Any = ...
def __init__(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
class NumberSchedule(ControlSchedule):
set: Any = ...
preset: Any = ...
out: Any = ...
def __init__(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
class StringSchedule(ControlSchedule):
set: Any = ...
preset: Any = ...
out: Any = ...
def __init__(self) -> None: ...
def do_active(self, v: Any) -> None: ...
def do_inactive(self, v: Any) -> None: ...
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。