예제 #1
0
        public static Plan GetPlan(int autoID, string textID)
        {
            var planlm = PlanStorage.Get(autoID);
            var plan   = AppStore.PlanRepository.Get(textID);

            plan.Description = planlm.Description;
            return(plan);
        }
예제 #2
0
        public static void DeleteJob(int autoID)
        {
            JobLM job = JobStorage.Get(autoID);

            JobStorage.Delete(autoID);
            if (job != null && job.PlanAutoID > 0)
            {
                PlanLM plan = PlanStorage.Get(job.PlanAutoID);
                plan.ReferenceCount--;
                PlanStorage.Save(plan);
            }
        }
예제 #3
0
 public static PlanLM GetPlanLM(int autoID)
 {
     return(PlanStorage.Get(autoID));
 }