48 lines
1.0 KiB
C#
48 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Raytheon.Instruments.LSPS
|
|
{
|
|
public static class GALIL
|
|
{
|
|
public enum Command
|
|
{
|
|
FW_HOME,
|
|
FW_SET_POS,
|
|
FW_GET_POS,
|
|
FW_GET_STATUS,
|
|
TW_HOME,
|
|
TW_SET_POS,
|
|
TW_GET_POS,
|
|
TW_GET_STATUS,
|
|
SM_HOME,
|
|
SM_STOP,
|
|
SM_SET_BEAM_ANGLES,
|
|
SM_GET_BEAM_ANGLES,
|
|
SM_SET_BEAM_SPEED,
|
|
SM_DRAW_CIRCLE_NUMREVS,
|
|
SM_SET_RIGHT_LEFT_ARROW_ANGLE,
|
|
SM_SET_UP_DOWN_ARROW_ANGLE,
|
|
SM_GET_AZ_STATUS,
|
|
SM_GET_EL_STATUS,
|
|
SM_LOAD_PROFILE_FROM_FILE,
|
|
SM_LOAD_PROFILE,
|
|
SM_MOVE_PROFILE,
|
|
SM_MOVE_TO_START_PROFILE,
|
|
SM_RESET_PROFILE,
|
|
SM_GET_PROFILE_SIZE,
|
|
SM_GET_PROFILE
|
|
};
|
|
|
|
private const string name_ = "GALIL";
|
|
|
|
public static string GetFullCommand(Enum command)
|
|
{
|
|
return $"{name_} {command.ToString()}";
|
|
}
|
|
}
|
|
}
|