diff --git a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs index b87268f..b31ec8d 100644 --- a/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs +++ b/DataBlockHelper/DBHelpers/DB2105WriteHelper.cs @@ -652,7 +652,7 @@ namespace DataBlockHelper.DBHelpers public static void StopWater(int no) { var siemensS7Net = PlcConnect.Instance; - siemensS7Net.Write($"{DbName}.{53}.{no}",false); + siemensS7Net.Write($"{DbName}.{53}.{no}",true); } /// @@ -663,9 +663,13 @@ namespace DataBlockHelper.DBHelpers public static void StartWater(int no) { var siemensS7Net = PlcConnect.Instance; - siemensS7Net.Write($"{DbName}.{53}.{no}", true); + siemensS7Net.Write($"{DbName}.{53}.{no}", false); } + /// + /// true 状态是停止 + /// + /// public List GetWaterStatus() {