PlnSteelforOrdNewEntity.cs 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186
  1. using System;
  2. using System.ComponentModel;
  3. using System.IO;
  4. using System.Runtime.Serialization;
  5. using System.Runtime.Serialization.Formatters.Binary;
  6. using Core.Mes.Client.Comm.Attribute;
  7. namespace Core.StlMes.Client.PlnSaleOrd.炼钢计划.entity
  8. {
  9. /// <summary>
  10. /// 数据库表PLN_STEELFOR_ORD所对应的实体类(生成工具:代码生成工具3.0)
  11. /// 作者:zhou 时间:2017-08-08
  12. /// </summary>
  13. [Serializable]
  14. public class PlnSteelforOrdNewEntity : ICloneable
  15. {
  16. /// <summary>
  17. /// 虚拟炉次号(ID)
  18. /// </summary>
  19. private string furnaceno = "";
  20. /// <summary>
  21. /// 虚拟炉次内顺序号
  22. /// </summary>
  23. private long? sequenceno;
  24. private long? cutNum;
  25. /// <summary>
  26. /// 虚拟炉次顺序号(不同电炉产线顺序独立连续)
  27. /// </summary>
  28. private long? furnacenoSeq;
  29. /// <summary>
  30. /// 铸造订单编号
  31. /// </summary>
  32. private string proPlanId = "";
  33. /// <summary>
  34. /// 工序排产序号
  35. /// </summary>
  36. private string gxPlanNo = "";
  37. /// <summary>
  38. /// 浇次号
  39. /// </summary>
  40. private string castNo = "";
  41. /// <summary>
  42. /// 浇次顺序号(不同铸机顺序独立连续)
  43. /// </summary>
  44. private long? castSeq;
  45. /// <summary>
  46. /// 浇次内炉顺序号(单一浇次)
  47. /// </summary>
  48. private long? castStoveSeq;
  49. /// <summary>
  50. /// 连铸顺序号(不同铸机产线顺序独立连续)
  51. /// </summary>
  52. private long? ccmSeq;
  53. /// <summary>
  54. /// 冶炼炉号(电炉号)
  55. /// </summary>
  56. private string stoveNo = "";
  57. /// <summary>
  58. /// 判定炉号
  59. /// </summary>
  60. private string judgeStoveNo = "";
  61. /// <summary>
  62. /// 判定炉号序号
  63. /// </summary>
  64. private string judgeStoveNoSeq = "";
  65. /// <summary>
  66. /// 标示炉号(打印炉号)
  67. /// </summary>
  68. private string flagStoveNo = "";
  69. /// <summary>
  70. /// 生产状态(00=组炉,10=组浇,20=下发,30生产中,40已生产,50关闭)
  71. /// </summary>
  72. private string status = "";
  73. /// <summary>
  74. /// 工序点执行状态:00=初始状态;10=切割完成;20=表检完成;30=下线
  75. /// </summary>
  76. private string ccmState = "";
  77. /// <summary>
  78. /// 铸造计划类型:00=正常;10=表检返线;20=下线返线
  79. /// </summary>
  80. private string ccmPlnType = "";
  81. /// <summary>
  82. /// 管坯类型(1铸坯2锻坯)
  83. /// </summary>
  84. private string gptype = "";
  85. /// <summary>
  86. /// 铸造类型(1连铸2模铸)
  87. /// </summary>
  88. private string castingtype = "";
  89. /// <summary>
  90. /// 铸造产线编码
  91. /// </summary>
  92. private string plineCode = "";
  93. /// <summary>
  94. /// 铸造产线描述
  95. /// </summary>
  96. private string plineName = "";
  97. /// <summary>
  98. /// 铸机号
  99. /// </summary>
  100. private string ccmid = "";
  101. /// <summary>
  102. /// 铸流号
  103. /// </summary>
  104. private string flowno = "";
  105. /// <summary>
  106. /// 电炉产线编码
  107. /// </summary>
  108. private string efPlineCode = "";
  109. /// <summary>
  110. /// 电炉产线描述
  111. /// </summary>
  112. private string efPlineName = "";
  113. /// <summary>
  114. /// 投入物料编码
  115. /// </summary>
  116. private string wlidIn = "";
  117. /// <summary>
  118. /// 投入物料描述
  119. /// </summary>
  120. private string wldescIn = "";
  121. /// <summary>
  122. /// 产出物料编码
  123. /// </summary>
  124. private string materialNo = "";
  125. /// <summary>
  126. /// 产出物料描述
  127. /// </summary>
  128. private string materialName = "";
  129. /// <summary>
  130. /// 钢种代码
  131. /// </summary>
  132. private string gradecode = "";
  133. /// <summary>
  134. /// 钢种名称
  135. /// </summary>
  136. private string gradename = "";
  137. /// <summary>
  138. /// 管坯直径
  139. /// </summary>
  140. private string diameter = null;
  141. /// <summary>
  142. /// 单倍坯长(mm)
  143. /// </summary>
  144. private long? lenGpSingle = null;
  145. /// <summary>
  146. /// 倍尺数
  147. /// </summary>
  148. private long? cutNumGp = null;
  149. /// <summary>
  150. /// 倍尺长度(mm)
  151. /// </summary>
  152. private long? lengthM = null;
  153. /// <summary>
  154. /// 单倍坯重
  155. /// </summary>
  156. private double? weightGpOne = null;
  157. /// <summary>
  158. /// 倍尺单重
  159. /// </summary>
  160. private double? weightM = null;
  161. /// <summary>
  162. /// 倍尺坯支数(计划)
  163. /// </summary>
  164. private long? totMumM = null;
  165. /// <summary>
  166. /// 倍尺坯重量(计划)
  167. /// </summary>
  168. private double? totWeightM = null;
  169. /// <summary>
  170. /// 倍尺坯重量(实绩吨)
  171. /// </summary>
  172. private double? actWeightM = null;
  173. /// <summary>
  174. /// 倍尺坯支数(实绩支)
  175. /// </summary>
  176. private long? actMumM = null;
  177. /// <summary>
  178. /// 是否余材(0订单材1余材)
  179. /// </summary>
  180. private string surplusflag = "";
  181. /// <summary>
  182. /// 余材类型(1生产超量2开浇加量3尾炉加量4连浇前炉加量5连浇后炉加量)
  183. /// </summary>
  184. private string surplusType = "";
  185. /// <summary>
  186. /// 余材参照铸造订单号
  187. /// </summary>
  188. private string refOrdZz = "";
  189. /// <summary>
  190. /// 余材参照管坯需求号
  191. /// </summary>
  192. private string refGpreqId = "";
  193. /// <summary>
  194. /// 是否余材已再分配
  195. /// </summary>
  196. private string ifSurplusAlloted = "";
  197. /// <summary>
  198. /// 成分标准索引号(内控)
  199. /// </summary>
  200. private string cic = "";
  201. /// <summary>
  202. /// 材质标准索引号(内控)
  203. /// </summary>
  204. private string pic = "";
  205. /// <summary>
  206. /// 公差标准索引号(内控)
  207. /// </summary>
  208. private string sic = "";
  209. /// <summary>
  210. /// 探伤索引号(内控)
  211. /// </summary>
  212. private string dic = "";
  213. /// <summary>
  214. /// 备注
  215. /// </summary>
  216. private string memo = "";
  217. /// <summary>
  218. /// 制定人
  219. /// </summary>
  220. private string makeman = "";
  221. /// <summary>
  222. /// 制定时间
  223. /// </summary>
  224. private DateTime? maketime = null;
  225. /// <summary>
  226. /// 下发人
  227. /// </summary>
  228. private string downman = "";
  229. /// <summary>
  230. /// 下发时间
  231. /// </summary>
  232. private DateTime? downtime = null;
  233. /// <summary>
  234. /// 成分判定记录ID(炼钢成分判定完成后回写)
  235. /// </summary>
  236. private string chemJudgeId = "";
  237. /// <summary>
  238. /// 理化判定记录ID(炼钢理化判定完成后回写)
  239. /// </summary>
  240. private string phyJudgeId = "";
  241. /// <summary>
  242. /// 综合判定记录ID(炼钢综合判定完成后回写)
  243. /// </summary>
  244. private string colligateJudgeId = "";
  245. /// <summary>
  246. /// 超量吨
  247. /// </summary>
  248. private double? excessWt = null;
  249. /// <summary>
  250. /// 超量支
  251. /// </summary>
  252. private long? excessNum = null;
  253. private string isNoticeUser = "";
  254. private string isNoticeTime = "";
  255. private string isNoticeEp = "";
  256. /// <summary>
  257. /// 虚拟炉次号(ID)
  258. /// </summary>
  259. [Description("虚拟炉次号")]
  260. [Nullable(false)]
  261. [DataLength(20)]
  262. public string Furnaceno
  263. {
  264. get { return furnaceno; }
  265. set { furnaceno = value; }
  266. }
  267. /// <summary>
  268. /// 分切
  269. /// </summary>
  270. [Description("分切")]
  271. [Nullable(true)]
  272. [DataLength(10)]
  273. public long? CutNum
  274. {
  275. get { return cutNum; }
  276. set { cutNum = value; }
  277. }
  278. /// <summary>
  279. /// 虚拟炉次内顺序号
  280. /// </summary>
  281. [Description("炉次内顺序号")]
  282. [Nullable(false)]
  283. [DataLength(20)]
  284. public long? Sequenceno
  285. {
  286. get { return sequenceno; }
  287. set { sequenceno = value; }
  288. }
  289. /// <summary>
  290. /// 虚拟炉次顺序号(不同电炉产线顺序独立连续)
  291. /// </summary>
  292. [Description("炉次顺序号")]
  293. [Nullable(true)]
  294. [DataLength(20)]
  295. public long? FurnacenoSeq
  296. {
  297. get { return furnacenoSeq; }
  298. set { furnacenoSeq = value; }
  299. }
  300. /// <summary>
  301. /// 铸造订单编号
  302. /// </summary>
  303. [Description("铸造订单编号")]
  304. [Nullable(true)]
  305. [DataLength(20)]
  306. public string ProPlanId
  307. {
  308. get { return proPlanId; }
  309. set { proPlanId = value; }
  310. }
  311. /// <summary>
  312. /// 工序排产序号
  313. /// </summary>
  314. [Description("工序排产序号")]
  315. [Nullable(true)]
  316. [DataLength(10)]
  317. public string GxPlanNo
  318. {
  319. get { return gxPlanNo; }
  320. set { gxPlanNo = value; }
  321. }
  322. /// <summary>
  323. /// 浇次号
  324. /// </summary>
  325. [Description("浇次号")]
  326. [Nullable(true)]
  327. [DataLength(20)]
  328. public string CastNo
  329. {
  330. get { return castNo; }
  331. set { castNo = value; }
  332. }
  333. /// <summary>
  334. /// 浇次顺序号(不同铸机顺序独立连续)
  335. /// </summary>
  336. [Description("浇次顺序号")]
  337. [Nullable(true)]
  338. [DataLength(20)]
  339. public long? CastSeq
  340. {
  341. get { return castSeq; }
  342. set { castSeq = value; }
  343. }
  344. /// <summary>
  345. /// 浇次内炉顺序号(单一浇次)
  346. /// </summary>
  347. [Description("浇次内炉顺序号")]
  348. [Nullable(true)]
  349. [DataLength(20)]
  350. public long? CastStoveSeq
  351. {
  352. get { return castStoveSeq; }
  353. set { castStoveSeq = value; }
  354. }
  355. /// <summary>
  356. /// 连铸顺序号(不同铸机产线顺序独立连续)
  357. /// </summary>
  358. [Description("连铸顺序号")]
  359. [Nullable(true)]
  360. [DataLength(20)]
  361. public long? CcmSeq
  362. {
  363. get { return ccmSeq; }
  364. set { ccmSeq = value; }
  365. }
  366. /// <summary>
  367. /// 冶炼炉号(电炉号)
  368. /// </summary>
  369. [Description("冶炼炉号")]
  370. [Nullable(true)]
  371. [DataLength(20)]
  372. public string StoveNo
  373. {
  374. get { return stoveNo; }
  375. set { stoveNo = value; }
  376. }
  377. /// <summary>
  378. /// 判定炉号
  379. /// </summary>
  380. [Description("判定炉号")]
  381. [Nullable(true)]
  382. [DataLength(6)]
  383. public string JudgeStoveNo
  384. {
  385. get { return judgeStoveNo; }
  386. set { judgeStoveNo = value; }
  387. }
  388. /// <summary>
  389. /// 判定炉号序号
  390. /// </summary>
  391. [Description("判定炉号序号")]
  392. [Nullable(true)]
  393. [DataLength(6)]
  394. public string JudgeStoveNoSeq
  395. {
  396. get { return judgeStoveNoSeq; }
  397. set { judgeStoveNoSeq = value; }
  398. }
  399. /// <summary>
  400. /// 标示炉号(打印炉号)
  401. /// </summary>
  402. [Description("标示炉号(打印炉号)")]
  403. [Nullable(true)]
  404. [DataLength(20)]
  405. public string FlagStoveNo
  406. {
  407. get { return flagStoveNo; }
  408. set { flagStoveNo = value; }
  409. }
  410. /// <summary>
  411. /// 生产状态(00=组炉,10=组浇,20=下发,30生产中,40已生产,50关闭)
  412. /// </summary>
  413. [Description("状态")]
  414. [Nullable(true)]
  415. [DataLength(20)]
  416. public string Status
  417. {
  418. get { return status; }
  419. set { status = value; }
  420. }
  421. /// <summary>
  422. /// 工序点执行状态:00=初始状态;10=切割完成;20=表检完成;30=下线
  423. /// </summary>
  424. [Description("工序点执行状态")]
  425. [Nullable(true)]
  426. [DataLength(2)]
  427. public string CcmState
  428. {
  429. get { return ccmState; }
  430. set { ccmState = value; }
  431. }
  432. /// <summary>
  433. /// 铸造计划类型:00=正常;10=表检返线;20=下线返线
  434. /// </summary>
  435. [Description("铸造计划类型")]
  436. [Nullable(true)]
  437. [DataLength(2)]
  438. public string CcmPlnType
  439. {
  440. get { return ccmPlnType; }
  441. set { ccmPlnType = value; }
  442. }
  443. /// <summary>
  444. /// 管坯类型(1铸坯2锻坯)
  445. /// </summary>
  446. [Description("管坯类型")]
  447. [Nullable(true)]
  448. [DataLength(20)]
  449. public string Gptype
  450. {
  451. get { return gptype; }
  452. set { gptype = value; }
  453. }
  454. /// <summary>
  455. /// 铸造类型(1连铸2模铸)
  456. /// </summary>
  457. [Description("铸造类型")]
  458. [Nullable(true)]
  459. [DataLength(20)]
  460. public string Castingtype
  461. {
  462. get { return castingtype; }
  463. set { castingtype = value; }
  464. }
  465. /// <summary>
  466. /// 铸造产线编码
  467. /// </summary>
  468. [Description("铸造产线编码")]
  469. [Nullable(true)]
  470. [DataLength(20)]
  471. public string PlineCode
  472. {
  473. get { return plineCode; }
  474. set { plineCode = value; }
  475. }
  476. /// <summary>
  477. /// 铸造产线描述
  478. /// </summary>
  479. [Description("铸造产线描述")]
  480. [Nullable(true)]
  481. [DataLength(50)]
  482. public string PlineName
  483. {
  484. get { return plineName; }
  485. set { plineName = value; }
  486. }
  487. /// <summary>
  488. /// 铸机号
  489. /// </summary>
  490. [Description("铸机号")]
  491. [Nullable(true)]
  492. [DataLength(20)]
  493. public string Ccmid
  494. {
  495. get { return ccmid; }
  496. set { ccmid = value; }
  497. }
  498. /// <summary>
  499. /// 铸流号
  500. /// </summary>
  501. [Description("铸流号")]
  502. [Nullable(true)]
  503. [DataLength(2)]
  504. public string Flowno
  505. {
  506. get { return flowno; }
  507. set { flowno = value; }
  508. }
  509. /// <summary>
  510. /// 电炉产线编码
  511. /// </summary>
  512. [Description("电炉产线编码")]
  513. [Nullable(true)]
  514. [DataLength(20)]
  515. public string EfPlineCode
  516. {
  517. get { return efPlineCode; }
  518. set { efPlineCode = value; }
  519. }
  520. /// <summary>
  521. /// 电炉产线描述
  522. /// </summary>
  523. [Description("电炉产线描述")]
  524. [Nullable(true)]
  525. [DataLength(100)]
  526. public string EfPlineName
  527. {
  528. get { return efPlineName; }
  529. set { efPlineName = value; }
  530. }
  531. /// <summary>
  532. /// 投入物料编码
  533. /// </summary>
  534. [Description("投入物料编码")]
  535. [Nullable(true)]
  536. [DataLength(20)]
  537. public string WlidIn
  538. {
  539. get { return wlidIn; }
  540. set { wlidIn = value; }
  541. }
  542. /// <summary>
  543. /// 投入物料描述
  544. /// </summary>
  545. [Description("投入物料描述")]
  546. [Nullable(true)]
  547. [DataLength(40)]
  548. public string WldescIn
  549. {
  550. get { return wldescIn; }
  551. set { wldescIn = value; }
  552. }
  553. /// <summary>
  554. /// 产出物料编码
  555. /// </summary>
  556. [Description("产出物料编码")]
  557. [Nullable(true)]
  558. [DataLength(20)]
  559. public string MaterialNo
  560. {
  561. get { return materialNo; }
  562. set { materialNo = value; }
  563. }
  564. /// <summary>
  565. /// 产出物料描述
  566. /// </summary>
  567. [Description("产出物料描述")]
  568. [Nullable(true)]
  569. [DataLength(100)]
  570. public string MaterialName
  571. {
  572. get { return materialName; }
  573. set { materialName = value; }
  574. }
  575. /// <summary>
  576. /// 钢种代码
  577. /// </summary>
  578. [Description("钢种代码")]
  579. [Nullable(true)]
  580. [DataLength(10)]
  581. public string Gradecode
  582. {
  583. get { return gradecode; }
  584. set { gradecode = value; }
  585. }
  586. /// <summary>
  587. /// 钢种名称
  588. /// </summary>
  589. [Description("钢种名称")]
  590. [Nullable(true)]
  591. [DataLength(100)]
  592. public string Gradename
  593. {
  594. get { return gradename; }
  595. set { gradename = value; }
  596. }
  597. /// <summary>
  598. /// 管坯直径
  599. /// </summary>
  600. [Description("管坯直径")]
  601. [Nullable(true)]
  602. [DataLength(10)]
  603. public string Diameter
  604. {
  605. get { return diameter; }
  606. set { diameter = value; }
  607. }
  608. /// <summary>
  609. /// 单倍坯长(mm)
  610. /// </summary>
  611. [Description("单倍坯长(mm)")]
  612. [Nullable(true)]
  613. [DataLength(10)]
  614. public long? LenGpSingle
  615. {
  616. get { return lenGpSingle; }
  617. set { lenGpSingle = value; }
  618. }
  619. /// <summary>
  620. /// 倍尺数
  621. /// </summary>
  622. [Description("倍尺数")]
  623. [Nullable(true)]
  624. [DataLength(5)]
  625. public long? CutNumGp
  626. {
  627. get { return cutNumGp; }
  628. set { cutNumGp = value; }
  629. }
  630. /// <summary>
  631. /// 倍尺长度(mm)
  632. /// </summary>
  633. [Description("倍尺长度(mm)")]
  634. [Nullable(true)]
  635. [DataLength(10)]
  636. public long? LengthM
  637. {
  638. get { return lengthM; }
  639. set { lengthM = value; }
  640. }
  641. /// <summary>
  642. /// 单倍坯重
  643. /// </summary>
  644. [Description("单倍坯重")]
  645. [Nullable(true)]
  646. [DataLength(10)]
  647. public double? WeightGpOne
  648. {
  649. get { return weightGpOne; }
  650. set { weightGpOne = value; }
  651. }
  652. /// <summary>
  653. /// 倍尺单重
  654. /// </summary>
  655. [Description("倍尺单重")]
  656. [Nullable(true)]
  657. [DataLength(10)]
  658. public double? WeightM
  659. {
  660. get { return weightM; }
  661. set { weightM = value; }
  662. }
  663. /// <summary>
  664. /// 倍尺坯支数(计划)
  665. /// </summary>
  666. [Description("倍尺坯支数(计划)")]
  667. [Nullable(true)]
  668. [DataLength(10)]
  669. public long? TotMumM
  670. {
  671. get { return totMumM; }
  672. set { totMumM = value; }
  673. }
  674. /// <summary>
  675. /// 倍尺坯重量(计划)
  676. /// </summary>
  677. [Description("倍尺坯重量(计划)")]
  678. [Nullable(true)]
  679. [DataLength(10)]
  680. public double? TotWeightM
  681. {
  682. get { return totWeightM; }
  683. set { totWeightM = value; }
  684. }
  685. /// <summary>
  686. /// 倍尺坯重量(实绩吨)
  687. /// </summary>
  688. [Description("倍尺坯重量(实绩吨)")]
  689. [Nullable(true)]
  690. [DataLength(10)]
  691. public double? ActWeightM
  692. {
  693. get { return actWeightM; }
  694. set { actWeightM = value; }
  695. }
  696. /// <summary>
  697. /// 倍尺坯支数(实绩支)
  698. /// </summary>
  699. [Description("倍尺坯支数(实绩支)")]
  700. [Nullable(true)]
  701. [DataLength(10)]
  702. public long? ActMumM
  703. {
  704. get { return actMumM; }
  705. set { actMumM = value; }
  706. }
  707. /// <summary>
  708. /// 是否余材(0订单材1余材)
  709. /// </summary>
  710. [Description("是否余材)")]
  711. [Nullable(true)]
  712. [DataLength(1)]
  713. public string Surplusflag
  714. {
  715. get { return surplusflag; }
  716. set { surplusflag = value; }
  717. }
  718. /// <summary>
  719. /// 余材类型(1生产超量2开浇加量3尾炉加量4连浇前炉加量5连浇后炉加量)
  720. /// </summary>
  721. [Description("余材类型")]
  722. [Nullable(true)]
  723. [DataLength(1)]
  724. public string SurplusType
  725. {
  726. get { return surplusType; }
  727. set { surplusType = value; }
  728. }
  729. /// <summary>
  730. /// 余材参照铸造订单号
  731. /// </summary>
  732. [Description("余材参照铸造订单号")]
  733. [Nullable(true)]
  734. [DataLength(1)]
  735. public string RefOrdZz
  736. {
  737. get { return refOrdZz; }
  738. set { refOrdZz = value; }
  739. }
  740. /// <summary>
  741. /// 余材参照管坯需求号
  742. /// </summary>
  743. [Description("余材参照管坯需求号")]
  744. [Nullable(true)]
  745. [DataLength(1)]
  746. public string RefGpreqId
  747. {
  748. get { return refGpreqId; }
  749. set { refGpreqId = value; }
  750. }
  751. /// <summary>
  752. /// 是否余材已再分配
  753. /// </summary>
  754. [Description("是否余材已再分配")]
  755. [Nullable(true)]
  756. [DataLength(1)]
  757. public string IfSurplusAlloted
  758. {
  759. get { return ifSurplusAlloted; }
  760. set { ifSurplusAlloted = value; }
  761. }
  762. /// <summary>
  763. /// 成分标准索引号(内控)
  764. /// </summary>
  765. [Description("成分标准索引号(内控)")]
  766. [Nullable(true)]
  767. [DataLength(50)]
  768. public string Cic
  769. {
  770. get { return cic; }
  771. set { cic = value; }
  772. }
  773. /// <summary>
  774. /// 材质标准索引号(内控)
  775. /// </summary>
  776. [Description("材质标准索引号(内控)")]
  777. [Nullable(true)]
  778. [DataLength(50)]
  779. public string Pic
  780. {
  781. get { return pic; }
  782. set { pic = value; }
  783. }
  784. /// <summary>
  785. /// 公差标准索引号(内控)
  786. /// </summary>
  787. [Description("公差标准索引号(内控)")]
  788. [Nullable(true)]
  789. [DataLength(50)]
  790. public string Sic
  791. {
  792. get { return sic; }
  793. set { sic = value; }
  794. }
  795. /// <summary>
  796. /// 探伤索引号(内控)
  797. /// </summary>
  798. [Description("探伤索引号(内控)")]
  799. [Nullable(true)]
  800. [DataLength(50)]
  801. public string Dic
  802. {
  803. get { return dic; }
  804. set { dic = value; }
  805. }
  806. /// <summary>
  807. /// 备注
  808. /// </summary>
  809. [Description("备注")]
  810. [Nullable(true)]
  811. [DataLength(200)]
  812. public string Memo
  813. {
  814. get { return memo; }
  815. set { memo = value; }
  816. }
  817. /// <summary>
  818. /// 制定人
  819. /// </summary>
  820. [Description("制定人")]
  821. [Nullable(true)]
  822. [DataLength(20)]
  823. public string Makeman
  824. {
  825. get { return makeman; }
  826. set { makeman = value; }
  827. }
  828. /// <summary>
  829. /// 制定时间
  830. /// </summary>
  831. [Description("制定时间")]
  832. [Nullable(true)]
  833. public DateTime? Maketime
  834. {
  835. get { return maketime; }
  836. set { maketime = value; }
  837. }
  838. /// <summary>
  839. /// 下发人
  840. /// </summary>
  841. [Description("下发人")]
  842. [Nullable(true)]
  843. [DataLength(20)]
  844. public string Downman
  845. {
  846. get { return downman; }
  847. set { downman = value; }
  848. }
  849. /// <summary>
  850. /// 下发时间
  851. /// </summary>
  852. [Description("下发时间")]
  853. [Nullable(true)]
  854. public DateTime? Downtime
  855. {
  856. get { return downtime; }
  857. set { downtime = value; }
  858. }
  859. /// <summary>
  860. /// 成分判定记录ID(炼钢成分判定完成后回写)
  861. /// </summary>
  862. [Description("成分判定记录ID")]
  863. [Nullable(true)]
  864. [DataLength(20)]
  865. public string ChemJudgeId
  866. {
  867. get { return chemJudgeId; }
  868. set { chemJudgeId = value; }
  869. }
  870. /// <summary>
  871. /// 理化判定记录ID(炼钢理化判定完成后回写)
  872. /// </summary>
  873. [Description("理化判定记录ID")]
  874. [Nullable(true)]
  875. [DataLength(20)]
  876. public string PhyJudgeId
  877. {
  878. get { return phyJudgeId; }
  879. set { phyJudgeId = value; }
  880. }
  881. /// <summary>
  882. /// 综合判定记录ID(炼钢综合判定完成后回写)
  883. /// </summary>
  884. [Description("氧氮氢标识")]
  885. [Nullable(true)]
  886. [DataLength(20)]
  887. public string ColligateJudgeId
  888. {
  889. get { return colligateJudgeId; }
  890. set { colligateJudgeId = value; }
  891. }
  892. /// <summary>
  893. /// 超量吨
  894. /// </summary>
  895. [Description("超量吨")]
  896. [Nullable(true)]
  897. [DataLength(10)]
  898. public double? ExcessWt
  899. {
  900. get { return excessWt; }
  901. set { excessWt = value; }
  902. }
  903. /// <summary>
  904. /// 超量支
  905. /// </summary>
  906. [Description("超量支")]
  907. [Nullable(true)]
  908. [DataLength(10)]
  909. public long? ExcessNum
  910. {
  911. get { return excessNum; }
  912. set { excessNum = value; }
  913. }
  914. private string proMonth = "";
  915. [Description("生产年月")]
  916. [Nullable(true)]
  917. [DataLength(50)]
  918. public string ProMonth
  919. {
  920. get { return proMonth; }
  921. set { proMonth = value; }
  922. }
  923. /// <summary>
  924. /// 用户
  925. /// </summary>
  926. private string finalUserDesc = "";
  927. [Description("用户")]
  928. [Nullable(true)]
  929. public string FinalUserDesc
  930. {
  931. get { return finalUserDesc; }
  932. set { finalUserDesc = value; }
  933. }
  934. private string orderNo = "";
  935. /// <summary>
  936. /// 合同号管理号集合(合同头/合同行)
  937. /// </summary>
  938. [Description("合同头/合同行")]
  939. [Nullable(true)]
  940. [DataLength(1024)]
  941. public string OrderNo
  942. {
  943. get { return orderNo; }
  944. set { orderNo = value; }
  945. }
  946. /// <summary>
  947. /// 监制单位
  948. /// </summary>
  949. private string pdeptName = "";
  950. [Description("监制单位")]
  951. [Nullable(true)]
  952. public string PdeptName
  953. {
  954. get { return pdeptName; }
  955. set { pdeptName = value; }
  956. }
  957. /// <summary>
  958. /// 监制人
  959. /// </summary>
  960. private string prdcrMan = "";
  961. [Description("监制人")]
  962. [Nullable(true)]
  963. public string PrdcrMan
  964. {
  965. get { return prdcrMan; }
  966. set { prdcrMan = value; }
  967. }
  968. /// <summary>
  969. /// 品名
  970. /// </summary>
  971. private string producname = "";
  972. [Description("品名")]
  973. [Nullable(true)]
  974. public string Producname
  975. {
  976. get { return producname; }
  977. set { producname = value; }
  978. }
  979. /// <summary>
  980. /// 钢级
  981. /// </summary>
  982. private string steelname = "";
  983. [Description("钢级")]
  984. [Nullable(true)]
  985. public string Steelname
  986. {
  987. get { return steelname; }
  988. set { steelname = value; }
  989. }
  990. /// <summary>
  991. /// 监制编号
  992. /// </summary>
  993. private string prdcrNo = "";
  994. /// <summary>
  995. /// 监制编号
  996. /// </summary>
  997. [Description("监制编号")]
  998. [Nullable(true)]
  999. [DataLength(40)]
  1000. public string PrdcrNo
  1001. {
  1002. get { return prdcrNo; }
  1003. set { prdcrNo = value; }
  1004. }
  1005. /// <summary>
  1006. /// 物流去向代码集合
  1007. /// </summary>
  1008. private string gowhereCode = "";
  1009. /// <summary>
  1010. /// 物流去向名称集合
  1011. /// </summary>
  1012. private string gowhereName = "";
  1013. /// <summary>
  1014. /// 物流去向代码集合
  1015. /// </summary>
  1016. [Description("去向")]
  1017. [Nullable(true)]
  1018. [DataLength(256)]
  1019. public string GowhereCode
  1020. {
  1021. get { return gowhereCode; }
  1022. set { gowhereCode = value; }
  1023. }
  1024. /// <summary>
  1025. /// 物流去向名称集合
  1026. /// </summary>
  1027. [Description("去向")]
  1028. [Nullable(true)]
  1029. [DataLength(512)]
  1030. public string GowhereName
  1031. {
  1032. get { return gowhereName; }
  1033. set { gowhereName = value; }
  1034. }
  1035. /// <summary>
  1036. /// 通知监制人
  1037. /// </summary>
  1038. [Description("通知监制人")]
  1039. [Nullable(false)]
  1040. [DataLength(20)]
  1041. public string IsNoticeUser
  1042. {
  1043. get { return isNoticeUser; }
  1044. set { isNoticeUser = value; }
  1045. }
  1046. /// <summary>
  1047. /// 通知监制时间
  1048. /// </summary>
  1049. [Description("通知监制时间")]
  1050. [Nullable(false)]
  1051. [DataLength(20)]
  1052. public string IsNoticeTime
  1053. {
  1054. get { return isNoticeTime; }
  1055. set { isNoticeTime = value; }
  1056. }
  1057. /// <summary>
  1058. /// 是否通知监制
  1059. /// </summary>
  1060. [Description("是否通知监制")]
  1061. [Nullable(false)]
  1062. [DataLength(20)]
  1063. public string IsNoticeEp
  1064. {
  1065. get { return isNoticeEp; }
  1066. set { isNoticeEp = value; }
  1067. }
  1068. /// <summary>
  1069. /// 是否利计划
  1070. /// </summary>
  1071. private string stateLk = "";
  1072. [Description("是否利计划")]
  1073. public string StateLk
  1074. {
  1075. get { return stateLk; }
  1076. set { stateLk = value; }
  1077. }
  1078. public bool Update { get; set; }
  1079. public object Clone()
  1080. {
  1081. using (MemoryStream ms = new MemoryStream(1000))
  1082. {
  1083. object CloneObject;
  1084. BinaryFormatter bf = new BinaryFormatter(null, new StreamingContext(StreamingContextStates.Clone));
  1085. bf.Serialize(ms, this);
  1086. ms.Seek(0, SeekOrigin.Begin);
  1087. // 反序列化至另一个对象(即创建了一个原对象的深表副本)
  1088. CloneObject = bf.Deserialize(ms);
  1089. // 关闭流
  1090. ms.Close();
  1091. return CloneObject;
  1092. }
  1093. }
  1094. }
  1095. }