using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataBlockHelper.Entity.DB2104Entity { public class GelatEntity { private int StartSet; private byte[] Bytes; public GelatEntity(int startSet, byte[] bytes) { this.StartSet = startSet; this.Bytes = bytes; } public WDaybinE Daybin => new WDaybinE(StartSet, Bytes); public WaterSCE WaterSC => new WaterSCE(StartSet, Bytes); public List Step => new RecipeArrayManager(10, StartSet + 40, 12, Bytes).GetRecipe_GmixEList(); } public class WDaybinE { private int StartSet; private byte[] Bytes; public WDaybinE(int startSet, byte[] bytes) { this.StartSet = startSet; this.Bytes = bytes; } public List Recipe => new RecipeArrayManager(2, StartSet, 10, Bytes).GetRecipe_DosEList(); } public class WaterSCE { private int StartSet; private byte[] Bytes; public WaterSCE(int startSet, byte[] bytes) { this.StartSet = startSet; this.Bytes = bytes; } public List Recipe => new RecipeArrayManager(2, StartSet + 20, 10, Bytes).GetRecipe_DosEList(); } }