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 : DBHelper
|
|
|
|
|
{
|
|
|
|
|
public DB2106Helper()
|
|
|
|
|
{
|
|
|
|
|
this.bytes = PlcConnect.Instance.Read("DB2106.0.0", 6440).Content;
|
|
|
|
|
}
|
|
|
|
|
public DryerReportEntity DryReport => new DryerReportEntity(bytes);
|
|
|
|
|
public GelReportEntity GelReport => new GelReportEntity(1864, bytes);
|
|
|
|
|
public WetMixingEntity WetReport => new WetMixingEntity(4360, bytes);
|
|
|
|
|
}
|
|
|
|
|
}
|