namespace QFDT_Components;

public class QSC_Tx_Override_Params
{
	public uint? ULChannel { get; set; }

	public uint? pa_state { get; set; }

	public double? max_lin_pwr { get; set; }

	public double? min_lin_pwr { get; set; }

	public uint? rgi { get; set; }

	public uint? bias { get; set; }

	public uint? icq { get; set; }

	public double? pathLoss { get; set; }

	public bool bCtrlSA { get; set; }

	public uint? BW { get; set; }

	public QSC_Tx_Override_Params()
	{
		ULChannel = null;
		pa_state = null;
		max_lin_pwr = null;
		min_lin_pwr = null;
		rgi = null;
		bias = null;
		icq = null;
		pathLoss = null;
		bCtrlSA = false;
		BW = null;
	}

	public void reset()
	{
		ULChannel = null;
		pa_state = null;
		max_lin_pwr = null;
		min_lin_pwr = null;
		rgi = null;
		bias = null;
		icq = null;
		pathLoss = null;
		BW = null;
	}

	public bool CheckValid()
	{
		if (ULChannel.HasValue && pa_state.HasValue && rgi.HasValue && bias.HasValue && icq.HasValue)
		{
			return true;
		}
		return false;
	}
}
