Пример #1
0
        public SendPartFunctions()
        {
            StandardKernel Kernal = new StandardKernel();

            Kernal.Load(Assembly.GetExecutingAssembly());
            _serviceOutbox                     = Kernal.Get <UprdOutboxRepository>();
            _serviceTransactionLog             = Kernal.Get <UprdTransactionLogRepository>();
            _applicationLogs                   = Kernal.Get <UPRDApplicationLogRepository>();
            _serviceJobWorkFlow                = Kernal.Get <UprdJobWorkflowRepository>();
            _serviceJobStackErrorLog           = Kernal.Get <UprdJobStackErrorLogRepository>();
            _serviceTaskMgrJob                 = Kernal.Get <UprdTaskMgrJobsRepository>();
            _serviceTaskMgrXml                 = Kernal.Get <UprdTaskMgrXmlRepository>();
            _servicemetadataPipelineEncKeyInfo = Kernal.Get <UprdmetadataPipelineEncKeyInfoRepository>();
            _servicePipeline                   = Kernal.Get <UprdPipelineRepository>();
            _serviceTSP                 = Kernal.Get <UprdTransportationServiceProviderRepository>();
            _serviceShipperCompany      = Kernal.Get <UprdShipperCompanyRepository>();
            _serviceTPW                 = Kernal.Get <UprdTradingPartnerWorksheetRepository>();
            _servicemetadataDataset     = Kernal.Get <UprdmetadataDatasetRepository>();
            _serviceGISBOutbox          = Kernal.Get <UprdGISBOutboxRepository>();
            _serviceSetting             = Kernal.Get <UprdSettingRepository>();
            _serviceOutboxMultipartForm = Kernal.Get <UprdOutbox_MultipartFormRepository>();
            _servicePipelineEdiSetting  = Kernal.Get <UprdPipelineEDISettingRepository>();
            _modalFactory               = Kernal.Get <ModalFactory>();
            _serviceUprdStatus          = Kernal.Get <UprdStatuRepository>();
        }
Пример #2
0
        public ReceivePartModified()
        {
            StandardKernel Kernal = new StandardKernel();

            Kernal.Load(Assembly.GetExecutingAssembly());
            _serviceSettings         = Kernal.Get <UprdSettingRepository>();
            _serviceTaskMgrJob       = Kernal.Get <UprdTaskMgrJobsRepository>();
            _serviceTaskMgrXml       = Kernal.Get <UprdTaskMgrXmlRepository>();
            _serviceJobWorkFlow      = Kernal.Get <UprdJobWorkflowRepository>();
            _serviceIncomingData     = Kernal.Get <UprdIncomingDataRepository>();
            _serviceJobStackErrorLog = Kernal.Get <UprdJobStackErrorLogRepository>();
            _serviceTransactionLog   = Kernal.Get <UprdTransactionLogRepository>();
            _serviceInbox            = Kernal.Get <UprdInboxRepository>();
            _servicePipeline         = Kernal.Get <UprdPipelineRepository>();
            _serviceDataset          = Kernal.Get <UprdmetadataDatasetRepository>();
            _serviceUPRDStatus       = Kernal.Get <UprdStatuRepository>();
            _applicationLogs         = Kernal.Get <UPRDApplicationLogRepository>();
            unitOfWork                  = Kernal.Get <UnitOfWork>();
            modalFactory                = Kernal.Get <ModalFactory>();
            _serviceShipperCompany      = Kernal.Get <UprdShipperCompanyRepository>();
            _serviceFileSysIncomingData = Kernal.Get <UprdFileSysIncomingDataRepository>();
            #region get oacy services
            _serviceOacyPerTransaction = Kernal.Get <UprdOACYRepository>();
            #endregion
            #region get unsc services
            _serviceUnscPerTransaction = Kernal.Get <UprdUNSCRepository>();
            #endregion
            #region get swnt services
            _serviceSwntPerTransaction = Kernal.Get <UprdSWNTPerTransactionRepository>();
            #endregion
            #region get email service
            emailTempalteService = Kernal.Get <UprdEmailTemplateRepository>();
            emailQueueService    = Kernal.Get <UprdEmailQueueRepository>();
            appLogService        = Kernal.Get <UPRDApplicationLogRepository>();
            #endregion
        }