void EQP_DataCollection(SecsMessage msg) { Item dataList = msg.SecsItem.Items[2].Items[0].Items[1]; string pjId = dataList.Items[0].GetValue<string>(); string carrier_slot_port = (string)dataList.Items[1]; int i = carrier_slot_port.IndexOf('.'); byte slotNo = Convert.ToByte(carrier_slot_port.Substring(i + 1, 2)); string carrierId = carrier_slot_port.Substring(0, i); var dc = new DataCollectionReport(GetProcessJob(carrierId,slotNo)); try { dc.AddWaferData("SNW0", slotNo, slotNo); dc.AddWaferData("PTW0", slotNo, dataList.Items[2]); dc.AddWaferData("TXW0", slotNo, (uint)dataList.Items[3] / 100); dc.AddWaferData("TIW0", slotNo, (uint)dataList.Items[4] / 100); dc.AddWaferData("TAW0", slotNo, (uint)dataList.Items[5] / 100); } finally { EAP.Report(dc); } }
void EQP_DataCollection(SecsMessage msg) { var dataList = msg.SecsItem.Items[2].Items[0].Items[1]; var pjId = dataList.Items[0].GetString(); var carrier_slot_port = (string)dataList.Items[1]; var i = carrier_slot_port.IndexOf('.'); var slotNo = Convert.ToByte(carrier_slot_port.Substring(i + 1, 2)); var carrierId = carrier_slot_port.Substring(0, i); var dc = new DataCollectionReport(GetProcessJob(carrierId, slotNo)); try { dc.AddWaferData("SNW0", slotNo, slotNo); dc.AddWaferData("PTW0", slotNo, dataList.Items[2]); dc.AddWaferData("TXW0", slotNo, (uint)dataList.Items[3] / 100); dc.AddWaferData("TIW0", slotNo, (uint)dataList.Items[4] / 100); dc.AddWaferData("TAW0", slotNo, (uint)dataList.Items[5] / 100); } finally { EAP.Report(dc); } }
void EQP_WaferProcessData_LLH_LHC(SecsMessage msg) { Item tempList = msg.SecsItem.Items[2].Items[0].Items[1].Items[0]; string pjID = tempList.Items[1].GetValue<string>(); byte slotNo = (byte)tempList.Items[4].Items[0].Items[1]; tempList = tempList.Items[4].Items[0].Items[2].Items[0]; var dc = new DataCollectionReport(GetProcessJob(pjID)); try { dc.AddWaferData("CIWD", slotNo, tempList.Items[0].Items[1]); tempList = tempList.Items[2].Items[0].Items[2]; dc.AddWaferData("C1W1", slotNo, tempList.Items[3]); dc.AddWaferData("C1W2", slotNo, tempList.Items[6]); dc.AddWaferData("C2W1", slotNo, tempList.Items[9]); dc.AddWaferData("C2W2", slotNo, tempList.Items[12]); } finally { EAP.Report(dc); } }
void EQP_WaferProcessData_LLH_LHC(SecsMessage msg) { Item tempList = msg.SecsItem.Items[2].Items[0].Items[1].Items[0]; string pjID = tempList.Items[1].GetValue <string>(); byte slotNo = (byte)tempList.Items[4].Items[0].Items[1]; tempList = tempList.Items[4].Items[0].Items[2].Items[0]; var dc = new DataCollectionReport(GetProcessJob(pjID)); try { dc.AddWaferData("CIWD", slotNo, tempList.Items[0].Items[1]); tempList = tempList.Items[2].Items[0].Items[2]; dc.AddWaferData("C1W1", slotNo, tempList.Items[3]); dc.AddWaferData("C1W2", slotNo, tempList.Items[6]); dc.AddWaferData("C2W1", slotNo, tempList.Items[9]); dc.AddWaferData("C2W2", slotNo, tempList.Items[12]); } finally { EAP.Report(dc); } }