Ejemplo n.º 1
0
        public void Go()
        {
            NexdoxMessaging.StartEvent(this);
            Statics.Initialise(_engine, _appInfo);
            this.PerformIOC();

            GetOffShoreOrOnshore();

            IList <Document> documents = GetDocuments();

            NexdoxMessaging.SendMessage(string.Format("{0} documents found for export", documents.Count), true, this);

            if (documents.Count > 0)
            {
                var exports     = new List <Export>();
                var exportsData = new List <ExportFileData>();

                GetExportData(documents, exports, exportsData);

                _exportService.CreateExport(exports);

                CreateOutputFile(exportsData);

                CreateOtfXmlFiles();

                NexdoxMessaging.SendMessage("Documents successfully set as exported", true, this);
            }

            NexdoxMessaging.EndEvent(this);
        }
Ejemplo n.º 2
0
        public void Go()
        {
            NexdoxMessaging.StartEvent(this);
            Statics.Initialise(_engine, _appInfo);

            this.PerformIOC();

            _houseHoldingRunEngine.ProcessHouseHoldingRun();

            NexdoxMessaging.EndEvent(this);
        }
Ejemplo n.º 3
0
        public void Go()
        {
            // Start the nexdox messaging service
            NexdoxMessaging.StartEvent(this);

            // Initialise Statics
            Statics.Initialise(_engine, _appInfo);

            this.PerformIOC();

            // Allocation Stage
            Allocation allocationStage = new Allocation(
                _engine, _appInfo, _documentService, _documentApprovalService, _subDocTypeService, _gridRunEngine, _manCoService, _approvalEngine, _gridRunService);

            allocationStage.Process();

            // Stop the nexdox messaging service
            NexdoxMessaging.EndEvent(this);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Allocation Stage
        /// </summary>
        public void AllocationStage()
        {
            //Start the nexdox messaging service
            NexdoxMessaging.StartEvent(this);

            //Initialise Statics
            Statics.Initialise(_engine, _appInfo);

            this.PerformIOC();

            /* Nexdox.PDF.NexdoxPDFSettings.PdfOuputRenderState = Nexdox.PDF.NexdoxPDFSettings.PDFState.ForceRasterise;
             * Nexdox.PDF.NexdoxPDFSettings.JpgImageQuality = 85;
             * Nexdox.PDF.NexdoxPDFSettings.DefaultDPI = 450;
             * Nexdox.PDF.NexdoxPDFSettings.DefaultCompressionQuality = 125;*/

            //Allocation Stage
            Allocation allocationStage = new Allocation(
                _engine, _appInfo, _conFileService, _xmlFileService, _zipFileService, _docTypeService, _manCoService);

            allocationStage.Process();

            //Stop the nexdox messaging service
            NexdoxMessaging.EndEvent(this);
        }