equal
deleted
inserted
replaced
342 # Set graphic element displayed, creating a FBD block element |
342 # Set graphic element displayed, creating a FBD block element |
343 self.Element = FBD_Block(self.Preview, values["type"], |
343 self.Element = FBD_Block(self.Preview, values["type"], |
344 (self.BlockName.GetValue() |
344 (self.BlockName.GetValue() |
345 if self.BlockName.IsEnabled() |
345 if self.BlockName.IsEnabled() |
346 else ""), |
346 else ""), |
347 extension = self.Inputs.GetValue(), |
347 extension=self.Inputs.GetValue(), |
348 inputs = values["inputs"], |
348 inputs=values["inputs"], |
349 executionControl = self.ExecutionControl.GetValue(), |
349 executionControl=self.ExecutionControl.GetValue(), |
350 executionOrder = self.ExecutionOrder.GetValue()) |
350 executionOrder=self.ExecutionOrder.GetValue()) |
351 |
351 |
352 # Reset graphic element displayed |
352 # Reset graphic element displayed |
353 else: |
353 else: |
354 self.Element = None |
354 self.Element = None |
355 |
355 |