ProductInfo.cs 1.9 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceLibrary.Models
{
    /// <summary>
    /// 产品信息
    /// </summary>
    public class ProductInfo
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 产品类型
        /// </summary>
        public ProductType Type { get; set; } = ProductType.NONE;
        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; } = "";


    }

    /// <summary>
    /// 产品类型
    /// </summary>
    public enum ProductType
    {
        /// <summary>
        /// 默认:无
        /// </summary>
        NONE,
        /// <summary>
        /// PCB
        /// </summary>
        PCB,
        /// <summary>
        /// 托盘
        /// </summary>
        Tray,
        /// <summary>
        /// PCBA
        /// </summary>
        PCBA,
        /// <summary>
        /// 治具
        /// </summary>
        HealingGear,
        /// <summary>
        /// 包材
        /// </summary>
        PackageMaterial,
        /// <summary>
        /// 模块
        /// </summary>
        Module,
        /// <summary>
        /// 静电箱
        /// </summary>
        StaticBox,
        /// <summary>
        /// 成品
        /// </summary>
        FinishedProduct,
        /// <summary>
        /// 台车
        /// </summary>
        Trolley,
        /// <summary>
        /// SMT物料
        /// </summary>
        SMTMaterial,
        /// <summary>
        /// 垃圾
        /// </summary>
        Litter,
        /// <summary>
        /// 半成品
        /// </summary>
        SemiFinishedProducts
    }
}