namespace QFDT_Components;

public class wlan_TxPowerCtrlClass
{
	public bool? bMultiCtrlModeSelection { get; set; }

	public bool? bClosedloop { get; set; }

	public string sPwrCtrlSelection { get; set; }

	public string sPwrIndexSource { get; set; }

	public wlan_TxPowerCtrlClass()
	{
		bMultiCtrlModeSelection = null;
		bClosedloop = null;
		sPwrCtrlSelection = null;
		sPwrIndexSource = null;
	}

	public bool IsEqual(wlan_TxPowerCtrlClass obj)
	{
		if (bMultiCtrlModeSelection == obj.bMultiCtrlModeSelection)
		{
			bool? flag = bClosedloop;
			bool? flag2 = obj.bClosedloop;
			if (flag.GetValueOrDefault() == flag2.GetValueOrDefault() && flag.HasValue == flag2.HasValue && sPwrCtrlSelection == obj.sPwrCtrlSelection && sPwrIndexSource == obj.sPwrIndexSource)
			{
				return true;
			}
		}
		return false;
	}
}
