You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/DataBlockHelper/DBHelpers/DB91Helper.cs

54 lines
2.0 KiB
C#

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()
{
12 months ago
12 months ago
bytes = PlcConnect.Instance.Read("DB91.0.0", 90).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 DM1ESIG01 => new ForMotorEntity(10, bytes);
public ForMotorEntity DM1GDS01 => new ForMotorEntity(12, bytes);
public ForMotorEntity DM1GDS02 => new ForMotorEntity(14, bytes);
12 months ago
public ForMotorEntity DM1GDS03 => new ForMotorEntity(16, bytes);
12 months ago
public ForMotorEntity DM1GDS04 => new ForMotorEntity(18, bytes);
12 months ago
public ForMotorEntity DM1GDS05 => new ForMotorEntity(20, bytes);
12 months ago
public ForMotorEntity DM1GDS06 => new ForMotorEntity(22, bytes);
12 months ago
public ForMotorEntity DM1GDS07 => new ForMotorEntity(24, bytes);
public ForMotorEntity DM1GDS08 => new ForMotorEntity(26, bytes);
public ForMotorEntity DM1GDS09 => new ForMotorEntity(28, bytes);
public ForMotorEntity DM1GDS10 => new ForMotorEntity(30, bytes);
public ForMotorEntity DM1GDS11 => new ForMotorEntity(32, bytes);
// public ForMotorSToTEntity DM1GDS06 => new ForMotorSToTEntity(20, bytes);
// public ForMotorSToTEntity DM1GDS07 => new ForMotorSToTEntity(28, bytes);
public ForMotorVFD DM1DSM01 => new ForMotorVFD(34, bytes);
public ForMotorVFD DM2DSM01 => new ForMotorVFD(48, bytes);
public ForMotorVFD DM3DSM01 => new ForMotorVFD(62, bytes);
public ForMotorVFD DM1GDS12 => new ForMotorVFD(76, bytes);
}
}