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

namespace QC.CorpTest.Libraries.QsprSchemaLibrary;

[Serializable]
public class Results
{
	public class Limit
	{
		public class PassFailLimInfo
		{
			public DIValue DI;
		}

		private string min = "";

		private string max = "";

		private PassFailLimInfo passfail;

		[DefaultValue("")]
		public string Min
		{
			get
			{
				return min;
			}
			set
			{
				min = value;
			}
		}

		[DefaultValue("")]
		public string Max
		{
			get
			{
				return max;
			}
			set
			{
				max = value;
			}
		}

		public PassFailLimInfo PassFail
		{
			get
			{
				return passfail;
			}
			set
			{
				passfail = value;
			}
		}
	}

	private DIValue result;

	private Limit limit = new Limit();

	private bool _invalid;

	public DIValue DI
	{
		get
		{
			return result;
		}
		set
		{
			try
			{
				result = value;
			}
			catch
			{
			}
		}
	}

	public Limit Limits
	{
		get
		{
			return limit;
		}
		set
		{
			try
			{
				limit = value;
			}
			catch
			{
			}
		}
	}

	[XmlAttribute]
	public bool invalid
	{
		get
		{
			return _invalid;
		}
		set
		{
			_invalid = value;
		}
	}
}
