using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataBlockHelper.DBHelpers { public class DB2107WriteHelper { static string DbName = "DB2107"; public static void CleanSpare(int no) { int dian = no + 1; var siemensS7Net = PlcConnect.Instance; siemensS7Net.Write($"{DbName}.8.{dian}", false); } public static void CleanWater(int no) { int dian = no + 1; var siemensS7Net = PlcConnect.Instance; siemensS7Net.Write($"{DbName}.5.{dian}", false); } } }