static async Task TestFill(BinaryServiceHelper svc, CubeColor clr)
 {
     // Fill
     Console.Write("Setting the cube color... ");
     BinaryServiceHelper.CommandResult cr = await svc.SendCmd("fill", clr);
     Console.WriteLine(cr.Result + " " + cr.ExecutionTime.ToString() + " ms.");
     Thread.Sleep(1000);
 }
Exemple #2
0
        static async Task TestFill(BinaryServiceHelper svc, CubeColor clr)
        {
            // Fill
            Console.Write("Setting the cube color... ");
            BinaryServiceHelper.CommandResult cr = await svc.SendCmd("fill", clr);

            Console.WriteLine(cr.Result + " " + cr.ExecutionTime.ToString() + " ms.");
            Thread.Sleep(1000);
        }