1
pulg
2025-05-14 5a640911f7e7ef3a003775993f077e1a0e9ac130
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
using SqlSugar;
using System;
 
namespace HH.WCS.Hexafluo.wms
{
    /// <summary>
    /// 电梯任务信息
    /// </summary>
    //198服务器
    [SugarTable("dbo.TN_0153")]
    //均州现场
    //[SugarTable("dbo.")]
    public class ElevatorTaskInfo : BaseModel
    {
 
        public string sourceNo { get; set; }
        public string start { get; set; }
        public string end { get; set; }
        /// <summary>
        /// 当前搬运的数量
        /// </summary>
        public int count;
        public string elevatorCacheBit { get; set; } = "";
        /// <summary>
        /// 托盘信息
        /// </summary>
        public string trayCode { get; set; }
        /// <summary>
        /// 1 上楼    2 下楼
        /// </summary>
        public int actionType { get; set; }
        /// <summary>
        /// 0 新增  1 执行  2 卸货完成   3 取货完成
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 卸货时间,卸货完成如果电梯没满可以再等几分钟
        /// </summary>
        public DateTime unloadTime { get; set; }
    }
 
    /// <summary>
    /// 翻斗机线边库选中状态
    /// </summary>
    //198服务器
    [SugarTable("dbo.TN_0154")]
    //均州现场
    //[SugarTable("dbo.")]
    public class LinAreaInfo : BaseModel
    {
        /// <summary>
        /// 链接区域
        /// </summary>
        public string connectArea { get; set; }
        /// <summary>
        /// 1选中 0未选中,如果一个翻斗机对应2个区,需要轮流选中
        /// </summary>
        public int selected { get; set; }
 
    }
    /// <summary>
    /// 翻斗机线边库出入库模式
    /// </summary>
    public class LineAreaRowMode : BaseModel
    {
        public string connectArea { get; set; }
        public int locationType { get; set; }
        public int row { get; set; }
        /// <summary>
        /// 0无    1入模式    2出模式
        /// </summary>
        public int rowMode { get; set; }
    }
    //198服务器
    [SugarTable("dbo.TN_0156")]
    //均州现场
    //[SugarTable("dbo.")]
    public class OutgoPlan : BaseModel
    {
 
        public string itemCode { get; set; }
        public string batchNo { get; set; }
        /// <summary>
        /// 已出库
        /// </summary>
        public int done { get; set; }
        /// <summary>
        /// 计划总量
        /// </summary>
        public int total { get; set; }
    }
    //---------------------------------------工单信息---------------------------------------
 
    //198服务器
    [SugarTable("dbo.TN_0138")]
    //均州现场
    //[SugarTable("dbo.TN_0002")]
    public class WorkOrder : BaseModel
    {
        //public DateTime T_CREATE { get; set; }
        /// <summary>
        /// 数据编号ID
        /// </summary>
        //public string SQL_id { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string SQL_BatchNo { get; set; }
        /// <summary>
        /// 产线号
        /// </summary>
        public string SQL_PLineNo { get; set; }
        /// <summary>
        /// 瓶盖机机无,翻斗机线边区连接到翻斗机暂存区
        /// </summary>
        public string SQL_LinkLineNO { get; set; }
        /// <summary>
        /// 连接区域,瓶盖机连接v8或无;翻斗机连接线边区
        /// </summary>
        public string SQL_Area { get; set; }
        public string SQL_Area1 { get; set; }
        //SQL_LinkLineNo2
        [SugarColumn(ColumnName = "SQL_LinkLineNo2")]
        public string SQL_LinkLineNO1 { get; set; }
        /// <summary>
        /// 即产即用
        /// </summary>
        public string SQL_UsingNow { get; set; }//SQL_UsingNow    "Y"|"N"
        /// <summary>
        /// 外调
        /// </summary>
        public string SQL_Out { get; set; }//SQL_Out    "Y"|"N"
        /// <summary>
        /// 工单状态
        /// </summary>
        public string SQL_State { get; set; }//SQL_State
        /// <summary>
        /// 工单号
        /// </summary>
        public string SQL_WorkNo { get; set; }//SQL_WorkNo
        /// <summary>
        /// 物料编码
        /// </summary>
        public string SQL_ItemCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string SQL_ItemName { get; set; }//SQL_ItemName
        /// <summary>
        /// 总数
        /// </summary>
        public string SQL_Total { get; set; }//SQL_Total
        /// <summary>
        /// 即产即用数量
        /// </summary>
        public string SQL_UsingNowTotal { get; set; }
 
        /// <summary>
        /// 每批运输数量
        /// </summary>
        public string SQL_PCNumber { get; set; }//SQL_PCNumber
        /// <summary>
        /// 计数(已执行数量)
        /// </summary>
        public string SQL_Current { get; set; }//SQL_Current
        /// <summary>
        /// 当前工单执行时间
        /// </summary>
        public string SQL_Modify { get; set; }//SQL_Modify
        /// <summary>
        /// 当前工单结束时间
        /// </summary>
        public string SQL_PLAN_END { get; set; }
        /// <summary>
        /// 是、否
        /// </summary>
        public string SQL_AutoComplete { get; set; }
 
 
    }
 
 
 
}