using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TelerikTestSelf
{
	public enum TestType : int
	{
		None = 0,
		AbsPos = 1,
		RelPos = 2,
		TestSub = 3,
		Diameter = 11,
		Height = 12,
		Angle = 13,
	}

	public class TestParItem
	{
		public int PosIndex { get; set; }
		public TestType TestType { get; set; }
		public float R { get; set; }
		public float Fi { get; set; }
		public float Min { get; set; }
		public float Max { get; set; }
		public string Comment { get; set; }
		public bool Disabled { get; set; }

		public int PosNr => PosIndex + 1;

		public int GridID { get; set; }
		public int GridParentID { get; set; }
	}
}
