EQPData.cs 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Core.Dtos
  4. {
  5. [Serializable]
  6. public class Alarm
  7. {
  8. public int AlarmCode { get; set; }
  9. public string AlarmInfo { get; set; }
  10. public int AlarmSum { get; set; }
  11. public string Date { get; set; }
  12. public string Time { get; set; }
  13. }
  14. [Serializable]
  15. public class ALarmHour
  16. {
  17. public int AlarmCode { get; set; }
  18. public int AlarmSum { get; set; }
  19. }
  20. [Serializable]
  21. public class BTRate
  22. {
  23. public string Shift { get; set; }
  24. public BtRatesOfAOI[] BTRatesOfAOI { get; set; }
  25. public PowerConsumptns PowerConsumptn { get; set; }
  26. }
  27. [Serializable]
  28. public class ECRate
  29. {
  30. public string Shift { get; set; }
  31. public PowerConsumptns PowerConsumptn { get; set; }
  32. }
  33. [Serializable]
  34. public class AGRate
  35. {
  36. public string Shift { get; set; }
  37. public PowerConsumptns PowerConsumptn { get; set; }
  38. }
  39. [Serializable]
  40. public class RTVRate
  41. {
  42. public string Shift { get; set; }
  43. public PowerConsumptns PowerConsumptn { get; set; }
  44. }
  45. [Serializable]
  46. public class BtRatesOfAOI
  47. {
  48. public int BTAOI检测NG数 { get; set; }
  49. public int BTAOI检查成功率 { get; set; }
  50. public int BT贴附对位NG数 { get; set; }
  51. public int BT贴附对位成功率 { get; set; }
  52. public int 生产总数 { get; set; }
  53. }
  54. [Serializable]
  55. public class RatesOfAG
  56. {
  57. public int 点胶总数 { get; set; }
  58. public int 点胶NG数 { get; set; }
  59. public int 点胶成功率 { get; set; }
  60. }
  61. [Serializable]
  62. public class RatesOfFPL
  63. {
  64. public int FPL生产总数 { get; set; }
  65. public int FPL撕膜总数 { get; set; }
  66. /// <summary>
  67. ///
  68. /// </summary>
  69. public int FPL拍照NG数 { get; set; }
  70. /// <summary>
  71. ///
  72. /// </summary>
  73. public int FPL真空异常数 { get; set; }
  74. /// <summary>
  75. ///
  76. /// </summary>
  77. public int FPL贴附精度NG数 { get; set; }
  78. /// <summary>
  79. ///
  80. /// </summary>
  81. public int FPL撕膜失败NG数 { get; set; }
  82. /// <summary>
  83. ///
  84. /// </summary>
  85. public int FPL撕膜成功率 { get; set; }
  86. }
  87. [Serializable]
  88. public class FPLRate
  89. {
  90. /// <summary>
  91. ///
  92. /// </summary>
  93. public List<RatesOfAG> RatesOfAG { get; set; }
  94. /// <summary>
  95. ///
  96. /// </summary>
  97. public List<RatesOfFPL> RatesOfFPL { get; set; }
  98. /// <summary>
  99. ///
  100. /// </summary>
  101. public PowerConsumptns PowerConsumptn { get; set; }
  102. /// <summary>
  103. /// 早班
  104. /// </summary>
  105. public string Shift { get; set; }
  106. /// <summary>
  107. /// 扫码2
  108. /// </summary>
  109. public RatesOfScanBC RatesOfScanBC { get; set; }
  110. /// <summary>
  111. /// 扫码1
  112. /// </summary>
  113. public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
  114. }
  115. [Serializable]
  116. public class RatesOfScanLB
  117. {
  118. public int 二次成功率 { get; set; }
  119. public int 扫码NG总数 { get; set; }
  120. public int 扫码二次NG数 { get; set; }
  121. public int 扫码一次NG数 { get; set; }
  122. public int 扫码总数 { get; set; }
  123. public int 扫码二次投入数 { get; set; }
  124. public int 一次成功率 { get; set; }
  125. public int 总成功率 { get; set; }
  126. }
  127. [Serializable]
  128. public class RatesOfFL
  129. {
  130. public int FL撕膜NG总数 { get; set; }
  131. public int FL撕膜二次NG数 { get; set; }
  132. public int FL撕膜一次NG数 { get; set; }
  133. public int FL撕膜总数 { get; set; }
  134. public int FL二次撕膜数 { get; set; }
  135. public int 二次成功率 { get; set; }
  136. public int 一次成功率 { get; set; }
  137. public int 总成功率 { get; set; }
  138. }
  139. [Serializable]
  140. public class FLRate
  141. {
  142. /// <summary>
  143. /// 班别
  144. /// </summary>
  145. public string Shift { get; set; }
  146. /// <summary>
  147. /// FL撕膜
  148. /// </summary>
  149. public List<RatesOfFL> RatesOfFL { get; set; }
  150. /// <summary>
  151. /// EPD撕膜
  152. /// </summary>
  153. public List<RatesOfEPD> RatesOfEPD { get; set; }
  154. /// <summary>
  155. /// FL对位
  156. /// </summary>
  157. public List<RatesOfAOIBeforeLam> RatesOfFLAOIBeforeLam { get; set; }
  158. /// <summary>
  159. /// EPD对位
  160. /// </summary>
  161. public List<RatesOfAOIBeforeLam> RatesOfEPDAOIBeforeLam { get; set; }
  162. /// <summary>
  163. /// 精度检测
  164. /// </summary>
  165. public List<RatesOfAOIAfterLam> RatesOfAOIAfterLam { get; set; }
  166. /// <summary>
  167. /// 刻号扫码
  168. /// </summary>
  169. public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
  170. /// <summary>
  171. /// FL条码扫码
  172. /// </summary>
  173. public RatesOfScanLB RatesOfScanLB { get; set; }
  174. /// <summary>
  175. /// 厂内BC扫码
  176. /// </summary>
  177. public RatesOfScanBC RatesOfScanBC { get; set; }
  178. /// <summary>
  179. /// 耗电量
  180. /// </summary>
  181. public PowerConsumptns PowerConsumptn { get; set; }
  182. }
  183. [Serializable]
  184. public class FOGRate
  185. {
  186. public FOGRatesOfFPCs FOGRatesOfFPC { get; set; }
  187. public PowerConsumptns PowerConsumptn { get; set; }
  188. public string Shift { get; set; }
  189. }
  190. [Serializable]
  191. public class FOGRatesOfFPCs
  192. {
  193. /// <summary>
  194. ///
  195. /// </summary>
  196. public int FPC拍照抛料总数 { get; set; }
  197. /// <summary>
  198. ///
  199. /// </summary>
  200. public float FPC抛料率 { get; set; }
  201. /// <summary>
  202. /// FPC总投入数
  203. /// </summary>
  204. public int FPC抛料总数 { get; set; }
  205. /// <summary>
  206. ///
  207. /// </summary>
  208. public int FPC真空抛料总数 { get; set; }
  209. /// <summary>
  210. /// FPC总投入数
  211. /// </summary>
  212. public int FPC总投入数 { get; set; }
  213. /// <summary>
  214. ///
  215. /// </summary>
  216. public int 校正平台FPC拍照抛料数 { get; set; }
  217. /// <summary>
  218. ///
  219. /// </summary>
  220. public int 校正平台FPC真空抛料数 { get; set; }
  221. /// <summary>
  222. ///
  223. /// </summary>
  224. public int 预压头FPC拍照抛料数 { get; set; }
  225. /// <summary>
  226. ///
  227. /// </summary>
  228. public int 预压头FPC真空抛料数 { get; set; }
  229. }
  230. [Serializable]
  231. public class OutPutPerHour
  232. {
  233. public string ModuleType { get; set; }
  234. public int ActualTT { get; set; }
  235. public List<ALarmHour> Alarms { get; set; }
  236. public int AlarmSum { get; set; }
  237. public int AlarmTime { get; set; }
  238. public int AutoRunTime { get; set; }
  239. public int IdleTime { get; set; }
  240. public int IdleTimeDownstream { get; set; }
  241. public int IdleTimeSelf { get; set; }
  242. public int IdleTimeUpstream { get; set; }
  243. public int LoadMATSum { get; set; }
  244. public int LoadMATTime { get; set; }
  245. public int OutPut { get; set; }
  246. public string Period { get; set; }
  247. public int TargetTT { get; set; }
  248. }
  249. [Serializable]
  250. public class PowerConsumptns
  251. {
  252. /// <summary>
  253. /// 耗电量
  254. /// </summary>
  255. public float 耗电量 { get; set; }
  256. /// <summary>
  257. /// 耗电量(kwh)/产能(kpcs)
  258. /// </summary>
  259. public float 耗电量产能比 { get; set; }
  260. /// <summary>
  261. /// 当班总产能
  262. /// </summary>
  263. public int 总产能 { get; set; }
  264. }
  265. [Serializable]
  266. public class PSRateInfo
  267. {
  268. public List<PSRateInfoOfEPD> PSRatesOfEPD { get; set; }
  269. public List<PSRateInfoOfPS> PSRatesOfPS { get; set; }
  270. public PowerConsumptns PowerConsumptn { get; set; }
  271. public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
  272. public RatesOfScanBC RatesOfScanBC { get; set; }
  273. public string Shift { get; set; }
  274. }
  275. [Serializable]
  276. public class PSRateInfoOfEPD
  277. {
  278. public int EPD二次撕膜数 { get; set; }
  279. public int EPD撕膜NG数 { get; set; }
  280. public int EPD撕膜成功率 { get; set; }
  281. public int EPD撕膜数 { get; set; }
  282. public int EPD一次撕膜数 { get; set; }
  283. }
  284. [Serializable]
  285. public class PSRateInfoOfPS
  286. {
  287. public int PS本体撕落抛料数 { get; set; }
  288. public int PS放反抛料数 { get; set; }
  289. public int PS拍照NG抛料数 { get; set; }
  290. public int PS生产总数 { get; set; }
  291. public int PS撕膜NG抛料数 { get; set; }
  292. public int PS撕膜成功率 { get; set; }
  293. public int PS撕膜总数 { get; set; }
  294. public int PS贴附精度NG数 { get; set; }
  295. public int PS真空异常抛料数 { get; set; }
  296. }
  297. [Serializable]
  298. public class RatesOfAOIAfterLam
  299. {
  300. /// <summary>
  301. ///
  302. /// </summary>
  303. //public int AOI对位一次NG数 { get; set; }
  304. /// <summary>
  305. ///
  306. /// </summary>
  307. public int AOI对位NG总数 { get; set; }
  308. /// <summary>
  309. ///
  310. /// </summary>
  311. public int AOI生产总数 { get; set; }
  312. /// <summary>
  313. ///
  314. /// </summary>
  315. // public int 一次成功率 { get; set; }
  316. /// <summary>
  317. ///
  318. /// </summary>
  319. public int 总成功率 { get; set; }
  320. }
  321. [Serializable]
  322. public class RatesOfAOIAllAfterLam
  323. {
  324. /// <summary>
  325. ///
  326. /// </summary>
  327. public int AOI生产总数 { get; set; }
  328. /// <summary>
  329. ///
  330. /// </summary>
  331. public int AOI对位一次NG数 { get; set; }
  332. /// <summary>
  333. ///
  334. /// </summary>
  335. public int AOI对位二次NG数 { get; set; }
  336. /// <summary>
  337. ///
  338. /// </summary>
  339. public int AOI对位NG总数 { get; set; }
  340. /// <summary>
  341. ///
  342. /// </summary>
  343. public int 一次成功率 { get; set; }
  344. /// <summary>
  345. ///
  346. /// </summary>
  347. public int 二次成功率 { get; set; }
  348. /// <summary>
  349. ///
  350. /// </summary>
  351. public int 总成功率 { get; set; }
  352. /// <summary>
  353. ///
  354. /// </summary>
  355. public int AOI二次投入数 { get; set; }
  356. }
  357. [Serializable]
  358. public class RatesOfAOIBeforeLam
  359. {
  360. /// <summary>
  361. ///
  362. /// </summary>
  363. public int AOI对位NG总数 { get; set; }
  364. /// <summary>
  365. ///
  366. /// </summary>
  367. public int AOI对位二次NG数 { get; set; }
  368. /// <summary>
  369. ///
  370. /// </summary>
  371. public int AOI对位一次NG数 { get; set; }
  372. /// <summary>
  373. ///
  374. /// </summary>
  375. public int AOI生产总数 { get; set; }
  376. /// <summary>
  377. ///
  378. /// </summary>
  379. public int AOI二次投入数 { get; set; }
  380. /// <summary>
  381. ///
  382. /// </summary>
  383. public int 二次成功率 { get; set; }
  384. /// <summary>
  385. ///
  386. /// </summary>
  387. public int 一次成功率 { get; set; }
  388. /// <summary>
  389. ///
  390. /// </summary>
  391. public int 总成功率 { get; set; }
  392. }
  393. [Serializable]
  394. public class RatesOfEPD
  395. {
  396. /// <summary>
  397. ///
  398. /// </summary>
  399. public int EPD撕膜NG总数 { get; set; }
  400. /// <summary>
  401. ///
  402. /// </summary>
  403. public int EPD撕膜二次NG数 { get; set; }
  404. /// <summary>
  405. ///
  406. /// </summary>
  407. public int EPD撕膜一次NG数 { get; set; }
  408. /// <summary>
  409. ///
  410. /// </summary>
  411. public int EPD撕膜总数 { get; set; }
  412. /// <summary>
  413. ///
  414. /// </summary>
  415. public int EPD二次撕膜数 { get; set; }
  416. /// <summary>
  417. ///
  418. /// </summary>
  419. public int 二次成功率 { get; set; }
  420. /// <summary>
  421. ///
  422. /// </summary>
  423. public int 一次成功率 { get; set; }
  424. /// <summary>
  425. ///
  426. /// </summary>
  427. public int 总成功率 { get; set; }
  428. }
  429. [Serializable]
  430. public class RatesOfScanBC
  431. {
  432. /// <summary>
  433. ///
  434. /// </summary>
  435. public int 二次成功率 { get; set; }
  436. /// <summary>
  437. ///
  438. /// </summary>
  439. public int 扫码NG总数 { get; set; }
  440. /// <summary>
  441. ///
  442. /// </summary>
  443. public int 扫码二次NG数 { get; set; }
  444. /// <summary>
  445. ///
  446. /// </summary>
  447. public int 扫码一次NG数 { get; set; }
  448. /// <summary>
  449. ///
  450. /// </summary>
  451. public int 扫码总数 { get; set; }
  452. /// <summary>
  453. ///
  454. /// </summary>
  455. public int 扫码二次投入数 { get; set; }
  456. /// <summary>
  457. ///
  458. /// </summary>
  459. public int 一次成功率 { get; set; }
  460. /// <summary>
  461. ///
  462. /// </summary>
  463. public int 总成功率 { get; set; }
  464. }
  465. [Serializable]
  466. public class RatesOfScanLaserMark
  467. {
  468. /// <summary>
  469. ///
  470. /// </summary>
  471. public int 二次成功率 { get; set; }
  472. /// <summary>
  473. ///
  474. /// </summary>
  475. public int 扫码NG总数 { get; set; }
  476. /// <summary>
  477. ///
  478. /// </summary>
  479. public int 扫码二次NG数 { get; set; }
  480. /// <summary>
  481. ///
  482. /// </summary>
  483. public int 扫码一次NG数 { get; set; }
  484. /// <summary>
  485. ///
  486. /// </summary>
  487. public int 扫码总数 { get; set; }
  488. /// <summary>
  489. ///
  490. /// </summary>
  491. public int 扫码二次投入数 { get; set; }
  492. /// <summary>
  493. ///
  494. /// </summary>
  495. public int 一次成功率 { get; set; }
  496. /// <summary>
  497. ///
  498. /// </summary>
  499. public int 总成功率 { get; set; }
  500. }
  501. [Serializable]
  502. public class RatesOfScanTP
  503. {
  504. /// <summary>
  505. ///
  506. /// </summary>
  507. public int 二次成功率 { get; set; }
  508. /// <summary>
  509. ///
  510. /// </summary>
  511. public int 扫码NG总数 { get; set; }
  512. /// <summary>
  513. ///
  514. /// </summary>
  515. public int 扫码二次NG数 { get; set; }
  516. /// <summary>
  517. ///
  518. /// </summary>
  519. public int 扫码一次NG数 { get; set; }
  520. /// <summary>
  521. ///
  522. /// </summary>
  523. public int 扫码总数 { get; set; }
  524. /// <summary>
  525. ///
  526. /// </summary>
  527. public int 扫码二次投入数 { get; set; }
  528. /// <summary>
  529. ///
  530. /// </summary>
  531. public int 一次成功率 { get; set; }
  532. /// <summary>
  533. ///
  534. /// </summary>
  535. public int 总成功率 { get; set; }
  536. }
  537. [Serializable]
  538. public class RatesOfScan2D
  539. {
  540. public int 扫码NG总数 { get; set; }
  541. public int 扫码总数 { get; set; }
  542. public int 总成功率 { get; set; }
  543. }
  544. [Serializable]
  545. public class RatesOfTP
  546. {
  547. /// <summary>
  548. ///
  549. /// </summary>
  550. public int TP撕膜NG总数 { get; set; }
  551. /// <summary>
  552. ///
  553. /// </summary>
  554. public int TP撕膜一次NG数 { get; set; }
  555. /// <summary>
  556. ///
  557. /// </summary>
  558. public int TP撕膜总数 { get; set; }
  559. /// <summary>
  560. ///
  561. /// </summary>
  562. public int 一次成功率 { get; set; }
  563. /// <summary>
  564. ///
  565. /// </summary>
  566. public int 总成功率 { get; set; }
  567. }
  568. [Serializable]
  569. public class RatesOfTPOCATP
  570. {
  571. public int TP撕膜NG总数 { get; set; }
  572. /// <summary>
  573. ///
  574. /// </summary>
  575. public int TP撕膜二次NG数 { get; set; }
  576. /// <summary>
  577. ///
  578. /// </summary>
  579. public int TP撕膜一次NG数 { get; set; }
  580. /// <summary>
  581. ///
  582. /// </summary>
  583. public int TP撕膜总数 { get; set; }
  584. /// <summary>
  585. ///
  586. /// </summary>
  587. public int TP二次撕膜数 { get; set; }
  588. /// <summary>
  589. ///
  590. /// </summary>
  591. public int 二次成功率 { get; set; }
  592. /// <summary>
  593. ///
  594. /// </summary>
  595. public int 一次成功率 { get; set; }
  596. /// <summary>
  597. ///
  598. /// </summary>
  599. public int 总成功率 { get; set; }
  600. }
  601. [Serializable]
  602. public class RatesOfFPC
  603. {
  604. public int FPC撕膜总数 { get; set; }
  605. public int FPC撕膜NG总数 { get; set; }
  606. public int 总成功率 { get; set; }
  607. }
  608. [Serializable]
  609. public class RatesOfOCA
  610. {
  611. public int OCA撕膜NG总数 { get; set; }
  612. /// <summary>
  613. ///
  614. /// </summary>
  615. public int OCA撕膜二次NG数 { get; set; }
  616. /// <summary>
  617. ///
  618. /// </summary>
  619. public int OCA撕膜一次NG数 { get; set; }
  620. /// <summary>
  621. ///
  622. /// </summary>
  623. public int OCA撕膜总数 { get; set; }
  624. /// <summary>
  625. ///
  626. /// </summary>
  627. public int OCA二次撕膜数 { get; set; }
  628. /// <summary>
  629. ///
  630. /// </summary>
  631. public int 二次成功率 { get; set; }
  632. /// <summary>
  633. ///
  634. /// </summary>
  635. public int 一次成功率 { get; set; }
  636. /// <summary>
  637. ///
  638. /// </summary>
  639. public int 总成功率 { get; set; }
  640. }
  641. [Serializable]
  642. public class RatesOfOCAback
  643. {
  644. /// <summary>
  645. ///
  646. /// </summary>
  647. public int OCA撕膜NG总数 { get; set; }
  648. /// <summary>
  649. ///
  650. /// </summary>
  651. public int OCA撕膜二次NG数 { get; set; }
  652. /// <summary>
  653. ///
  654. /// </summary>
  655. public int OCA撕膜一次NG数 { get; set; }
  656. /// <summary>
  657. ///
  658. /// </summary>
  659. public int OCA撕膜总数 { get; set; }
  660. /// <summary>
  661. ///
  662. /// </summary>
  663. public int OCA二次撕膜数 { get; set; }
  664. /// <summary>
  665. ///
  666. /// </summary>
  667. public int 二次成功率 { get; set; }
  668. /// <summary>
  669. ///
  670. /// </summary>
  671. public int 一次成功率 { get; set; }
  672. /// <summary>
  673. ///
  674. /// </summary>
  675. public int 总成功率 { get; set; }
  676. }
  677. [Serializable]
  678. public class TPRate
  679. {
  680. /// <summary>
  681. ///
  682. /// </summary>
  683. public PowerConsumptns PowerConsumptn { get; set; }
  684. /// <summary>
  685. ///
  686. /// </summary>
  687. public List<RatesOfAOIAfterLam> RatesOfAOIAfterLam { get; set; }
  688. /// <summary>
  689. ///
  690. /// </summary>
  691. public List<RatesOfAOIBeforeLam> RatesOfAOIBeforeLam { get; set; }
  692. /// <summary>
  693. ///
  694. /// </summary>
  695. public List<RatesOfEPD> RatesOfEPD { get; set; }
  696. /// <summary>
  697. ///
  698. /// </summary>
  699. public RatesOfScanBC RatesOfScanBC { get; set; }
  700. /// <summary>
  701. ///
  702. /// </summary>
  703. public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
  704. /// <summary>
  705. ///
  706. /// </summary>
  707. public RatesOfScanTP RatesOfScanTP { get; set; }
  708. /// <summary>
  709. ///
  710. /// </summary>
  711. public List<RatesOfTP> RatesOfTP { get; set; }
  712. /// <summary>
  713. /// 早班
  714. /// </summary>
  715. public string Shift { get; set; }
  716. }
  717. [Serializable]
  718. public class FPCRate
  719. {
  720. /// <summary>
  721. /// 能耗
  722. /// </summary>
  723. public PowerConsumptns PowerConsumptn { get; set; }
  724. /// <summary>
  725. /// 精度检
  726. /// </summary>
  727. public RatesOfAOIAllAfterLam[] RatesOfAOIAfterLam { get; set; }
  728. /// <summary>
  729. /// 对位
  730. /// </summary>
  731. public RatesOfAOIBeforeLam[] RatesOfFPCAOIBeforeLam { get; set; }
  732. /// <summary>
  733. /// FPC撕膜
  734. /// </summary>
  735. public RatesOfFPC[] RatesOfFPC { get; set; }
  736. /// <summary>
  737. /// 扫码
  738. /// </summary>
  739. public RatesOfScan2D RatesOfScan2D { get; set; }
  740. /// <summary>
  741. /// 班别
  742. /// </summary>
  743. public string Shift { get; set; }
  744. }
  745. [Serializable]
  746. public class TPOCARate
  747. {
  748. /// <summary>
  749. ///
  750. /// </summary>
  751. public PowerConsumptns PowerConsumptn { get; set; }
  752. /// <summary>
  753. ///
  754. /// </summary>
  755. public List<RatesOfAOIAfterLam> RatesOfAOIAfterLam { get; set; }
  756. /// <summary>
  757. ///
  758. /// </summary>
  759. public List<RatesOfAOIBeforeLam> RatesOfTPAOIBeforeLam { get; set; }
  760. /// <summary>
  761. ///
  762. /// </summary>
  763. public List<RatesOfAOIBeforeLam> RatesOfOCAAOIBeforeLam { get; set; }
  764. /// <summary>
  765. ///
  766. /// </summary>
  767. public List<RatesOfTPOCATP> RatesOfTP { get; set; }
  768. /// <summary>
  769. ///
  770. /// </summary>
  771. public RatesOfScan2D RatesOfScanTPofTPOCA { get; set; }
  772. /// <summary>
  773. ///
  774. /// </summary>
  775. public List<RatesOfOCA> RatesOfOCA { get; set; }
  776. /// <summary>
  777. ///
  778. /// </summary>
  779. public RatesOfOCAback RatesOfOCAback { get; set; }
  780. /// <summary>
  781. /// 早班
  782. /// </summary>
  783. public string Shift { get; set; }
  784. }
  785. [Serializable]
  786. public class EQPData
  787. {
  788. public string Topic { get; set; }
  789. public bool IsNewDay { get; set; }
  790. public DateTime Date { get; set; }
  791. public List<OutPutPerHour> OutPuts { get; set; }
  792. public AGRate[] AGRates { get; set; }
  793. public List<PSRateInfo> PSRates { get; set; }
  794. public FOGRate[] FOGRates { get; set; }
  795. public TPRate[] TPRates { get; set; }
  796. public FPCRate[] FPCRates { get; set; }
  797. public FPLRate[] FPLRates { get; set; }
  798. public FLRate[] FLRates { get; set; }
  799. public ECRate[] ECRates { get; set; }
  800. public RTVRate[] RTVRates { get; set; }
  801. public BTRate[] BTRates { get; set; }
  802. public TPOCARate[] TPOCARates { get; set; }
  803. public List<Alarm> Alarms { get; set; }
  804. public void DataInit()
  805. {
  806. foreach (var item in Alarms)
  807. {
  808. item.Date = string.Empty;
  809. item.Time = string.Empty;
  810. item.AlarmSum = 0;
  811. }
  812. foreach (var item in OutPuts)
  813. {
  814. item.OutPut = 0;
  815. item.AutoRunTime = 0;
  816. item.AlarmSum = 0;
  817. item.IdleTime = 0;
  818. item.ActualTT = 0;
  819. item.TargetTT = 0;
  820. item.AlarmTime = 0;
  821. item.LoadMATSum = 0;
  822. item.LoadMATTime = 0;
  823. item.Alarms = new List<ALarmHour>();
  824. }
  825. if (null != PSRates)
  826. {
  827. foreach (var item in PSRates)
  828. {
  829. foreach (var epditem in item.PSRatesOfEPD)
  830. {
  831. epditem.EPD撕膜数 = 0;
  832. epditem.EPD一次撕膜数 = 0;
  833. epditem.EPD二次撕膜数 = 0;
  834. epditem.EPD撕膜NG数 = 0;
  835. epditem.EPD撕膜成功率 = 0;
  836. }
  837. foreach (var psitem in item.PSRatesOfPS)
  838. {
  839. psitem.PS生产总数 = 0;
  840. psitem.PS撕膜总数 = 0;
  841. psitem.PS拍照NG抛料数 = 0;
  842. psitem.PS真空异常抛料数 = 0;
  843. psitem.PS放反抛料数 = 0;
  844. psitem.PS本体撕落抛料数 = 0;
  845. psitem.PS撕膜NG抛料数 = 0;
  846. psitem.PS撕膜成功率 = 0;
  847. psitem.PS贴附精度NG数 = 0;
  848. }
  849. }
  850. }
  851. if (null != BTRates)
  852. {
  853. foreach (var item in BTRates)
  854. {
  855. foreach (var aoiitem in item.BTRatesOfAOI)
  856. {
  857. aoiitem.生产总数 = 0;
  858. aoiitem.BT贴附对位NG数 = 0;
  859. aoiitem.BTAOI检测NG数 = 0;
  860. aoiitem.BT贴附对位成功率 = 0;
  861. aoiitem.BTAOI检查成功率 = 0;
  862. }
  863. }
  864. }
  865. if (null != FOGRates)
  866. {
  867. foreach (var item in FOGRates)
  868. {
  869. item.FOGRatesOfFPC.校正平台FPC拍照抛料数 = 0;
  870. item.FOGRatesOfFPC.校正平台FPC真空抛料数 = 0;
  871. item.FOGRatesOfFPC.预压头FPC拍照抛料数 = 0;
  872. item.FOGRatesOfFPC.预压头FPC真空抛料数 = 0;
  873. item.FOGRatesOfFPC.FPC总投入数 = 0;
  874. item.FOGRatesOfFPC.FPC拍照抛料总数 = 0;
  875. item.FOGRatesOfFPC.FPC真空抛料总数 = 0;
  876. item.FOGRatesOfFPC.FPC总投入数 = 0;
  877. item.FOGRatesOfFPC.FPC抛料总数 = 0;
  878. item.FOGRatesOfFPC.FPC抛料率 = 0.0f;
  879. item.PowerConsumptn.耗电量 = 0.0f;
  880. item.PowerConsumptn.总产能 = 0;
  881. item.PowerConsumptn.耗电量产能比 = 0.0f;
  882. }
  883. }
  884. if (null != TPRates)
  885. {
  886. foreach (var item in TPRates)
  887. {
  888. foreach (var epditem in item.RatesOfEPD)
  889. {
  890. epditem.EPD撕膜总数 = 0;
  891. epditem.EPD二次撕膜数 = 0;
  892. epditem.EPD撕膜一次NG数 = 0;
  893. epditem.EPD撕膜二次NG数 = 0;
  894. epditem.EPD撕膜NG总数 = 0;
  895. epditem.一次成功率 = 0;
  896. epditem.二次成功率 = 0;
  897. epditem.总成功率 = 0;
  898. }
  899. foreach (var tpitem in item.RatesOfTP)
  900. {
  901. tpitem.TP撕膜总数 = 0;
  902. tpitem.TP撕膜一次NG数 = 0;
  903. tpitem.TP撕膜NG总数 = 0;
  904. tpitem.一次成功率 = 0;
  905. tpitem.总成功率 = 0;
  906. }
  907. foreach (var aoibeforelamitem in item.RatesOfAOIBeforeLam)
  908. {
  909. aoibeforelamitem.AOI生产总数 = 0;
  910. aoibeforelamitem.AOI二次投入数 = 0;
  911. aoibeforelamitem.AOI对位一次NG数 = 0;
  912. aoibeforelamitem.AOI对位二次NG数 = 0;
  913. aoibeforelamitem.AOI对位NG总数 = 0;
  914. aoibeforelamitem.一次成功率 = 0;
  915. aoibeforelamitem.二次成功率 = 0;
  916. aoibeforelamitem.总成功率 = 0;
  917. }
  918. foreach (var aoiafterlamitem in item.RatesOfAOIAfterLam)
  919. {
  920. aoiafterlamitem.AOI生产总数 = 0;
  921. aoiafterlamitem.AOI对位NG总数 = 0;
  922. aoiafterlamitem.总成功率 = 0;
  923. }
  924. item.RatesOfScanLaserMark.扫码总数 = 0;
  925. item.RatesOfScanLaserMark.扫码二次投入数 = 0;
  926. item.RatesOfScanLaserMark.扫码一次NG数 = 0;
  927. item.RatesOfScanLaserMark.扫码二次NG数 = 0;
  928. item.RatesOfScanLaserMark.扫码NG总数 = 0;
  929. item.RatesOfScanLaserMark.一次成功率 = 0;
  930. item.RatesOfScanLaserMark.二次成功率 = 0;
  931. item.RatesOfScanLaserMark.总成功率 = 0;
  932. item.RatesOfScanTP.扫码总数 = 0;
  933. item.RatesOfScanTP.扫码二次投入数 = 0;
  934. item.RatesOfScanTP.扫码一次NG数 = 0;
  935. item.RatesOfScanTP.扫码二次NG数 = 0;
  936. item.RatesOfScanTP.扫码NG总数 = 0;
  937. item.RatesOfScanTP.一次成功率 = 0;
  938. item.RatesOfScanTP.二次成功率 = 0;
  939. item.RatesOfScanTP.总成功率 = 0;
  940. item.RatesOfScanBC.扫码总数 = 0;
  941. item.RatesOfScanBC.扫码二次投入数 = 0;
  942. item.RatesOfScanBC.扫码一次NG数 = 0;
  943. item.RatesOfScanBC.扫码二次NG数 = 0;
  944. item.RatesOfScanBC.扫码NG总数 = 0;
  945. item.RatesOfScanBC.一次成功率 = 0;
  946. item.RatesOfScanBC.二次成功率 = 0;
  947. item.RatesOfScanBC.总成功率 = 0;
  948. item.PowerConsumptn.耗电量 = 0;
  949. item.PowerConsumptn.总产能 = 0;
  950. item.PowerConsumptn.耗电量产能比 = 0;
  951. }
  952. }
  953. if (null != FPLRates)
  954. {
  955. foreach (var item in FPLRates)
  956. {
  957. foreach (var agitem in item.RatesOfAG)
  958. {
  959. agitem.点胶总数 = 0;
  960. agitem.点胶NG数 = 0;
  961. agitem.点胶成功率 = 0;
  962. }
  963. foreach (var fplitem in item.RatesOfFPL)
  964. {
  965. fplitem.FPL生产总数 = 0;
  966. fplitem.FPL撕膜总数 = 0;
  967. fplitem.FPL拍照NG数 = 0;
  968. fplitem.FPL撕膜失败NG数 = 0;
  969. fplitem.FPL真空异常数 = 0;
  970. fplitem.FPL贴附精度NG数 = 0;
  971. fplitem.FPL撕膜成功率 = 0;
  972. }
  973. item.PowerConsumptn.耗电量 = 0.0f;
  974. item.PowerConsumptn.总产能 = 0;
  975. item.PowerConsumptn.耗电量产能比 = 0.0f;
  976. }
  977. }
  978. if (null != FLRates)
  979. {
  980. foreach (var item in FLRates)
  981. {
  982. foreach (var epditem in item.RatesOfEPD)
  983. {
  984. epditem.EPD撕膜总数 = 0;
  985. epditem.EPD二次撕膜数 = 0;
  986. epditem.EPD撕膜一次NG数 = 0;
  987. epditem.EPD撕膜二次NG数 = 0;
  988. epditem.EPD撕膜NG总数 = 0;
  989. epditem.一次成功率 = 0;
  990. epditem.二次成功率 = 0;
  991. epditem.总成功率 = 0;
  992. }
  993. foreach (var flitem in item.RatesOfFL)
  994. {
  995. flitem.FL撕膜总数 = 0;
  996. flitem.FL二次撕膜数 = 0;
  997. flitem.FL撕膜一次NG数 = 0;
  998. flitem.FL撕膜二次NG数 = 0;
  999. flitem.FL撕膜NG总数 = 0;
  1000. flitem.一次成功率 = 0;
  1001. flitem.二次成功率 = 0;
  1002. flitem.总成功率 = 0;
  1003. }
  1004. foreach (var AOIBeforeLamitem in item.RatesOfFLAOIBeforeLam)
  1005. {
  1006. AOIBeforeLamitem.AOI生产总数 = 0;
  1007. AOIBeforeLamitem.AOI二次投入数 = 0;
  1008. AOIBeforeLamitem.AOI对位一次NG数 = 0;
  1009. AOIBeforeLamitem.AOI对位二次NG数 = 0;
  1010. AOIBeforeLamitem.AOI对位NG总数 = 0;
  1011. AOIBeforeLamitem.一次成功率 = 0;
  1012. AOIBeforeLamitem.二次成功率 = 0;
  1013. AOIBeforeLamitem.总成功率 = 0;
  1014. }
  1015. foreach (var AOIBeforeLamitem in item.RatesOfEPDAOIBeforeLam)
  1016. {
  1017. AOIBeforeLamitem.AOI生产总数 = 0;
  1018. AOIBeforeLamitem.AOI二次投入数 = 0;
  1019. AOIBeforeLamitem.AOI对位一次NG数 = 0;
  1020. AOIBeforeLamitem.AOI对位二次NG数 = 0;
  1021. AOIBeforeLamitem.AOI对位NG总数 = 0;
  1022. AOIBeforeLamitem.一次成功率 = 0;
  1023. AOIBeforeLamitem.二次成功率 = 0;
  1024. AOIBeforeLamitem.总成功率 = 0;
  1025. }
  1026. foreach (var AOIAfterLamitem in item.RatesOfAOIAfterLam)
  1027. {
  1028. AOIAfterLamitem.AOI生产总数 = 0;
  1029. AOIAfterLamitem.AOI对位NG总数 = 0;
  1030. AOIAfterLamitem.总成功率 = 0;
  1031. }
  1032. item.RatesOfScanLaserMark.扫码总数 = 0;
  1033. item.RatesOfScanLaserMark.扫码二次投入数 = 0;
  1034. item.RatesOfScanLaserMark.扫码一次NG数 = 0;
  1035. item.RatesOfScanLaserMark.扫码二次NG数 = 0;
  1036. item.RatesOfScanLaserMark.扫码NG总数 = 0;
  1037. item.RatesOfScanLaserMark.一次成功率 = 0;
  1038. item.RatesOfScanLaserMark.二次成功率 = 0;
  1039. item.RatesOfScanLaserMark.总成功率 = 0;
  1040. item.RatesOfScanLB.扫码总数 = 0;
  1041. item.RatesOfScanLB.扫码二次投入数 = 0;
  1042. item.RatesOfScanLB.扫码一次NG数 = 0;
  1043. item.RatesOfScanLB.扫码二次NG数 = 0;
  1044. item.RatesOfScanLB.扫码NG总数 = 0;
  1045. item.RatesOfScanLB.一次成功率 = 0;
  1046. item.RatesOfScanLB.二次成功率 = 0;
  1047. item.RatesOfScanLB.总成功率 = 0;
  1048. item.RatesOfScanBC.扫码总数 = 0;
  1049. item.RatesOfScanBC.扫码二次投入数 = 0;
  1050. item.RatesOfScanBC.扫码一次NG数 = 0;
  1051. item.RatesOfScanBC.扫码二次NG数 = 0;
  1052. item.RatesOfScanBC.扫码NG总数 = 0;
  1053. item.RatesOfScanBC.一次成功率 = 0;
  1054. item.RatesOfScanBC.二次成功率 = 0;
  1055. item.RatesOfScanBC.总成功率 = 0;
  1056. item.PowerConsumptn.耗电量 = 0;
  1057. item.PowerConsumptn.总产能 = 0;
  1058. item.PowerConsumptn.耗电量产能比 = 0;
  1059. }
  1060. }
  1061. if (null != ECRates)
  1062. {
  1063. foreach (var item in ECRates)
  1064. {
  1065. item.PowerConsumptn.耗电量 = 0.0f;
  1066. item.PowerConsumptn.总产能 = 0;
  1067. item.PowerConsumptn.耗电量产能比 = 0.0f;
  1068. }
  1069. }
  1070. if (null != RTVRates)
  1071. {
  1072. foreach (var item in RTVRates)
  1073. {
  1074. item.PowerConsumptn.耗电量 = 0.0f;
  1075. item.PowerConsumptn.总产能 = 0;
  1076. item.PowerConsumptn.耗电量产能比 = 0.0f;
  1077. }
  1078. }
  1079. if (null != TPOCARates)
  1080. {
  1081. foreach (var item in TPOCARates)
  1082. {
  1083. foreach (var tpitem in item.RatesOfTP)
  1084. {
  1085. tpitem.TP撕膜总数 = 0;
  1086. tpitem.TP二次撕膜数 = 0;
  1087. tpitem.TP撕膜一次NG数 = 0;
  1088. tpitem.TP撕膜二次NG数 = 0;
  1089. tpitem.TP撕膜NG总数 = 0;
  1090. tpitem.一次成功率 = 0;
  1091. tpitem.二次成功率 = 0;
  1092. tpitem.总成功率 = 0;
  1093. }
  1094. foreach (var ocaitem in item.RatesOfOCA)
  1095. {
  1096. ocaitem.OCA撕膜总数 = 0;
  1097. ocaitem.OCA二次撕膜数 = 0;
  1098. ocaitem.OCA撕膜一次NG数 = 0;
  1099. ocaitem.OCA撕膜二次NG数 = 0;
  1100. ocaitem.OCA撕膜NG总数 = 0;
  1101. ocaitem.一次成功率 = 0;
  1102. ocaitem.二次成功率 = 0;
  1103. ocaitem.总成功率 = 0;
  1104. }
  1105. foreach (var AOIBeforeLamitem in item.RatesOfTPAOIBeforeLam)
  1106. {
  1107. AOIBeforeLamitem.AOI生产总数 = 0;
  1108. AOIBeforeLamitem.AOI二次投入数 = 0;
  1109. AOIBeforeLamitem.AOI对位一次NG数 = 0;
  1110. AOIBeforeLamitem.AOI对位二次NG数 = 0;
  1111. AOIBeforeLamitem.AOI对位NG总数 = 0;
  1112. AOIBeforeLamitem.一次成功率 = 0;
  1113. AOIBeforeLamitem.二次成功率 = 0;
  1114. AOIBeforeLamitem.总成功率 = 0;
  1115. }
  1116. foreach (var AOIBeforeLamitem in item.RatesOfOCAAOIBeforeLam)
  1117. {
  1118. AOIBeforeLamitem.AOI生产总数 = 0;
  1119. AOIBeforeLamitem.AOI二次投入数 = 0;
  1120. AOIBeforeLamitem.AOI对位一次NG数 = 0;
  1121. AOIBeforeLamitem.AOI对位二次NG数 = 0;
  1122. AOIBeforeLamitem.AOI对位NG总数 = 0;
  1123. AOIBeforeLamitem.一次成功率 = 0;
  1124. AOIBeforeLamitem.二次成功率 = 0;
  1125. AOIBeforeLamitem.总成功率 = 0;
  1126. }
  1127. foreach (var AOIAfterLamitem in item.RatesOfAOIAfterLam)
  1128. {
  1129. AOIAfterLamitem.AOI生产总数 = 0;
  1130. AOIAfterLamitem.AOI对位NG总数 = 0;
  1131. AOIAfterLamitem.总成功率 = 0;
  1132. }
  1133. item.RatesOfOCAback.OCA撕膜总数 = 0;
  1134. item.RatesOfOCAback.OCA二次撕膜数 = 0;
  1135. item.RatesOfOCAback.OCA撕膜一次NG数 = 0;
  1136. item.RatesOfOCAback.OCA撕膜二次NG数 = 0;
  1137. item.RatesOfOCAback.OCA撕膜NG总数 = 0;
  1138. item.RatesOfOCAback.一次成功率 = 0;
  1139. item.RatesOfOCAback.二次成功率 = 0;
  1140. item.RatesOfOCAback.总成功率 = 0;
  1141. item.RatesOfScanTPofTPOCA.扫码总数 = 0;
  1142. item.RatesOfScanTPofTPOCA.扫码NG总数 = 0;
  1143. item.RatesOfScanTPofTPOCA.总成功率 = 0;
  1144. item.PowerConsumptn.耗电量 = 0;
  1145. item.PowerConsumptn.总产能 = 0;
  1146. item.PowerConsumptn.耗电量产能比 = 0;
  1147. }
  1148. }
  1149. if (null != FPCRates)
  1150. {
  1151. foreach (var item in FPCRates)
  1152. {
  1153. foreach (var fpcitem in item.RatesOfFPC)
  1154. {
  1155. fpcitem.FPC撕膜NG总数 = 0;
  1156. fpcitem.FPC撕膜总数 = 0;
  1157. fpcitem.总成功率 = 0;
  1158. }
  1159. foreach (var fpcocaitem in item.RatesOfFPCAOIBeforeLam)
  1160. {
  1161. fpcocaitem.AOI生产总数 = 0;
  1162. fpcocaitem.AOI对位一次NG数 = 0;
  1163. fpcocaitem.AOI二次投入数 = 0;
  1164. fpcocaitem.AOI对位二次NG数 = 0;
  1165. fpcocaitem.AOI对位NG总数 = 0;
  1166. fpcocaitem.一次成功率 = 0;
  1167. fpcocaitem.二次成功率 = 0;
  1168. fpcocaitem.总成功率 = 0;
  1169. }
  1170. foreach (var AOIAfterLamitem in item.RatesOfAOIAfterLam)
  1171. {
  1172. AOIAfterLamitem.AOI生产总数 = 0;
  1173. AOIAfterLamitem.AOI二次投入数 = 0;
  1174. AOIAfterLamitem.AOI对位一次NG数 = 0;
  1175. AOIAfterLamitem.AOI对位二次NG数 = 0;
  1176. AOIAfterLamitem.AOI对位NG总数 = 0;
  1177. AOIAfterLamitem.一次成功率 = 0;
  1178. AOIAfterLamitem.二次成功率 = 0;
  1179. AOIAfterLamitem.总成功率 = 0;
  1180. }
  1181. item.RatesOfScan2D.扫码总数 = 0;
  1182. item.RatesOfScan2D.扫码NG总数 = 0;
  1183. item.RatesOfScan2D.总成功率 = 0;
  1184. item.PowerConsumptn.耗电量 = 0;
  1185. item.PowerConsumptn.总产能 = 0;
  1186. item.PowerConsumptn.耗电量产能比 = 0;
  1187. }
  1188. }
  1189. }
  1190. }
  1191. }