ERRNOs.cs 1.69 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
using FLY.OBJComponents.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FLY.FeedbackRenZiJia.Common
{
    public static class ERRNOs
    {
        static ERRNOs()
        {
            ERRNO_PLC_DISCONNECTED = new ERRNO() { Code = 255, Descrption = "风环 PLC连接断开" };

            #region 收卷
            ERRNO_NO_FAN = new ERRNO() { Code = 0, Descrption = "风机没开,不能加热" , OffIsError=true};
            ERRNO_OPEN_CIRCUIT = new ERRNO() { Code = 1, Descrption = "加热棒断路" };
            ERRNO_SHORT_CIRCUIT = new ERRNO() { Code = 2, Descrption = "加热控制板短路" };
            ERRNO_POWER_OFF = new ERRNO() { Code = 3, Descrption = "电源没开启或电流计损坏" };
            ERRNO_NO_VELOCITY = new ERRNO() { Code = 4, Descrption = "线速度=0,没生产" };
            #endregion
        }
        #region 报警类型
        /// <summary>
        /// PLC连接断开
        /// </summary>
        public static ERRNO ERRNO_PLC_DISCONNECTED;
        /// <summary>
        /// 1.风机没开,不能加热
        /// </summary>
        public static ERRNO ERRNO_NO_FAN;
        /// <summary>
        /// 2.有加热棒断路
        /// </summary>
        public static ERRNO ERRNO_OPEN_CIRCUIT;
        /// <summary>
        /// 3.加热控制板短路
        /// </summary>
        public static ERRNO ERRNO_SHORT_CIRCUIT;
        /// <summary>
        /// 电源没开启或电流计损坏
        /// </summary>
        public static ERRNO ERRNO_POWER_OFF;
        /// <summary>
        /// 线速度=0,没生产
        /// </summary>
        public static ERRNO ERRNO_NO_VELOCITY;

        #endregion


    }
}