public static void main( String[] args ) throws InterruptedException, IOException
    {

        int status = YueCheHelper.STATUS_DISPATCH;

        //初始化confighttpproxy
        ConfigHttpProxy.start();

        while(true){

             if (status == YueCheHelper.STATUS_DISPATCH) {   //启动进入的状态
                 boolean isShutdown = NetSystemConfigurations.getSystemBooleanProperty("system.client.shutdown", false);
                 if (isShutdown){
                     System.out.println("程序结束!请按任意键退出程序!");
                     log.info("System.exit!");
                     System.exit(0);
                 }

                if(YueCheHelper.isInWaitTime()){

                    status = YueCheHelper.STATUS_WAIT;

                }else if (YueCheHelper.isInQiang14ServiceTime()){

                    status =  YueCheHelper.STATUS_QIANG_14;

                }else if (YueCheHelper.isInQiang15ServiceTime()){

                    status =  YueCheHelper.STATUS_QIANG_15;
                }

             } else if (status == YueCheHelper.STATUS_WAIT){
                 System.out.println("waitting task begin!");
                 ThreadUtil.sleep(YueCheHelper.WAITTING_SCAN_INTERVAL);
                 status = YueCheHelper.STATUS_DISPATCH;  //休眠完毕，重新调度

             } else if (status == YueCheHelper.STATUS_QIANG_14){
                 doYueChe14();
                 status = YueCheHelper.STATUS_DISPATCH;  //休眠完毕，重新调度

             }else if (status == YueCheHelper.STATUS_QIANG_15){
                 doYueChe15();
                 System.out.println("今日任务已经完成！waitting tomorrow...");
                 status = YueCheHelper.STATUS_DISPATCH;  //休眠完毕，重新调度
             }

        }

    }