public ReadWrite(ConfigMapping.ReadWrite read_write, DecreaseFrequencies decrease_frequency, int decrease_frequency_custom_minutes) { this.maximum_throughput = read_write.maximum_throughput; this.minimum_throughput = read_write.minimum_throughput; this.increase = (read_write.increase != null ? new Increase(read_write.increase) : null); this.decrease = (read_write.decrease != null ? new Decrease(read_write.decrease, decrease_frequency, decrease_frequency_custom_minutes) : null); this.decrease_combination_modifier = new Measurement(read_write.decrease_combination_modifier); }
public Write(ConfigMapping.ReadWrite read_write, DecreaseFrequencies decrease_frequency, int decrease_frequency_custom_minutes) : base(read_write, decrease_frequency, decrease_frequency_custom_minutes) { }