示例#1
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);
 }
示例#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);
        }