using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MaterialTraceability.Entity.DTO { /// /// 信号获取步骤 /// public sealed class SingalStep { /// /// 使用Lazy实现单例模式 /// private static readonly Lazy lazy = new Lazy(() => new SingalStep()); public static SingalStep Instance { get { return lazy.Value; } } private SingalStep() { } /// /// 放卷涨紧信号 /// public bool upBegin { get; set; } /// /// 放卷位、正式生产信号(防呆、待定) /// public bool upProduction { get; set; } /// /// 放卷位、结束信号 /// public bool upEnd { get; set; } /// /// 收卷位、涨紧信号 /// public bool downBegin { get; set; } /// /// 收卷位、即将生产信号(涂布工位) /// public bool downProduction { get; set; } /// /// 收卷位、即将完工信号 /// public bool downFinish { get; set; } /// /// 收卷位、结束信号 /// public bool downEnd { get; set; } } }