12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304 |
- using System;
- using System.Collections.Generic;
- namespace Core.Dtos
- {
- [Serializable]
- public class Alarm
- {
- public int AlarmCode { get; set; }
- public string AlarmInfo { get; set; }
- public int AlarmSum { get; set; }
- public string Date { get; set; }
- public string Time { get; set; }
- }
- [Serializable]
- public class ALarmHour
- {
- public int AlarmCode { get; set; }
- public int AlarmSum { get; set; }
- }
- [Serializable]
- public class BTRate
- {
- public string Shift { get; set; }
- public BtRatesOfAOI[] BTRatesOfAOI { get; set; }
- public PowerConsumptns PowerConsumptn { get; set; }
- }
- [Serializable]
- public class ECRate
- {
- public string Shift { get; set; }
- public PowerConsumptns PowerConsumptn { get; set; }
- }
- [Serializable]
- public class AGRate
- {
- public string Shift { get; set; }
- public PowerConsumptns PowerConsumptn { get; set; }
- }
- [Serializable]
- public class RTVRate
- {
- public string Shift { get; set; }
- public PowerConsumptns PowerConsumptn { get; set; }
- }
- [Serializable]
- public class BtRatesOfAOI
- {
- public int BTAOI检测NG数 { get; set; }
- public int BTAOI检查成功率 { get; set; }
- public int BT贴附对位NG数 { get; set; }
- public int BT贴附对位成功率 { get; set; }
- public int 生产总数 { get; set; }
- }
- [Serializable]
- public class RatesOfAG
- {
- public int 点胶总数 { get; set; }
- public int 点胶NG数 { get; set; }
- public int 点胶成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfFPL
- {
- public int FPL生产总数 { get; set; }
- public int FPL撕膜总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int FPL拍照NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int FPL真空异常数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int FPL贴附精度NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int FPL撕膜失败NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int FPL撕膜成功率 { get; set; }
- }
- [Serializable]
- public class FPLRate
- {
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfAG> RatesOfAG { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfFPL> RatesOfFPL { get; set; }
- /// <summary>
- ///
- /// </summary>
- public PowerConsumptns PowerConsumptn { get; set; }
- /// <summary>
- /// 早班
- /// </summary>
- public string Shift { get; set; }
- /// <summary>
- /// 扫码2
- /// </summary>
- public RatesOfScanBC RatesOfScanBC { get; set; }
- /// <summary>
- /// 扫码1
- /// </summary>
- public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
- }
- [Serializable]
- public class RatesOfScanLB
- {
- public int 二次成功率 { get; set; }
- public int 扫码NG总数 { get; set; }
- public int 扫码二次NG数 { get; set; }
- public int 扫码一次NG数 { get; set; }
- public int 扫码总数 { get; set; }
- public int 扫码二次投入数 { get; set; }
- public int 一次成功率 { get; set; }
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfFL
- {
- public int FL撕膜NG总数 { get; set; }
- public int FL撕膜二次NG数 { get; set; }
- public int FL撕膜一次NG数 { get; set; }
- public int FL撕膜总数 { get; set; }
- public int FL二次撕膜数 { get; set; }
- public int 二次成功率 { get; set; }
- public int 一次成功率 { get; set; }
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class FLRate
- {
- /// <summary>
- /// 班别
- /// </summary>
- public string Shift { get; set; }
- /// <summary>
- /// FL撕膜
- /// </summary>
- public List<RatesOfFL> RatesOfFL { get; set; }
- /// <summary>
- /// EPD撕膜
- /// </summary>
- public List<RatesOfEPD> RatesOfEPD { get; set; }
- /// <summary>
- /// FL对位
- /// </summary>
- public List<RatesOfAOIBeforeLam> RatesOfFLAOIBeforeLam { get; set; }
- /// <summary>
- /// EPD对位
- /// </summary>
- public List<RatesOfAOIBeforeLam> RatesOfEPDAOIBeforeLam { get; set; }
- /// <summary>
- /// 精度检测
- /// </summary>
- public List<RatesOfAOIAfterLam> RatesOfAOIAfterLam { get; set; }
- /// <summary>
- /// 刻号扫码
- /// </summary>
- public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
- /// <summary>
- /// FL条码扫码
- /// </summary>
- public RatesOfScanLB RatesOfScanLB { get; set; }
- /// <summary>
- /// 厂内BC扫码
- /// </summary>
- public RatesOfScanBC RatesOfScanBC { get; set; }
- /// <summary>
- /// 耗电量
- /// </summary>
- public PowerConsumptns PowerConsumptn { get; set; }
- }
- [Serializable]
- public class FOGRate
- {
- public FOGRatesOfFPCs FOGRatesOfFPC { get; set; }
- public PowerConsumptns PowerConsumptn { get; set; }
- public string Shift { get; set; }
- }
- [Serializable]
- public class FOGRatesOfFPCs
- {
- /// <summary>
- ///
- /// </summary>
- public int FPC拍照抛料总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public float FPC抛料率 { get; set; }
- /// <summary>
- /// FPC总投入数
- /// </summary>
- public int FPC抛料总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int FPC真空抛料总数 { get; set; }
- /// <summary>
- /// FPC总投入数
- /// </summary>
- public int FPC总投入数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 校正平台FPC拍照抛料数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 校正平台FPC真空抛料数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 预压头FPC拍照抛料数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 预压头FPC真空抛料数 { get; set; }
- }
- [Serializable]
- public class OutPutPerHour
- {
- public string ModuleType { get; set; }
- public int ActualTT { get; set; }
- public List<ALarmHour> Alarms { get; set; }
- public int AlarmSum { get; set; }
- public int AlarmTime { get; set; }
- public int AutoRunTime { get; set; }
- public int IdleTime { get; set; }
- public int IdleTimeDownstream { get; set; }
- public int IdleTimeSelf { get; set; }
- public int IdleTimeUpstream { get; set; }
- public int LoadMATSum { get; set; }
- public int LoadMATTime { get; set; }
- public int OutPut { get; set; }
- public string Period { get; set; }
- public int TargetTT { get; set; }
- }
- [Serializable]
- public class PowerConsumptns
- {
- /// <summary>
- /// 耗电量
- /// </summary>
- public float 耗电量 { get; set; }
- /// <summary>
- /// 耗电量(kwh)/产能(kpcs)
- /// </summary>
- public float 耗电量产能比 { get; set; }
- /// <summary>
- /// 当班总产能
- /// </summary>
- public int 总产能 { get; set; }
- }
- [Serializable]
- public class PSRateInfo
- {
- public List<PSRateInfoOfEPD> PSRatesOfEPD { get; set; }
- public List<PSRateInfoOfPS> PSRatesOfPS { get; set; }
- public PowerConsumptns PowerConsumptn { get; set; }
- public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
- public RatesOfScanBC RatesOfScanBC { get; set; }
- public string Shift { get; set; }
- }
- [Serializable]
- public class PSRateInfoOfEPD
- {
- public int EPD二次撕膜数 { get; set; }
- public int EPD撕膜NG数 { get; set; }
- public int EPD撕膜成功率 { get; set; }
- public int EPD撕膜数 { get; set; }
- public int EPD一次撕膜数 { get; set; }
- }
- [Serializable]
- public class PSRateInfoOfPS
- {
- public int PS本体撕落抛料数 { get; set; }
- public int PS放反抛料数 { get; set; }
- public int PS拍照NG抛料数 { get; set; }
- public int PS生产总数 { get; set; }
- public int PS撕膜NG抛料数 { get; set; }
- public int PS撕膜成功率 { get; set; }
- public int PS撕膜总数 { get; set; }
- public int PS贴附精度NG数 { get; set; }
- public int PS真空异常抛料数 { get; set; }
- }
- [Serializable]
- public class RatesOfAOIAfterLam
- {
- /// <summary>
- ///
- /// </summary>
- //public int AOI对位一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI对位NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI生产总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- // public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfAOIAllAfterLam
- {
- /// <summary>
- ///
- /// </summary>
- public int AOI生产总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI对位一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI对位二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI对位NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI二次投入数 { get; set; }
- }
- [Serializable]
- public class RatesOfAOIBeforeLam
- {
- /// <summary>
- ///
- /// </summary>
- public int AOI对位NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI对位二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI对位一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI生产总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int AOI二次投入数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfEPD
- {
- /// <summary>
- ///
- /// </summary>
- public int EPD撕膜NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int EPD撕膜二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int EPD撕膜一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int EPD撕膜总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int EPD二次撕膜数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfScanBC
- {
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码二次投入数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfScanLaserMark
- {
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码二次投入数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfScanTP
- {
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 扫码二次投入数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfScan2D
- {
- public int 扫码NG总数 { get; set; }
- public int 扫码总数 { get; set; }
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfTP
- {
- /// <summary>
- ///
- /// </summary>
- public int TP撕膜NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int TP撕膜一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int TP撕膜总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfTPOCATP
- {
- public int TP撕膜NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int TP撕膜二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int TP撕膜一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int TP撕膜总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int TP二次撕膜数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfFPC
- {
- public int FPC撕膜总数 { get; set; }
- public int FPC撕膜NG总数 { get; set; }
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfOCA
- {
- public int OCA撕膜NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA二次撕膜数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class RatesOfOCAback
- {
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜NG总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜二次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜一次NG数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA撕膜总数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int OCA二次撕膜数 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 二次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 一次成功率 { get; set; }
- /// <summary>
- ///
- /// </summary>
- public int 总成功率 { get; set; }
- }
- [Serializable]
- public class TPRate
- {
- /// <summary>
- ///
- /// </summary>
- public PowerConsumptns PowerConsumptn { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfAOIAfterLam> RatesOfAOIAfterLam { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfAOIBeforeLam> RatesOfAOIBeforeLam { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfEPD> RatesOfEPD { get; set; }
- /// <summary>
- ///
- /// </summary>
- public RatesOfScanBC RatesOfScanBC { get; set; }
- /// <summary>
- ///
- /// </summary>
- public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; }
- /// <summary>
- ///
- /// </summary>
- public RatesOfScanTP RatesOfScanTP { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfTP> RatesOfTP { get; set; }
- /// <summary>
- /// 早班
- /// </summary>
- public string Shift { get; set; }
- }
- [Serializable]
- public class FPCRate
- {
- /// <summary>
- /// 能耗
- /// </summary>
- public PowerConsumptns PowerConsumptn { get; set; }
- /// <summary>
- /// 精度检
- /// </summary>
- public RatesOfAOIAllAfterLam[] RatesOfAOIAfterLam { get; set; }
- /// <summary>
- /// 对位
- /// </summary>
- public RatesOfAOIBeforeLam[] RatesOfFPCAOIBeforeLam { get; set; }
- /// <summary>
- /// FPC撕膜
- /// </summary>
- public RatesOfFPC[] RatesOfFPC { get; set; }
- /// <summary>
- /// 扫码
- /// </summary>
- public RatesOfScan2D RatesOfScan2D { get; set; }
- /// <summary>
- /// 班别
- /// </summary>
- public string Shift { get; set; }
- }
- [Serializable]
- public class TPOCARate
- {
- /// <summary>
- ///
- /// </summary>
- public PowerConsumptns PowerConsumptn { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfAOIAfterLam> RatesOfAOIAfterLam { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfAOIBeforeLam> RatesOfTPAOIBeforeLam { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfAOIBeforeLam> RatesOfOCAAOIBeforeLam { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfTPOCATP> RatesOfTP { get; set; }
- /// <summary>
- ///
- /// </summary>
- public RatesOfScan2D RatesOfScanTPofTPOCA { get; set; }
- /// <summary>
- ///
- /// </summary>
- public List<RatesOfOCA> RatesOfOCA { get; set; }
- /// <summary>
- ///
- /// </summary>
- public RatesOfOCAback RatesOfOCAback { get; set; }
- /// <summary>
- /// 早班
- /// </summary>
- public string Shift { get; set; }
- }
- [Serializable]
- public class EQPData
- {
- public string Topic { get; set; }
- public bool IsNewDay { get; set; }
- public DateTime Date { get; set; }
- public List<OutPutPerHour> OutPuts { get; set; }
- public AGRate[] AGRates { get; set; }
- public List<PSRateInfo> PSRates { get; set; }
- public FOGRate[] FOGRates { get; set; }
- public TPRate[] TPRates { get; set; }
- public FPCRate[] FPCRates { get; set; }
- public FPLRate[] FPLRates { get; set; }
- public FLRate[] FLRates { get; set; }
- public ECRate[] ECRates { get; set; }
- public RTVRate[] RTVRates { get; set; }
- public BTRate[] BTRates { get; set; }
- public TPOCARate[] TPOCARates { get; set; }
- public List<Alarm> Alarms { get; set; }
- public void DataInit()
- {
- foreach (var item in Alarms)
- {
- item.Date = string.Empty;
- item.Time = string.Empty;
- item.AlarmSum = 0;
- }
- foreach (var item in OutPuts)
- {
- item.OutPut = 0;
- item.AutoRunTime = 0;
- item.AlarmSum = 0;
- item.IdleTime = 0;
- item.ActualTT = 0;
- item.TargetTT = 0;
- item.AlarmTime = 0;
- item.LoadMATSum = 0;
- item.LoadMATTime = 0;
- item.Alarms = new List<ALarmHour>();
- }
- if (null != PSRates)
- {
- foreach (var item in PSRates)
- {
- foreach (var epditem in item.PSRatesOfEPD)
- {
- epditem.EPD撕膜数 = 0;
- epditem.EPD一次撕膜数 = 0;
- epditem.EPD二次撕膜数 = 0;
- epditem.EPD撕膜NG数 = 0;
- epditem.EPD撕膜成功率 = 0;
- }
- foreach (var psitem in item.PSRatesOfPS)
- {
- psitem.PS生产总数 = 0;
- psitem.PS撕膜总数 = 0;
- psitem.PS拍照NG抛料数 = 0;
- psitem.PS真空异常抛料数 = 0;
- psitem.PS放反抛料数 = 0;
- psitem.PS本体撕落抛料数 = 0;
- psitem.PS撕膜NG抛料数 = 0;
- psitem.PS撕膜成功率 = 0;
- psitem.PS贴附精度NG数 = 0;
- }
- }
- }
- if (null != BTRates)
- {
- foreach (var item in BTRates)
- {
- foreach (var aoiitem in item.BTRatesOfAOI)
- {
- aoiitem.生产总数 = 0;
- aoiitem.BT贴附对位NG数 = 0;
- aoiitem.BTAOI检测NG数 = 0;
- aoiitem.BT贴附对位成功率 = 0;
- aoiitem.BTAOI检查成功率 = 0;
- }
- }
- }
- if (null != FOGRates)
- {
- foreach (var item in FOGRates)
- {
- item.FOGRatesOfFPC.校正平台FPC拍照抛料数 = 0;
- item.FOGRatesOfFPC.校正平台FPC真空抛料数 = 0;
- item.FOGRatesOfFPC.预压头FPC拍照抛料数 = 0;
- item.FOGRatesOfFPC.预压头FPC真空抛料数 = 0;
- item.FOGRatesOfFPC.FPC总投入数 = 0;
- item.FOGRatesOfFPC.FPC拍照抛料总数 = 0;
- item.FOGRatesOfFPC.FPC真空抛料总数 = 0;
- item.FOGRatesOfFPC.FPC总投入数 = 0;
- item.FOGRatesOfFPC.FPC抛料总数 = 0;
- item.FOGRatesOfFPC.FPC抛料率 = 0.0f;
- item.PowerConsumptn.耗电量 = 0.0f;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0.0f;
- }
- }
- if (null != TPRates)
- {
- foreach (var item in TPRates)
- {
- foreach (var epditem in item.RatesOfEPD)
- {
- epditem.EPD撕膜总数 = 0;
- epditem.EPD二次撕膜数 = 0;
- epditem.EPD撕膜一次NG数 = 0;
- epditem.EPD撕膜二次NG数 = 0;
- epditem.EPD撕膜NG总数 = 0;
- epditem.一次成功率 = 0;
- epditem.二次成功率 = 0;
- epditem.总成功率 = 0;
- }
- foreach (var tpitem in item.RatesOfTP)
- {
- tpitem.TP撕膜总数 = 0;
- tpitem.TP撕膜一次NG数 = 0;
- tpitem.TP撕膜NG总数 = 0;
- tpitem.一次成功率 = 0;
- tpitem.总成功率 = 0;
- }
- foreach (var aoibeforelamitem in item.RatesOfAOIBeforeLam)
- {
- aoibeforelamitem.AOI生产总数 = 0;
- aoibeforelamitem.AOI二次投入数 = 0;
- aoibeforelamitem.AOI对位一次NG数 = 0;
- aoibeforelamitem.AOI对位二次NG数 = 0;
- aoibeforelamitem.AOI对位NG总数 = 0;
- aoibeforelamitem.一次成功率 = 0;
- aoibeforelamitem.二次成功率 = 0;
- aoibeforelamitem.总成功率 = 0;
- }
- foreach (var aoiafterlamitem in item.RatesOfAOIAfterLam)
- {
- aoiafterlamitem.AOI生产总数 = 0;
- aoiafterlamitem.AOI对位NG总数 = 0;
- aoiafterlamitem.总成功率 = 0;
- }
- item.RatesOfScanLaserMark.扫码总数 = 0;
- item.RatesOfScanLaserMark.扫码二次投入数 = 0;
- item.RatesOfScanLaserMark.扫码一次NG数 = 0;
- item.RatesOfScanLaserMark.扫码二次NG数 = 0;
- item.RatesOfScanLaserMark.扫码NG总数 = 0;
- item.RatesOfScanLaserMark.一次成功率 = 0;
- item.RatesOfScanLaserMark.二次成功率 = 0;
- item.RatesOfScanLaserMark.总成功率 = 0;
- item.RatesOfScanTP.扫码总数 = 0;
- item.RatesOfScanTP.扫码二次投入数 = 0;
- item.RatesOfScanTP.扫码一次NG数 = 0;
- item.RatesOfScanTP.扫码二次NG数 = 0;
- item.RatesOfScanTP.扫码NG总数 = 0;
- item.RatesOfScanTP.一次成功率 = 0;
- item.RatesOfScanTP.二次成功率 = 0;
- item.RatesOfScanTP.总成功率 = 0;
- item.RatesOfScanBC.扫码总数 = 0;
- item.RatesOfScanBC.扫码二次投入数 = 0;
- item.RatesOfScanBC.扫码一次NG数 = 0;
- item.RatesOfScanBC.扫码二次NG数 = 0;
- item.RatesOfScanBC.扫码NG总数 = 0;
- item.RatesOfScanBC.一次成功率 = 0;
- item.RatesOfScanBC.二次成功率 = 0;
- item.RatesOfScanBC.总成功率 = 0;
- item.PowerConsumptn.耗电量 = 0;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0;
- }
- }
- if (null != FPLRates)
- {
- foreach (var item in FPLRates)
- {
- foreach (var agitem in item.RatesOfAG)
- {
- agitem.点胶总数 = 0;
- agitem.点胶NG数 = 0;
- agitem.点胶成功率 = 0;
- }
- foreach (var fplitem in item.RatesOfFPL)
- {
- fplitem.FPL生产总数 = 0;
- fplitem.FPL撕膜总数 = 0;
- fplitem.FPL拍照NG数 = 0;
- fplitem.FPL撕膜失败NG数 = 0;
- fplitem.FPL真空异常数 = 0;
- fplitem.FPL贴附精度NG数 = 0;
- fplitem.FPL撕膜成功率 = 0;
- }
- item.PowerConsumptn.耗电量 = 0.0f;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0.0f;
- }
- }
- if (null != FLRates)
- {
- foreach (var item in FLRates)
- {
- foreach (var epditem in item.RatesOfEPD)
- {
- epditem.EPD撕膜总数 = 0;
- epditem.EPD二次撕膜数 = 0;
- epditem.EPD撕膜一次NG数 = 0;
- epditem.EPD撕膜二次NG数 = 0;
- epditem.EPD撕膜NG总数 = 0;
- epditem.一次成功率 = 0;
- epditem.二次成功率 = 0;
- epditem.总成功率 = 0;
- }
- foreach (var flitem in item.RatesOfFL)
- {
- flitem.FL撕膜总数 = 0;
- flitem.FL二次撕膜数 = 0;
- flitem.FL撕膜一次NG数 = 0;
- flitem.FL撕膜二次NG数 = 0;
- flitem.FL撕膜NG总数 = 0;
- flitem.一次成功率 = 0;
- flitem.二次成功率 = 0;
- flitem.总成功率 = 0;
- }
- foreach (var AOIBeforeLamitem in item.RatesOfFLAOIBeforeLam)
- {
- AOIBeforeLamitem.AOI生产总数 = 0;
- AOIBeforeLamitem.AOI二次投入数 = 0;
- AOIBeforeLamitem.AOI对位一次NG数 = 0;
- AOIBeforeLamitem.AOI对位二次NG数 = 0;
- AOIBeforeLamitem.AOI对位NG总数 = 0;
- AOIBeforeLamitem.一次成功率 = 0;
- AOIBeforeLamitem.二次成功率 = 0;
- AOIBeforeLamitem.总成功率 = 0;
- }
- foreach (var AOIBeforeLamitem in item.RatesOfEPDAOIBeforeLam)
- {
- AOIBeforeLamitem.AOI生产总数 = 0;
- AOIBeforeLamitem.AOI二次投入数 = 0;
- AOIBeforeLamitem.AOI对位一次NG数 = 0;
- AOIBeforeLamitem.AOI对位二次NG数 = 0;
- AOIBeforeLamitem.AOI对位NG总数 = 0;
- AOIBeforeLamitem.一次成功率 = 0;
- AOIBeforeLamitem.二次成功率 = 0;
- AOIBeforeLamitem.总成功率 = 0;
- }
- foreach (var AOIAfterLamitem in item.RatesOfAOIAfterLam)
- {
- AOIAfterLamitem.AOI生产总数 = 0;
- AOIAfterLamitem.AOI对位NG总数 = 0;
- AOIAfterLamitem.总成功率 = 0;
- }
- item.RatesOfScanLaserMark.扫码总数 = 0;
- item.RatesOfScanLaserMark.扫码二次投入数 = 0;
- item.RatesOfScanLaserMark.扫码一次NG数 = 0;
- item.RatesOfScanLaserMark.扫码二次NG数 = 0;
- item.RatesOfScanLaserMark.扫码NG总数 = 0;
- item.RatesOfScanLaserMark.一次成功率 = 0;
- item.RatesOfScanLaserMark.二次成功率 = 0;
- item.RatesOfScanLaserMark.总成功率 = 0;
- item.RatesOfScanLB.扫码总数 = 0;
- item.RatesOfScanLB.扫码二次投入数 = 0;
- item.RatesOfScanLB.扫码一次NG数 = 0;
- item.RatesOfScanLB.扫码二次NG数 = 0;
- item.RatesOfScanLB.扫码NG总数 = 0;
- item.RatesOfScanLB.一次成功率 = 0;
- item.RatesOfScanLB.二次成功率 = 0;
- item.RatesOfScanLB.总成功率 = 0;
- item.RatesOfScanBC.扫码总数 = 0;
- item.RatesOfScanBC.扫码二次投入数 = 0;
- item.RatesOfScanBC.扫码一次NG数 = 0;
- item.RatesOfScanBC.扫码二次NG数 = 0;
- item.RatesOfScanBC.扫码NG总数 = 0;
- item.RatesOfScanBC.一次成功率 = 0;
- item.RatesOfScanBC.二次成功率 = 0;
- item.RatesOfScanBC.总成功率 = 0;
- item.PowerConsumptn.耗电量 = 0;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0;
- }
- }
- if (null != ECRates)
- {
- foreach (var item in ECRates)
- {
- item.PowerConsumptn.耗电量 = 0.0f;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0.0f;
- }
- }
- if (null != RTVRates)
- {
- foreach (var item in RTVRates)
- {
- item.PowerConsumptn.耗电量 = 0.0f;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0.0f;
- }
- }
- if (null != TPOCARates)
- {
- foreach (var item in TPOCARates)
- {
- foreach (var tpitem in item.RatesOfTP)
- {
- tpitem.TP撕膜总数 = 0;
- tpitem.TP二次撕膜数 = 0;
- tpitem.TP撕膜一次NG数 = 0;
- tpitem.TP撕膜二次NG数 = 0;
- tpitem.TP撕膜NG总数 = 0;
- tpitem.一次成功率 = 0;
- tpitem.二次成功率 = 0;
- tpitem.总成功率 = 0;
- }
- foreach (var ocaitem in item.RatesOfOCA)
- {
- ocaitem.OCA撕膜总数 = 0;
- ocaitem.OCA二次撕膜数 = 0;
- ocaitem.OCA撕膜一次NG数 = 0;
- ocaitem.OCA撕膜二次NG数 = 0;
- ocaitem.OCA撕膜NG总数 = 0;
- ocaitem.一次成功率 = 0;
- ocaitem.二次成功率 = 0;
- ocaitem.总成功率 = 0;
- }
- foreach (var AOIBeforeLamitem in item.RatesOfTPAOIBeforeLam)
- {
- AOIBeforeLamitem.AOI生产总数 = 0;
- AOIBeforeLamitem.AOI二次投入数 = 0;
- AOIBeforeLamitem.AOI对位一次NG数 = 0;
- AOIBeforeLamitem.AOI对位二次NG数 = 0;
- AOIBeforeLamitem.AOI对位NG总数 = 0;
- AOIBeforeLamitem.一次成功率 = 0;
- AOIBeforeLamitem.二次成功率 = 0;
- AOIBeforeLamitem.总成功率 = 0;
- }
- foreach (var AOIBeforeLamitem in item.RatesOfOCAAOIBeforeLam)
- {
- AOIBeforeLamitem.AOI生产总数 = 0;
- AOIBeforeLamitem.AOI二次投入数 = 0;
- AOIBeforeLamitem.AOI对位一次NG数 = 0;
- AOIBeforeLamitem.AOI对位二次NG数 = 0;
- AOIBeforeLamitem.AOI对位NG总数 = 0;
- AOIBeforeLamitem.一次成功率 = 0;
- AOIBeforeLamitem.二次成功率 = 0;
- AOIBeforeLamitem.总成功率 = 0;
- }
- foreach (var AOIAfterLamitem in item.RatesOfAOIAfterLam)
- {
- AOIAfterLamitem.AOI生产总数 = 0;
- AOIAfterLamitem.AOI对位NG总数 = 0;
- AOIAfterLamitem.总成功率 = 0;
- }
- item.RatesOfOCAback.OCA撕膜总数 = 0;
- item.RatesOfOCAback.OCA二次撕膜数 = 0;
- item.RatesOfOCAback.OCA撕膜一次NG数 = 0;
- item.RatesOfOCAback.OCA撕膜二次NG数 = 0;
- item.RatesOfOCAback.OCA撕膜NG总数 = 0;
- item.RatesOfOCAback.一次成功率 = 0;
- item.RatesOfOCAback.二次成功率 = 0;
- item.RatesOfOCAback.总成功率 = 0;
- item.RatesOfScanTPofTPOCA.扫码总数 = 0;
- item.RatesOfScanTPofTPOCA.扫码NG总数 = 0;
- item.RatesOfScanTPofTPOCA.总成功率 = 0;
- item.PowerConsumptn.耗电量 = 0;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0;
- }
- }
- if (null != FPCRates)
- {
- foreach (var item in FPCRates)
- {
- foreach (var fpcitem in item.RatesOfFPC)
- {
- fpcitem.FPC撕膜NG总数 = 0;
- fpcitem.FPC撕膜总数 = 0;
- fpcitem.总成功率 = 0;
- }
- foreach (var fpcocaitem in item.RatesOfFPCAOIBeforeLam)
- {
- fpcocaitem.AOI生产总数 = 0;
- fpcocaitem.AOI对位一次NG数 = 0;
- fpcocaitem.AOI二次投入数 = 0;
- fpcocaitem.AOI对位二次NG数 = 0;
- fpcocaitem.AOI对位NG总数 = 0;
- fpcocaitem.一次成功率 = 0;
- fpcocaitem.二次成功率 = 0;
- fpcocaitem.总成功率 = 0;
- }
- foreach (var AOIAfterLamitem in item.RatesOfAOIAfterLam)
- {
- AOIAfterLamitem.AOI生产总数 = 0;
- AOIAfterLamitem.AOI二次投入数 = 0;
- AOIAfterLamitem.AOI对位一次NG数 = 0;
- AOIAfterLamitem.AOI对位二次NG数 = 0;
- AOIAfterLamitem.AOI对位NG总数 = 0;
- AOIAfterLamitem.一次成功率 = 0;
- AOIAfterLamitem.二次成功率 = 0;
- AOIAfterLamitem.总成功率 = 0;
- }
- item.RatesOfScan2D.扫码总数 = 0;
- item.RatesOfScan2D.扫码NG总数 = 0;
- item.RatesOfScan2D.总成功率 = 0;
- item.PowerConsumptn.耗电量 = 0;
- item.PowerConsumptn.总产能 = 0;
- item.PowerConsumptn.耗电量产能比 = 0;
- }
- }
- }
- }
- }
|