36 lines
712 B
C#
36 lines
712 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 BlackBody
|
|
{
|
|
public enum Command
|
|
{
|
|
CONTROL_SETPOINT,
|
|
GET_TEMP,
|
|
GET_SETPOINT,
|
|
GET_HTR,
|
|
GET_STABILITY,
|
|
GET_CONTROL_STATE,
|
|
GET_RATE_OF_CHANGE,
|
|
GET_TEMP_ERROR,
|
|
GET_TEMPA,
|
|
GET_TEMPB,
|
|
GET_CONTROL_SETPOINT,
|
|
GET_STATUS,
|
|
GET_BIT
|
|
};
|
|
|
|
private const string name_ = "BB";
|
|
|
|
public static string GetFullCommand(Enum command)
|
|
{
|
|
return $"{name_} {command.ToString()}";
|
|
}
|
|
}
|
|
}
|