コード例 #1
0
 private static void QueueAddScheduleActions(string guid)
 {
     try
     {
         _queue.EnqueueObject(new QueueObjectSchedule(guid, RsduTime.ToTime1970(DateTime.Now)));
         Log.Info(NameTh + "> Добавлена задача Quartz Guid: " + guid);
     }
     catch (Exception ex)
     {
         Log.Error("Не удалось добавить задачу Quartz Guid:" + guid, ex);
     }
 }
コード例 #2
0
 public QueueObjectSchedule(string guid, RsduTime date)
 {
     Guid = guid;
     Date = date;
 }