예제 #1
0
            public override void Randomize()
            {
                int    arraylength = -1;
                Random rand        = new Random();
                int    strlength;

                byte[] strbuf, myByte;

                //command
                command = new Messages.rosgardener.MessageCommand();
                command.Randomize();
            }
예제 #2
0
            public override void Randomize()
            {
                int    arraylength = -1;
                Random rand        = new Random();
                int    strlength;

                byte[] strbuf, myByte;

                //response
                response = new Messages.rosgardener.MessageCommand();
                response.Randomize();
                //success
                success = rand.Next(2) == 1;
            }