add DummyInductionHeater

This commit is contained in:
Sebastien Bourdeauducq 2020-01-27 17:25:14 +08:00
parent 8a8a271c9c
commit 970838f6e7
1 changed files with 14 additions and 0 deletions

View File

@ -55,6 +55,20 @@ class BufferedSDR:
self.sdr.deactivateStream(self.stream) 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: class InductionHeater:
"""Interface to the MHS5200A function generator driving the LC tank""" """Interface to the MHS5200A function generator driving the LC tank"""
def __init__(self, port, induction_min, induction_max): def __init__(self, port, induction_min, induction_max):