diff --git a/tools/SCLParser/src/SclCommunication.cs b/tools/SCLParser/src/SclCommunication.cs index b3f5e11c..06205ded 100644 --- a/tools/SCLParser/src/SclCommunication.cs +++ b/tools/SCLParser/src/SclCommunication.cs @@ -396,7 +396,7 @@ namespace IEC61850.SCL XmlNode max = gseNode.SelectSingleNode("scl:MaxTime", nsManager); if (max != null) { - maxTime = min; + maxTime = max; } } diff --git a/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs b/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs index 22c9ce09..146f84ab 100644 --- a/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs +++ b/tools/model_generator_dotnet/ModelGenerator/ModelGenerator/src/C_Structures.cs @@ -705,7 +705,7 @@ namespace ModelGenerator.C_Structures public string externName; public int reportNumber = -1; public string index; - //public bool hasOwner = false; + public bool hasOwner = false; public string sibling = "NULL"; public string phyComAddrName = "NULL"; private string smvString = "";