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/DB2103Helper.cs

111 lines
6.7 KiB
C#

using DataBlockHelper.Entity.DB2103Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
1 year ago
using HslCommunication;
namespace DataBlockHelper.DBHelpers
{
public class DB2103Helper
{
1 year ago
private byte[] _bytes;
1 year ago
public DB2103Helper(byte[] bytes)
{
_bytes = bytes;
}
1 year ago
// public OperateResult<byte[]> GetAll=>PlcConnect.Instance.Read("DB2103.0.0", 418,_bytes);
public FOR_MOTOREntity DM1ASI01 => new FOR_MOTOREntity(0,_bytes);
public FOR_MOTOREntity DM1BSI01 => new FOR_MOTOREntity(2,_bytes);
public FOR_MOTOREntity DM1CSI01 => new FOR_MOTOREntity(4,_bytes);
public FOR_MOTOREntity DM1DSI01 => new FOR_MOTOREntity(6,_bytes);
public FOR_MOTOREntity DM1ESI01 => new FOR_MOTOREntity(8,_bytes);
public FOR_MOTOREntity DM1FSI01 => new FOR_MOTOREntity(10,_bytes);
public FOR_MOTOREntity DM1GSI01 => new FOR_MOTOREntity(12,_bytes);
public FOR_MOTOREntity DM1HSI01 => new FOR_MOTOREntity(14,_bytes);
public FOR_MOTOREntity DM1ISI01 => new FOR_MOTOREntity(16,_bytes);
public FOR_MOTOREntity DM1JSI01 => new FOR_MOTOREntity(18,_bytes);
public FOR_MOTOREntity DM1KSI01 => new FOR_MOTOREntity(20,_bytes);
public FOR_MOTOREntity DM1LSI01 => new FOR_MOTOREntity(22,_bytes);
public FOR_MOTOREntity DM1MSI01 => new FOR_MOTOREntity(24,_bytes);
public FOR_MOTOREntity DM1NSI01 => new FOR_MOTOREntity(26,_bytes);
public FOR_MOTOREntity DM1OSI01 => new FOR_MOTOREntity(28,_bytes);
public FOR_MOTOREntity DM1ADB01 => new FOR_MOTOREntity(30,_bytes);
public FOR_MOTOREntity DM1BDB01 => new FOR_MOTOREntity(32,_bytes);
public FOR_MOTOREntity DM1CDB01 => new FOR_MOTOREntity(34,_bytes);
public FOR_MOTOREntity DM1DDB01 => new FOR_MOTOREntity(36,_bytes);
public FOR_MOTOREntity DM1EDB01 => new FOR_MOTOREntity(38,_bytes);
public FOR_MOTOREntity DM1FDB01 => new FOR_MOTOREntity(40,_bytes);
public FOR_MOTOREntity DM1GDB01 => new FOR_MOTOREntity(42,_bytes);
public FOR_MOTOREntity DM1HDB01 => new FOR_MOTOREntity(44,_bytes);
public FOR_MOTOREntity DM1IDB01 => new FOR_MOTOREntity(46,_bytes);
public FOR_MOTOREntity DM1JDB01 => new FOR_MOTOREntity(48,_bytes);
public FOR_MOTOREntity DM1KDB01 => new FOR_MOTOREntity(50,_bytes);
public FOR_MOTOREntity DM1LDB01 => new FOR_MOTOREntity(52,_bytes);
public FOR_MOTOREntity DM1ADF01 => new FOR_MOTOREntity(54,_bytes);
public FOR_MOTOREntity DM1BDF01 => new FOR_MOTOREntity(56,_bytes);
public FOR_MOTOREntity DM1CDF01 => new FOR_MOTOREntity(58,_bytes);
public FOR_MOTOREntity DM1DDF01 => new FOR_MOTOREntity(60,_bytes);
public FOR_MOTOREntity DM1EDF01 => new FOR_MOTOREntity(62,_bytes);
public FOR_MOTOREntity DM1FDF01 => new FOR_MOTOREntity(64,_bytes);
public FOR_MOTOREntity DM1GDF01 => new FOR_MOTOREntity(66,_bytes);
public FOR_MOTOREntity DM1HDF01 => new FOR_MOTOREntity(68,_bytes);
public FOR_MOTOREntity DM1IDF01 => new FOR_MOTOREntity(70,_bytes);
public FOR_MOTOREntity DM1JDF01 => new FOR_MOTOREntity(72,_bytes);
public FOR_MOTOREntity DM1KDF01 => new FOR_MOTOREntity(74,_bytes);
public FOR_MOTOREntity DM1LDF01 => new FOR_MOTOREntity(76,_bytes);
public FOR_MOTOREntity DMFILTER => new FOR_MOTOREntity(78,_bytes);
public FOR_MOTOREntity DM1ASF01 => new FOR_MOTOREntity(80,_bytes);
public FOR_MOTOREntity DM1BSF01 => new FOR_MOTOREntity(82,_bytes);
public FOR_MOTOREntity DM1CSF01 => new FOR_MOTOREntity(84,_bytes);
public FOR_MOTOREntity DM1DSF01 => new FOR_MOTOREntity(86,_bytes);
public FOR_MOTOREntity DM1ESF01 => new FOR_MOTOREntity(88,_bytes);
public FOR_MOTOREntity DM1FSF01 => new FOR_MOTOREntity(90,_bytes);
public FOR_MOTOREntity DM1GSF01 => new FOR_MOTOREntity(92,_bytes);
public FOR_MOTOREntity DM1HSF01 => new FOR_MOTOREntity(94,_bytes);
public FOR_MOTOREntity DM1ISF01 => new FOR_MOTOREntity(96,_bytes);
public FOR_MOTOREntity DM1JSF01 => new FOR_MOTOREntity(98,_bytes);
public FOR_MOTOREntity DM1KSF01 => new FOR_MOTOREntity(100,_bytes);
public FOR_MOTOREntity DM1LSF01 => new FOR_MOTOREntity(102,_bytes);
public FOR_MOTOREntity DM1MSF01 => new FOR_MOTOREntity(104,_bytes);
public FOR_MOTOREntity DM1NSF01 => new FOR_MOTOREntity(106,_bytes);
public FOR_MOTOR_VFDEntity _24T11A_D => new FOR_MOTOR_VFDEntity(108,_bytes);
public FOR_MOTOR_VFDEntity _64T01G_J => new FOR_MOTOR_VFDEntity(122,_bytes);
public FOR_MOTOR_VFDEntity _64T61E_F => new FOR_MOTOR_VFDEntity(136,_bytes);
public FOR_MOTOR_VFDEntity DM1K_NSF01 => new FOR_MOTOR_VFDEntity(150,_bytes);
public FOR_MOTOR_VFDEntity DM1OSF01 => new FOR_MOTOR_VFDEntity(164,_bytes);
public FOR_MOTOR_VFDEntity DM2ASF01 => new FOR_MOTOR_VFDEntity(178,_bytes);
public FOR_MOTOR_VFDEntity DM2BSF01 => new FOR_MOTOR_VFDEntity(192,_bytes);
public FOR_MOTOR_VFDEntity DM2CSF01 => new FOR_MOTOR_VFDEntity(206,_bytes);
public FOR_MOTOR_VFDEntity DM2DSF01 => new FOR_MOTOR_VFDEntity(220,_bytes);
public FOR_MOTOR_VFDEntity DM1DRY1 => new FOR_MOTOR_VFDEntity(234,_bytes);
public FOR_MOTOR_VFDEntity DM1DRY2 => new FOR_MOTOR_VFDEntity(248,_bytes);
public FOR_MOTOR_VFDEntity DM1DRY3 => new FOR_MOTOR_VFDEntity(262,_bytes);
public FOR_MOTOR_VFDEntity DM1DRY4 => new FOR_MOTOR_VFDEntity(276,_bytes);
public FOR_MOTOR_VFDEntity DM1GEM => new FOR_MOTOR_VFDEntity(290,_bytes);
public FOR_MOTOR_VFDEntity DM2GEM => new FOR_MOTOR_VFDEntity(304,_bytes);
public FOR_MOTOR_VFDEntity DM3GEM => new FOR_MOTOR_VFDEntity(318,_bytes);
public FOR_MOTOR_VFDEntity DM4GEM => new FOR_MOTOR_VFDEntity(332,_bytes);
public FOR_MOTOR_VFDEntity DM5GEM => new FOR_MOTOR_VFDEntity(346,_bytes);
public FOR_MOTOR_VFDEntity DM6GEM => new FOR_MOTOR_VFDEntity(360,_bytes);
public FOR_MOTOR_VFDEntity DM7GEM => new FOR_MOTOR_VFDEntity(374,_bytes);
public FOR_MOTOR_VFDEntity DM8GEM => new FOR_MOTOR_VFDEntity(388,_bytes);
public FOR_MOTOREntity DMWETER1 => new FOR_MOTOREntity(402,_bytes);
public FOR_MOTOREntity DMWETER2 => new FOR_MOTOREntity(404,_bytes);
public FOR_MOTOREntity DMWETER3 => new FOR_MOTOREntity(406,_bytes);
public FOR_MOTOREntity DMWETER4 => new FOR_MOTOREntity(408,_bytes);
public FOR_MOTOREntity DMWETER5 => new FOR_MOTOREntity(410,_bytes);
public FOR_MOTOREntity DMWETER6 => new FOR_MOTOREntity(412,_bytes);
public FOR_MOTOREntity DMWETER7 => new FOR_MOTOREntity(414,_bytes);
public FOR_MOTOREntity DMWETER8 => new FOR_MOTOREntity(416,_bytes);
}
}