|
|
|
|
using DataBlockHelper.Entity.DB90Entity;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Security.Cryptography;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DataBlockHelper.DBHelpers
|
|
|
|
|
{
|
|
|
|
|
public class DB90Helper : DBHelper
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public DB90Helper()
|
|
|
|
|
{
|
|
|
|
|
bytes = PlcConnect.Instance.Read("DB90.0.0", 154).Content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ForValveSingleEntity BU3DBT06 => new ForValveSingleEntity(0, bytes);
|
|
|
|
|
public ForValveSingleEntity BU3DBT07 => new ForValveSingleEntity(2, bytes);
|
|
|
|
|
public ForValveSingleEntity BU1DBT01 => new ForValveSingleEntity(4, bytes);
|
|
|
|
|
public ForValveSingleEntity BU1DBT03 => new ForValveSingleEntity(6, bytes);
|
|
|
|
|
public ForValveSingleEntity BU1DBT02 => new ForValveSingleEntity(8, bytes);
|
|
|
|
|
public ForValveSingleEntity BU1DBT04 => new ForValveSingleEntity(10, bytes);
|
|
|
|
|
public ForValveSingleEntity BU2DBT01 => new ForValveSingleEntity(12, bytes);
|
|
|
|
|
public ForValveSingleEntity BU2DBT03 => new ForValveSingleEntity(14, bytes);
|
|
|
|
|
public ForValveSingleEntity BU2DBT02 => new ForValveSingleEntity(16, bytes);
|
|
|
|
|
public ForValveSingleEntity BU2DBT04 => new ForValveSingleEntity(18, bytes);
|
|
|
|
|
public ForValveSingleEntity BU3DBT01 => new ForValveSingleEntity(20, bytes);
|
|
|
|
|
public ForValveSingleEntity BU3DBT03 => new ForValveSingleEntity(22, bytes);
|
|
|
|
|
public ForValveSingleEntity BU3DBT02 => new ForValveSingleEntity(24, bytes);
|
|
|
|
|
public ForValveSingleEntity BU3DBT04 => new ForValveSingleEntity(26, bytes);
|
|
|
|
|
public ForValveSingleEntity BU1DBT06 => new ForValveSingleEntity(28, bytes);
|
|
|
|
|
public ForValveSingleEntity BU1DBT07 => new ForValveSingleEntity(30, bytes);
|
|
|
|
|
public ForValveSingleEntity BU2DBT06 => new ForValveSingleEntity(32, bytes);
|
|
|
|
|
public ForValveSingleEntity BU2DBT07 => new ForValveSingleEntity(34, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT01 => new ForValveSingleEntity(36, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT02 => new ForValveSingleEntity(38, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT03 => new ForValveSingleEntity(40, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT04 => new ForValveSingleEntity(42, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT05 => new ForValveSingleEntity(44, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT06 => new ForValveSingleEntity(46, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DBT07 => new ForValveSingleEntity(48, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT01 => new ForValveSingleEntity(50, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT02 => new ForValveSingleEntity(52, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT03 => new ForValveSingleEntity(54, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT04 => new ForValveSingleEntity(56, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT05 => new ForValveSingleEntity(58, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT06 => new ForValveSingleEntity(60, bytes);
|
|
|
|
|
public ForValveSingleEntity AS2DBT07 => new ForValveSingleEntity(62, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT01 => new ForValveSingleEntity(64, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT02 => new ForValveSingleEntity(66, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT03 => new ForValveSingleEntity(68, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT04 => new ForValveSingleEntity(70, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT05 => new ForValveSingleEntity(72, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT06 => new ForValveSingleEntity(74, bytes);
|
|
|
|
|
public ForValveSingleEntity AS3DBT07 => new ForValveSingleEntity(76, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1PCP01 => new ForValveSingleEntity(78, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1PCP02 => new ForValveSingleEntity(80, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1PCP03 => new ForValveSingleEntity(82, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1ASI01 => new ForValveSingleEntity(84, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1BSI01 => new ForValveSingleEntity(86, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1CSI01 => new ForValveSingleEntity(88, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1DSI01 => new ForValveSingleEntity(90, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1ESI01 => new ForValveSingleEntity(92, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1FSI01 => new ForValveSingleEntity(94, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1GSI01 => new ForValveSingleEntity(96, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1HSI01 => new ForValveSingleEntity(98, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1ISI01 => new ForValveSingleEntity(100, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1JSI01 => new ForValveSingleEntity(102, bytes);
|
|
|
|
|
public ForValveSingleEntity AS1OSI01 => new ForValveSingleEntity(104, bytes);
|
|
|
|
|
public ForValveSingleEntity SV1DSM01 => new ForValveSingleEntity(106, bytes);
|
|
|
|
|
public ForValveSingleEntity SV1DSM02 => new ForValveSingleEntity(108, bytes);
|
|
|
|
|
public ForValveSingleEntity SV2DSM01 => new ForValveSingleEntity(110, bytes);
|
|
|
|
|
public ForValveSingleEntity SV2DSM02 => new ForValveSingleEntity(112, bytes);
|
|
|
|
|
public ForValveSingleEntity SV3DSM01 => new ForValveSingleEntity(114, bytes);
|
|
|
|
|
public ForValveSingleEntity SV3DSM02 => new ForValveSingleEntity(116, bytes);
|
|
|
|
|
public ForValveSingleEntity PV1GDC01 => new ForValveSingleEntity(118, bytes);
|
|
|
|
|
public ForValveSingleEntity PV1GDC02 => new ForValveSingleEntity(120, bytes);
|
|
|
|
|
|
|
|
|
|
public ForValveDoubleEntity DV1PCP01 => new ForValveDoubleEntity(122, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP02 => new ForValveDoubleEntity(124, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP03 => new ForValveDoubleEntity(126, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP04 => new ForValveDoubleEntity(128, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP05 => new ForValveDoubleEntity(130, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP06 => new ForValveDoubleEntity(132, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP07 => new ForValveDoubleEntity(134, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP08 => new ForValveDoubleEntity(136, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP09 => new ForValveDoubleEntity(138, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP10 => new ForValveDoubleEntity(140, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP11 => new ForValveDoubleEntity(142, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP12 => new ForValveDoubleEntity(144, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP13 => new ForValveDoubleEntity(146, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP14 => new ForValveDoubleEntity(148, bytes);
|
|
|
|
|
public ForValveDoubleEntity DV1PCP15 => new ForValveDoubleEntity(150, bytes);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ForValveSingleEntity SV1GDS01 => new ForValveSingleEntity(152, bytes);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|