加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kitcontrol.pyi 3.22 KB
一键复制 编辑 原始数据 按行查看 历史
edmundwz 提交于 2019-03-28 18:25 . update 19-3-28
# Stubs for kitcontrol (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
import control
from typing import Any
class QuadLogic(control.BooleanPoint):
in_a: Any = ...
in_b: Any = ...
in_c: Any = ...
in_d: Any = ...
def __init__(self) -> None: ...
def calculate(self, a: Any, b: Any, c: Any, d: Any): ...
def changed(self, property: Any) -> None: ...
class Add(control.NumberPoint):
a: Any = ...
b: Any = ...
c: Any = ...
d: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Subtract(control.NumberPoint):
a: Any = ...
b: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Multiply(control.NumberPoint):
a: Any = ...
b: Any = ...
c: Any = ...
d: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Divide(control.NumberPoint):
a: Any = ...
b: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Average(control.NumberPoint):
a: Any = ...
b: Any = ...
c: Any = ...
d: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Maximum(control.NumberPoint):
a: Any = ...
b: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Minimum(control.NumberPoint):
a: Any = ...
b: Any = ...
def __init__(self) -> None: ...
def changed(self, property: Any) -> None: ...
class Comparison(control.BooleanPoint):
in_a: Any = ...
in_b: Any = ...
def __init__(self) -> None: ...
def calculate(self, a: Any, b: Any): ...
def changed(self, property: Any) -> None: ...
class AndLogic(QuadLogic):
def calculate(self, a: Any, b: Any, c: Any, d: Any): ...
class OrLogic(QuadLogic):
def calculate(self, a: Any, b: Any, c: Any, d: Any): ...
class EqualLogic(Comparison):
def calculate(self, a: Any, b: Any): ...
class NotEqualLogic(Comparison):
def calculate(self, a: Any, b: Any): ...
class GreaterThanLogic(Comparison):
def calculate(self, a: Any, b: Any): ...
class LessThanLogic(Comparison):
def calculate(self, a: Any, b: Any): ...
class LessThanEqualLogic(Comparison):
def calculate(self, a: Any, b: Any): ...
class GreaterThanEqualLogic(Comparison):
def calculate(self, a: Any, b: Any): ...
class TimeTrigger(control.ControlPoint):
trigger: Any = ...
period: Any = ...
enabled: Any = ...
disabled: Any = ...
flag: bool = ...
def __init__(self) -> None: ...
def do_enabled(self, v: Any) -> None: ...
def do_disabled(self, v: Any) -> None: ...
class Counter(control.NumberPoint):
count_up: Any = ...
count_down: Any = ...
preset_in: Any = ...
clear_in: Any = ...
preset_value: Any = ...
increment: Any = ...
preset: Any = ...
clear: Any = ...
count: Any = ...
last_count_up: bool = ...
last_count_down: bool = ...
last_preset: bool = ...
last_clear: bool = ...
def __init__(self) -> None: ...
def do_count(self, v: Any) -> None: ...
def calculate(self): ...
def changed(self, p: Any) -> None: ...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化