using DataBlockHelper.Entity.DB91Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataBlockHelper.DBHelpers { public class DB91Helper : DBHelper { public DB91Helper() { bytes = PlcConnect.Instance.Read("DB91.0.0", 92).Content; } public ForMotorEntity DM1GDP01 => new ForMotorEntity(0, bytes); public ForMotorEntity DM1ASIG01 => new ForMotorEntity(2, bytes); public ForMotorEntity DM1BSIG01 => new ForMotorEntity(4, bytes); public ForMotorEntity DM1CSIG01 => new ForMotorEntity(6, bytes); public ForMotorEntity DM1DSIG01 => new ForMotorEntity(8, bytes); public ForMotorEntity DM1GDS01 => new ForMotorEntity(10, bytes); public ForMotorEntity DM1GDS02 => new ForMotorEntity(12, bytes); public ForMotorEntity DM1GDS03 => new ForMotorEntity(14, bytes); public ForMotorEntity DM1GDS04 => new ForMotorEntity(16, bytes); public ForMotorEntity DM1GDS05 => new ForMotorEntity(18, bytes); public ForMotorSToTEntity DM1GDS06 => new ForMotorSToTEntity(20, bytes); public ForMotorSToTEntity DM1GDS07 => new ForMotorSToTEntity(28, bytes); public ForMotorVFD DM1DSM01 => new ForMotorVFD(36, bytes); public ForMotorVFD DM2DSM01 => new ForMotorVFD(50, bytes); public ForMotorVFD DM3DSM01 => new ForMotorVFD(64, bytes); public ForMotorVFD DM1GDS12 => new ForMotorVFD(78, bytes); } }