SensusTestInfo matching and its use in SensusOracle.Database and IperlLogger.Writer reimplemented, ver. 2.18.1173
This commit is contained in:
@@ -580,19 +580,19 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication.iPerlHead
|
||||
string wmPosition = Name.Substring(5);
|
||||
if (wmPosition.Length == 1) wmPosition = "0" + wmPosition;
|
||||
|
||||
SensusTestInfo[] testInfos = Sequences.ProcessData.TestInfos;
|
||||
SensusTestInfo[] testInfos = Sequences.ProcessData.CompleteTestInfos;
|
||||
optoDataLogFileName = null;
|
||||
///
|
||||
if (testInfos != null)
|
||||
{
|
||||
foreach (var ti in testInfos)
|
||||
{
|
||||
if ((testName != null) && (testName == ti.TestName) && !string.IsNullOrEmpty(ti.PruefungsNrStr))
|
||||
if ((ti.PruefungsNrOpto != 0) && (ti.TestName == testName))
|
||||
{
|
||||
optoDataLogFileName = string.Format("{0}_{1}_{2}_{3}.txt",
|
||||
(ConfigStruct != null) ? ConfigStruct.GetPcbNrString() : "UnknownPcbNr",
|
||||
wmPosition,
|
||||
ti.PruefungsNrStr,
|
||||
string.IsNullOrEmpty(ti.QBezeichnungOpto) ? ti.PruefungsNrOpto.ToString("D2") : ti.QBezeichnungOpto,
|
||||
StateMachine.CycleStartTimeStamp.ToString("HH_mm_ss"));
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user