using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataBlockHelper.DBHelpers { public class MReadHelp { public static List Read() { var p= PlcConnect.Instance; string m = "M1003.4"; List result = new List(); result.Add(p.ReadBool("M1003.4").Content); result.Add(p.ReadBool("M1004.4").Content); result.Add(p.ReadBool("M1006.4").Content); result.Add(p.ReadBool("M1007.4").Content); result.Add(p.ReadBool("M1009.4").Content); result.Add(p.ReadBool("M1010.4").Content); return result; } } }