public BotSchedulerModule(ILogger Logger, IPIOService Client, IBotModule BotModule, IOrderManagerModule OrderManager, int RetryDelay, ThreadPriority Priority = ThreadPriority.Normal, int StopTimeout = 5000) : base(Logger, Priority, StopTimeout) { this.client = Client; this.botModule = BotModule; this.orderManager = OrderManager; this.retryDelay = RetryDelay; }
public OrderManagerModule(ILogger Logger, PIO.ClientLib.PIOServiceReference.IPIOService Client, IOrderModule OrderModule, IProduceOrderModule ProduceOrderModule, IHarvestOrderModule HarvestOrderModule, IBuildOrderModule BuildFactoryOrderModule, int IdleDuration) : base(Logger) { this.client = Client; this.idleDuration = IdleDuration; this.orderModule = OrderModule; this.produceOrderModule = ProduceOrderModule; this.harvestOrderModule = HarvestOrderModule; this.buildOrderModule = BuildFactoryOrderModule; }