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

namespace Pms.UserEvent.Model
{
    public class CallCarToDB
    {
        public string CallName { get; set; }

        public string CallPlcDB { get; set; }

        public string GetFetalToolDB { get; set; }

        public byte writeAddress { get; set; }

        public int type { get; set; }

        public int IsReadData { get; set; }
    }

    public class DockIPSetting
    {
        private int port;
        public int Port
        {
            get { return port; }
            set { port = value; }
        }

        private string _PLCIPAddress = "127.0.0.1";
        public string PLCIPAddress
        {
            get { return _PLCIPAddress; }
            set { _PLCIPAddress = value; }
        }
        /// <summary>
        /// 机架号
        /// </summary>
        private int _PLCRack;
        public int PLCRack
        {
            get { return _PLCRack; }
            set { _PLCRack = value; }
        }

        private int _Slot;
        public int Slot
        {
            get { return _Slot; }
            set { _Slot = value; }
        }
    }
}
