コード例 #1
0
        static void WaitForSettleDone(Guider guider)
        {
            while (true)
            {
                SettleProgress s = guider.CheckSettling();

                if (s.Done)
                {
                    Console.WriteLine("settling is done");
                    break;
                }

                Console.WriteLine("settling dist {0:F1}/{1:F1}  time {2:F1}/{3:F1}",
                                  s.Distance, s.SettlePx, s.Time, s.SettleTime);

                Thread.Sleep(1000);
            }
        }