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.
23 lines
672 B
C#
23 lines
672 B
C#
using DataBlockHelper.Entity.DB2107Entity;
|
|
using DataBlockHelper.Entity.DB2105Entity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DataBlockHelper.DBHelpers
|
|
{
|
|
public class DB2105Helper : DBHelper
|
|
{
|
|
public DB2105Helper()
|
|
{
|
|
this.bytes = PlcConnect.Instance.Read("DB2105.0.0", 52).Content;
|
|
}
|
|
public List<PlanEntity> Plan => new PlanArrayManager(4, 0, 12, bytes).GetList();
|
|
public bool[] Status => new FourBoolArrayManager(48, bytes).GetList();
|
|
public bool[] End => new FourBoolArrayManager(50, bytes).GetList();
|
|
|
|
}
|
|
}
|