From 970838f6e7edf50593db95469154621ba6e1c271 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 27 Jan 2020 17:25:14 +0800 Subject: [PATCH] add DummyInductionHeater --- noptica.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/noptica.py b/noptica.py index f8a32ed..55d7e8b 100644 --- a/noptica.py +++ b/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):