HttAppearancecheckResultEntity.cs 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. 
  2. using System;
  3. using System.ComponentModel;
  4. using System.IO;
  5. using System.Runtime.Serialization;
  6. using System.Runtime.Serialization.Formatters.Binary;
  7. using Newtonsoft.Json;
  8. namespace com.steering.mes.mcp.entity
  9. {
  10. /// <summary>
  11. /// 数据库表HTT_APPEARANCECHECK_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
  12. /// 作者:tgcx-test 时间:2018-06-15
  13. /// </summary>
  14. [Serializable]
  15. public class HttAppearancecheckResultEntity
  16. {
  17. /// <summary>
  18. /// 实绩编号(机组+工序点代码+年月日+6位流水)
  19. /// </summary>
  20. private string resultNo = "";
  21. /// <summary>
  22. /// 炉计划ID
  23. /// </summary>
  24. private string heatPlanNo = "";
  25. /// <summary>
  26. /// 热处理生产批次号
  27. /// </summary>
  28. private string zyBatchId = "";
  29. /// <summary>
  30. /// 热处理生产批次号序号
  31. /// </summary>
  32. private string prodIndex = "";
  33. /// <summary>
  34. /// 热处理订单编号
  35. /// </summary>
  36. private string proPlanId = "";
  37. /// <summary>
  38. /// 热处理订单排产序号
  39. /// </summary>
  40. private string gxPlanNo = "";
  41. /// <summary>
  42. /// 产线代码
  43. /// </summary>
  44. private string plineCode = "";
  45. /// <summary>
  46. /// 产线描述
  47. /// </summary>
  48. private string plineName = "";
  49. /// <summary>
  50. /// 外径范围上限
  51. /// </summary>
  52. private decimal? odmax = null;
  53. /// <summary>
  54. /// 外径范围下限
  55. /// </summary>
  56. private decimal? odmin = null;
  57. /// <summary>
  58. /// 不圆度
  59. /// </summary>
  60. private decimal? outofroundness = null;
  61. /// <summary>
  62. /// 管端直度
  63. /// </summary>
  64. private decimal? endstraightness = null;
  65. /// <summary>
  66. /// 全长直度
  67. /// </summary>
  68. private decimal? fulllengthstraightness = null;
  69. /// <summary>
  70. /// 检测支数
  71. /// </summary>
  72. private decimal? checkpieces = null;
  73. /// <summary>
  74. /// 合格支数
  75. /// </summary>
  76. private decimal? passNum = null;
  77. /// <summary>
  78. /// 可疑支数
  79. /// </summary>
  80. private decimal? dubiousNum = null;
  81. /// <summary>
  82. /// 不合格支数
  83. /// </summary>
  84. private decimal? wastNum = null;
  85. /// <summary>
  86. /// 缺陷项单号
  87. /// </summary>
  88. private string defSerialItem = "";
  89. /// <summary>
  90. /// 采集/录入时间
  91. /// </summary>
  92. private string colTime = "";
  93. /// <summary>
  94. /// 操作人
  95. /// </summary>
  96. private string colUser = "";
  97. /// <summary>
  98. /// 操作班次
  99. /// </summary>
  100. private string colShift = "";
  101. /// <summary>
  102. /// 操作班组
  103. /// </summary>
  104. private string colGroup = "";
  105. /// <summary>
  106. /// 操作时间
  107. /// </summary>
  108. private string createTime = "";
  109. /// <summary>
  110. /// 修改时间
  111. /// </summary>
  112. private string updateTime = "";
  113. /// <summary>
  114. /// 修改人
  115. /// </summary>
  116. private string updateName = "";
  117. /// <summary>
  118. /// 生产(年月日)
  119. /// </summary>
  120. private string proYearMonthDay = "";
  121. /// <summary>
  122. /// 结算日期(年月)
  123. /// </summary>
  124. private string balYearMonth = "";
  125. /// <summary>
  126. /// 热处理次数
  127. /// </summary>
  128. private decimal? processSeq = null;
  129. /// <summary>
  130. /// 批号
  131. /// </summary>
  132. private string batchNo = null;
  133. /// <summary>
  134. /// 检验意见
  135. /// </summary>
  136. private string result = null;
  137. /// <summary>
  138. /// 实绩编号(机组+工序点代码+年月日+6位流水)
  139. /// </summary>
  140. [Description("实绩编号")]
  141. [JsonProperty("resultNo")]
  142. public string ResultNo
  143. {
  144. get { return resultNo; }
  145. set { resultNo = value; }
  146. }
  147. /// <summary>
  148. /// 炉计划ID
  149. /// </summary>
  150. [Description("炉计划ID")]
  151. [JsonProperty("heatPlanNo")]
  152. public string HeatPlanNo
  153. {
  154. get { return heatPlanNo; }
  155. set { heatPlanNo = value; }
  156. }
  157. /// <summary>
  158. /// 热处理生产批次号
  159. /// </summary>
  160. [Description("热处理生产批次号")]
  161. [JsonProperty("zyBatchId")]
  162. public string ZyBatchId
  163. {
  164. get { return zyBatchId; }
  165. set { zyBatchId = value; }
  166. }
  167. /// <summary>
  168. /// 热处理生产批次号序号
  169. /// </summary>
  170. [Description("热处理生产批次号序号")]
  171. [JsonProperty("prodIndex")]
  172. public string ProdIndex
  173. {
  174. get { return prodIndex; }
  175. set { prodIndex = value; }
  176. }
  177. /// <summary>
  178. /// 热处理订单编号
  179. /// </summary>
  180. [Description("热处理订单编号")]
  181. [JsonProperty("proPlanId")]
  182. public string ProPlanId
  183. {
  184. get { return proPlanId; }
  185. set { proPlanId = value; }
  186. }
  187. /// <summary>
  188. /// 热处理订单排产序号
  189. /// </summary>
  190. [Description("热处理订单排产序号")]
  191. [JsonProperty("gxPlanNo")]
  192. public string GxPlanNo
  193. {
  194. get { return gxPlanNo; }
  195. set { gxPlanNo = value; }
  196. }
  197. /// <summary>
  198. /// 产线代码
  199. /// </summary>
  200. [Description("产线代码")]
  201. [JsonProperty("plineCode")]
  202. public string PlineCode
  203. {
  204. get { return plineCode; }
  205. set { plineCode = value; }
  206. }
  207. /// <summary>
  208. /// 产线描述
  209. /// </summary>
  210. [Description("产线描述")]
  211. [JsonProperty("plineName")]
  212. public string PlineName
  213. {
  214. get { return plineName; }
  215. set { plineName = value; }
  216. }
  217. /// <summary>
  218. /// 外径范围上限
  219. /// </summary>
  220. [Description("外径范围上限")]
  221. [JsonProperty("odmax")]
  222. public decimal? Odmax
  223. {
  224. get { return odmax; }
  225. set { odmax = value; }
  226. }
  227. /// <summary>
  228. /// 外径范围下限
  229. /// </summary>
  230. [Description("外径范围下限")]
  231. [JsonProperty("odmin")]
  232. public decimal? Odmin
  233. {
  234. get { return odmin; }
  235. set { odmin = value; }
  236. }
  237. /// <summary>
  238. /// 不圆度
  239. /// </summary>
  240. [Description("不圆度")]
  241. [JsonProperty("outofroundness")]
  242. public decimal? Outofroundness
  243. {
  244. get { return outofroundness; }
  245. set { outofroundness = value; }
  246. }
  247. /// <summary>
  248. /// 管端直度
  249. /// </summary>
  250. [Description("管端直度")]
  251. [JsonProperty("endstraightness")]
  252. public decimal? Endstraightness
  253. {
  254. get { return endstraightness; }
  255. set { endstraightness = value; }
  256. }
  257. /// <summary>
  258. /// 全长直度
  259. /// </summary>
  260. [Description("全长直度")]
  261. [JsonProperty("fulllengthstraightness")]
  262. public decimal? Fulllengthstraightness
  263. {
  264. get { return fulllengthstraightness; }
  265. set { fulllengthstraightness = value; }
  266. }
  267. /// <summary>
  268. /// 检测支数
  269. /// </summary>
  270. [Description("检测支数")]
  271. [JsonProperty("checkpieces")]
  272. public decimal? Checkpieces
  273. {
  274. get { return checkpieces; }
  275. set { checkpieces = value; }
  276. }
  277. /// <summary>
  278. /// 合格支数
  279. /// </summary>
  280. [Description("合格支数")]
  281. [JsonProperty("passNum")]
  282. public decimal? PassNum
  283. {
  284. get { return passNum; }
  285. set { passNum = value; }
  286. }
  287. /// <summary>
  288. /// 可疑支数
  289. /// </summary>
  290. [Description("可疑支数")]
  291. [JsonProperty("dubiousNum")]
  292. public decimal? DubiousNum
  293. {
  294. get { return dubiousNum; }
  295. set { dubiousNum = value; }
  296. }
  297. /// <summary>
  298. /// 不合格支数
  299. /// </summary>
  300. [Description("废品支数")]
  301. [JsonProperty("wastNum")]
  302. public decimal? WastNum
  303. {
  304. get { return wastNum; }
  305. set { wastNum = value; }
  306. }
  307. /// <summary>
  308. /// 缺陷项单号
  309. /// </summary>
  310. [Description("缺陷项单号")]
  311. [JsonProperty("defSerialItem")]
  312. public string DefSerialItem
  313. {
  314. get { return defSerialItem; }
  315. set { defSerialItem = value; }
  316. }
  317. /// <summary>
  318. /// 采集/录入时间
  319. /// </summary>
  320. [Description("操作时间")]
  321. [JsonProperty("colTime")]
  322. public string ColTime
  323. {
  324. get { return colTime; }
  325. set { colTime = value; }
  326. }
  327. /// <summary>
  328. /// 操作人
  329. /// </summary>
  330. [Description("操作人")]
  331. [JsonProperty("colUser")]
  332. public string ColUser
  333. {
  334. get { return colUser; }
  335. set { colUser = value; }
  336. }
  337. /// <summary>
  338. /// 操作班次
  339. /// </summary>
  340. [Description("操作班次")]
  341. [JsonProperty("colShift")]
  342. public string ColShift
  343. {
  344. get { return colShift; }
  345. set { colShift = value; }
  346. }
  347. /// <summary>
  348. /// 操作班组
  349. /// </summary>
  350. [Description("操作班组")]
  351. [JsonProperty("colGroup")]
  352. public string ColGroup
  353. {
  354. get { return colGroup; }
  355. set { colGroup = value; }
  356. }
  357. /// <summary>
  358. /// 操作时间
  359. /// </summary>
  360. [Description("操作时间")]
  361. [JsonProperty("createTime")]
  362. public string CreateTime
  363. {
  364. get { return createTime; }
  365. set { createTime = value; }
  366. }
  367. /// <summary>
  368. /// 修改时间
  369. /// </summary>
  370. [Description("修改时间")]
  371. [JsonProperty("updateTime")]
  372. public string UpdateTime
  373. {
  374. get { return updateTime; }
  375. set { updateTime = value; }
  376. }
  377. /// <summary>
  378. /// 修改人
  379. /// </summary>
  380. [Description("修改人")]
  381. [JsonProperty("updateName")]
  382. public string UpdateName
  383. {
  384. get { return updateName; }
  385. set { updateName = value; }
  386. }
  387. /// <summary>
  388. /// 生产(年月日)
  389. /// </summary>
  390. [Description("生产(年月日)")]
  391. [JsonProperty("proYearMonthDay")]
  392. public string ProYearMonthDay
  393. {
  394. get { return proYearMonthDay; }
  395. set { proYearMonthDay = value; }
  396. }
  397. /// <summary>
  398. /// 结算日期(年月)
  399. /// </summary>
  400. [Description("结算日期(年月)")]
  401. [JsonProperty("balYearMonth")]
  402. public string BalYearMonth
  403. {
  404. get { return balYearMonth; }
  405. set { balYearMonth = value; }
  406. }
  407. /// <summary>
  408. /// 热处理次数
  409. /// </summary>
  410. [Description("循环次数")]
  411. [JsonProperty("processSeq")]
  412. public decimal? ProcessSeq
  413. {
  414. get { return processSeq; }
  415. set { processSeq = value; }
  416. }
  417. /// <summary>
  418. /// 报告地址
  419. /// </summary>
  420. private string reportPath = "";
  421. /// <summary>
  422. /// 报告地址
  423. /// </summary>
  424. [Description("报告地址")]
  425. [JsonProperty("reportPath")]
  426. public string ReportPath
  427. {
  428. get { return reportPath; }
  429. set { reportPath = value; }
  430. }
  431. /// <summary>
  432. /// 批号
  433. /// </summary>
  434. [Description("批号")]
  435. [JsonProperty("batchNo")]
  436. public string BatchNo
  437. {
  438. get { return batchNo; }
  439. set { batchNo = value; }
  440. }
  441. /// <summary>
  442. /// 检验意见
  443. /// </summary>
  444. [Description("检验意见")]
  445. [JsonProperty("result")]
  446. public string Result
  447. {
  448. get { return result; }
  449. set { result = value; }
  450. }
  451. public HttAppearancecheckResultEntity Clone()
  452. {
  453. using (var memStream = new MemoryStream())
  454. {
  455. var binaryFormatter = new BinaryFormatter(null,
  456. new StreamingContext(StreamingContextStates.Clone));
  457. binaryFormatter.Serialize(memStream, this);
  458. memStream.Seek(0, SeekOrigin.Begin);
  459. return binaryFormatter.Deserialize(memStream) as HttAppearancecheckResultEntity;
  460. }
  461. }
  462. }
  463. }