EnumStatusType.cs 3.09 KB
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Hh.Mes.POJO.EnumEntitys
{
    /// <summary>
    /// PLC 
    /// </summary>
    public enum EnumtIsWriteState
    {
        清除 = 0,

        写入 = 1,
    }

    public enum EnumAction
    {
        /// <summary>
        /// 新增,isDelete=1
        /// </summary>
        I,
        /// <summary>
        /// 修改,isDelete=1
        /// </summary>
        U,
        /// <summary>
        /// 删除,isDelete=0
        /// </summary>
        D
    }

    public enum EnumDeleteOrAdd
    {
        新增或更新 = 1,

        删除 = 0
    }

    /// <summary>
    /// 叫料状态 10,20
    /// </summary>
    public enum EnumLocationAskingStatus
    {
        未叫料 = 10,

        已叫料 = 20,

        已装料 = 30,

        已送料 = 40,
    }

    /// <summary>
    ///料点状态
    /// </summary>
    public enum EnumLocationStatus
    {
        空闲 = 10,

        锁定 = 20
    }

    /// <summary>
    ///料点状态 10、20、30、100
    /// </summary>
    public enum EnumLoadData
    {
        已装料 = 10,

        配送完成 = 20,

        使用中 = 30,

        完成 = 100
    }

    /// <summary>
    /// 库位(料点区域)
    /// </summary>
    public enum EnumLocationzoneCode
    {
        组队上料区 = 10,

        人工装料区 = 20
    }

    /// <summary>
    /// 料点区域编码 (装料点=10、上料点=20、转运点=30)
    /// </summary>
    public enum EnumLocationZoneCode
    {
        装料点 = 10,

        上料点 = 20,

        转运点 = 30
    }


    /// <summary>
    /// 库存状态
    /// </summary>
    public enum InventoryStatus
    {
        /// <summary>
        /// 次品
        /// </summary>
        defective,

        /// <summary>
        /// 待确认
        /// </summary>
        discussed,

        /// <summary>
        /// 良品
        /// </summary>
        good,

        /// <summary>
        /// 报废品
        /// </summary>
        scrap
    }

    /// <summary>
    /// 项目工程表-项目状态-记录项目的当前状态
    /// </summary>
    public enum EnumProjectStatus
    {
        进行中 = 10,
        已完成 = 20,
        已取消 = 30,
    }


    /// <summary>
    /// 设备状态 
    /// </summary>
    public enum EquipmentStatus
    {
		/// <summary>
		/// 运行
		/// </summary>
		Running = 10,

		/// <summary>
		/// 空闲
		/// </summary>
		Free = 20,

		/// <summary>
		/// 故障
		/// </summary>
		Failure = 30,

        /// <summary>
        /// 故障
        /// </summary>
        Error = 60,


        /// <summary>
        /// 离线
        /// </summary>
        Offline = 40
    }

    /// <summary>
    /// 设备部件 保养状态
    /// </summary>
    public enum MaintainStatus
    {
        /// <summary>
        /// 待保养
        /// </summary>
        ToBeMaintain=10,

        /// <summary>
        /// 已保养
        /// </summary>
        Maintained=20,

        /// <summary>
        /// 逾期
        /// </summary>
        OverTime=30
    }
}