schangxiang@126.com
2024-09-05 8e7cedac32ff2f3b73a9a832fc195311f05962fe
DataCapture/iWare_SCADA_DataCapture/iWare_SCADA_Model/Enums.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -64,21 +65,67 @@
    /// <summary>
    /// 质量状态
    /// </summary>
    public enum QualityState
    public enum QualityStateEnum
    {
        /// <summary>
        /// 合格
        /// </summary>
        [Description("合格")]
        OK = 1,
        /// <summary>
        /// 不合格
        /// </summary>
        [Description("不合格")]
        NG = 2,
        /// <summary>
        /// 疑似
        /// </summary>
        [Description("疑似")]
        Suspected = 3
    }
    /// <summary>
    /// 不合格原因 【Editby shaocx,2024-06-26】
    /// </summary>
    public enum QualityNoOkEnum
    {
        OP10厚度超差 = 2,
        OP20小头孔直径超差 = 3,
        OP30涨断工位力矩超差 = 4,
        OP35滚压力超差 = 5,
        OP40厚度超差 = 6,
        OP60小头孔直径超差 = 8,
        OP80尺寸超差 = 10,
        OP30预拧紧工位力矩超差 = 11,
        OP30终拧紧工位力矩超差 = 12,
        OP30压衬套工位力矩超差 = 13,
        OP60大头孔直径超差 = 14,
        OP80重量超差 = 15,
        OP80大头孔直径超差 = 16,
        OP80小头孔直径超差 = 17,
        OP80中心距超差 = 18,
        OP80大头孔圆柱度超差 = 19,
        OP80小头孔圆度上面超差 = 20,
        OP80小头孔圆度下面超差 = 21,
        OP80小头孔平行度扭曲超差 = 22,
        OP80小头孔平行度弯曲超差 = 23,
        OP80大头孔垂直度超差 = 24,
        OP80小头孔垂直度超差 = 25,
        OP80厚度超差 = 26,
        OP80大头端重量超差 = 27,
        OP80小头端重量超差 = 28,
        OP80打标不合格 = 30,
        OP80打标识别不合格 = 31,
        OP80称重不合格 = 32,
        OP80测量不合格 = 33,
    }
    /// <summary>
    /// 质量状态修改方式
    /// </summary>
@@ -175,7 +222,81 @@
        #endregion
        /// <summary>
        /// 定时删除数据
        /// </summary>
        DeleteData = 500,
        /// <summary>
        /// 清洗机采集数据
        /// </summary>
        OP7009 = 503,
        /// <summary>
        /// 监控测试数据
        /// </summary>
        MonitorTest = 504,
        /// <summary>
        /// 监控OP50哪个面
        /// </summary>
        MonitorOP50Side = 505,
        //新增 【Editby shaocx,2024-08-31】
        /// <summary>
        /// 其他上线
        /// </summary>
        OtherOnLine = 509,
        /// <summary>
        /// OP5001A
        /// </summary>
        OP5001A = 510,
        /// <summary>
        /// OP5001B
        /// </summary>
        OP5001B = 511,
        /// <summary>
        /// OP3001
        /// </summary>
        OP3001 = 512,
        /// <summary>
        /// OP3501
        /// </summary>
        OP3501 = 513,
        /// <summary>
        /// OP6001
        /// </summary>
        OP6001 = 514,
        /// <summary>
        /// OP7001
        /// </summary>
        OP7001 = 515,
        /// <summary>
        /// OP8001
        /// </summary>
        OP8001 = 516,
        /// <summary>
        /// OP1002
        /// </summary>
        OP1002 = 518,
        /// <summary>
        /// OP1003
        /// </summary>
        OP1003 = 519,
        OP2002A = 520,
        OP2002B = 521,
        OP2002C = 522,
    }