equal
deleted
inserted
replaced
36 120) #timeout |
36 120) #timeout |
37 self.HandleSerialTransaction(KEEPBOOTINGTransaction()) |
37 self.HandleSerialTransaction(KEEPBOOTINGTransaction()) |
38 self.PLCStatus = "Stopped" |
38 self.PLCStatus = "Stopped" |
39 |
39 |
40 def NewPLC(self, md5sum, data, extrafiles): |
40 def NewPLC(self, md5sum, data, extrafiles): |
41 self.successfully_transfered = self.HandleSerialTransaction(LOADTransaction(data)) |
41 self.successfully_transfered = self.HandleSerialTransaction(LOADTransaction(data, self.PLCprint)) |
42 return self.successfully_transfered |
42 return self.successfully_transfered |
43 |
43 |
44 def MatchMD5(self, MD5): |
44 def MatchMD5(self, MD5): |
45 return self.successfully_transfered |
45 return self.successfully_transfered |
46 |
46 |