public enum COMM_Command : byte
{
#region Paste Bereich
[CommandInfo(Category.General, "Ping ausführen", PrimaryName = "")]
PING = 0,
[CommandInfo(Category.Response, "ACK", PrimaryName = "")]
NACK = 2,
[CommandInfo(Category.GetVariable, "Status", Conversion = CommType.Status)]
REQ_STATE = 6,
[CommandInfo(Category.GetVariable, "Zyklen")]
REQ_CYCLES = 7,
[CommandInfo(Category.GetVariable, "Motor (Promille)",
Unit = "‰")]
REQ_MOTOR_PROMILLE = 8,
[CommandInfo(Category.GetVariable, "Bremse (Promille)",
Unit = "‰")]
REQ_BRAKE_STATE = 10,
[CommandInfo(Category.GetSensor, "Encoder (Gegenrad)",
Unit = "U/min")]
REQ_ENCODER_MOTORWELLE = 12,
[CommandInfo(Category.GetSensor, "Gefahrene Strecke",
Unit = "m", Conversion = CommType.thousands)]
REQ_DRIVEN_DISTANCE = 14,
[CommandInfo(Category.GetSensor, "Bandsensor (binär)",
Unit = "bool")]
REQ_ROPE_SENSOR_STATE = 16,
[CommandInfo(Category.GetSensor, "Temperatur", SecondaryName = "Sensor",
Unit = "°C")]
RES_TEMPERATURE = 81,
// ...
[CommandInfo(Category.SetVariable, "Status", Conversion = CommType.Status)]
SET_STATE = 135,
[CommandInfo(Category.SetVariable, "Motor (Promille)",
Unit = "‰")]
SET_MOTOR_PROMILLE = 136,
[CommandInfo(Category.SetVariable, "Bremse (Promille)",
Unit = "‰")]
SET_BRAKE_PROMILLE = 137,
// ...
[CommandInfo(Category.Command, "Start", PrimaryName = "")]
CMD_START = 200,