using DataBlockHelper.Entity.DB2107Entity; using DataBlockHelper.Entity.DB2105Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataBlockHelper.DBHelpers { public class DB2105Helper { byte[] bytes; public DB2105Helper() { this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 52).Content; } public List Plan => new PlanArrayManager(4, 0, 12, bytes).GetList(); public bool[] Status => new FourBoolArrayManager(48, bytes).GetList(); public bool[] End => new FourBoolArrayManager(50, bytes).GetList(); } }