/*     */ import java.util.ArrayList;
/*     */ import java.util.Hashtable;
/*     */ import java.util.Map;
/*     */ import org.quartz.CronScheduleBuilder;
/*     */ import org.quartz.CronTrigger;
/*     */ import org.quartz.JobBuilder;
/*     */ import org.quartz.JobDetail;
/*     */ import org.quartz.ScheduleBuilder;
/*     */ import org.quartz.Scheduler;
/*     */ import org.quartz.SchedulerException;
/*     */ import org.quartz.Trigger;
/*     */ import org.quartz.TriggerBuilder;
/*     */ import org.quartz.impl.StdSchedulerFactory;
/*     */ 
/*     */ 
/*     */ 
/*     */ public class AnprCarInfoSend
/*     */ {
/*     */   public static void main(String[] args) {
/*  20 */     String str = "*/1 * * * * ?";
/*  21 */     if (args.length > 0) {
/*  22 */       str = String.format("*/%s * * * * ?", new Object[] { args[0] });
/*     */     }
/*     */     
/*  25 */     AnprStateSend anpr = new AnprStateSend(str);
/*  26 */     anpr.runCarNoImageSend();
/*     */   }
/*     */   public AnprCarInfoSend() {
/*  29 */     Map<String, Boolean> mapIsRun_1 = new Hashtable<>();
/*  30 */     Map<String, Boolean> mapIsRun_3 = new Hashtable<>();
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */     
/*  36 */     mapIsRun_1.put("01", Boolean.valueOf(false));
/*  37 */     mapIsRun_1.put("02", Boolean.valueOf(false));
/*  38 */     mapIsRun_1.put("03", Boolean.valueOf(false));
/*  39 */     mapIsRun_1.put("04", Boolean.valueOf(false));
/*  40 */     mapIsRun_1.put("05", Boolean.valueOf(false));
/*  41 */     mapIsRun_1.put("06", Boolean.valueOf(false));
/*  42 */     mapIsRun_1.put("07", Boolean.valueOf(false));
/*  43 */     mapIsRun_1.put("08", Boolean.valueOf(false));
/*     */     
/*  45 */     mapIsRun_3.put("01", Boolean.valueOf(false));
/*  46 */     mapIsRun_3.put("02", Boolean.valueOf(false));
/*  47 */     mapIsRun_3.put("03", Boolean.valueOf(false));
/*  48 */     mapIsRun_3.put("04", Boolean.valueOf(false));
/*  49 */     mapIsRun_3.put("05", Boolean.valueOf(false));
/*  50 */     mapIsRun_3.put("06", Boolean.valueOf(false));
/*  51 */     mapIsRun_3.put("07", Boolean.valueOf(false));
/*  52 */     mapIsRun_3.put("08", Boolean.valueOf(false));
/*  53 */     mapIsRun_3.put("09", Boolean.valueOf(false));
/*  54 */     mapIsRun_3.put("10", Boolean.valueOf(false));
/*     */   }
/*     */ 
/*     */   
/*     */   public void runAnprCarInfo(String str) {
/*     */     try {
/*  60 */       ArrayList<String> state = new ArrayList<>();
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */       
/*  66 */       JobDetail job = JobBuilder.newJob(AnprImageJob.class)
/*  67 */         .withIdentity("testJob")
/*  68 */         .usingJobData("jobSays", "ant.xml")
/*  69 */         .usingJobData("myFloatValue", Float.valueOf(3.141F)).build();
/*     */       
/*  71 */       job.getJobDataMap().put("state", state);
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */       
/*  81 */       CronTrigger cronTrigger = 
/*  82 */         (CronTrigger)TriggerBuilder.newTrigger()
/*  83 */         .withIdentity("crontrigger", "crontriggergroup1")
/*  84 */         .withSchedule(
/*  85 */           (ScheduleBuilder)CronScheduleBuilder.cronSchedule("*/5 * * * * ?"))
/*     */         
/*  87 */         .build();
/*     */ 
/*     */       
/*  90 */       StdSchedulerFactory stdSchedulerFactory = new StdSchedulerFactory();
/*  91 */       Scheduler sch = stdSchedulerFactory.getScheduler();
/*     */ 
/*     */ 
/*     */       
/*  95 */       sch.start();
/*  96 */       sch.scheduleJob(job, (Trigger)cronTrigger);
/*     */     
/*     */     }
/*  99 */     catch (SchedulerException e) {
/* 100 */       e.printStackTrace();
/*     */     } 
/*     */   }
/*     */ }


/* Location:              C:\Users\XIT_LBJ\Desktop\남산 혼잡통행료\운영환경 실 파일\3호 연계서버\car이미지자르\anpr스테이터스센드\anpr_status_send.jar!\AnprCarInfoSend.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */