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.
|
|
|
|
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", 106).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);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|