VM_SrmWrite.cs
2.9 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
using PropertyChanged;
namespace HH_WCS_Standard
{
[ImplementPropertyChanged]
public class VM_SrmWrite : VM_WriteModel
{
public VM_SrmWrite(string name) : base(name)
{
}
/// <summary>
/// 堆垛机编号
/// </summary>
public int SRM_NO { get; set; }
/// <summary>
/// 货叉编号 0=无,1=前叉,2=后叉,3=双叉
/// </summary>
public int SRM_Axis_NO { get; set; }
/// <summary>
/// 货叉1任务类型 0-无任务,1-行走,2-库内取货(走取),3-库内放货(走放),4-走取走放 6-删除任务,10-任务完成
/// </summary>
public int Fork1TaskType_1 { get; set; }
/// <summary>
/// 货叉1取货地址X轴(排)
/// </summary>
public int Fork1_Pick_AxisX_NO { get; set; }
/// <summary>
/// 货叉1取货地址Y轴(列)
/// </summary>
public int Fork1_Pick_AxisY_NO { get; set; }
/// <summary>
/// 货叉1取货地址Z轴(层)
/// </summary>
public int Fork1_Pick_AxisZ_NO { get; set; }
/// <summary>
/// 货叉1 放货地址X轴(排)
/// </summary>
public int Fork1_Release_AxisX_NO { get; set; }
/// <summary>
/// 货叉1放货地址Y轴(列)
/// </summary>
public int Fork1_Release_AxisY_NO { get; set; }
/// <summary>
/// 货叉1放货地址Z轴(层)
/// </summary>
public int Fork1_Release_AxisZ_NO { get; set; }
/// <summary>
/// 货叉1条码
/// </summary>
public string Fork1_Code { get; set; }
/// <summary>
/// 货物高度
/// </summary>
public int Goods_Type { get; set; }
/// <summary>
/// 货叉1备用2
/// </summary>
public int Fork1_Spare2 { get; set; }
#region 备用
public int SRM_Spare1 { get; set; }
public int SRM_Spare2 { get; set; }
public int SRM_Spare3 { get; set; }
public int SRM_Spare4 { get; set; }
public int SRM_Spare5 { get; set; }
public int SRM_Spare6 { get; set; }
public int SRM_Spare7 { get; set; }
public int SRM_Spare8 { get; set; }
public int SRM_Spare9 { get; set; }
public int SRM_Spare10 { get; set; }
#endregion
/// <summary>
/// 心跳
/// </summary>
public int SRM_Heart { get; set; }
public override void Clear()
{
SRM_Axis_NO = 0;
Fork1TaskType_1 = 0;
Fork1_Pick_AxisX_NO = 0;
Fork1_Pick_AxisY_NO = 0;
Fork1_Pick_AxisZ_NO = 0;
Goods_Type = 0;
Fork1_Release_AxisX_NO = 0;
Fork1_Release_AxisY_NO = 0;
Fork1_Release_AxisZ_NO = 0;
Fork1_Code = "";
}
}
}