--- a/graphics/FBD_Objects.py Sat Aug 19 21:06:54 2017 +0300
+++ b/graphics/FBD_Objects.py Mon Aug 21 21:55:18 2017 +0300
@@ -27,9 +27,10 @@
from graphics.GraphicCommons import *
from plcopen.structures import *
-#-------------------------------------------------------------------------------
+
+# -------------------------------------------------------------------------------
# Function Block Diagram Block
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
def TestConnectorName(name, block_type):
@@ -495,9 +496,9 @@
DrawHighlightedText(dc, self.Type, self.Highlights.get("type", []), type_pos[0], type_pos[1])
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
# Function Block Diagram Variable
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
class FBD_Variable(Graphic_Element):
@@ -629,7 +630,7 @@
# if a name is given
if name is not None:
# Test input and output connector if they exists
- #if self.Input and name == self.Input.GetName():
+ # if self.Input and name == self.Input.GetName():
# return self.Input
if self.Output and name == self.Output.GetName():
return self.Output
@@ -791,9 +792,10 @@
if not getattr(dc, "printing", False):
DrawHighlightedText(dc, self.Name, self.Highlights, text_pos[0], text_pos[1])
-#-------------------------------------------------------------------------------
+
+# -------------------------------------------------------------------------------
# Function Block Diagram Connector
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
class FBD_Connector(Graphic_Element):