From 6f73c1bfd8eee4215bf740f4355651b0e43ec19f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 23 Apr 2025 14:13:09 +0200 Subject: [PATCH] fixed issue in reading maxTime in GSE --- tools/SCLParser/src/SclCommunication.cs | 2 +- .../ModelGenerator/ModelGenerator/src/C_Structures.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = "";