예제 #1
0
 private Status powerOn() {
   Status status = getStatus();
   while (status == null || !status.isPowerOn()) {
     post(powerOnXml());
     sleep(1);
     status = getStatus();
   }
   return status;
 }