瀏覽代碼

add DummyInductionHeater

master
Sebastien Bourdeauducq 10 月之前
父節點
當前提交
970838f6e7
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. +14
    -0
      noptica.py

+ 14
- 0
noptica.py 查看文件

@@ -55,6 +55,20 @@ class BufferedSDR:
self.sdr.deactivateStream(self.stream)


class DummyInductionHeater:
def __init__(self, port, induction_min, induction_max):
pass

def start(self):
pass

def set(self, amount):
print("induction", amount)

def stop(self):
pass


class InductionHeater:
"""Interface to the MHS5200A function generator driving the LC tank"""
def __init__(self, port, induction_min, induction_max):


Loading…
取消
儲存