From 4beeec602137dec7a3a62471e3bc45a061d57005 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 18 Nov 2024 17:34:39 +0800 Subject: [PATCH] PyThermostat: Remove all references to Pytec --- pythermostat/autotune.py | 2 +- pythermostat/example.py | 2 +- pythermostat/plot.py | 2 +- pythermostat/test.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pythermostat/autotune.py b/pythermostat/autotune.py index 360d06c..e67c17a 100644 --- a/pythermostat/autotune.py +++ b/pythermostat/autotune.py @@ -3,7 +3,7 @@ import logging from collections import deque, namedtuple from enum import Enum -from pytec.client import Client +from pythermostat.client import Client # Based on hirshmann pid-autotune libiary # See https://github.com/hirschmann/pid-autotune diff --git a/pythermostat/example.py b/pythermostat/example.py index 803a7f9..8f59afe 100644 --- a/pythermostat/example.py +++ b/pythermostat/example.py @@ -1,5 +1,5 @@ import time -from pytec.client import Client +from pythermostat.client import Client tec = Client() #(host="localhost", port=6667) tec.set_param("b-p", 1, "t0", 20) diff --git a/pythermostat/plot.py b/pythermostat/plot.py index 90deaca..6cfacc6 100644 --- a/pythermostat/plot.py +++ b/pythermostat/plot.py @@ -3,7 +3,7 @@ import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from threading import Thread, Lock -from pytec.client import Client +from pythermostat.client import Client TIME_WINDOW = 300.0 diff --git a/pythermostat/test.py b/pythermostat/test.py index ff60eb2..126114b 100644 --- a/pythermostat/test.py +++ b/pythermostat/test.py @@ -1,6 +1,6 @@ import argparse from contextlib import contextmanager -from pytec.client import Client +from pythermostat.client import Client CHANNELS = 2 -- 2.44.2