diff --git a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs index 96d304e..364ed1a 100644 --- a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs +++ b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs @@ -379,11 +379,11 @@ namespace DataBlockHelper.DBHelpers private static bool WriteM(int start) { var siemensS7Net = PlcConnect.Instance; - var operateResult = siemensS7Net.ReadBool($"{DbName}.{start}.1"); - if (!operateResult.Content) - { - return false; - } + //var operateResult = siemensS7Net.ReadBool($"{DbName}.{start}.1"); + //if (!operateResult.Content) + //{ + // return false; + //} var operate= siemensS7Net.Write($"{DbName}.{start}.0", true); return operate.IsSuccess;