Config_TaskSplit.cs
1.75 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
64
65
66
67
68
69
70
71
72
73
using RCS.Model.Comm;
using RCS.Model.Entity.PrimaryKey;
using System.ComponentModel.DataAnnotations.Schema;
using static RCS.Model.Comm.EnumMsg;
namespace RCS.Model.Entity
{
/// <summary>
/// 任务拆解规则
/// </summary>
[Table("t_config_tasksplit")]
public class Config_TaskSplit : IdEntity, ICloneable
{
private TaskStage taskStage;
/// <summary>
/// 任务ID
/// </summary>
public string TaskType { get; set; }
/// <summary>
/// 编号
/// </summary>
public int SerialNo { get; set; }
/// <summary>
/// 小车动作类型
/// </summary>
public EnumMsg.ActionType AgvTaskType { get; set; }
/// <summary>
/// 起点依据
/// </summary>
public EnumMsg.ConfigToFromPoint FromPoint { get; set; }
/// <summary>
/// 终点依据
/// </summary>
public EnumMsg.ConfigToFromPoint ToPoint { get; set; }
/// <summary>
/// 是否询问
/// </summary>
public EnumMsg.RequestType TaskRequestType { get; set; }
/// <summary>
/// 任务是否携带货架
/// </summary>
public bool IsCarry { get; set; }
/// <summary>
/// 等待点等待时间
/// </summary>
public int WaitTime { get; set; }
/// <summary>
/// 指定升降高度
/// </summary>
public ushort Height { get; set; }
public EnumMsg.TaskStage TaskStage
{
get => taskStage;
set { taskStage = value; }
}
public object Clone()
{
return this.MemberwiseClone();
}
//public string? TaskGroup { get; set; }
}
}