MET08DDUPSP1TBI - v2.43.0 - More changes to
Main / Job
This commit is contained in:
@ -16,12 +16,10 @@ internal partial class Main
|
||||
private static object _IfxTransport;
|
||||
private static string _CellInstanceName;
|
||||
private static string _LSL2SQLConnectionString;
|
||||
private static Dictionary<int, List<(string MID, int Count)>> _RDS;
|
||||
private static FileConnectorConfiguration _FileConnectorConfiguration;
|
||||
|
||||
internal static void Initialize(ISMTP smtp, string cellInstanceName, FileConnectorConfiguration fileConnectorConfiguration, string lsl2SQLConnectionString)
|
||||
{
|
||||
_RDS = new();
|
||||
_SMTP = smtp;
|
||||
_IfxTransport = null;
|
||||
_CellInstanceName = cellInstanceName;
|
||||
@ -122,7 +120,7 @@ internal partial class Main
|
||||
jobDoc.Add(nameof(Job.JobName), job.JobName);
|
||||
jobDoc.Add("LastUpdateTimestamp", job.DateTime);
|
||||
jobDoc.Add("LastUpdateUser", "-");
|
||||
jobDoc.Add(nameof(Job.ProcessType), job.ProcessType); //Key.ProccessJobId
|
||||
jobDoc.Add(nameof(Job.ProcessType), job.ProcessType); //Key.Process_JobId
|
||||
jobDoc.Add(nameof(Job.StateModel), job.StateModel);
|
||||
jobDoc.Add("Status", "-");
|
||||
lotDoc.Add(nameof(Job.BasicType), job.BasicType); //Key.BasicType
|
||||
@ -181,7 +179,7 @@ internal partial class Main
|
||||
if (!subject.EndsWith("GETJOBS"))
|
||||
throw new Exception();
|
||||
mid = GetJobsMID(envelopeDocument);
|
||||
Job job = new(_LSL2SQLConnectionString, _RDS, mid);
|
||||
Job job = new(_LSL2SQLConnectionString, mid);
|
||||
if (job.IsAreaSi)
|
||||
{
|
||||
IfxDoc sendReply = GetJobsReply(job);
|
||||
|
Reference in New Issue
Block a user