From 169a959f549ed8fb6639134306ba2422b2545431 Mon Sep 17 00:00:00 2001 From: ryanhoffman Date: Fri, 10 Nov 2023 18:39:12 +0000 Subject: [PATCH] add overload --- .../Projectfolders/Step7V5/BlocksOfflineFolder.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/LibNoDaveConnectionLibrary/DataTypes/Projectfolders/Step7V5/BlocksOfflineFolder.cs b/LibNoDaveConnectionLibrary/DataTypes/Projectfolders/Step7V5/BlocksOfflineFolder.cs index 8fdd80f7..7c795fc0 100644 --- a/LibNoDaveConnectionLibrary/DataTypes/Projectfolders/Step7V5/BlocksOfflineFolder.cs +++ b/LibNoDaveConnectionLibrary/DataTypes/Projectfolders/Step7V5/BlocksOfflineFolder.cs @@ -423,6 +423,13 @@ private TmpBlock GetBlockBytes(string blkName) return GetBlockBytes(blkInfo); } + public S7DataRow GetInterface(string blkName) + { + var myConvOpt = new S7ConvertingOptions(Project.ProjectLanguage); + + return GetInterface(blkName, myConvOpt); + } + public S7DataRow GetInterface(string blkName, S7ConvertingOptions myConvOpt) { var blkInfo = GetProjectBlockInfoFromBlockName(blkName);