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; } /// /// /// public int FPL拍照NG数 { get; set; } /// /// /// public int FPL真空异常数 { get; set; } /// /// /// public int FPL贴附精度NG数 { get; set; } /// /// /// public int FPL撕膜失败NG数 { get; set; } /// /// /// public int FPL撕膜成功率 { get; set; } } [Serializable] public class FPLRate { /// /// /// public List RatesOfAG { get; set; } /// /// /// public List RatesOfFPL { get; set; } /// /// /// public PowerConsumptns PowerConsumptn { get; set; } /// /// 早班 /// public string Shift { get; set; } /// /// 扫码2 /// public RatesOfScanBC RatesOfScanBC { get; set; } /// /// 扫码1 /// 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 { /// /// 班别 /// public string Shift { get; set; } /// /// FL撕膜 /// public List RatesOfFL { get; set; } /// /// EPD撕膜 /// public List RatesOfEPD { get; set; } /// /// FL对位 /// public List RatesOfFLAOIBeforeLam { get; set; } /// /// EPD对位 /// public List RatesOfEPDAOIBeforeLam { get; set; } /// /// 精度检测 /// public List RatesOfAOIAfterLam { get; set; } /// /// 刻号扫码 /// public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; } /// /// FL条码扫码 /// public RatesOfScanLB RatesOfScanLB { get; set; } /// /// 厂内BC扫码 /// public RatesOfScanBC RatesOfScanBC { get; set; } /// /// 耗电量 /// 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 { /// /// /// public int FPC拍照抛料总数 { get; set; } /// /// /// public float FPC抛料率 { get; set; } /// /// FPC总投入数 /// public int FPC抛料总数 { get; set; } /// /// /// public int FPC真空抛料总数 { get; set; } /// /// FPC总投入数 /// public int FPC总投入数 { get; set; } /// /// /// public int 校正平台FPC拍照抛料数 { get; set; } /// /// /// public int 校正平台FPC真空抛料数 { get; set; } /// /// /// public int 预压头FPC拍照抛料数 { get; set; } /// /// /// public int 预压头FPC真空抛料数 { get; set; } } [Serializable] public class OutPutPerHour { public string ModuleType { get; set; } public int ActualTT { get; set; } public List 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 { /// /// 耗电量 /// public float 耗电量 { get; set; } /// /// 耗电量(kwh)/产能(kpcs) /// public float 耗电量产能比 { get; set; } /// /// 当班总产能 /// public int 总产能 { get; set; } } [Serializable] public class PSRateInfo { public List PSRatesOfEPD { get; set; } public List 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 { /// /// /// //public int AOI对位一次NG数 { get; set; } /// /// /// public int AOI对位NG总数 { get; set; } /// /// /// public int AOI生产总数 { get; set; } /// /// /// // public int 一次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } } [Serializable] public class RatesOfAOIAllAfterLam { /// /// /// public int AOI生产总数 { get; set; } /// /// /// public int AOI对位一次NG数 { get; set; } /// /// /// public int AOI对位二次NG数 { get; set; } /// /// /// public int AOI对位NG总数 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// public int 二次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } /// /// /// public int AOI二次投入数 { get; set; } } [Serializable] public class RatesOfAOIBeforeLam { /// /// /// public int AOI对位NG总数 { get; set; } /// /// /// public int AOI对位二次NG数 { get; set; } /// /// /// public int AOI对位一次NG数 { get; set; } /// /// /// public int AOI生产总数 { get; set; } /// /// /// public int AOI二次投入数 { get; set; } /// /// /// public int 二次成功率 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } } [Serializable] public class RatesOfEPD { /// /// /// public int EPD撕膜NG总数 { get; set; } /// /// /// public int EPD撕膜二次NG数 { get; set; } /// /// /// public int EPD撕膜一次NG数 { get; set; } /// /// /// public int EPD撕膜总数 { get; set; } /// /// /// public int EPD二次撕膜数 { get; set; } /// /// /// public int 二次成功率 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } } [Serializable] public class RatesOfScanBC { /// /// /// 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 RatesOfScanLaserMark { /// /// /// 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 RatesOfScanTP { /// /// /// 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 RatesOfScan2D { public int 扫码NG总数 { get; set; } public int 扫码总数 { get; set; } public int 总成功率 { get; set; } } [Serializable] public class RatesOfTP { /// /// /// public int TP撕膜NG总数 { get; set; } /// /// /// public int TP撕膜一次NG数 { get; set; } /// /// /// public int TP撕膜总数 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } } [Serializable] public class RatesOfTPOCATP { public int TP撕膜NG总数 { get; set; } /// /// /// public int TP撕膜二次NG数 { get; set; } /// /// /// public int TP撕膜一次NG数 { get; set; } /// /// /// public int TP撕膜总数 { get; set; } /// /// /// public int TP二次撕膜数 { get; set; } /// /// /// public int 二次成功率 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// 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; } /// /// /// public int OCA撕膜二次NG数 { get; set; } /// /// /// public int OCA撕膜一次NG数 { get; set; } /// /// /// public int OCA撕膜总数 { get; set; } /// /// /// public int OCA二次撕膜数 { get; set; } /// /// /// public int 二次成功率 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } } [Serializable] public class RatesOfOCAback { /// /// /// public int OCA撕膜NG总数 { get; set; } /// /// /// public int OCA撕膜二次NG数 { get; set; } /// /// /// public int OCA撕膜一次NG数 { get; set; } /// /// /// public int OCA撕膜总数 { get; set; } /// /// /// public int OCA二次撕膜数 { get; set; } /// /// /// public int 二次成功率 { get; set; } /// /// /// public int 一次成功率 { get; set; } /// /// /// public int 总成功率 { get; set; } } [Serializable] public class TPRate { /// /// /// public PowerConsumptns PowerConsumptn { get; set; } /// /// /// public List RatesOfAOIAfterLam { get; set; } /// /// /// public List RatesOfAOIBeforeLam { get; set; } /// /// /// public List RatesOfEPD { get; set; } /// /// /// public RatesOfScanBC RatesOfScanBC { get; set; } /// /// /// public RatesOfScanLaserMark RatesOfScanLaserMark { get; set; } /// /// /// public RatesOfScanTP RatesOfScanTP { get; set; } /// /// /// public List RatesOfTP { get; set; } /// /// 早班 /// public string Shift { get; set; } } [Serializable] public class FPCRate { /// /// 能耗 /// public PowerConsumptns PowerConsumptn { get; set; } /// /// 精度检 /// public RatesOfAOIAllAfterLam[] RatesOfAOIAfterLam { get; set; } /// /// 对位 /// public RatesOfAOIBeforeLam[] RatesOfFPCAOIBeforeLam { get; set; } /// /// FPC撕膜 /// public RatesOfFPC[] RatesOfFPC { get; set; } /// /// 扫码 /// public RatesOfScan2D RatesOfScan2D { get; set; } /// /// 班别 /// public string Shift { get; set; } } [Serializable] public class TPOCARate { /// /// /// public PowerConsumptns PowerConsumptn { get; set; } /// /// /// public List RatesOfAOIAfterLam { get; set; } /// /// /// public List RatesOfTPAOIBeforeLam { get; set; } /// /// /// public List RatesOfOCAAOIBeforeLam { get; set; } /// /// /// public List RatesOfTP { get; set; } /// /// /// public RatesOfScan2D RatesOfScanTPofTPOCA { get; set; } /// /// /// public List RatesOfOCA { get; set; } /// /// /// public RatesOfOCAback RatesOfOCAback { get; set; } /// /// 早班 /// 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 OutPuts { get; set; } public AGRate[] AGRates { get; set; } public List 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 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(); } 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; } } } } }