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

84 lines
1.9 KiB
C#

using DataBlockHelper.Entity.DB2107Entity;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper.DBHelpers
{
public class DB2107Helper
{
public NormalStatusEntity NormalStatus => NormalS();
private NormalStatusEntity NormalS()
{
return new NormalStatusEntity();
}
public ControlSignEntity ControlSign => ControlS();
private ControlSignEntity ControlS()
{
return new ControlSignEntity();
}
public PressureEntity Pressure => Press();
private PressureEntity Press()
{
return new PressureEntity();
}
public PIDEntity PID => Pid();
private PIDEntity Pid()
{
return new PIDEntity();
}
public WeightEntity Weight => Weigh();
private WeightEntity Weigh()
{
return new WeightEntity();
}
public WeightPraEntity WeightPra => WeightP();
private WeightPraEntity WeightP()
{
return new WeightPraEntity();
}
public SpeedEntity Speed => Spee();
private SpeedEntity Spee()
{
return new SpeedEntity();
}
public List<UntiStatusHMIArrayEntity> Dryer => new UntiStatusHMIArrayManager(4, 1408, 32).GetList();
public List<UntiStatusHMIArrayEntity> Gelater => new UntiStatusHMIArrayManager(8, 1536, 32).GetList();
public List<UntiStatusHMIArrayEntity> Weter => new UntiStatusHMIArrayManager(8, 1792, 32).GetList();
public ValveEntity Valve => Val();
private ValveEntity Val()
{
return new ValveEntity();
}
public LevelEntity Level => Lev();
private LevelEntity Lev()
{
return new LevelEntity();
}
}
}