true 状态是停止

dep
我叫锄头 12 months ago
parent a9e14f2f7e
commit de01c734b9

@ -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);
}
/// <summary>
@ -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);
}
/// <summary>
/// true 状态是停止
/// </summary>
/// <returns></returns>
public List<bool> GetWaterStatus()
{

Loading…
Cancel
Save