using Jc.SnowId;
using Khd.Core.Plc.S7;

namespace Khd.Core.Wpf
{
    public class PlcConfig
    {
        public CpuType CpuType { get; set; }
        public string IP { get; set; }
        public int Port { get; set; }
        public short Rack { get; set; }
        public short Slot { get; set; }
        public int Code { get; set; }
    }
    public static class ConnectionStrings
    {
        public static string ConnectionString { get; set; }
    }
    public class CommonLock
    {
        public static object tableLock = new object();
        public static object Xlock = new object();
    }
    public static class ThriftConfig
    {
        public static string ThriftIpAddress { get; set; }
        public static int JiesShouDuanKou { get; set; }
        public static int TuiSongDuankou { get; set; }
        public static string UpSite { get; set; }
    }
    public static class FlagConfig
    {
        /// <summary>
        /// 上件数量
        /// </summary>
        public static int UpFlagNum { get; set; }
    }
    public static class Global
    {
        public static JcSnowId SnowId = new JcSnowId();
    }

}
