Example #1
0
 public ATC02Command(String cmdString, Object commandArgs, ATC02CommandReply.ReplyType reply, string lastReceiveToken, int commandTimeout)
 {
     commandString       = cmdString;
     this.commandArgs    = commandArgs;
     this.replyType      = new ATC02CommandReply(reply, lastReceiveToken);
     this.commandTimeout = commandTimeout;
 }
Example #2
0
 public ATC02Command(string cmdString, ATC02CommandReply.ReplyType reply)
     : this(cmdString, null, reply, cmdString, 2500)
 {
     if (reply != ATC02CommandReply.ReplyType.ReplyCommand)
     {
         throw (new ATCLibExceptions("ReplyType.ParametrizedCommand need to specify a last token!"));
     }
 }
Example #3
0
 public ATC02Command(string cmdString, ATC02CommandReply.ReplyType reply, string lastToken)
     : this(cmdString, null, reply, lastToken, 2500)
 {
 }