CtuScope.cs 1.4 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CtuDeviceLib.model
{
    /// <summary>
    /// ctu 责任区域
    /// </summary>
    public class CtuScope
    {
        /// <summary>
        /// 启用的设备名
        /// </summary>
        public static List<string> OpenedEquips = new List<string>();
        /// <summary>
        /// 是否分配完成
        /// </summary>
        public static bool IsAssigned = false;

       public static List<CtuScope> ctuScopes = new List<CtuScope>();

        public CtuScope(string name)
        {
            ScopeName = name;
            CtuName = "";
            OutEquipNames = new List<string>();
            LaneCodes = new List<string>();
            ctuScopes.Add(this);
        }
        /// <summary>
        /// 区域名
        /// </summary>
        public string ScopeName { get; set; }
        /// <summary>
        /// 料箱类型
        /// </summary>
        public List<string> BoxTypes { get; set; } = new List<string>();
        /// <summary>
        /// CTU名称
        /// </summary>
        public string CtuName { get; set; }
        /// <summary>
        /// 负责的出料机构名
        /// </summary>
        public List<string> OutEquipNames { get; set; }
        /// <summary>
        /// 巷道码
        /// </summary>
        public List<string> LaneCodes { get; set; }

    }
}