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:
@ -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 ");
|
||||
|
||||
Reference in New Issue
Block a user