示例#1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public LineworkTileController(IProductivity3dV2ProxyCompactionTile productivity3DProxyCompactionTile, IPreferenceProxy prefProxy, IFileImportProxy fileImportProxy,
                               IMapTileGenerator tileGenerator, IMemoryCache cache, IConfigurationStore configStore,
                               IBoundingBoxHelper boundingBoxHelper, IDataOceanClient dataOceanClient, ITPaaSApplicationAuthentication authn)
     : base(productivity3DProxyCompactionTile, prefProxy, fileImportProxy, tileGenerator, cache, configStore, boundingBoxHelper, authn)
 {
     this.dataOceanClient = dataOceanClient;
 }
示例#2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public CompactionTileController(
     IConfigurationStore configStore,
     IFileImportProxy fileImportProxy, ICompactionSettingsManager settingsManager, IProductionDataTileService tileService, IBoundingBoxHelper boundingBoxHelper) :
     base(configStore, fileImportProxy, settingsManager)
 {
     this.tileService       = tileService;
     this.boundingBoxHelper = boundingBoxHelper;
 }
示例#3
0
 public void Initialise(ILogger logger, IConfigurationStore configStore,
                        IHeaderDictionary customHeaders, IDataOceanClient dataOceanClient,
                        ITPaaSApplicationAuthentication authn, IProductivity3dV2ProxyCompactionTile productivity3DProxyCompactionTile, IBoundingBoxHelper bboxHelper)
 {
     log = logger;
     this.configStore     = configStore;
     this.customHeaders   = customHeaders;
     this.dataOceanClient = dataOceanClient;
     this.authn           = authn;
     this.productivity3DProxyCompactionTile = productivity3DProxyCompactionTile;
     this.bboxHelper = bboxHelper;
 }
示例#4
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 protected BaseController(IProductivity3dV2ProxyCompactionTile productivity3DProxyCompactionTile, IPreferenceProxy prefProxy, IFileImportProxy fileImportProxy,
                          IMapTileGenerator tileGenerator, IMemoryCache cache, IConfigurationStore configurationStore,
                          IBoundingBoxHelper boundingBoxHelper, ITPaaSApplicationAuthentication authn)
 {
     this.productivity3DProxyCompactionTile = productivity3DProxyCompactionTile;
     this.prefProxy         = prefProxy;
     this.fileImportProxy   = fileImportProxy;
     this.tileGenerator     = tileGenerator;
     tileCache              = cache;
     tileCacheExpiration    = GetCacheExpiration(configurationStore);
     configStore            = configurationStore;
     this.boundingBoxHelper = boundingBoxHelper;
     this.authn             = authn;
 }
示例#5
0
 public MapTileGenerator(ILoggerFactory logger, IBoundingBoxService bboxService, IProductivity3dV2ProxyCompactionTile productivity3DProxyCompactionTile,
                         IMapTileService mapTileService, IProjectTileService projectTileService, IGeofenceTileService geofenceTileService,
                         IAlignmentTileService alignmentTileService, IDxfTileService dxfTileService, IBoundingBoxHelper boundingBoxHelper,
                         ILoadDumpTileService loadDumpTileService, ILoadDumpProxy loadDumpProxy)
 {
     log = logger.CreateLogger <MapTileGenerator>();
     this.mapTileService       = mapTileService;
     this.projectTileService   = projectTileService;
     this.geofenceTileService  = geofenceTileService;
     this.alignmentTileService = alignmentTileService;
     this.dxfTileService       = dxfTileService;
     this.boundingBoxHelper    = boundingBoxHelper;
     boundingBoxService        = bboxService;
     this.productivity3DProxyCompactionTile = productivity3DProxyCompactionTile;
     this.loadDumpTileService = loadDumpTileService;
     this.loadDumpProxy       = loadDumpProxy;
 }
示例#6
0
        /// <summary>
        /// Default Constructor
        /// </summary>
        public Compaction3DMapController(ILoggerFactory loggerFactory,
                                         IServiceExceptionHandler serviceExceptionHandler,
                                         IConfigurationStore configStore,
                                         IFileImportProxy fileImportProxy,
                                         IProjectSettingsProxy projectSettingsProxy,
                                         IFilterServiceProxy filterServiceProxy,
                                         ICompactionSettingsManager settingsManager,
                                         IProductionDataTileService tileService,
#if RAPTOR
                                         IASNodeClient raptorClient,
#endif
                                         IBoundingBoxHelper boundingBoxHelper,
                                         ITRexCompactionDataProxy trexCompactionDataProxy,
                                         ITransferProxyFactory transferProxyFactory) : base(configStore, fileImportProxy, settingsManager)
        {
            this.tileService             = tileService;
            this.boundingBoxHelper       = boundingBoxHelper;
            this.trexCompactionDataProxy = trexCompactionDataProxy;
            this.transferProxyFactory    = transferProxyFactory;
        }
示例#7
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public ThumbnailController(IProductivity3dV2ProxyCompactionTile productivity3DProxyCompactionTile, IPreferenceProxy prefProxy, IFileImportProxy fileImportProxy,
                            IMapTileGenerator tileGenerator, IMemoryCache cache, IConfigurationStore configStore,
                            IBoundingBoxHelper boundingBoxHelper, ITPaaSApplicationAuthentication authn)
     : base(productivity3DProxyCompactionTile, prefProxy, fileImportProxy, tileGenerator, cache, configStore, boundingBoxHelper, authn)
 {
 }
示例#8
0
        /// <summary>
        /// Builds this instance for specified executor type.
        /// </summary>
        /// <typeparam name="TExecutor">The type of the executor.</typeparam>
        /// <typeparam name="TLog">The type of the logger.</typeparam>
        public static TExecutor Build <TExecutor, TLog>(ILogger <TLog> logger, IConfigurationStore configStore = null,
                                                        IHeaderDictionary customHeaders       = null, IDataOceanClient dataOceanClient = null,
                                                        ITPaaSApplicationAuthentication authn = null, IProductivity3dV2ProxyCompactionTile productivity3DProxyCompactionTile = null, IBoundingBoxHelper bboxHelper = null)
            where TExecutor : RequestExecutorContainer, new()
        {
            ILogger log      = logger;
            var     executor = new TExecutor();

            executor.Initialise(
                log,
                configStore,
                customHeaders,
                dataOceanClient,
                authn,
                productivity3DProxyCompactionTile,
                bboxHelper);

            return(executor);
        }