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.

68 lines
1.5 KiB
C#

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