CtuStandby.cs
1.7 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
56
57
58
59
60
61
62
63
using Mushiny;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms.VisualStyles;
namespace CtuDeviceLib
{
/// <summary>
/// CTU待机点
/// </summary>
public class CtuStandby
{
/// <summary>
/// 占用的CTU IP
/// </summary>
public string OccupiedCtu { get; set; } = "";
/// <summary>
/// 主要送的分拣机构
/// </summary>
public List<string> NearedEquips { get; set; }=new List<string>();
/// <summary>
/// 该机构无ctu送时,分担送料箱
/// </summary>
public List<string> SubEquips { get; set; } = new List<string>();
/// <summary>
/// 地标
/// </summary>
public uint PointCode { get; set; }
/// <summary>
/// 待机点名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 目标名称
/// </summary>
public string DstPoint { get; set; }
/// <summary>
/// 待机点组
/// </summary>
public string StandbyGroup { get; set; } = "";
/// <summary>
/// 料箱类型
/// </summary>
public List<string> BoxTypes { get; set; }= new List<string>();
/// <summary>
/// 任务巷道
/// </summary>
public List<string> LaneWays { get; set; } = new List<string>();
/// <summary>
/// 是否占用
/// </summary>
/// <returns></returns>
public bool IsOccupied()
{
return !string.IsNullOrEmpty(OccupiedCtu);
}
}
}