using System;
using System.Collections;
using System.Data;

namespace QC.QTMInterface;

[Serializable]
public struct ParamValue
{
	public string ParamName;

	public string RealName;

	public ArrayList Value;

	public ArrayList UL;

	public ArrayList LL;

	public string Unit;

	public string Desc;

	public string Constraint;

	public int DispHint;

	public bool UseRunTimeLimits;

	public DataType dataType;

	public ArrayList EnabledCharting;

	public ArrayList EnabledDataLogging;

	public IOType IOType;

	public int NumElements;

	public int ParamRID;

	public ArrayList ParamArrayRIDs;

	public string GvSetName;

	public string GvGetName;

	public string GvGetLowerLimit;

	public string GvGetUpperLimit;

	public string ParentName;

	public DataTable DataTableValue;

	public bool ReportingEnabled
	{
		get
		{
			if (EnabledCharting != null)
			{
				foreach (object item in EnabledCharting)
				{
					if (item is bool && (bool)item)
					{
						return true;
					}
				}
			}
			return false;
		}
	}
}
