using System;
using System.Collections.Generic;

namespace QC.QTMInterface;

public class ParamChangedEventArgs : EventArgs
{
	private List<ParamValue> parameters;

	private bool updateChangesToAll;

	private ParamFieldChanged changedItems;

	public List<ParamValue> Parameters => parameters;

	public ParamFieldChanged ChangedField => changedItems;

	public bool UpdateChangesToAll => updateChangesToAll;

	public ParamChangedEventArgs(List<ParamValue> parameters, bool updateChangesToAll, ParamFieldChanged fieldsChanged)
	{
		this.parameters = parameters;
		this.updateChangesToAll = updateChangesToAll;
		changedItems = fieldsChanged;
	}
}
