protected override bool AnalysisOutputProcData(TestModeEquipmentParameters[] InformationList) { try { procData = new TestModeEquipmentParameters[2]; procData[0].FiledName = "RxPowerArray"; procData[0].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(RxPowerArray, ","); procData[1].FiledName = "BerArray"; procData[1].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(BerArray, ","); return(true); } catch (InnoExCeption ex)//from driver { //Log.SaveLogToTxt(ex.ID + ": " + ex.Message + "\r\n" + ex.StackTrace); exceptionList.Add(ex); return(false); } catch (Exception error)//from itself { //one way: deal this exception itself InnoExCeption ex = new InnoExCeption(ExceptionDictionary.Code._0x02F05, error.StackTrace); //Log.SaveLogToTxt(ex.ID + ": " + ex.Message + "\r\n" + ex.StackTrace); exceptionList.Add(ex); return(false); //the other way is: should throw exception, rather than the above three code. see below: //throw new InnoExCeption(ExceptionDictionary.Code._0x02F05, error.StackTrace); } }
protected override bool AnalysisOutputProcData(TestModeEquipmentParameters[] InformationList) { try { procData = new TestModeEquipmentParameters[2]; procData[0].FiledName = "DIETEMP"; procData[0].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(allDieTempratureArray, ","); procData[1].FiledName = "REALTEMPARATURE"; procData[1].DefaultValue = Convert.ToString(GlobalParameters.CurrentTemp); return(true); } catch (System.Exception ex) { throw ex; } }
protected override bool AnalysisOutputProcData(TestModeEquipmentParameters[] InformationList) { lock (tempAtten) { try { procData = new TestModeEquipmentParameters[4]; procData[0].FiledName = "SearTargetBerRxPowerArray"; procData[0].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(serchAttPoints, ","); procData[1].FiledName = "SearTargetBerArray"; procData[1].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(serchBerPoints, ","); procData[2].FiledName = "CurvingRxPowerArray"; procData[2].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(attPoints, ","); procData[3].FiledName = "CurvingBerArray"; procData[3].DefaultValue = Algorithm.ArrayListToStringArraySegregateByPunctuations(berPoints, ","); return(true); } catch (System.Exception ex) { throw ex; } } }