StoreConfig.cs 1.1 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineStore.LoadCSVLibrary
{
  public   class StoreConfig : BaseConfig
    {
        public StoreConfig()
            : base()
        {
        }
        public StoreConfig(int id, string cid, string type, string filepath)
            : base(id, cid, type, filepath)
        {
        }
         
        /// <summary>
        /// 气压检测IO关闭需要持续的时间(=3表示需要关闭三秒以上才算关闭)
        /// </summary>
        [ConfigProAttribute("AirCheckSeconds")]
        public int AirCheckSeconds { get; set; }



        /// <summary>
        ///  PRO	IO信号超时时间(毫秒)	IOSingle_TimerOut	5000
        /// </summary>
        [ConfigProAttribute("IOSingle_TimerOut", false)]
        public int IOSingle_TimerOut { get; set; }
      

        public int InoutAxis_PositionMax { get; set; }
    

        public ushort GetDOLength(string ioIp)
        {
            return 16;
        }

        public int GetDILength(string ip)
        {
            return 16;
        }
    }
}