Example #1
0
        /// <summary>
        /// Process an atomic command
        /// </summary>
        /// <param name="cmd"></param>
        /// <returns>The response port</returns>
        public DsspResponsePort <RoombaReturnPacket> ProcessAtomicCommand(RoombaCommand cmd)
        {
            ProcessAtomicCommand processCmd = new ProcessAtomicCommand(cmd);

            this.PostUnknownType(processCmd);
            return(processCmd.ResponsePort);
        }
Example #2
0
 /// <summary>
 /// Write Command Info
 /// </summary>
 /// <param name="atomicCommand"></param>
 public WriteCommandInfo(irobot.ProcessAtomicCommand atomicCommand)
 {
     this.AtomicCommand = atomicCommand;
 }
Example #3
0
 /// <summary>
 /// Process an Atomic Command
 /// </summary>
 /// <param name="cmd"></param>
 /// <returns></returns>
 public virtual DsspResponsePort <irobot.RoombaReturnPacket> ProcessAtomicCommand(irobot.RoombaCommand cmd)
 {
     irobot.ProcessAtomicCommand op = new irobot.ProcessAtomicCommand(cmd);
     this.PostUnknownType(op);
     return(op.ResponsePort);
 }