using System.Xml;
using System.Xml.Serialization;

namespace QC.CompareTestTree;

[XmlType(AnonymousType = true)]
public class SerializeComponentsTheRegistryQTMThisPCTargetTestContainersTestsParameterCls
{
	private string nameField;

	private byte noOfElementsField;

	private string valueField;

	private string unitField;

	private object upperLimitField;

	private object lowerLimitField;

	private string dataTypeField;

	private string typeField;

	private string enableDataLoggingAsStringField;

	private string enableChartingAsStringField;

	private bool useRunTimeLimitsField;

	private string descriptionField;

	private string constraintsField;

	private string displayHintField;

	private string paramRIDField;

	private string arrayParameterRIDsAsStringField;

	private bool selectedField;

	private object globalVariableNameField;

	private object globalVariableForLLField;

	private object globalVariableForULField;

	private object globalVariableNameOtherField;

	public string Name
	{
		get
		{
			return nameField;
		}
		set
		{
			nameField = value;
		}
	}

	public byte NoOfElements
	{
		get
		{
			return noOfElementsField;
		}
		set
		{
			noOfElementsField = value;
		}
	}

	public string Value
	{
		get
		{
			return valueField;
		}
		set
		{
			valueField = value;
		}
	}

	public string Unit
	{
		get
		{
			return unitField;
		}
		set
		{
			unitField = value;
		}
	}

	public object UpperLimit
	{
		get
		{
			return upperLimitField;
		}
		set
		{
			upperLimitField = value;
		}
	}

	public object LowerLimit
	{
		get
		{
			return lowerLimitField;
		}
		set
		{
			lowerLimitField = value;
		}
	}

	public string DataType
	{
		get
		{
			return dataTypeField;
		}
		set
		{
			dataTypeField = value;
		}
	}

	public string Type
	{
		get
		{
			return typeField;
		}
		set
		{
			typeField = value;
		}
	}

	public string EnableDataLoggingAsString
	{
		get
		{
			return enableDataLoggingAsStringField;
		}
		set
		{
			enableDataLoggingAsStringField = value;
		}
	}

	public string EnableChartingAsString
	{
		get
		{
			return enableChartingAsStringField;
		}
		set
		{
			enableChartingAsStringField = value;
		}
	}

	public bool UseRunTimeLimits
	{
		get
		{
			return useRunTimeLimitsField;
		}
		set
		{
			useRunTimeLimitsField = value;
		}
	}

	public string Description
	{
		get
		{
			return descriptionField;
		}
		set
		{
			descriptionField = value;
		}
	}

	public string Constraints
	{
		get
		{
			return constraintsField;
		}
		set
		{
			constraintsField = value;
		}
	}

	public string DisplayHint
	{
		get
		{
			return displayHintField;
		}
		set
		{
			displayHintField = value;
		}
	}

	public string ParamRID
	{
		get
		{
			return paramRIDField;
		}
		set
		{
			paramRIDField = value;
		}
	}

	public string ArrayParameterRIDsAsString
	{
		get
		{
			return arrayParameterRIDsAsStringField;
		}
		set
		{
			arrayParameterRIDsAsStringField = value;
		}
	}

	public bool Selected
	{
		get
		{
			return selectedField;
		}
		set
		{
			selectedField = value;
		}
	}

	public object GlobalVariableName
	{
		get
		{
			return globalVariableNameField;
		}
		set
		{
			globalVariableNameField = value;
		}
	}

	public object GlobalVariableForLL
	{
		get
		{
			return globalVariableForLLField;
		}
		set
		{
			globalVariableForLLField = value;
		}
	}

	public object GlobalVariableForUL
	{
		get
		{
			return globalVariableForULField;
		}
		set
		{
			globalVariableForULField = value;
		}
	}

	public object GlobalVariableNameOther
	{
		get
		{
			return globalVariableNameOtherField;
		}
		set
		{
			globalVariableNameOtherField = value;
		}
	}

	public void CompareTestParameters(string xmlNodeName, SerializeComponentsTheRegistryQTMThisPCTargetTestContainersTestsParameterCls baseRegTestParam, string overrideAttrib, ref XmlDocument xmlDoc, ref XmlElement parentNode)
	{
		XmlElement xmlElement = xmlDoc.CreateElement(xmlNodeName);
		if (overrideAttrib != null)
		{
			xmlElement.SetAttribute("delta", overrideAttrib);
		}
		CommonFunctions.RootDoc = xmlDoc;
		CommonFunctions.ParentNode = xmlElement;
		CommonFunctions.AddElement("Name", Name, baseRegTestParam.Name, overrideAttrib);
		CommonFunctions.AddElement("NoOfElements", NoOfElements, baseRegTestParam.NoOfElements, overrideAttrib);
		CommonFunctions.AddElement("Value", Value, baseRegTestParam.Value, overrideAttrib);
		CommonFunctions.AddElement("Unit", Unit, baseRegTestParam.Unit, overrideAttrib);
		CommonFunctions.AddElement("DataType", DataType, baseRegTestParam.DataType, overrideAttrib);
		CommonFunctions.AddElement("Type", Type, baseRegTestParam.Type, overrideAttrib);
		CommonFunctions.AddElement("EnableDataLoggingAsString", EnableDataLoggingAsString, baseRegTestParam.EnableDataLoggingAsString, overrideAttrib);
		CommonFunctions.AddElement("EnableChartingAsString", EnableChartingAsString, baseRegTestParam.EnableChartingAsString, overrideAttrib);
		CommonFunctions.AddElement("UseRunTimeLimits", UseRunTimeLimits, baseRegTestParam.UseRunTimeLimits, overrideAttrib);
		CommonFunctions.AddElement("Description", Description, baseRegTestParam.Description, overrideAttrib);
		CommonFunctions.AddElement("Constraints", Constraints, baseRegTestParam.Constraints, overrideAttrib);
		CommonFunctions.AddElement("DisplayHint", DisplayHint, baseRegTestParam.DisplayHint, overrideAttrib);
		CommonFunctions.AddElement("ParamRID", ParamRID, baseRegTestParam.ParamRID, overrideAttrib);
		CommonFunctions.AddElement("ArrayParameterRIDsAsString", ArrayParameterRIDsAsString, baseRegTestParam.ArrayParameterRIDsAsString, overrideAttrib);
		CommonFunctions.AddElement("Selected", Selected, baseRegTestParam.Selected, overrideAttrib);
		parentNode.AppendChild(xmlElement);
	}
}
