34 lines
611 B
C#
34 lines
611 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Raytheon.Instruments.LSPS
|
|
{
|
|
public static class NIF
|
|
{
|
|
public enum InputIndex
|
|
{
|
|
UUT_GV_OPEN,
|
|
UUT_GV_CLOSE
|
|
}
|
|
|
|
public enum Command
|
|
{
|
|
CLOSE_UUT_GV,
|
|
OPEN_UUT_GV,
|
|
GET_STATUS,
|
|
GET_INPUT_INDEX,
|
|
GET_TEMP_INDEX
|
|
};
|
|
|
|
private const string name_ = "NIF";
|
|
|
|
public static string GetFullCommand(Enum command)
|
|
{
|
|
return $"{name_} {command.ToString()}";
|
|
}
|
|
}
|
|
}
|