Exemple #1
0
 def plot(self):
     temp = sent_temp()
     temp1.append(temp[0])
     temp2.append(temp[1])
     temp3.append(temp[2])
     M1.append(m3)        
     XHLT= self.figure.add_subplot(111)             
     XHLT.plot(M1,temp1,'b-',label = "HLT")
     XHLT.plot(M1,temp2,'r-',label = "MASH")
     XHLT.plot(M1,temp3,'g-',label = "BOIL")
     self.canvas.draw()
     self.canvas.update()
     if m3 == 0 and h3 == 0 and s3 == 0:
         XHLT.hold(False)
Exemple #2
0
 def display_temp(self):
         temp = sent_temp()
         self.HLT_TEMP.display(temp[0])
         self.MASH_TEMP.display(temp[1])
         self.Boil_TEMP.display(temp[2])