MET08DDUPSP1TBI - v2.43.4 - Builtin MonA,
Run with layer and 1T
This commit is contained in:
@ -15,15 +15,17 @@ internal partial class Main
|
||||
private static ISMTP _SMTP;
|
||||
private static object _IfxTransport;
|
||||
private static string _CellInstanceName;
|
||||
private static string _MetrologyFileShare;
|
||||
private static string _LSL2SQLConnectionString;
|
||||
private static string _TibcoParameterSubjectPrefix;
|
||||
private static FileConnectorConfiguration _FileConnectorConfiguration;
|
||||
|
||||
internal static void Initialize(ISMTP smtp, string cellInstanceName, FileConnectorConfiguration fileConnectorConfiguration, string lsl2SQLConnectionString)
|
||||
internal static void Initialize(ISMTP smtp, string cellInstanceName, FileConnectorConfiguration fileConnectorConfiguration, string lsl2SQLConnectionString, string metrologyFileShare)
|
||||
{
|
||||
_SMTP = smtp;
|
||||
_IfxTransport = null;
|
||||
_CellInstanceName = cellInstanceName;
|
||||
_MetrologyFileShare = metrologyFileShare;
|
||||
_TibcoParameterSubjectPrefix = string.Empty;
|
||||
_LSL2SQLConnectionString = lsl2SQLConnectionString;
|
||||
_FileConnectorConfiguration = fileConnectorConfiguration;
|
||||
@ -125,18 +127,18 @@ internal partial class Main
|
||||
jobDoc.Add("LastUpdateUser", "-");
|
||||
jobDoc.Add(nameof(Job.ProcessType), job.ProcessType); //Key.Process_JobId
|
||||
jobDoc.Add(nameof(Job.StateModel), job.StateModel);
|
||||
jobDoc.Add("Status", "-");
|
||||
jobDoc.Add("Status", "-"); //Key.Info
|
||||
lotDoc.Add(nameof(Job.BasicType), job.BasicType); //Key.BasicType
|
||||
lotDoc.Add("IsActive", true);
|
||||
lotDoc.Add(nameof(Job.LotName), job.LotName); //Key.MID
|
||||
lotDoc.Add("LotState", "-");
|
||||
lotDoc.Add("LotState", "-"); //Key.Layer2
|
||||
lotDoc.Add(nameof(Job.PackageName), job.PackageName); //Key.WaferId
|
||||
lotDoc.Add(nameof(Job.ProcessSpecName), job.ProcessSpecName); //Key.Chamber
|
||||
lotDoc.Add(nameof(Job.ProductName), job.ProductName); //Key.Product
|
||||
lotDoc.Add(nameof(Job.Qty), job.Qty);
|
||||
lotDoc.Add("Qty2", "-"); //Key.Sequence
|
||||
recipeDoc.Add(nameof(Job.RecipeName), job.RecipeName); //Key.PPID
|
||||
lotDoc.Add("SpecName", "-"); //Key.Info
|
||||
lotDoc.Add("SpecName", job.EpiLayer); //Key.Layer
|
||||
foreach (Item item in job.Items)
|
||||
{
|
||||
itemDoc = new IfxDoc();
|
||||
@ -182,7 +184,7 @@ internal partial class Main
|
||||
if (!subject.Contains(_TibcoParameterSubjectPrefix))
|
||||
throw new Exception("Invalid Subject");
|
||||
mid = GetJobsMID(envelopeDocument);
|
||||
Job job = new(_LSL2SQLConnectionString, mid);
|
||||
Job job = new(_LSL2SQLConnectionString, _MetrologyFileShare, mid);
|
||||
if (job.IsAreaSi)
|
||||
{
|
||||
IfxDoc sendReply = GetJobsReply(job);
|
||||
|
Reference in New Issue
Block a user