示例#1
0
 /// <summary>
 /// Returns the total number of alerts, per tenant, that haven't been read by
 /// the current user.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataResponseInt64> GetUnreadCountAsync(this IAlerts operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetUnreadCountWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#2
0
 /// <summary>
 /// Marks alerts as read and returns the remaining number of unread
 /// notifications.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Write.
 ///
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// Collection containing the unique identifiers of the notifications that will
 /// be marked as read
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueOfInt64> MarkAsReadAsync(this IAlerts operations, AlertsMarkAsReadParameters body = default(AlertsMarkAsReadParameters), string expand = default(string), string select = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.MarkAsReadWithHttpMessagesAsync(body, expand, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#3
0
 /// <summary>
 /// Marks alerts as read and returns the remaining number of unread
 /// notifications.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='markAsReadParameters'>
 /// Collection containing the unique identifiers of the notifications that will
 /// be marked as read
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataResponseInt64> MarkAsReadAsync(this IAlerts operations, MarkAsReadParameters markAsReadParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.MarkAsReadWithHttpMessagesAsync(markAsReadParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#4
0
 /// <summary>
 /// Returns the total number of alerts, per tenant, that haven't been read by
 /// the current user.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Read.
 ///
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueOfInt64> GetUnreadCountAsync(this IAlerts operations, string expand = default(string), string select = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetUnreadCountWithHttpMessagesAsync(expand, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#5
0
 /// <summary>
 /// Gets alerts.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataResponseListAlertDto> GetAlertsAsync(this IAlerts operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetAlertsWithHttpMessagesAsync(expand, filter, select, orderby, top, skip, count, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#6
0
 public CaseReportPolicy(ICaseReports caseReports, IHealthRisks healthRisks, IAlertFeedbackService feedbackService, IAlerts alerts, IUncommittedEventStreamCoordinator uncommittedEventStreamCoordinator)
 {
     _uncommittedEventStreamCoordinator = uncommittedEventStreamCoordinator;
     _caseReports     = caseReports;
     _healthRisks     = healthRisks;
     _feedbackService = feedbackService;
     _alerts          = alerts;
 }
示例#7
0
        //private ISecondaryInputProvider _inputProvider;
        //ISecondaryInputProvider inputProvider

        public HumanStrategy(IConfigurationSetter configuration, IConsoleReadWrap consoleRead)
        {
            if (configuration == null || consoleRead == null)
            {
                throw new NullReferenceException(nameof(HumanStrategy));
            }
            _message     = configuration.Message;
            _alert       = configuration.Alert;
            _consoleRead = consoleRead;
            //_inputProvider = inputProvider;
        }
示例#8
0
        internal Defense(IIsxeveProvider isxeveProvider, IEntityProvider entityProvider, IShip ship, IMeCache meCache, IDefensiveConfiguration defensiveConfiguration, ISocial social, IDrones drones, IAlerts alerts, ISafespots safespots, IMovement movement)
        {
            _isxeveProvider         = isxeveProvider;
            _entityProvider         = entityProvider;
            _ship                   = ship;
            _meCache                = meCache;
            _defensiveConfiguration = defensiveConfiguration;
            _social                 = social;
            _drones                 = drones;
            _alerts                 = alerts;
            _safespots              = safespots;
            _movement               = movement;

            ModuleManager.ModulesToPulse.Add(this);
            ModuleName     = "Defense";
            PulseFrequency = 1;
        }
示例#9
0
        public Targeting(ILogging logging, IMaxRuntimeConfiguration maxRuntimeConfiguration, IMeCache meCache, IShip ship,
                         IDrones drones, IAlerts alerts, IModuleManager moduleManager, ITargetQueue targetQueue, IEntityProvider entityProvider, IMovement movement)
            : base(logging)
        {
            _meCache        = meCache;
            _ship           = ship;
            _drones         = drones;
            _alerts         = alerts;
            _moduleManager  = moduleManager;
            _targetQueue    = targetQueue;
            _entityProvider = entityProvider;
            _movement       = movement;

            ModuleManager.ModulesToPulse.Add(this);
            ModuleName = "Targeting";

            _randomWait = new RandomWaitObject("Targeting", logging, maxRuntimeConfiguration);
            _randomWait.AddWait(new KeyValuePair <int, int>(3, 5), 5);
            _randomWait.AddWait(new KeyValuePair <int, int>(1, 2), 15);
        }
示例#10
0
        public Attackers(IMeCache meCache, IConfiguration configuration, IShip ship, IDrones drones,
                         IEntityProvider entityProvider, IAlerts alerts, IAsteroidBelts asteroidBelts, IPossibleEwarNpcs possibleEwarNpcs,
                         ITargetQueue targetQueue, IModuleManager moduleManager)
        {
            _meCache          = meCache;
            _configuration    = configuration;
            _ship             = ship;
            _drones           = drones;
            _entityProvider   = entityProvider;
            _alerts           = alerts;
            _asteroidBelts    = asteroidBelts;
            _possibleEwarNpcs = possibleEwarNpcs;
            _targetQueue      = targetQueue;
            _moduleManager    = moduleManager;

            ModuleManager.ModulesToPulse.Add(this);
            ModuleName     = "Attackers";
            IsEnabled      = true;
            PulseFrequency = 1;
        }
示例#11
0
        public Ratting(ISocial social, IMeCache meCache, IBookmarks bookmarks, ISalvageConfiguration salvageConfiguration, IRattingConfiguration rattingConfiguration, IAnomalyProvider anomalyProvider,
                       IEntityProvider entityProvider, IAnomalyClaimTracker anomalyClaimTracker, ISafespots safespots, IMovement movement, IShip ship, IAsteroidBelts asteroidBelts, IMovementConfiguration movementConfiguration,
                       IAlerts alerts, ITargetQueue targetQueue, IAttackers attackers)
        {
            _social               = social;
            _meCache              = meCache;
            _bookmarks            = bookmarks;
            _salvageConfiguration = salvageConfiguration;
            _rattingConfiguration = rattingConfiguration;
            _anomalyProvider      = anomalyProvider;
            _entityProvider       = entityProvider;
            _anomalyClaimTracker  = anomalyClaimTracker;
            _safespots            = safespots;
            _movement             = movement;
            _ship                  = ship;
            _asteroidBelts         = asteroidBelts;
            _movementConfiguration = movementConfiguration;
            _alerts                = alerts;
            _targetQueue           = targetQueue;
            _attackers             = attackers;

            BehaviorManager.BehaviorsToPulse.Add(BotModes.Ratting, this);
            ModuleName     = "Ratting";
            IsEnabled      = true;
            PulseFrequency = 2;

            var knownEwarPointTargetTags = new List <string> {
                "Dire Guristas", "Arch Angel Hijacker", "Arch Angel Outlaw", "Arch Angel Rogue",
                "Arch Angel Thug", "Sansha's Loyal", "Guardian Agent", "Guardian Initiate",
                "Guardian Scout", "Guardian Spy", " Watchman", " Patroller",
                "Elder Blood Upholder", "Elder Blood Worshipper", "Elder Blood Follower", "Elder Blood Herald",
                "Blood Wraith", "Blood Disciple", "Strain "
            };

            _cachedResourcesByKeys.Add(KnownEwarPointTargetTags, knownEwarPointTargetTags);

            _randomWaitObject = new RandomWaitObject(ModuleName);
            _randomWaitObject.AddWait(new KeyValuePair <int, int>(30, 70), 5);
            _randomWaitObject.AddWait(new KeyValuePair <int, int>(5, 15), 10);
        }
示例#12
0
 /// <summary>
 /// Get AlertList For Grid
 // / </summary>
 public List <AlertModel> GetAlertList(IAlerts Alert, int tenantID, int alertID)
 {
     _Alerts = Alert;
     return(_Alerts.GetAlertList(tenantID, alertID));
 }
示例#13
0
 /// <summary>
 /// Gets alerts.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 public static ODataResponseListAlertDto GetAlerts(this IAlerts operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?))
 {
     return(operations.GetAlertsAsync(expand, filter, select, orderby, top, skip, count).GetAwaiter().GetResult());
 }
示例#14
0
 /// <summary>
 /// Creates a Process Alert
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.Create.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='raiseAlertParameters'>
 /// RaiseProcessAlert action parameters
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task RaiseProcessAlertAsync(this IAlerts operations, RaiseAlertParameters raiseAlertParameters = default(RaiseAlertParameters), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.RaiseProcessAlertWithHttpMessagesAsync(raiseAlertParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
示例#15
0
 /// <summary>
 /// Creates a Process Alert
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.Create.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='raiseAlertParameters'>
 /// RaiseProcessAlert action parameters
 /// </param>
 public static void RaiseProcessAlert(this IAlerts operations, RaiseAlertParameters raiseAlertParameters = default(RaiseAlertParameters))
 {
     operations.RaiseProcessAlertAsync(raiseAlertParameters).GetAwaiter().GetResult();
 }
示例#16
0
 /// <summary>
 /// Marks alerts as read and returns the remaining number of unread
 /// notifications.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Write.
 ///
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// Collection containing the unique identifiers of the notifications that will
 /// be marked as read
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static ODataValueOfInt64 MarkAsRead(this IAlerts operations, AlertsMarkAsReadParameters body = default(AlertsMarkAsReadParameters), string expand = default(string), string select = default(string))
 {
     return(operations.MarkAsReadAsync(body, expand, select).GetAwaiter().GetResult());
 }
示例#17
0
 /// <summary>
 /// Marks alerts as read and returns the remaining number of unread
 /// notifications.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='markAsReadParameters'>
 /// Collection containing the unique identifiers of the notifications that will
 /// be marked as read
 /// </param>
 public static ODataResponseInt64 MarkAsRead(this IAlerts operations, MarkAsReadParameters markAsReadParameters)
 {
     return(operations.MarkAsReadAsync(markAsReadParameters).GetAwaiter().GetResult());
 }
示例#18
0
 /// <summary>
 /// Creates a Process Alert
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Write.
 ///
 /// Required permissions: Alerts.Create.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 public static void RaiseProcessAlert(this IAlerts operations, AlertsRaiseProcessAlertParameters body = default(AlertsRaiseProcessAlertParameters))
 {
     operations.RaiseProcessAlertAsync(body).GetAwaiter().GetResult();
 }
示例#19
0
 /// <summary>
 /// Returns the total number of alerts, per tenant, that haven't been read by
 /// the current user.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static ODataResponseInt64 GetUnreadCount(this IAlerts operations)
 {
     return(operations.GetUnreadCountAsync().GetAwaiter().GetResult());
 }
示例#20
0
 /// <summary>
 /// Creates a Process Alert
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Write.
 ///
 /// Required permissions: Alerts.Create.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task RaiseProcessAlertAsync(this IAlerts operations, AlertsRaiseProcessAlertParameters body = default(AlertsRaiseProcessAlertParameters), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.RaiseProcessAlertWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 public void SetUserInterface(IMyUserInterface impl)
 {
     this.alertImpl = impl;
 }
示例#22
0
 /// <summary>
 /// Returns the total number of alerts, per tenant, that haven't been read by
 /// the current user.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Read.
 ///
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static ODataValueOfInt64 GetUnreadCount(this IAlerts operations, string expand = default(string), string select = default(string))
 {
     return(operations.GetUnreadCountAsync(expand, select).GetAwaiter().GetResult());
 }
示例#23
0
 /// <summary>
 /// UpdateAlert
 /// </summary>
 public int CreateAlert(IAlerts Alert, AlertInsertModel alertModel)
 {
     _Alerts = Alert;
     return(_Alerts.InsertAlert(alertModel));
 }
示例#24
0
 /// <summary>
 /// DeleteAlert
 /// </summary>
 public int DeleteAlert(IAlerts Alert, int tenantID, int AlertID)
 {
     _Alerts = Alert;
     return(_Alerts.DeleteAlert(tenantID, AlertID));
 }
示例#25
0
 /// <summary>
 /// UpdateAlert
 /// </summary>
 public int UpdateAlert(IAlerts Alert, int tenantId, int ModifiedBy, AlertUpdateModel alertModel)
 {
     _Alerts = Alert;
     //return _Alerts.UpdateAlert( tenantId, AlertID, AlertTypeName, isAlertActive, ModifiedBy);
     return(_Alerts.UpdateAlert(tenantId, ModifiedBy, alertModel));
 }
示例#26
0
 public string VallidateAlert(IAlerts Alert, int AlertID, int tenantID)
 {
     _Alerts = Alert;
     return(_Alerts.ValidateAlert(AlertID, tenantID));
 }
示例#27
0
        public override bool Initialize()
        {
            IsCleanedUpOutOfFrame = false;

            _isxeveProvider    = new IsxeveProvider();
            _eveWindowProvider = new EveWindowProvider();

            #region Core object construction
            //Background stuff
            Logging     = new Logging();
            LogCallback = LogIsxeveMessage;
            Tracing.AddCallback(LogCallback);

            _mathUtility        = new MathUtility();
            Statistics          = new Statistics();
            EventCommunications = new EventCommunications(Logging);
            FileManager         = new FileManager();

            //moduleManager and BehaviorManager
            ModuleManager = new ModuleManager(_isxeveProvider, _eveWindowProvider);

            //Me cache. Contains the other caches.
            MeCache = new MeCache(_isxeveProvider, _eveWindowProvider);

            //ConfigurationManager
            Config = new Configuration();
            ConfigurationManager = new ConfigurationManager(Config, MeCache);

            Ship = new Ship(_isxeveProvider, _eveWindowProvider, MeCache, MeCache.Ship, Config.CargoConfig, Statistics, Config.MovementConfig);

            //Entity Populator object
            EntityProvider = new EntityProvider(_isxeveProvider);

            //Other Cache and Data classes
            MissionCache = new MissionCache(_isxeveProvider, _eveWindowProvider);
            AgentCache   = new AgentCache(FileManager, MeCache, Config, _eveWindowProvider);

            BookMarkCache  = new BookMarkCache(MeCache, EntityProvider, Logging, _isxeveProvider);
            NpcBountyCache = new NpcBountyCache();
            //EVEDB modules
            PilotCache       = new PilotCache();
            AllianceCache    = new AllianceCache(FileManager);
            CorporationCache = new CorporationCache();
            MissionDatabase  = new MissionDatabase();
            PossibleEwarNpcs = new PossibleEwarNpcs();

            //Core Functionality Providers, not necessarily caches
            TargetQueue          = new TargetQueue(MeCache, EntityProvider, Config.MiningConfig, Config.MainConfig);
            JetCan               = new JettisonContainer(_eveWindowProvider);
            Social               = new Social(_isxeveProvider);
            Station              = new Station(_isxeveProvider, _eveWindowProvider);
            AsteroidBelts        = new AsteroidBelts(Config, MeCache, EntityProvider, BookMarkCache, Ship);
            Bookmarks            = new Bookmarks(MeCache, Station, Config, BookMarkCache, AsteroidBelts, _isxeveProvider);
            Drones               = new Drones(_isxeveProvider);
            Fleet                = new Fleet();
            Alerts               = new Alerts(Config, MeCache, Logging);
            _anomalyProvider     = new AnomalyProvider(MeCache.Ship);
            _anomalyClaimTracker = new AnomalyClaimTracker(Logging, EventCommunications, MeCache);
            _safespots           = new Safespots(MeCache, BookMarkCache, Config.MovementConfig, MeCache.ToEntity, EntityProvider, _isxeveProvider, Ship, Social, _mathUtility, Logging);

            Attackers = new Attackers(MeCache, Config, Ship, Drones, EntityProvider, Alerts, AsteroidBelts, PossibleEwarNpcs, TargetQueue, ModuleManager);
            #endregion

            #region ActionModule construction
            //Action classes
            Movement     = new Movement(_isxeveProvider, EntityProvider, MeCache, _anomalyProvider, TargetQueue, Ship, Drones);
            Targeting    = new Targeting(Logging, Config.MaxRuntimeConfig, MeCache, Ship, Drones, Alerts, ModuleManager, TargetQueue, EntityProvider, Movement);
            Offensive    = new Offensive(Logging, TargetQueue, EntityProvider);
            NonOffensive = new NonOffensive(MeCache, Config.MiningConfig, Config.DefenseConfig, EntityProvider, TargetQueue, Ship, Drones, Targeting, Movement);
            Defense      = new Defense(_isxeveProvider, EntityProvider, Ship, MeCache, Config.DefenseConfig, Social, Drones, Alerts, _safespots, Movement);
            #endregion

            #region Processor construction
            MissionProcessor = new MissionProcessor(_eveWindowProvider, Movement);
            #endregion

            #region BehaviorModule construction
            _moveToDropOffLocationPartialBehavior = new MoveToDropOffLocationPartialBehavior(Movement, EntityProvider, Config.CargoConfig, BookMarkCache, Bookmarks,
                                                                                             Config.MovementConfig, MeCache, _mathUtility, _isxeveProvider);
            _dropOffCargoPartialBehavior = new DropOffCargoPartialBehavior(_eveWindowProvider, Config.CargoConfig, Config.MainConfig, Config.MiningConfig,
                                                                           MeCache, Ship, Station, JetCan, EntityProvider, EventCommunications);

            //Behavior classes
            BehaviorManager = new BehaviorManager();
            Mining          = new Mining(Config.CargoConfig, Config.MainConfig, MeCache, Ship, EntityProvider,
                                         _safespots, Movement, Social, Config.MovementConfig, AsteroidBelts, _moveToDropOffLocationPartialBehavior, _dropOffCargoPartialBehavior, Config.MiningConfig,
                                         _isxeveProvider, BookMarkCache, TargetQueue);
            Hauler = new Hauler(_eveWindowProvider, Config.CargoConfig, Config.MainConfig, Config.MiningConfig, MeCache, Ship, Station, JetCan, EntityProvider, EventCommunications,
                                _safespots, Movement, BookMarkCache, _moveToDropOffLocationPartialBehavior);
            BoostCanOrca = new BoostCanOrca();
            BoostOrca    = new BoostOrca(BookMarkCache, Config.MiningConfig, Bookmarks, _safespots, Movement, Config.MainConfig, Ship, MeCache);
            Freighter    = new Freighter(_eveWindowProvider, Config.CargoConfig, Config.MainConfig,
                                         Config.MiningConfig, MeCache, Ship, Station, JetCan, EntityProvider, EventCommunications, _moveToDropOffLocationPartialBehavior, _dropOffCargoPartialBehavior, Movement);
            MissionRunner     = new MissionRunner(Config, MissionCache, AgentCache, _eveWindowProvider);
            JumpStabilityTest = new JumpStabilityTest();
            Ratting           = new Ratting(Social, MeCache, Bookmarks, Config.SalvageConfig, Config.RattingConfig, _anomalyProvider, EntityProvider, _anomalyClaimTracker, _safespots,
                                            Movement, Ship, AsteroidBelts, Config.MovementConfig, Alerts, TargetQueue, Attackers);
            #endregion

            //StealthBotUI Interop construction
            //SbUiCommunication = new SbUiCommunication();

#if DEBUG
            LavishScript.ExecuteCommand("ISXEVE:Debug_SetHighPerfLogging[1]");
#endif

            return(true);
        }
示例#28
0
 /// <summary>
 /// Get AlertList For DropDown
 // / </summary>
 public List <AlertList> BindAlerts(IAlerts Alert, int tenantID)
 {
     _Alerts = Alert;
     return(_Alerts.BindAlerts(tenantID));
 }
示例#29
0
 /// <summary>
 /// Bulk Upload Alert in DB
 // / </summary>
 public int AlertBulkUpload(IAlerts alerts, int TenantID, int CreatedBy, DataSet DataSetCSV)
 {
     _Alerts = alerts;
     return(_Alerts.BulkUploadAlert(TenantID, CreatedBy, DataSetCSV));
 }
示例#30
0
 /// <summary>
 /// UpdateAlert
 /// </summary>
 public int UpdateAlert(IAlerts Alert, int tenantId, int ModifiedBy, AlertUpdateModel alertModel)
 {
     _Alerts = Alert;
     return(_Alerts.UpdateAlert(tenantId, ModifiedBy, alertModel));
 }