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

131 lines
9.8 KiB
C#

using DataBlockHelper.Entity.DB2102Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HslCommunication;
namespace DataBlockHelper.DBHelpers
{
public class DB2102Helper : DBHelper
{
public DB2102Helper()
{
OperateResult<byte[]> db2102All = PlcConnect.Instance.Read("DB2102.0.0", 214);
bytes = db2102All.Content;
}
public FOR_VALVE_DoubleEntity DV2PCP01 => new FOR_VALVE_DoubleEntity(130, bytes);
public FOR_VALVE_DoubleEntity DV2PCP02 => new FOR_VALVE_DoubleEntity(132, bytes);
public FOR_VALVE_DoubleEntity DV2PCP03 => new FOR_VALVE_DoubleEntity(134, bytes);
public FOR_VALVE_DoubleEntity DV2PCP04 => new FOR_VALVE_DoubleEntity(136, bytes);
public FOR_VALVE_DoubleEntity DV2PCP05 => new FOR_VALVE_DoubleEntity(138, bytes);
public FOR_VALVE_DoubleEntity DV2PCP06 => new FOR_VALVE_DoubleEntity(140, bytes);
public FOR_VALVE_DoubleEntity DV2PCP07 => new FOR_VALVE_DoubleEntity(142, bytes);
public FOR_VALVE_DoubleEntity DV2PCP08 => new FOR_VALVE_DoubleEntity(144, bytes);
public FOR_VALVE_DoubleEntity DV2PCP09 => new FOR_VALVE_DoubleEntity(146, bytes);
public FOR_VALVE_DoubleEntity DV2PCP10 => new FOR_VALVE_DoubleEntity(148, bytes);
public FOR_VALVE_DoubleEntity DV2PCP11 => new FOR_VALVE_DoubleEntity(150, bytes);
public FOR_VALVE_DoubleEntity DV2PCP12 => new FOR_VALVE_DoubleEntity(152, bytes);
public FOR_VALVE_DoubleEntity DV2PCP13 => new FOR_VALVE_DoubleEntity(154, bytes);
public FOR_VALVE_DoubleEntity DV2PCP14 => new FOR_VALVE_DoubleEntity(156, bytes);
public FOR_VALVE_SingleEntity BU1ASF01 => new FOR_VALVE_SingleEntity(0, bytes);
public FOR_VALVE_SingleEntity BU1BSF01 => new FOR_VALVE_SingleEntity(2, bytes);
public FOR_VALVE_SingleEntity BU1CSF01 => new FOR_VALVE_SingleEntity(4, bytes);
public FOR_VALVE_SingleEntity BU1DSF01 => new FOR_VALVE_SingleEntity(6, bytes);
public FOR_VALVE_SingleEntity BU1ESF01 => new FOR_VALVE_SingleEntity(8, bytes);
public FOR_VALVE_SingleEntity BU1FSF01 => new FOR_VALVE_SingleEntity(10, bytes);
public FOR_VALVE_SingleEntity BU1GSF01 => new FOR_VALVE_SingleEntity(12, bytes);
public FOR_VALVE_SingleEntity BU1HSF01 => new FOR_VALVE_SingleEntity(14, bytes);
public FOR_VALVE_SingleEntity BU1ISF01 => new FOR_VALVE_SingleEntity(16, bytes);
public FOR_VALVE_SingleEntity BU1JSF01 => new FOR_VALVE_SingleEntity(18, bytes);
public FOR_VALVE_SingleEntity BU1KSF01 => new FOR_VALVE_SingleEntity(20, bytes);
public FOR_VALVE_SingleEntity BU1LSF01 => new FOR_VALVE_SingleEntity(22, bytes);
public FOR_VALVE_SingleEntity BU1MSF01 => new FOR_VALVE_SingleEntity(24, bytes);
public FOR_VALVE_SingleEntity BU1NSF01 => new FOR_VALVE_SingleEntity(26, bytes);
public FOR_VALVE_SingleEntity BU1OSF01 => new FOR_VALVE_SingleEntity(28, bytes);
public FOR_VALVE_SingleEntity BU1BLT01 => new FOR_VALVE_SingleEntity(30, bytes);
public FOR_VALVE_SingleEntity BU1BLT02 => new FOR_VALVE_SingleEntity(32, bytes);
public FOR_VALVE_SingleEntity BU1BLT03 => new FOR_VALVE_SingleEntity(34, bytes);
public FOR_VALVE_SingleEntity BU1BLT04 => new FOR_VALVE_SingleEntity(36, bytes);
public FOR_VALVE_SingleEntity BU1BLT05 => new FOR_VALVE_SingleEntity(38, bytes);
public FOR_VALVE_SingleEntity BU1BLT06 => new FOR_VALVE_SingleEntity(40, bytes);
public FOR_VALVE_SingleEntity BU1BLT07 => new FOR_VALVE_SingleEntity(42, bytes);
public FOR_VALVE_SingleEntity BU2BLT01 => new FOR_VALVE_SingleEntity(44, bytes);
public FOR_VALVE_SingleEntity BU2BLT02 => new FOR_VALVE_SingleEntity(46, bytes);
public FOR_VALVE_SingleEntity BU2BLT03 => new FOR_VALVE_SingleEntity(48, bytes);
public FOR_VALVE_SingleEntity BU2BLT04 => new FOR_VALVE_SingleEntity(50, bytes);
public FOR_VALVE_SingleEntity BU2BLT05 => new FOR_VALVE_SingleEntity(52, bytes);
public FOR_VALVE_SingleEntity BU3BLT01 => new FOR_VALVE_SingleEntity(54, bytes);
public FOR_VALVE_SingleEntity BU3BLT02 => new FOR_VALVE_SingleEntity(56, bytes);
public FOR_VALVE_SingleEntity BU3BLT03 => new FOR_VALVE_SingleEntity(58, bytes);
public FOR_VALVE_SingleEntity BU3BLT04 => new FOR_VALVE_SingleEntity(60, bytes);
public FOR_VALVE_SingleEntity BU3BLT05 => new FOR_VALVE_SingleEntity(62, bytes);
public FOR_VALVE_SingleEntity BU3BLT06 => new FOR_VALVE_SingleEntity(64, bytes);
public FOR_VALVE_SingleEntity BU3BLT07 => new FOR_VALVE_SingleEntity(66, bytes);
public FOR_VALVE_SingleEntity BU4BLT01 => new FOR_VALVE_SingleEntity(68, bytes);
public FOR_VALVE_SingleEntity BU4BLT02 => new FOR_VALVE_SingleEntity(70, bytes);
public FOR_VALVE_SingleEntity BU4BLT03 => new FOR_VALVE_SingleEntity(72, bytes);
public FOR_VALVE_SingleEntity BU4BLT04 => new FOR_VALVE_SingleEntity(74, bytes);
public FOR_VALVE_SingleEntity BU4BLT05 => new FOR_VALVE_SingleEntity(76, bytes);
public FOR_VALVE_SingleEntity BU4BLT06 => new FOR_VALVE_SingleEntity(78, bytes);
public FOR_VALVE_SingleEntity BU4BLT07 => new FOR_VALVE_SingleEntity(80, bytes);
public FOR_VALVE_SingleEntity BU5BLT01 => new FOR_VALVE_SingleEntity(82, bytes);
public FOR_VALVE_SingleEntity BU5BLT02 => new FOR_VALVE_SingleEntity(84, bytes);
public FOR_VALVE_SingleEntity BU5BLT03 => new FOR_VALVE_SingleEntity(86, bytes);
public FOR_VALVE_SingleEntity BU5BLT04 => new FOR_VALVE_SingleEntity(88, bytes);
public FOR_VALVE_SingleEntity BU2ASF01 => new FOR_VALVE_SingleEntity(90, bytes);
public FOR_VALVE_SingleEntity BU2ASF02 => new FOR_VALVE_SingleEntity(92, bytes);
public FOR_VALVE_SingleEntity BU2BSF01 => new FOR_VALVE_SingleEntity(94, bytes);
public FOR_VALVE_SingleEntity BU2BSF02 => new FOR_VALVE_SingleEntity(96, bytes);
public FOR_VALVE_SingleEntity BU2CSF01 => new FOR_VALVE_SingleEntity(98, bytes);
public FOR_VALVE_SingleEntity BU2CSF02 => new FOR_VALVE_SingleEntity(100, bytes);
public FOR_VALVE_SingleEntity BU2DSF01 => new FOR_VALVE_SingleEntity(102, bytes);
public FOR_VALVE_SingleEntity BU2DSF02 => new FOR_VALVE_SingleEntity(104, bytes);
public FOR_VALVE_SingleEntity BU1ADB01 => new FOR_VALVE_SingleEntity(106, bytes);
public FOR_VALVE_SingleEntity BU1BDB01 => new FOR_VALVE_SingleEntity(108, bytes);
public FOR_VALVE_SingleEntity BU1CDB01 => new FOR_VALVE_SingleEntity(110, bytes);
public FOR_VALVE_SingleEntity BU1DDB01 => new FOR_VALVE_SingleEntity(112, bytes);
public FOR_VALVE_SingleEntity BU1EDB01 => new FOR_VALVE_SingleEntity(114, bytes);
public FOR_VALVE_SingleEntity BU1FDB01 => new FOR_VALVE_SingleEntity(116, bytes);
public FOR_VALVE_SingleEntity BU1GDB01 => new FOR_VALVE_SingleEntity(118, bytes);
public FOR_VALVE_SingleEntity BU1HDB01 => new FOR_VALVE_SingleEntity(120, bytes);
public FOR_VALVE_SingleEntity BU1IDB01 => new FOR_VALVE_SingleEntity(122, bytes);
public FOR_VALVE_SingleEntity BU1JDB01 => new FOR_VALVE_SingleEntity(124, bytes);
public FOR_VALVE_SingleEntity BU1KDB01 => new FOR_VALVE_SingleEntity(126, bytes);
public FOR_VALVE_SingleEntity BU1LDB01 => new FOR_VALVE_SingleEntity(128, bytes);
public FOR_VALVE_SingleEntity BU1DRB01 => new FOR_VALVE_SingleEntity(158, bytes);
public FOR_VALVE_SingleEntity BU2DRB01 => new FOR_VALVE_SingleEntity(160, bytes);
public FOR_VALVE_SingleEntity BU3DRB01 => new FOR_VALVE_SingleEntity(162, bytes);
public FOR_VALVE_SingleEntity BU4DRB01 => new FOR_VALVE_SingleEntity(164, bytes);
public FOR_VALVE_SingleEntity BU1GEB01 => new FOR_VALVE_SingleEntity(166, bytes);
public FOR_VALVE_SingleEntity BU2GEB01 => new FOR_VALVE_SingleEntity(168, bytes);
public FOR_VALVE_SingleEntity BU3GEB01 => new FOR_VALVE_SingleEntity(170, bytes);
public FOR_VALVE_SingleEntity BU4GEB01 => new FOR_VALVE_SingleEntity(172, bytes);
public FOR_VALVE_SingleEntity BU5GEB01 => new FOR_VALVE_SingleEntity(174, bytes);
public FOR_VALVE_SingleEntity BU6GEB01 => new FOR_VALVE_SingleEntity(176, bytes);
public FOR_VALVE_SingleEntity BU7GEB01 => new FOR_VALVE_SingleEntity(178, bytes);
public FOR_VALVE_SingleEntity BU8GEB01 => new FOR_VALVE_SingleEntity(180, bytes);
public FOR_VALVE_SingleEntity BUWeter1 => new FOR_VALVE_SingleEntity(182, bytes);
public FOR_VALVE_SingleEntity BUWeter2 => new FOR_VALVE_SingleEntity(184, bytes);
public FOR_VALVE_SingleEntity BUWeter3 => new FOR_VALVE_SingleEntity(186, bytes);
public FOR_VALVE_SingleEntity BUWeter4 => new FOR_VALVE_SingleEntity(188, bytes);
public FOR_VALVE_SingleEntity BUWeter5 => new FOR_VALVE_SingleEntity(190, bytes);
public FOR_VALVE_SingleEntity BUWeter6 => new FOR_VALVE_SingleEntity(192, bytes);
public FOR_VALVE_SingleEntity BUWeter7 => new FOR_VALVE_SingleEntity(194, bytes);
public FOR_VALVE_SingleEntity BUWeter8 => new FOR_VALVE_SingleEntity(196, bytes);
public FOR_VALVE_SingleEntity BU1GEB02 => new FOR_VALVE_SingleEntity(198, bytes);
public FOR_VALVE_SingleEntity BU2GEB02 => new FOR_VALVE_SingleEntity(200, bytes);
public FOR_VALVE_SingleEntity BU3GEB02 => new FOR_VALVE_SingleEntity(202, bytes);
public FOR_VALVE_SingleEntity BU4GEB02 => new FOR_VALVE_SingleEntity(204, bytes);
public FOR_VALVE_SingleEntity BU5GEB02 => new FOR_VALVE_SingleEntity(206, bytes);
public FOR_VALVE_SingleEntity BU6GEB02 => new FOR_VALVE_SingleEntity(208, bytes);
public FOR_VALVE_SingleEntity BU7GEB02 => new FOR_VALVE_SingleEntity(210, bytes);
public FOR_VALVE_SingleEntity BU8GEB02 => new FOR_VALVE_SingleEntity(212, bytes);
}
}