Refactor ProcessDataStandardFormat and add unit tests for v2.61.1

- Updated GetPDSFText method to accept nullable logisticsText parameter.
- Removed unused TryGetPropertyIndex method from ProcessDataStandardFormat.
- Introduced new unit tests for CreateSelfDescription and Extract functionalities in version 2.61.1.
- Implemented logging and file handling in the test classes to ensure proper setup and teardown.
This commit is contained in:
2025-12-02 08:32:55 -07:00
parent 127a24b77e
commit 8ee374b2a8
7 changed files with 739 additions and 306 deletions

View File

@ -69,7 +69,10 @@ public class Header
Header result;
string lot;
string session;
ScanPast(text, i, constant.LongWaferSummary);
if (!text.Contains(constant.ShortWaferSummary))
ScanPast(text, i, constant.LongWaferSummary);
else
ScanPast(text, i, constant.ShortWaferSummary);
_ = GetToEOL(text, i);
ScanPast(text, i, constant.Session);
session = GetToEOL(text, i, true);