using HslCommunication.Profinet.Melsec.Helper; using HslCommunication.Profinet.Siemens; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataBlockHelper.DBHelpers { public class Db2101HelperWriter { private static readonly string DbName = "DB2101"; private static SiemensS7Net siemensS7Net = PlcConnect.Instance; public static void WriterLinAStart(bool b) { siemensS7Net.Write("DB2101.124.0", b); } public static void WriterLinAEnd(bool b) { siemensS7Net.Write("DB2101.124.1", b); } public static void WriterLinBStart(bool b) { siemensS7Net.Write("DB2101.134.0", b); } public static void WriterLinBEnd(bool b) { siemensS7Net.Write("DB2101.134.1", b); } public static void WriterLinCStart(bool b) { siemensS7Net.Write("DB2101.144.0", b); } public static void WriterLinCEnd(bool b) { siemensS7Net.Write("DB2101.144.1", b); } } }