Disabling capability to define inout variable initial value according to IEC 61131-3 grammar
--- a/controls/VariablePanel.py Thu Jul 26 11:44:19 2012 +0200
+++ b/controls/VariablePanel.py Fri Jul 27 15:44:42 2012 +0200
@@ -172,7 +172,7 @@
editor = wx.grid.GridCellTextEditor()
renderer = wx.grid.GridCellStringRenderer()
elif colname == "Initial Value":
- if var_class != "External":
+ if var_class not in ["External", "InOut"]:
if self.Parent.Controler.IsEnumeratedType(var_type):
editor = wx.grid.GridCellChoiceEditor()
editor.SetParameters(",".join(self.Parent.Controler.GetEnumeratedDataValues(var_type)))