UniqueId replacement for attachments
Write input PDSF in output after EOF GetPropertyValue for MoveMatchingFiles MoveMatchingFile ProcessDataStandardFormat over Tuple MoveMatchingFiles to use ProcessDataStandardFormatMapping MID Logic
This commit is contained in:
		| @ -35,6 +35,9 @@ public class Logistics : ILogistics | ||||
|     public long Sequence => _Sequence; | ||||
|     public double TotalSecondsSinceLastWriteTimeFromSequence => _TotalSecondsSinceLastWriteTimeFromSequence; | ||||
|  | ||||
|     private static string DefaultMesEntity(DateTime dateTime) => | ||||
|         string.Concat(dateTime.Ticks, "_MES_ENTITY"); | ||||
|  | ||||
|     public Logistics(IFileRead fileRead) | ||||
|     { | ||||
|         DateTime dateTime = DateTime.Now; | ||||
| @ -84,13 +87,13 @@ public class Logistics : ILogistics | ||||
|         _Logistics2 = new List<Logistics2>(); | ||||
|     } | ||||
|  | ||||
|     public Logistics(string reportFullPath, string logistics) | ||||
|     internal Logistics(string reportFullPath, ProcessDataStandardFormat processDataStandardFormat) | ||||
|     { | ||||
|         string key; | ||||
|         DateTime dateTime; | ||||
|         string[] segments; | ||||
|         _FileInfo = new(reportFullPath); | ||||
|         _Logistics1 = logistics.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).ToList(); | ||||
|         _Logistics1 = processDataStandardFormat.Logistics.ToList(); | ||||
|         if (Logistics1.Count == 0 || !Logistics1[0].StartsWith("LOGISTICS_1")) | ||||
|         { | ||||
|             _NullData = null; | ||||
| @ -190,8 +193,6 @@ public class Logistics : ILogistics | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     private static string DefaultMesEntity(DateTime dateTime) => string.Concat(dateTime.Ticks, "_MES_ENTITY"); | ||||
|  | ||||
|     internal void Update(string mid, string processJobID) | ||||
|     { | ||||
|         _MID = mid; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user