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 System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计划状态枚举类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum PlanState
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新增等待
|
|
|
|
|
/// </summary>
|
|
|
|
|
Waiting = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行
|
|
|
|
|
/// </summary>
|
|
|
|
|
Received = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 完成
|
|
|
|
|
/// </summary>
|
|
|
|
|
Completed = 2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 终止
|
|
|
|
|
/// </summary>
|
|
|
|
|
Terminated = 3,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 未知状态
|
|
|
|
|
///// </summary>
|
|
|
|
|
//UnKnow = -1,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 初始化
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Init = 0,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 新增(网络计划)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//New = 1,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 下达(网络计划)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Issued = 2,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 正在运行(机台接收网络)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Producting = 3,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 已下传(机台计划)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Download = 4,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 未启动(PLC)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//UnStart = 5,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 运行中(PLC)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Received = 6,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 已终止(PLC)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Terminated = 7,
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 已完成(PLC)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//Completed = 8
|
|
|
|
|
}
|
|
|
|
|
}
|