internal void LoadSubPlcDatatypeFoldersViaOpennessDlls(TIAOpennessPlcDatatypeFolder parent, ControllerDatatypeSystemFolder blockFolder) { foreach (var e in blockFolder.Folders) { var fld = new TIAOpennessPlcDatatypeFolder(this, parent.ControllerFolder) { TiaPortalItem = e, Name = e.Name, Parent = parent, }; parent.SubItems.Add(fld); LoadSubPlcDatatypeFoldersViaOpennessDlls(fld, e); } }
internal void LoadSubPlcDatatypeFoldersViaOpennessDlls(TIAOpennessPlcDatatypeFolder parent, ControllerDatatypeSystemFolder blockFolder) { foreach (var e in blockFolder.Folders) { var fld = new TIAOpennessPlcDatatypeFolder(this, parent.ControllerFolder) { TiaPortalItem = e, Name = e.Name, Parent = parent, }; parent.SubItems.Add(fld); LoadSubPlcDatatypeFoldersViaOpennessDlls(fld, e); } }