Beispiel #1
0
        public UserMessage GetCommand(int milliSecondWait)
        {
            comlen      cl = new comlen(Receive(milliSecondWait, 8));
            UserMessage um = new UserMessage((Command)cl.CommandID, Receive(milliSecondWait, cl.datalen));

            return(um);
        }
Beispiel #2
0
 public UserMessage GetCommand( int milliSecondWait )
 {
     comlen cl = new comlen( Receive( milliSecondWait, 8 ) );
     UserMessage um = new UserMessage( (Command)cl.CommandID, Receive( milliSecondWait, cl.datalen ) );
     return um;
 }