using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FLY.Thick.Blowing.Common
{
    public class FlyADIODefine : FLY.Thick.Base.Common.FlyADIODefine
    {
        public static new FlyADIODefine Instance => (FlyADIODefine)instance;

        /// <summary>
        /// 急停 and 手动正转
        /// </summary>
        [Description("旋转架转向信号0")]
        public int InNo_Limit0 { get; protected set; } = 9 - 1;

        /// <summary>
        /// 急停 and 手动反转
        /// </summary>
        [Description("旋转架转向信号1")]
        public int InNo_Limit1 { get; protected set; } = 10 - 1;

        protected override List<string> GetInputPropertyNames()
        {
            return new List<string> {
                nameof(InNo_Limit0),
                nameof(InNo_Limit1),
                nameof(InNo_Roll)
            };
        }
        protected override List<string> GetOutputPropertyNames()
        {
            return new List<string> {
                nameof(OutNo_Alarm)
            };
        }
    }
}