public MotionControlMotorCommand(MessageCommands.MotionCommand Command, UserCallBackParameters FlightParameters) : base(Command, FlightParameters) { TxMessages.Clear(); TxMessages.Add(new MessageCommands.ImmediateCommand(new QcMessage() { Command = QcCommand.POL }) { Address = this.Address }); TxMessages.Add(new MessageCommands.ImmediateCommand(new QcMessage() { Command = QcCommand.CPL, Data = new List <int>(new int[] { (int)QcPsw.ClearAll }) }) { Address = this.Address }); TxMessages.Add(Command); TxMessages.Add(new MessageCommands.LoopPollCommand(new QcMessage() { Command = QcCommand.POL }) { Address = this.Address }); TxMessages.Add(new MessageCommands.ImmediateCommand(new QcMessage() { Command = QcCommand.CPL, Data = new List <int>(new int[] { (int)QcPsw.PCmdDone }) }) { Address = this.Address }); }
public ImmediateMotorCommand(MessageCommand Command, UserCallBackParameters FlightParameters) : base(Command, FlightParameters) { }