using DataBlockHelper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mesnac.Action.ChemicalWeighing.MinAn { public static class MinAnPlc { public static bool Heir1 { get { return PlcConnect.Instance.ReadBool("M147.5").Content; } } public static bool Heir2 { get { return PlcConnect.Instance.ReadBool("M147.6").Content; } } public static bool Heir3 { get { return PlcConnect.Instance.ReadBool("M147.7").Content; } } } }