using System.ComponentModel;

namespace APT.MS.Domain.Enums
{
    /// <summary>
    /// 检查类型
    /// </summary>
    public enum CheckType
    {

        /// <summary>
        /// 设备点检 10
        /// </summary>
        [Description("设备点检")]
        Check = 10,

        /// <summary>
        /// 设备巡检 20
        /// </summary>
        [Description("设备巡检")]
        CheckCircuit = 20,
    }

    /// <summary>
    /// 检查结论
    /// </summary>
    public enum CheckResult
    {
        /// <summary>
        /// 正常 10
        /// </summary>
        [Description("正常")]
        Normal = 10,

        /// <summary>
        /// 不正常 20
        /// </summary>
        [Description("不正常")]
        NotOK = 20,

        ///// <summary>
        ///// 维护保养 20
        ///// </summary>
        //[Description("维护保养")]
        //CheckWork = 20,

        ///// <summary>
        ///// 停工检修 30
        ///// </summary>
        //[Description("停工检修")]
        //CheckStop = 30,
    }

    /// <summary>
    /// 维保情况
    /// </summary>
    public enum MaintenanceResult
    {
        /// <summary>
        /// 完成 10
        /// </summary>
        [Description("完成")]
        OK = 10,

        /// <summary>
        /// 未完成 20
        /// </summary>
        [Description("未完成")]
        NotOK = 20,
    }

    /// <summary>
    /// 设备、设施、其他
    /// </summary>
    public enum DMDeviceTypeEnum
    {
        /// <summary>
        /// 设备：0
        /// </summary>
        设备 = 0,
        /// <summary>
        /// 设施：1
        /// </summary>
        设施 = 1,
        /// <summary>
        /// 其他：2
        /// </summary>
        其他 = 2,
    }
    /// <summary>
    /// 故障报修状态
    /// </summary>
    public enum DMRepairStatusEnum
    {
        /// <summary>
        /// 普通
        /// </summary>
        普通 = 0,
        /// <summary>
        /// 紧急
        /// </summary>
        紧急 = 1,

    }
    /// <summary>
    /// 检修意见
    /// </summary>
    public enum DMRepairOpinionEnum
    {
        /// <summary>
        /// 检修
        /// </summary>
        检修 = 0,
        /// <summary>
        /// 更换
        /// </summary>
        更换 = 1,

    }
    /// <summary>
    /// 检测结果
    /// </summary>
    public enum DMInspectionResultEnum
    {
        /// <summary>
        /// 合格
        /// </summary>
        合格 = 0,
        /// <summary>
        /// 不合格
        /// </summary>
        不合格 = 1,
    }
    /// <summary>
    /// 检测结果
    /// </summary>
    public enum CheckOptionEnum
    {
        /// <summary>
        /// 通过
        /// </summary>
        通过 = 0,
        /// <summary>
        /// 不通过
        /// </summary>
        不通过 = 1,
    }
    public enum DMIsReturnEnum
    {
        [Description("未归还")]
        NG = 0,
        [Description("已归还")]
        OK = 1,
        [Description("无需归还")]
        NULL = 2,
    }
}
