namespace QFDT_Components;

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

	public uint? DLChannel { get; set; }

	public double? DLFreq { get; set; }

	public double? expected_dlpower { get; set; }

	public int? lna_gain_state { get; set; }

	public RxPathOption rx_path_option { get; set; }

	public double powerChanged { get; set; }

	public bool bCtrlSG { get; set; }

	public SUB6_Rx_Override_Params()
	{
		rx_path_option = RxPathOption.PRx;
		ULChannel = null;
		DLChannel = null;
		DLFreq = null;
		powerChanged = 0.0;
		bCtrlSG = true;
		Clear();
	}

	public void Clear()
	{
		expected_dlpower = null;
		lna_gain_state = null;
	}

	public bool CheckValid()
	{
		if (ULChannel.HasValue && expected_dlpower.HasValue && lna_gain_state.HasValue)
		{
			return true;
		}
		return false;
	}
}
