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.DB2104Entity;
|
|
|
|
|
using DataBlockHelper.Entity.DB2106Entity;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DataBlockHelper.DBHelpers
|
|
|
|
|
{
|
|
|
|
|
public class DB2106Helper
|
|
|
|
|
{
|
|
|
|
|
byte[] bytes;
|
|
|
|
|
public DB2106Helper()
|
|
|
|
|
{
|
|
|
|
|
this.bytes = PlcConnect.Instance.Read("DB2106.0.0", 5648).Content;
|
|
|
|
|
}
|
|
|
|
|
public DryerReportEntity DryReport => new DryerReportEntity(0, bytes);
|
|
|
|
|
public GelReportEntity GelReport => new GelReportEntity(1072, bytes);
|
|
|
|
|
public WetMixingEntity WetReport => new WetMixingEntity(3568, bytes);
|
|
|
|
|
}
|
|
|
|
|
}
|