CtuScope.cs
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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; }
}
}