Skip to content

Commit 39adce3

Browse files
committed
Fix browsing of array of struct
1 parent f0023f5 commit 39adce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/S7CommPlusDriver/ClientApi/Browser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ private void AddSubNodes(ref Node node, PObject o)
305305
} while (n <= ArrayElementCount);
306306
#endregion
307307
}
308-
if (vte.OffsetInfoType.HasRelation())
308+
else if (vte.OffsetInfoType.HasRelation())
309309
{
310310
#region Struct / UDT / System-Biliotheks-Strukturen (DTL, IEC_TIMER, ...) aber keine Art von Array
311311
var ioit = (IOffsetInfoType_Relation)vte.OffsetInfoType;

0 commit comments

Comments
 (0)