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("DB3000.1.4").Content; } } public static bool Heir2 { get { return PlcConnect.Instance.ReadBool("DB3000.1.5").Content; } } public static bool Heir3 { get { return PlcConnect.Instance.ReadBool("DB3000.1.6").Content; } } public static bool Heir4 { get { return PlcConnect.Instance.ReadBool("DB3000.1.7").Content; } } public static bool ReqD1 { get { return PlcConnect.Instance.ReadBool("DB3000.1.0").Content; } } public static bool ReqD2 { get { return PlcConnect.Instance.ReadBool("DB3000.1.1").Content; } } public static bool ReqD3 { get { return PlcConnect.Instance.ReadBool("DB3000.1.2").Content; } } public static bool ReqD4 { get { return PlcConnect.Instance.ReadBool("DB3000.1.3").Content; } } } }