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

31 lines
1.2 KiB
C#

using DataBlockHelper.Entity.DB2102Entity;
using DataBlockHelper.Entity.DB2119Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper.DBHelpers
{
public class DB2119Helper : DBHelper
{
public DB2119Helper()
{
bytes = PlcConnect.Instance.Read("DB2119.0.0", 138).Content;
}
public WaterTempEntity Hotwater_A => new WaterTempEntity(0, bytes);
public WaterTempEntity Hotwater_B => new WaterTempEntity(10, bytes);
public WaterTempEntity Coolwater_A => new WaterTempEntity(20, bytes);
public WaterTempEntity Coolwater_B => new WaterTempEntity(30, bytes);
public SprialTempEntity Spiral_A => new SprialTempEntity(40, bytes);
public SprialTempEntity Spiral_B => new SprialTempEntity(62, bytes);
public SprialTempEntity Spiral_C => new SprialTempEntity(84, bytes);
public ForceWaterEntity Force_HA => new ForceWaterEntity(106, bytes);
public ForceWaterEntity Force_HB => new ForceWaterEntity(114, bytes);
public ForceWaterEntity Force_CA => new ForceWaterEntity(122, bytes);
public ForceWaterEntity Force_CB => new ForceWaterEntity(130, bytes);
}
}