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

93 lines
6.6 KiB
C#

using DataBlockHelper.Entity.DB1Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper.DBHelpers
{
public class DB1Helper : DBHelper
{
public DB1Helper()
{
bytes = PlcConnect.Instance.Read("DB1.0.0", 552).Content;
}
public ForAoaLogInFC3005Entity PR1DBT01 => new ForAoaLogInFC3005Entity(0, bytes);
public ForAoaLogInFC3005Entity PR1DBT02 => new ForAoaLogInFC3005Entity(8, bytes);
public ForAoaLogInFC3005Entity PR1DBT03 => new ForAoaLogInFC3005Entity(16, bytes);
public ForAoaLogInFC3005Entity PR1DBT04 => new ForAoaLogInFC3005Entity(24, bytes);
public ForAoaLogInFC3005Entity PR2DBT01 => new ForAoaLogInFC3005Entity(32, bytes);
public ForAoaLogInFC3005Entity PR2DBT02 => new ForAoaLogInFC3005Entity(40, bytes);
public ForAoaLogInFC3005Entity PR2DBT03 => new ForAoaLogInFC3005Entity(48, bytes);
public ForAoaLogInFC3005Entity PR2DBT04 => new ForAoaLogInFC3005Entity(56, bytes);
public ForAoaLogInFC3005Entity PR3DBT01 => new ForAoaLogInFC3005Entity(64, bytes);
public ForAoaLogInFC3005Entity PR3DBT02 => new ForAoaLogInFC3005Entity(72, bytes);
public ForAoaLogInFC3005Entity PR3DBT03 => new ForAoaLogInFC3005Entity(80, bytes);
public ForAoaLogInFC3005Entity PR3DBT04 => new ForAoaLogInFC3005Entity(88, bytes);
public ForAoaLogInFC3005Entity PR1ASI01 => new ForAoaLogInFC3005Entity(96, bytes);
public ForAoaLogInFC3005Entity PR1BSI01 => new ForAoaLogInFC3005Entity(104, bytes);
public ForAoaLogInFC3005Entity PR1CSI01 => new ForAoaLogInFC3005Entity(112, bytes);
public ForAoaLogInFC3005Entity PR1DSI01 => new ForAoaLogInFC3005Entity(120, bytes);
public ForAoaLogInFC3005Entity PR1ESI01 => new ForAoaLogInFC3005Entity(128, bytes);
public ForAoaLogInFC3005Entity PR1FSI01 => new ForAoaLogInFC3005Entity(136, bytes);
public ForAoaLogInFC3005Entity PR1GSI01 => new ForAoaLogInFC3005Entity(144, bytes);
public ForAoaLogInFC3005Entity PR1HSI01 => new ForAoaLogInFC3005Entity(152, bytes);
public ForAoaLogInFC3005Entity PR1ISI01 => new ForAoaLogInFC3005Entity(160, bytes);
public ForAoaLogInFC3005Entity PR1JSI01 => new ForAoaLogInFC3005Entity(168, bytes);
public ForAoaLogInFC3005Entity PR1OSI01 => new ForAoaLogInFC3005Entity(176, bytes);
public ForAoaLogInFC3005Entity PR1PCP01 => new ForAoaLogInFC3005Entity(184, bytes);
public ForAoaLogInFC3005Entity PR1PCP02 => new ForAoaLogInFC3005Entity(192, bytes);
public ForAoaLogInFC3005Entity PR1PCP03 => new ForAoaLogInFC3005Entity(200, bytes);
public ForAoaLogInFC3005Entity LS1ASI01 => new ForAoaLogInFC3005Entity(208, bytes);
public ForAoaLogInFC3005Entity LS1BSI01 => new ForAoaLogInFC3005Entity(216, bytes);
public ForAoaLogInFC3005Entity LS1CSI01 => new ForAoaLogInFC3005Entity(224, bytes);
public ForAoaLogInFC3005Entity LS1DSI01 => new ForAoaLogInFC3005Entity(232, bytes);
public ForAoaLogInFC3005Entity LS1ESI01 => new ForAoaLogInFC3005Entity(240, bytes);
public ForAoaLogInFC3005Entity LS1FSI01 => new ForAoaLogInFC3005Entity(248, bytes);
public ForAoaLogInFC3005Entity LS1GSI01 => new ForAoaLogInFC3005Entity(256, bytes);
public ForAoaLogInFC3005Entity LS1HSI01 => new ForAoaLogInFC3005Entity(264, bytes);
public ForAoaLogInFC3005Entity LS1ISI01 => new ForAoaLogInFC3005Entity(272, bytes);
public ForAoaLogInFC3005Entity LS1JSI01 => new ForAoaLogInFC3005Entity(280, bytes);
public ForAoaLogInFC3005Entity LS1OSI01 => new ForAoaLogInFC3005Entity(288, bytes);
public ForAoaLogInFC3005Entity HR1ASI01 => new ForAoaLogInFC3005Entity(296, bytes);
public ForAoaLogInFC3005Entity HR1BSI01 => new ForAoaLogInFC3005Entity(304, bytes);
public ForAoaLogInFC3005Entity HR1CSI01 => new ForAoaLogInFC3005Entity(312, bytes);
public ForAoaLogInFC3005Entity HR1DSI01 => new ForAoaLogInFC3005Entity(320, bytes);
public ForAoaLogInFC3005Entity HR1ESI01 => new ForAoaLogInFC3005Entity(328, bytes);
public ForAoaLogInFC3005Entity HR1FSI01 => new ForAoaLogInFC3005Entity(336, bytes);
public ForAoaLogInFC3005Entity HR1GSI01 => new ForAoaLogInFC3005Entity(344, bytes);
public ForAoaLogInFC3005Entity HR1HSI01 => new ForAoaLogInFC3005Entity(352, bytes);
public ForAoaLogInFC3005Entity HR1ISI01 => new ForAoaLogInFC3005Entity(360, bytes);
public ForAoaLogInFC3005Entity HR1JSI01 => new ForAoaLogInFC3005Entity(368, bytes);
public ForAoaLogInFC3005Entity HR1OSI01 => new ForAoaLogInFC3005Entity(376, bytes);
public ForAoaLogInFC3006Entity SPV1DBT01 => new ForAoaLogInFC3006Entity(384, bytes);
public ForAoaLogInFC3006Entity SPV1DBT02 => new ForAoaLogInFC3006Entity(392, bytes);
public ForAoaLogInFC3006Entity SPV2DBT01 => new ForAoaLogInFC3006Entity(400, bytes);
public ForAoaLogInFC3006Entity SPV2DBT02 => new ForAoaLogInFC3006Entity(408, bytes);
public ForAoaLogInFC3006Entity SPV3DBT01 => new ForAoaLogInFC3006Entity(416, bytes);
public ForAoaLogInFC3006Entity SPV3DBT02 => new ForAoaLogInFC3006Entity(424, bytes);
public ForAoaLogInFC3005Entity From_SiloA => new ForAoaLogInFC3005Entity(432, bytes);
public ForAoaLogInFC3005Entity From_SiloB => new ForAoaLogInFC3005Entity(440, bytes);
public ForAoaLogInFC3005Entity From_SiloC => new ForAoaLogInFC3005Entity(448, bytes);
public ForAoaLogInFC3005Entity From_SiloD => new ForAoaLogInFC3005Entity(456, bytes);
public ForAoaLogInFC3005Entity From_SiloE => new ForAoaLogInFC3005Entity(464, bytes);
public ForAoaLogInFC3005Entity From_SiloF => new ForAoaLogInFC3005Entity(472, bytes);
public ForAoaLogInFC3005Entity From_SiloG => new ForAoaLogInFC3005Entity(480, bytes);
public ForAoaLogInFC3005Entity From_SiloH => new ForAoaLogInFC3005Entity(488, bytes);
public ForAoaLogInFC3005Entity From_SiloI => new ForAoaLogInFC3005Entity(496, bytes);
public ForAoaLogInFC3005Entity From_SiloJ => new ForAoaLogInFC3005Entity(504, bytes);
public ForAoaLogInFC3005Entity From_SiloK => new ForAoaLogInFC3005Entity(512, bytes);
public ForAoaLogInFC3005Entity From_SiloL => new ForAoaLogInFC3005Entity(520, bytes);
public ForAoaLogInFC3005Entity From_SiloM => new ForAoaLogInFC3005Entity(528, bytes);
public ForAoaLogInFC3005Entity From_SiloN => new ForAoaLogInFC3005Entity(536, bytes);
public ForAoaLogInFC3005Entity From_SiloO => new ForAoaLogInFC3005Entity(544, bytes);
}
}