using System;
using System.Collections.Generic;
using System.Reflection;

namespace QC.QMSCT;

public static class CONSTGV
{
	public const string ERROR_CODE = "ERRORCODE";

	public const string SUB_ERROR_CODE = "SUBERRORCODE";

	public const string SERIAL_NUMBER = "SN";

	public const string COMPORT_AT_START = "COMPORT_AT_START";

	public const string COMPORT_AFTER_POWERCYCLE = "COMPORT_AFTER_POWERCYCLE";

	public const string PANEL_SPECIFIC = "PANEL_SPECIFIC";

	public const string XTT_TIMEOUT = "XTT_TIMEOUT";

	public const string XTT_TIMEOUT_OFFSET = "XTT_TIMEOUT_OFFSET";

	public const string DUT_INDEX = "DUT_INDEX";

	public const string PANEL_INDEX = "PANEL";

	public static List<string> GetFields()
	{
		List<string> list = new List<string>();
		Type typeFromHandle = typeof(CONSTGV);
		FieldInfo[] fields = typeFromHandle.GetFields(BindingFlags.Static | BindingFlags.Public);
		FieldInfo[] array = fields;
		foreach (FieldInfo fieldInfo in array)
		{
			list.Add(fieldInfo.GetValue(null).ToString());
		}
		return list;
	}
}
