Refactor FileRead and ProcessData classes; update recipe handling in FromIQS and Job classes

- Changed the site constant in FileRead to "els" and updated the monInURL accordingly.
- Modified FromIQS to include 'TBI01' in the SQL query for job names.
- Updated Job class to include 'TBI01' in the mapping for MET08DDUPSP1TBI.
- Made GetDefault method in Description static and added GetDefaultJsonElement method.
- Refactored GetExtractResult in FileRead to improve clarity and efficiency, including changes to how logistics and JSON elements are handled.
- Removed unused fields and methods in ProcessData, simplifying the class structure.
- Added a method to add print files in Run class to streamline file handling.
- Updated AdaptationTesting to prevent directory creation for paths containing "10.".
- Improved string comparison in recipes-and-patterns.js for case-insensitive matching.
This commit is contained in:
2025-11-20 16:09:46 -07:00
parent ea0c145d4a
commit b79c9d7ea7
9 changed files with 53 additions and 689 deletions

View File

@ -178,7 +178,7 @@ public class FromIQS
results.Add($" and pl.f_name = '{description.RDS}' ");
results.Add($" and pr.f_name = '{description.Reactor}' ");
results.Add($" and pd.f_name = '{description.PSN}' ");
results.Add(" and jd.f_name in ('SP101') ");
results.Add(" and jd.f_name in ('SP101', 'TBI01') ");
results.Add($" and jd.f_name = '{logistics.MesEntity}' ");
results.Add($" and dateadd(HH, -7, (dateadd(SS, convert(bigint, se.f_sgtm), '19700101'))) = '{dateTime}' ");
results.Add(" ) as iq ");