PortMilBatchSampleResultEntity.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. using Core.Mes.Client.Comm.Attribute;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Core.StlMes.Client.ZGMil.Entity
  8. {
  9. class PortMilBatchSampleResultEntity
  10. {
  11. /// <summary>
  12. /// 从MIL_PLAN 表带过来的ID
  13. /// </summary>
  14. private string planId = "";
  15. /// <summary>
  16. /// 生产批号
  17. /// </summary>
  18. private string lotNo = "";
  19. /// <summary>
  20. /// 熔炼炉号
  21. /// </summary>
  22. private string stoveNo = "";
  23. /// <summary>
  24. /// 判定炉号
  25. /// </summary>
  26. private string judgeStoveNo = "";
  27. /// <summary>
  28. /// 组号
  29. /// </summary>
  30. private string groupNo = "";
  31. /// <summary>
  32. /// 产线代码
  33. /// </summary>
  34. private string plineCode = "";
  35. /// <summary>
  36. /// 性能批号
  37. /// </summary>
  38. private string batchNo = "";
  39. /// <summary>
  40. /// 序号
  41. /// </summary>
  42. private decimal? seq = null;
  43. /// <summary>
  44. /// 子管号
  45. /// </summary>
  46. private string matNo = "";
  47. /// <summary>
  48. /// 是否样管
  49. /// </summary>
  50. private string isSamplePipe = "";
  51. /// <summary>
  52. /// 是否有效(1有效)
  53. /// </summary>
  54. private string isValid = "";
  55. /// <summary>
  56. /// 备注
  57. /// </summary>
  58. private string remark = "";
  59. /// <summary>
  60. /// 样管长度(mm)
  61. /// </summary>
  62. private string samplePipeLen = "";
  63. /// <summary>
  64. /// 取样人
  65. /// </summary>
  66. private string getSampleName = "";
  67. /// <summary>
  68. /// 取样时间
  69. /// </summary>
  70. private string getSampleTime = "";
  71. /// <summary>
  72. /// 操作班次
  73. /// </summary>
  74. private string getSampleShift = "";
  75. /// <summary>
  76. /// 班次班组
  77. /// </summary>
  78. private string getSampleClass = "";
  79. /// <summary>
  80. /// 定尺长度
  81. /// </summary>
  82. private decimal? orderLength = null;
  83. /// <summary>
  84. /// 理论重量
  85. /// </summary>
  86. private decimal? actTheoryWeight = null;
  87. /// <summary>
  88. /// 支数
  89. /// </summary>
  90. private decimal? actCount = null;
  91. /// <summary>
  92. /// 创建时间
  93. /// </summary>
  94. private string crateTime = "";
  95. /// <summary>
  96. /// 状态(0-合格 1-热区剔除 2-冷区剔除3-下线 4-返线)
  97. /// </summary>
  98. private string status = "";
  99. /// <summary>
  100. /// 母管号
  101. /// </summary>
  102. private string mMatNo = "";
  103. /// <summary>
  104. /// 组炉标识(0,未组炉 1-组炉)
  105. /// </summary>
  106. private string groupFlag = "";
  107. /// <summary>
  108. /// 操作工序(0-上料 2-加热炉 3-穿孔 4-连轧 5-再加热炉 6-定径 7分切 9矫直 10-探伤 11-人工质检12-交库)
  109. /// </summary>
  110. private string opProcess = "";
  111. /// <summary>
  112. /// 返线工序(10-探伤返线 11-复检)
  113. /// </summary>
  114. private string backProcess = "";
  115. /// <summary>
  116. /// 母坯号
  117. /// </summary>
  118. private string mMMatNo = "";
  119. /// <summary>
  120. /// 是否入库(0-未入库 1-已入库)
  121. /// </summary>
  122. private string instoreFlag = "";
  123. /// <summary>
  124. /// 交库批号(无用)
  125. /// </summary>
  126. private string realBatchNo = "";
  127. /// <summary>
  128. /// 从MIL_PLAN 表带过来的ID
  129. /// </summary>
  130. [Description("从MIL_PLAN 表带过来的ID")]
  131. [Nullable(false)]
  132. [DataLength(20)]
  133. public string PlanId
  134. {
  135. get { return planId; }
  136. set { planId = value; }
  137. }
  138. /// <summary>
  139. /// 生产批号
  140. /// </summary>
  141. [Description("生产批号")]
  142. [Nullable(false)]
  143. [DataLength(20)]
  144. public string LotNo
  145. {
  146. get { return lotNo; }
  147. set { lotNo = value; }
  148. }
  149. /// <summary>
  150. /// 熔炼炉号
  151. /// </summary>
  152. [Description("熔炼炉号")]
  153. [Nullable(true)]
  154. [DataLength(20)]
  155. public string StoveNo
  156. {
  157. get { return stoveNo; }
  158. set { stoveNo = value; }
  159. }
  160. /// <summary>
  161. /// 判定炉号
  162. /// </summary>
  163. [Description("判定炉号")]
  164. [Nullable(false)]
  165. [DataLength(10)]
  166. public string JudgeStoveNo
  167. {
  168. get { return judgeStoveNo; }
  169. set { judgeStoveNo = value; }
  170. }
  171. /// <summary>
  172. /// 组号
  173. /// </summary>
  174. [Description("组号")]
  175. [Nullable(true)]
  176. [DataLength(6)]
  177. public string GroupNo
  178. {
  179. get { return groupNo; }
  180. set { groupNo = value; }
  181. }
  182. /// <summary>
  183. /// 产线代码
  184. /// </summary>
  185. [Description("产线代码")]
  186. [Nullable(true)]
  187. [DataLength(20)]
  188. public string PlineCode
  189. {
  190. get { return plineCode; }
  191. set { plineCode = value; }
  192. }
  193. /// <summary>
  194. /// 性能批号
  195. /// </summary>
  196. [Description("批号")]
  197. [Nullable(true)]
  198. [DataLength(20)]
  199. public string BatchNo
  200. {
  201. get { return batchNo; }
  202. set { batchNo = value; }
  203. }
  204. /// <summary>
  205. /// 序号
  206. /// </summary>
  207. [Description("序号")]
  208. [Nullable(false)]
  209. [DataLength(6)]
  210. public decimal? Seq
  211. {
  212. get { return seq; }
  213. set { seq = value; }
  214. }
  215. /// <summary>
  216. /// 子管号
  217. /// </summary>
  218. [Description("子管号")]
  219. [Nullable(true)]
  220. [DataLength(20)]
  221. public string MatNo
  222. {
  223. get { return matNo; }
  224. set { matNo = value; }
  225. }
  226. /// <summary>
  227. /// 是否样管
  228. /// </summary>
  229. [Description("是否样管")]
  230. [Nullable(true)]
  231. [DataLength(1)]
  232. public string IsSamplePipe
  233. {
  234. get { return isSamplePipe; }
  235. set { isSamplePipe = value; }
  236. }
  237. /// <summary>
  238. /// 是否有效(1有效)
  239. /// </summary>
  240. [Description("是否有效(1有效)")]
  241. [Nullable(true)]
  242. [DataLength(1)]
  243. public string IsValid
  244. {
  245. get { return isValid; }
  246. set { isValid = value; }
  247. }
  248. /// <summary>
  249. /// 备注
  250. /// </summary>
  251. [Description("备注")]
  252. [Nullable(true)]
  253. [DataLength(400)]
  254. public string Remark
  255. {
  256. get { return remark; }
  257. set { remark = value; }
  258. }
  259. /// <summary>
  260. /// 样管长度(mm)
  261. /// </summary>
  262. [Description("样管长度(mm)")]
  263. [Nullable(true)]
  264. [DataLength(20)]
  265. public string SamplePipeLen
  266. {
  267. get { return samplePipeLen; }
  268. set { samplePipeLen = value; }
  269. }
  270. /// <summary>
  271. /// 取样人
  272. /// </summary>
  273. [Description("取样人")]
  274. [Nullable(true)]
  275. [DataLength(20)]
  276. public string GetSampleName
  277. {
  278. get { return getSampleName; }
  279. set { getSampleName = value; }
  280. }
  281. /// <summary>
  282. /// 取样时间
  283. /// </summary>
  284. [Description("取样时间")]
  285. [Nullable(true)]
  286. public string GetSampleTime
  287. {
  288. get { return getSampleTime; }
  289. set { getSampleTime = value; }
  290. }
  291. /// <summary>
  292. /// 操作班次
  293. /// </summary>
  294. [Description("操作班次")]
  295. [Nullable(true)]
  296. [DataLength(10)]
  297. public string GetSampleShift
  298. {
  299. get { return getSampleShift; }
  300. set { getSampleShift = value; }
  301. }
  302. /// <summary>
  303. /// 班次班组
  304. /// </summary>
  305. [Description("班次班组")]
  306. [Nullable(true)]
  307. [DataLength(5)]
  308. public string GetSampleClass
  309. {
  310. get { return getSampleClass; }
  311. set { getSampleClass = value; }
  312. }
  313. /// <summary>
  314. /// 定尺长度
  315. /// </summary>
  316. [Description("定尺长度(m)")]
  317. [Nullable(true)]
  318. [DataLength(8)]
  319. public decimal? OrderLength
  320. {
  321. get { return orderLength; }
  322. set { orderLength = value; }
  323. }
  324. /// <summary>
  325. /// 理论重量
  326. /// </summary>
  327. [Description("理论重量")]
  328. [Nullable(true)]
  329. [DataLength(9)]
  330. public decimal? ActTheoryWeight
  331. {
  332. get { return actTheoryWeight; }
  333. set { actTheoryWeight = value; }
  334. }
  335. /// <summary>
  336. /// 支数
  337. /// </summary>
  338. [Description("支数")]
  339. [Nullable(true)]
  340. [DataLength(3)]
  341. public decimal? ActCount
  342. {
  343. get { return actCount; }
  344. set { actCount = value; }
  345. }
  346. /// <summary>
  347. /// 创建时间
  348. /// </summary>
  349. [Description("创建时间")]
  350. [Nullable(true)]
  351. public string CrateTime
  352. {
  353. get { return crateTime; }
  354. set { crateTime = value; }
  355. }
  356. /// <summary>
  357. /// 状态(0-合格 1-热区剔除 2-冷区剔除3-下线 4-返线)
  358. /// </summary>
  359. [Description("状态")]
  360. [Nullable(true)]
  361. [DataLength(1)]
  362. public string Status
  363. {
  364. get { return status; }
  365. set { status = value; }
  366. }
  367. /// <summary>
  368. /// 母管号
  369. /// </summary>
  370. [Description("母管号")]
  371. [Nullable(true)]
  372. [DataLength(20)]
  373. public string MMatNo
  374. {
  375. get { return mMatNo; }
  376. set { mMatNo = value; }
  377. }
  378. /// <summary>
  379. /// 组炉标识(0,未组炉 1-组炉)
  380. /// </summary>
  381. [Description("组炉标识")]
  382. [Nullable(true)]
  383. [DataLength(1)]
  384. public string GroupFlag
  385. {
  386. get { return groupFlag; }
  387. set { groupFlag = value; }
  388. }
  389. /// <summary>
  390. /// 操作工序(0-上料 2-加热炉 3-穿孔 4-连轧 5-再加热炉 6-定径 7分切 9矫直 10-探伤 11-人工质检12-交库)
  391. /// </summary>
  392. [Description("操作工序")]
  393. [Nullable(true)]
  394. [DataLength(2)]
  395. public string OpProcess
  396. {
  397. get { return opProcess; }
  398. set { opProcess = value; }
  399. }
  400. /// <summary>
  401. /// 返线工序(10-探伤返线 11-复检)
  402. /// </summary>
  403. [Description("返线工序")]
  404. [Nullable(true)]
  405. [DataLength(2)]
  406. public string BackProcess
  407. {
  408. get { return backProcess; }
  409. set { backProcess = value; }
  410. }
  411. /// <summary>
  412. /// 母坯号
  413. /// </summary>
  414. [Description("母坯号")]
  415. [Nullable(true)]
  416. [DataLength(20)]
  417. public string MMMatNo
  418. {
  419. get { return mMMatNo; }
  420. set { mMMatNo = value; }
  421. }
  422. /// <summary>
  423. /// 是否入库(0-未入库 1-已入库)
  424. /// </summary>
  425. [Description("是否入库")]
  426. [Nullable(true)]
  427. [DataLength(1)]
  428. public string InstoreFlag
  429. {
  430. get { return instoreFlag; }
  431. set { instoreFlag = value; }
  432. }
  433. /// <summary>
  434. /// 交库批号(无用)
  435. /// </summary>
  436. [Description("交库批号(无用)")]
  437. [Nullable(true)]
  438. [DataLength(20)]
  439. public string RealBatchNo
  440. {
  441. get { return realBatchNo; }
  442. set { realBatchNo = value; }
  443. }
  444. }
  445. }