public MockSensorManager(string name, int actionExecutionDelay, Guid environmentId) : base(name, actionExecutionDelay, environmentId) { this.dbHelper = new DbHelper(); this.environmentActionsClient = new EnvironmentActionsServiceClient(); this.environmentConditionsServiceClient = new EnvironmentConditionsServiceClient(); }
public MockFeedingService(int poolingInterval) : base(poolingInterval) { this.dbHelper = new DbHelper(); this.environmentActionsServiceClient = new EnvironmentActionsServiceClient(); this.feedingTimers = new List<Timer>(); this.environmentFeedingTimes = new Dictionary<Guid, List<FeedingTime>>(); }