public void SetResultData(SendResultParameter _ResultParam) { if (_ResultParam.ProjectItem == eProjectItem.NONE) { MainResultNoneWnd.SetNoneResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.ID_INSP) { MainResultIDWnd.SetResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.NEEDLE_ALIGN) { MainResultLeadWnd.SetNeedleResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.LEAD_INSP) { MainResultLeadWnd.SetLeadResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.SURFACE) { MainResultSorterWnd.SetSurfaceResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.LEAD_TRIM_INSP) { MainResultTrimFormWnd.SetTrimResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.LEAD_FORM_ALIGN) { MainResultTrimFormWnd.SetFormResultData(_ResultParam); } }
public void SetResultData(SendResultParameter _ResultParam) { //if (_ResultParam.ProjectItem == eProjectItem.NEEDLE_ALIGN) SetNeedleAlignResultData(_ResultParam); //else if (_ResultParam.ProjectItem == eProjectItem.LEAD_INSP) SetLeadInspectionResultData(_ResultParam); //else if (_ResultParam.ProjectItem == eProjectItem.ID_INSP) SetIDInspectionResultData(_ResultParam); //if (ProjectType == eProjectType.BLOWER) MainResultIDWnd.SetResultData(_ResultParam); //else if (ProjectType == eProjectType.DISPENSER) MainResultLeadWnd.SetResultData(_ResultParam); if (_ResultParam.ProjectItem == eProjectItem.NONE) { MainResultNoneWnd.SetNoneResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.ID_INSP) { MainResultIDWnd.SetResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.NEEDLE_ALIGN) { MainResultLeadWnd.SetNeedleResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.LEAD_INSP) { MainResultLeadWnd.SetLeadResultData(_ResultParam); } else if (_ResultParam.ProjectItem == eProjectItem.SURFACE) { MainResultSorterWnd.SetSurfaceResultData(_ResultParam); } }