Changes merged
authorlaurent
Wed, 16 Dec 2009 15:09:12 +0100
changeset 531 ba136820dd7d
parent 530 862d9adcd904 (current diff)
parent 528 61e6f03328de (diff)
child 532 a822b0b64252
child 534 80f05b17de1e
Changes merged
--- a/connectors/LPC/LPCObject.py	Wed Dec 16 15:08:38 2009 +0100
+++ b/connectors/LPC/LPCObject.py	Wed Dec 16 15:09:12 2009 +0100
@@ -113,12 +113,9 @@
 
     def MatchMD5(self, MD5):
         data = self.HandleSerialTransaction(GET_PLCIDTransaction())
+        print "PLCINFO",data[32:]
         return data[:32] == MD5
 
-    def GetPLCInfo(self, MD5):
-        data = self.HandleSerialTransaction(GET_PLCIDTransaction())
-        return data[32:]
-
     class IEC_STRING(ctypes.Structure):
         """
         Must be changed according to changes in iec_types.h