public TSBatch(string _batchName, string _batchPath, int _jobID, int _useTemplateBatch, string _batchDesc, string _batchBox, string _comments, BatchPriority _priority, int _timeStamp, int _createdBy, int _totalImages, int _numOfRollFilm, int _numOfFiche) { this.BatchName = _batchName; this.BatchPath = _batchPath; this.JobID = _jobID; this.UseTemplateBatch = _useTemplateBatch; this.BatchDesc = _batchDesc; this.BatchBox = _batchBox; this.Comments = _comments; this.Priority = _priority; this.TimeStamp = _timeStamp; this.CreatedBy = _createdBy; this.TotalImages = _totalImages; this.NumOfRollFilm = _numOfRollFilm; this.NumOfFiche = _numOfFiche; BatchFields = new List<TSIndexField>(); }
public TSBatch(string _batchName, int _jobID, int _createdBy, BatchPriority _priority = BatchPriority.Normal) { DateTime DateBase = new DateTime(1970, 1, 1); TimeSpan TimeStampInt = DateTime.Now - DateBase; int lTimeStamp = (int)TimeStampInt.TotalSeconds; this.BatchName = _batchName; this.BatchPath = String.Empty; this.JobID = _jobID; this.UseTemplateBatch = 1; this.BatchDesc = String.Empty; this.BatchBox = String.Empty; this.Comments = String.Empty; this.Priority = _priority; this.TimeStamp = lTimeStamp; this.CreatedBy = _createdBy; this.TotalImages = 0; this.NumOfRollFilm = 0; this.NumOfFiche = 0; BatchFields = new List<TSIndexField>(); }