- refactored
git-svn-id: http://moon:8086/svn/projects/HendiControl@380 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -3,12 +3,12 @@ import json
|
||||
from aplant import APlant
|
||||
from math import sqrt
|
||||
from hendiCtrl import HendiCtrl
|
||||
from max31865 import Max31865
|
||||
from tempSensor_max31865 import TempSensor_max31865 as TempSensor
|
||||
|
||||
class Plant(APlant):
|
||||
def __init__(self, params):
|
||||
self.heater = HendiCtrl('/dev/ttyUSB0', 115200)
|
||||
self.tempsensor = Max31865()
|
||||
self.tempsensor = TempSensor()
|
||||
self.P = 0
|
||||
self.isOn = False
|
||||
self.cycleTime = 30
|
||||
|
||||
Reference in New Issue
Block a user