华恒Mes鼎捷代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

870 lines
26 KiB

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Collections;
  6. namespace ICSSoft.Frame.DataConnect
  7. {
  8. #region DataCollect
  9. public interface IInternalSystemVariable
  10. {
  11. string Group
  12. {
  13. get;
  14. }
  15. ArrayList Items
  16. {
  17. get;
  18. }
  19. }
  20. public class ActionType : IInternalSystemVariable
  21. {
  22. private ArrayList _list = new ArrayList();
  23. //根据action获取对应的模块
  24. public static string GetOperationResultModule(string Action)
  25. {
  26. string returnStr = Action;
  27. if (Action == ActionType.DataCollectAction_CollectKeyParts || Action == ActionType.DataCollectAction_CollectINNO)
  28. {
  29. returnStr = "ComponentLoading";
  30. }
  31. else if (Action == ActionType.DataCollectAction_GOOD || Action == ActionType.DataCollectAction_NG || Action == ActionType.DataCollectAction_SMTGOOD || Action == ActionType.DataCollectAction_SMTNG || Action == ActionType.DataCollectAction_OutLineGood || Action == ActionType.DataCollectAction_OutLineNG)
  32. {
  33. returnStr = "Testing";
  34. }
  35. else if (Action == ActionType.DataCollectAction_IDTran || Action == ActionType.DataCollectAction_Split)
  36. {
  37. returnStr = "IDTranslation";
  38. }
  39. else if (Action == ActionType.DataCollectAction_Carton || Action == ActionType.DataCollectAction_Pallet || Action == ActionType.DataCollectAction_OQCLotAddID /* || Action == ActionType.DataCollectAction_OQCLotRemoveID*/ || Action == ActionType.DataCollectAction_LOT)
  40. {
  41. returnStr = "Packing";
  42. }
  43. else if (Action == ActionType.DataCollectAction_OQCLotRemoveID)
  44. {
  45. returnStr = "UnPacking";
  46. }
  47. else if (Action == ActionType.DataCollectAction_OQCGood || Action == ActionType.DataCollectAction_OQCNG || Action == ActionType.DataCollectAction_OQCPass || Action == ActionType.DataCollectAction_OQCReject)
  48. {
  49. returnStr = "OQC";
  50. }
  51. else if (Action == ActionType.DataCollectAction_TSConfirm || Action == ActionType.DataCollectAction_TSComplete)
  52. {
  53. returnStr = "TS";
  54. }
  55. else if (Action == ActionType.DataCollectAction_Reject)
  56. {
  57. returnStr = "Reject";
  58. }
  59. else if (Action == ActionType.DataCollectAction_GoMO)
  60. {
  61. returnStr = "GoMO";
  62. }
  63. else if (Action == ActionType.DataCollectAction_ECN)
  64. {
  65. returnStr = "ECN";
  66. }
  67. else if (Action == ActionType.DataCollectAction_SoftINFO)
  68. {
  69. returnStr = "SoftINFO";
  70. }
  71. else if (Action == ActionType.DataCollectAction_TRY)
  72. {
  73. returnStr = "TRY";
  74. }
  75. else if (Action == ActionType.DataCollectAction_TryNew)
  76. {
  77. returnStr = "TryNew";
  78. }
  79. else if (Action == ActionType.DataCollectAction_OffMo)
  80. {
  81. returnStr = "OffMo";
  82. }
  83. else if (Action == ActionType.DataCollectAction_DropMaterial)
  84. {
  85. returnStr = "DropMaterial";
  86. }
  87. else if (Action == ActionType.DataCollectAction_BurnIn)
  88. {
  89. returnStr = "BurnIn";
  90. }
  91. else if (Action == ActionType.DataCollectAction_BurnOut)
  92. {
  93. returnStr = "BurnOut";
  94. }
  95. else if (Action == ActionType.DataCollectAction_OQCFuncTest)
  96. {
  97. returnStr = "OQC";
  98. }
  99. else if (Action == ActionType.DataCollectAction_FCTTS)
  100. {
  101. returnStr = "FCTTS";
  102. }
  103. else if (Action == ActionType.DataCollectAction_FCTGOOD)
  104. {
  105. returnStr = "FCTGOOD";
  106. }
  107. else if (Action == ActionType.DataCollectAction_FCT)
  108. {
  109. returnStr = "FCT";
  110. }
  111. else if (Action == ActionType.DataCollectAction_AOI)
  112. {
  113. returnStr = "AOI";
  114. }
  115. else if (Action == ActionType.DataCollectAction_LABELING)
  116. {
  117. returnStr = "Labeling";
  118. }
  119. else if (Action == ActionType.DataCollectAction_ICT)
  120. {
  121. returnStr = "ICT";
  122. }
  123. return returnStr;
  124. }
  125. public ActionType()
  126. {
  127. this._list.Add(ActionType.DataCollectAction_GOOD);
  128. this._list.Add(ActionType.DataCollectAction_NG);
  129. this._list.Add(ActionType.DataCollectAction_SMTGOOD);
  130. this._list.Add(ActionType.DataCollectAction_SMTNG);
  131. this._list.Add(ActionType.DataCollectAction_Split);
  132. this._list.Add(ActionType.DataCollectAction_Carton);
  133. this._list.Add(ActionType.DataCollectAction_Pallet);
  134. this._list.Add(ActionType.DataCollectAction_Reject);
  135. this._list.Add(ActionType.DataCollectAction_CollectKeyParts);
  136. this._list.Add(ActionType.DataCollectAction_CollectINNO);
  137. this._list.Add(ActionType.DataCollectAction_GoMO);
  138. this._list.Add(ActionType.DataCollectAction_OutLineGood);
  139. this._list.Add(ActionType.DataCollectAction_ECN);
  140. this._list.Add(ActionType.DataCollectAction_OutLineNG);
  141. this._list.Add(ActionType.DataCollectAction_SoftINFO);
  142. this._list.Add(ActionType.DataCollectAction_TRY);
  143. this._list.Add(ActionType.DataCollectAction_TryNew);
  144. this._list.Add(ActionType.DataCollectAction_OQCLotAddID);
  145. this._list.Add(ActionType.DataCollectAction_OQCLotRemoveID);
  146. this._list.Add(ActionType.DataCollectAction_OQCGood);
  147. this._list.Add(ActionType.DataCollectAction_OQCNG);
  148. this._list.Add(ActionType.DataCollectAction_OQCPass);
  149. this._list.Add(ActionType.DataCollectAction_OQCReject);
  150. this._list.Add(ActionType.DataCollectAction_IDTran);
  151. this._list.Add(ActionType.DataCollectAction_TSConfirm);
  152. this._list.Add(ActionType.DataCollectAction_TSComplete);
  153. this._list.Add(ActionType.DataCollectAction_OffMo);
  154. this._list.Add(ActionType.DataCollectAction_DropMaterial);
  155. this._list.Add(ActionType.DataCollectAction_BurnIn);
  156. this._list.Add(ActionType.DataCollectAction_BurnOut);
  157. this._list.Add(ActionType.DataCollectAction_OQCFuncTest);
  158. this._list.Add(ActionType.DataCollectAction_OutLineReject);
  159. this._list.Add(ActionType.DataCollectAction_CompareAppendix);
  160. this._list.Add(ActionType.DataCollectAction_Mix);
  161. this._list.Add(ActionType.DataCollectAction_KBatch);
  162. this._list.Add(ActionType.DataCollectAction_CompareProductCode);
  163. this._list.Add(ActionType.DataCollectAction_CompareTwo);
  164. this._list.Add(ActionType.DataCollectAction_AutoNG);
  165. this._list.Add(ActionType.DataCollectAction_FGPacking);
  166. this._list.Add(ActionType.DataCollectAction_MACALL);
  167. this._list.Add(ActionType.DataCollectAction_MACID);
  168. this._list.Add(ActionType.DataCollectAction_ONPost);
  169. this._list.Add(ActionType.DataCollectAction_OffPost);
  170. this._list.Add(ActionType.DataCollectAction_FCTTS);
  171. this._list.Add(ActionType.DataCollectAction_FCTGOOD);
  172. this._list.Add(ActionType.DataCollectAction_ICT);
  173. this._list.Add(ActionType.DataCollectAction_FCT);
  174. this._list.Add(ActionType.DataCollectAction_AOI);
  175. this._list.Add(ActionType.DataCollectAction_LABELING);
  176. }
  177. public const string DataCollectAction_OffMo = "OFFMO";
  178. public const string DataCollectAction_GOOD = "GOOD";
  179. public const string DataCollectAction_NG = "NG";
  180. public const string DataCollectAction_SMTGOOD = "SMTGOOD";
  181. public const string DataCollectAction_SMTNG = "SMTNG";
  182. public const string DataCollectAction_Split = "SPLIT";
  183. public const string DataCollectAction_Carton = "CARTON";
  184. public const string DataCollectAction_Pallet = "PALLECT";
  185. public const string DataCollectAction_Reject = "REJECT";
  186. public const string DataCollectAction_CollectKeyParts = "CKEPARTS";
  187. public const string DataCollectAction_CollectINNO = "CINNO";
  188. public const string DataCollectAction_GoMO = "GOMO";
  189. public const string DataCollectAction_OutLineGood = "OUTLINEGOOD";
  190. public const string DataCollectAction_OutLineNG = "OUTLINENG";
  191. public const string DataCollectAction_ECN = "ECN";
  192. public const string DataCollectAction_SoftINFO = "SOFTINFO";
  193. public const string DataCollectAction_TRY = "TRY";
  194. public const string DataCollectAction_TryNew = "TryNew";
  195. public const string DataCollectAction_LOT = "LOT";
  196. public const string DataCollectAction_OQCLotAddID = "OQCLOTADDID";
  197. public const string DataCollectAction_OQCLotRemoveID = "OQCLOTREMOVEID";
  198. public const string DataCollectAction_OQCGood = "OQCGOOD";
  199. public const string DataCollectAction_OQCNG = "OQCNG";
  200. public const string DataCollectAction_OQCPass = "OQCPASS";
  201. public const string DataCollectAction_OQCReject = "OQCREJECT";
  202. public const string DataCollectAction_IDTran = "IDTRAN";
  203. public const string DataCollectAction_TSConfirm = "TSCONFIRM";
  204. public const string DataCollectAction_TSComplete = "TSCOMPLETE";
  205. public const string DataCollectAction_DropMaterial = "DROPMATERIAL";
  206. public const string DataCollectAction_BurnIn = "BURNIN";
  207. public const string DataCollectAction_BurnOut = "BURNOUT";
  208. public const string DataCollectAction_OQCFuncTest = "OQCFUNCTEST";
  209. public const string DataCollectAction_OutLineReject = "OUTLINEREJECT";
  210. public const string DataCollectAction_CompareAppendix = "COMPAPP";
  211. public const string DataCollectAction_Mix = "MIX";
  212. public const string DataCollectAction_KBatch = "KBATCH";
  213. public const string DataCollectAction_CompareProductCode = "COMPPROCODE";
  214. public const string DataCollectAction_CompareTwo = "COMPTWO";
  215. public const string DataCollectAction_AutoNG = "AUTONG";
  216. public const string DataCollectAction_FGPacking = "FGPACKING";
  217. public const string DataCollectAction_MACID = "MACID";
  218. public const string DataCollectAction_MACALL = "MACALL";
  219. public const string DataCollectAction_ONPost = "ONPOST";
  220. public const string DataCollectAction_OffPost = "OFFPOST";
  221. public const string DataCollectAction_FCTTS = "FCTTS";
  222. public const string DataCollectAction_FCTGOOD = "FCTGOOD";
  223. public const string DataCollectAction_ICT = "ICT";
  224. public const string DataCollectAction_FCT = "FCT";
  225. public const string DataCollectAction_AOI = "AOI";
  226. public const string DataCollectAction_LABELING = "LABELING";
  227. #region IInternalSystemVariable 成员
  228. public string Group
  229. {
  230. get
  231. {
  232. return "ActionType";
  233. }
  234. }
  235. public ArrayList Items
  236. {
  237. get
  238. {
  239. return this._list;
  240. }
  241. }
  242. #endregion
  243. }
  244. public class ProductStatus : IInternalSystemVariable
  245. {
  246. private ArrayList _list = new ArrayList();
  247. public ProductStatus()
  248. {
  249. this._list.Add(GOOD);
  250. this._list.Add(NG);
  251. this._list.Add(Reject);
  252. this._list.Add(OutLine);
  253. this._list.Add(OffLine);
  254. this._list.Add(Scrap);
  255. this._list.Add(OffMo);
  256. }
  257. public const string GOOD = "GOOD";
  258. public const string NG = "NG";
  259. public const string Reject = "REJECT";
  260. public const string OutLine = "OUTLINE";
  261. public const string OffLine = "OFFLINE";
  262. public const string Scrap = "SCRAP";
  263. public const string OffMo = "OFFMO";
  264. #region IInternalSystemVariable 成员
  265. public string Group
  266. {
  267. get
  268. {
  269. return "ProductStatus";
  270. }
  271. }
  272. public ArrayList Items
  273. {
  274. get
  275. {
  276. return this._list;
  277. }
  278. }
  279. #endregion
  280. }
  281. public class MCardType : IInternalSystemVariable
  282. {
  283. private ArrayList _list = new ArrayList();
  284. public MCardType()
  285. {
  286. this._list.Add(MCardType_Keyparts);
  287. this._list.Add(MCardType_INNO);
  288. }
  289. public const string MCardType_Keyparts = "0";
  290. public const string MCardType_INNO = "1";
  291. #region IInternalSystemVariable 成员
  292. public string Group
  293. {
  294. get
  295. {
  296. return "MCardType";
  297. }
  298. }
  299. public ArrayList Items
  300. {
  301. get
  302. {
  303. return this._list;
  304. }
  305. }
  306. #endregion
  307. }
  308. public class TransactionStatus : IInternalSystemVariable
  309. {
  310. private ArrayList _list = new ArrayList();
  311. public TransactionStatus()
  312. {
  313. this._list.Add(TransactionStatus_NO);
  314. this._list.Add(TransactionStatus_YES);
  315. }
  316. public const string TransactionStatus_NO = "否";
  317. public const string TransactionStatus_YES = "是";
  318. #region IInternalSystemVariable 成员
  319. public string Group
  320. {
  321. get
  322. {
  323. return "TransactionStatus";
  324. }
  325. }
  326. public ArrayList Items
  327. {
  328. get
  329. {
  330. return this._list;
  331. }
  332. }
  333. #endregion
  334. }
  335. public class ProductComplete : IInternalSystemVariable
  336. {
  337. private ArrayList _list = new ArrayList();
  338. public ProductComplete()
  339. {
  340. this._list.Add(Complete);
  341. this._list.Add(NoComplete);
  342. }
  343. public const string Complete = "1";
  344. public const string NoComplete = "0";
  345. #region IInternalSystemVariable 成员
  346. public string Group
  347. {
  348. get
  349. {
  350. return "ProductComplete";
  351. }
  352. }
  353. public ArrayList Items
  354. {
  355. get
  356. {
  357. return this._list;
  358. }
  359. }
  360. #endregion
  361. }
  362. public enum MaterialType
  363. {
  364. CollectMaterial = 0,
  365. DropMaterial = 1,
  366. }
  367. public enum OperationList
  368. {
  369. ComponentLoading = 0,
  370. Testing = 1,
  371. IDTranslation = 2,
  372. Packing = 3,
  373. OQC = 4,
  374. TS = 5,
  375. OutsideRoute = 6,
  376. SMT = 7,
  377. SPC = 8,
  378. DeductBOMItem = 9,
  379. MidistOutput = 10,
  380. MidistInput = 11,
  381. ComponentDown = 12,
  382. BurnIn = 13,
  383. BurnOut = 14,
  384. }
  385. #region BOMItemControlType
  386. public class BOMItemControlType : IInternalSystemVariable
  387. {
  388. private ArrayList _list = new ArrayList();
  389. public BOMItemControlType()
  390. {
  391. this._list.Add(BOMItemControlType.ITEM_CONTROL_LOT);
  392. this._list.Add(BOMItemControlType.ITEM_CONTROL_KEYPARTS);
  393. this._list.Add(BOMItemControlType.ITEM_CONTROL_NOCONTROL);
  394. }
  395. public const string ITEM_CONTROL_LOT = "item_control_lot";
  396. public const string ITEM_CONTROL_KEYPARTS = "item_control_keyparts";
  397. public const string ITEM_CONTROL_NOCONTROL = "item_control_nocontrol";
  398. #region IInternalSystemVariable 成员
  399. public string Group
  400. {
  401. get
  402. {
  403. return "BOMItemControlType";
  404. }
  405. }
  406. public ArrayList Items
  407. {
  408. get
  409. {
  410. return this._list;
  411. }
  412. }
  413. #endregion
  414. }
  415. #endregion
  416. #region OPBOMDetailParseType
  417. public class OPBOMDetailParseType : IInternalSystemVariable
  418. {
  419. private ArrayList _list = new ArrayList();
  420. public OPBOMDetailParseType()
  421. {
  422. this._list.Add(OPBOMDetailParseType.PARSE_BARCODE);
  423. this._list.Add(OPBOMDetailParseType.PARSE_PREPARE);
  424. this._list.Add(OPBOMDetailParseType.PARSE_PRODUCT);
  425. }
  426. public const string PARSE_BARCODE = "parse_barcode";
  427. public const string PARSE_PREPARE = "parse_prepare";
  428. public const string PARSE_PRODUCT = "parse_product";
  429. #region IInternalSystemVariable 成员
  430. public string Group
  431. {
  432. get
  433. {
  434. return "OPBOMDetailParseType";
  435. }
  436. }
  437. public ArrayList Items
  438. {
  439. get
  440. {
  441. return this._list;
  442. }
  443. }
  444. #endregion
  445. }
  446. #endregion
  447. #region OPBOMDetailCheckType
  448. public class OPBOMDetailCheckType : IInternalSystemVariable
  449. {
  450. private ArrayList _list = new ArrayList();
  451. public OPBOMDetailCheckType()
  452. {
  453. this._list.Add(OPBOMDetailCheckType.CHECK_LINKBARCODE);
  454. this._list.Add(OPBOMDetailCheckType.CHECK_COMPAREITEM);
  455. }
  456. public const string CHECK_LINKBARCODE = "check_linkbarcode";
  457. public const string CHECK_COMPAREITEM = "check_compareitem";
  458. #region IInternalSystemVariable 成员
  459. public string Group
  460. {
  461. get
  462. {
  463. return "OPBOMDetailCheckType";
  464. }
  465. }
  466. public ArrayList Items
  467. {
  468. get
  469. {
  470. return this._list;
  471. }
  472. }
  473. #endregion
  474. }
  475. #endregion
  476. #region MOType
  477. public class MOType : IInternalSystemVariable
  478. {
  479. private ArrayList _list = new ArrayList();
  480. public const string GroupType = "MOTYPE";
  481. public MOType()
  482. {
  483. this._list.Add(MOType.MOTYPE_NORMALMOTYPE);
  484. this._list.Add(MOType.MOTYPE_REWORKMOTYPE);
  485. this._list.Add(MOType.MOTYPE_MONTHREWORKMOTYPE);
  486. this._list.Add(MOType.MOTYPE_RMAREWORKMOTYPE);
  487. }
  488. public static readonly string MOTYPE_NORMALMOTYPE = "motype_normalmotype"; //正常
  489. public static readonly string MOTYPE_REWORKMOTYPE = "motype_reworkmotype"; //返工
  490. public static readonly string MOTYPE_MONTHREWORKMOTYPE = "motype_monthreworkmotype"; //每月大返工 ( 处理方式与返工不同 )
  491. public static readonly string MOTYPE_RMAREWORKMOTYPE = "motype_rmareworkmotype"; //RMA返工 ( 处理方式与返工不同 )
  492. #region IInternalSystemVariable 成员
  493. public string Group
  494. {
  495. get
  496. {
  497. return "MOType";
  498. }
  499. }
  500. public ArrayList Items
  501. {
  502. get
  503. {
  504. return this._list;
  505. }
  506. }
  507. #endregion
  508. }
  509. #endregion
  510. #region INVERPType
  511. public class INVERPType : IInternalSystemVariable
  512. {
  513. private ArrayList _list = new ArrayList();
  514. public const string GroupType = "INVERPType";
  515. public INVERPType()
  516. {
  517. this._list.Add(INVERPType.INVERPTYPE_PROCESSED);
  518. this._list.Add(INVERPType.INVERPTYPE_NEW);
  519. }
  520. public static readonly string INVERPTYPE_PROCESSED = "inverptype_processed"; //已经抛转
  521. public static readonly string INVERPTYPE_NEW = "inverptype_new"; //尚未抛转
  522. #region IInternalSystemVariable 成员
  523. public string Group
  524. {
  525. get
  526. {
  527. return "INVERPType";
  528. }
  529. }
  530. public ArrayList Items
  531. {
  532. get
  533. {
  534. return this._list;
  535. }
  536. }
  537. #endregion
  538. }
  539. #endregion
  540. #region ItemControlType
  541. public class ItemControlType : IInternalSystemVariable
  542. {
  543. private ArrayList _list = new ArrayList();
  544. public ItemControlType()
  545. {
  546. this._list.Add(ItemControlType.ITEMCONTROLTYPE_LOT);
  547. this._list.Add(ItemControlType.ITEMCONTROLTYPE_PICS);
  548. }
  549. public const string ITEMCONTROLTYPE_LOT = "itemcontroltype_lot";
  550. public const string ITEMCONTROLTYPE_PICS = "itemcontroltype_pics";
  551. #region IInternalSystemVariable 成员
  552. public string Group
  553. {
  554. get
  555. {
  556. return "ItemControlType";
  557. }
  558. }
  559. public ArrayList Items
  560. {
  561. get
  562. {
  563. return this._list;
  564. }
  565. }
  566. #endregion
  567. }
  568. #endregion
  569. #region ItemType
  570. public class ItemType : IInternalSystemVariable
  571. {
  572. private ArrayList _list = new ArrayList();
  573. public ItemType()
  574. {
  575. this._list.Add(ItemType.ITEMTYPE_FINISHEDPRODUCT);
  576. this._list.Add(ItemType.ITEMTYPE_SEMIMANUFACTURE);
  577. this._list.Add(ItemType.ITEMTYPE_RAWMATERIAL);
  578. }
  579. public const string ITEMTYPE_FINISHEDPRODUCT = "itemtype_finishedproduct"; //成品
  580. public const string ITEMTYPE_SEMIMANUFACTURE = "itemtype_semimanufacture"; //半成品
  581. public const string ITEMTYPE_RAWMATERIAL = "itemtype_rawmaterial"; //原物料
  582. #region IInternalSystemVariable 成员
  583. public string Group
  584. {
  585. get
  586. {
  587. return "ItemType";
  588. }
  589. }
  590. public ArrayList Items
  591. {
  592. get
  593. {
  594. return this._list;
  595. }
  596. }
  597. #endregion
  598. }
  599. #endregion
  600. #region SerialStatus
  601. public class SerialStatus : IInternalSystemVariable
  602. {
  603. private ArrayList _list = new ArrayList();
  604. public SerialStatus()
  605. {
  606. this._list.Add(SerialStatus.SerialStatus_Storage);
  607. this._list.Add(SerialStatus.SerialStatus_Unstorage);
  608. this._list.Add(SerialStatus.SerialStatus_Used);
  609. }
  610. public const string SerialStatus_Storage = "STORAGE";//在库
  611. public const string SerialStatus_Unstorage = "UNSTORAGE";//不在库
  612. public const string SerialStatus_Used = "USED";//已使用
  613. #region IInternalSystemVariable 成员
  614. public string Group
  615. {
  616. get
  617. {
  618. return "SerialStatus";
  619. }
  620. }
  621. public ArrayList Items
  622. {
  623. get
  624. {
  625. return this._list;
  626. }
  627. }
  628. #endregion
  629. }
  630. #endregion
  631. /// <summary>
  632. /// 盘点状态
  633. /// </summary>
  634. public enum CycleStatus
  635. {
  636. /// <summary>
  637. /// 产线暂停
  638. /// </summary>
  639. Hold = -1,
  640. /// <summary>
  641. /// 正常采集
  642. /// </summary>
  643. Pass = 0
  644. }
  645. #endregion
  646. #region TSStatus 维修状态
  647. public class TSStatus : IInternalSystemVariable
  648. {
  649. private ArrayList _list = new ArrayList();
  650. public TSStatus()
  651. {
  652. this._list.Add(TSStatus_New);
  653. this._list.Add(TSStatus_Confirm);
  654. this._list.Add(TSStatus_TS);
  655. this._list.Add(TSStatus_Split);
  656. this._list.Add(TSStatus_Scrap);
  657. this._list.Add(TSStatus_Complete);
  658. this._list.Add(TSStatus_Reflow);
  659. this._list.Add(TSStatus_OffMo);
  660. this._list.Add(TSStatus_RepeatNG);
  661. }
  662. public const string TSStatus_New = "tsstatus_new"; //送修
  663. public const string TSStatus_Confirm = "tsstatus_confirm"; //待修
  664. public const string TSStatus_TS = "tsstatus_ts"; //维修中
  665. public const string TSStatus_Split = "tsstatus_split"; //拆解
  666. public const string TSStatus_Scrap = "tsstatus_scrap"; //报废
  667. public const string TSStatus_Complete = "tsstatus_complete"; //维修完成
  668. public const string TSStatus_Reflow = "tsstatus_reflow"; //回流
  669. public const string TSStatus_OffMo = "tsstatus_offmo"; //脱离工单
  670. public const string TSStatus_RepeatNG = "tsstatus_repeatng"; //不良品重复测试
  671. #region IInternalSystemVariable 成员
  672. public string Group
  673. {
  674. get
  675. {
  676. return "TSStatus";
  677. }
  678. }
  679. public ArrayList Items
  680. {
  681. get
  682. {
  683. return this._list;
  684. }
  685. }
  686. #endregion
  687. }
  688. #endregion
  689. #region CardType
  690. public class CardType : IInternalSystemVariable
  691. {
  692. private ArrayList _list = new ArrayList();
  693. public CardType()
  694. {
  695. this._list.Add(CardType_Product);
  696. this._list.Add(CardType_Part);
  697. }
  698. public const string CardType_Product = "cardtype_product";
  699. public const string CardType_Part = "cardtype_part";
  700. #region IInternalSystemVariable 成员
  701. public string Group
  702. {
  703. get
  704. {
  705. return "CardType";
  706. }
  707. }
  708. public ArrayList Items
  709. {
  710. get
  711. {
  712. return this._list;
  713. }
  714. }
  715. #endregion
  716. }
  717. #endregion
  718. #region IDMergeType
  719. public class IDMergeType
  720. {
  721. private ArrayList _list = new ArrayList();
  722. public IDMergeType()
  723. {
  724. this._list.Add(IDMERGETYPE_IDMERGE);
  725. this._list.Add(IDMERGETYPE_ROUTER);
  726. }
  727. public const string IDMERGETYPE_IDMERGE = "idmergetype_idmerge";
  728. public const string IDMERGETYPE_ROUTER = "idmergetype_router";
  729. #region IInternalSystemVariable 成员
  730. public string Group
  731. {
  732. get
  733. {
  734. return "IDMergeType";
  735. }
  736. }
  737. public ArrayList Items
  738. {
  739. get
  740. {
  741. return this._list;
  742. }
  743. }
  744. #endregion
  745. }
  746. #endregion
  747. }