diff -r ef26fcb7f5d4 -r 4278d5c1e414 PLCControler.py --- a/PLCControler.py Thu Nov 07 00:16:00 2013 +0100 +++ b/PLCControler.py Thu Nov 07 00:31:46 2013 +0100 @@ -387,14 +387,14 @@ self.SpecificValues = None self.CurrentInstance = _BlockInstanceInfos( - *(_translate_args([str] + [int] * 5, args) + + *(_translate_args([str, int] + [float] * 4, args) + [specific_values, [], []])) self.BlockInstances[self.CurrentInstance.id] = self.CurrentInstance def AddInstanceConnection(self, context, *args): connection_args = _translate_args( - [str, str, _BoolValue, str, int, int], args) + [str, str, _BoolValue, str, float, float], args) self.CurrentConnection = _InstanceConnectionInfos( *(connection_args[1:4] + [ @@ -415,7 +415,7 @@ def AddLinkPoint(self, context, *args): self.CurrentLink.points.append(_Point( - *_translate_args([int, int], args))) + *_translate_args([float] * 2, args))) def AddAction(self, context, *args): if len(self.SpecificValues) == 0: