Esempio n. 1
0
        internal static List <PlanWip> GetPlanWips(IWipInfo wipInfo)
        {
            List <PlanWip> wips = new List <PlanWip>();

            PlanWip planWip = PrepareWipRuleHelper.CreatePlanWip(wipInfo);


            wips.Add(planWip);

            return(wips);
        }
Esempio n. 2
0
 private static Step GetCurrentStep(PlanWip planWip)
 {
     try
     {
         return(planWip.MapStep);
     }
     catch (Exception e)
     {
         WriteHelper.WriteErrorHistory(ErrorLevel.FATAL, string.Format("ErrorMessage : {0}   MethodName : {1}", e.Message, System.Reflection.MethodInfo.GetCurrentMethod().Name));
         return(default(Step));
     }
 }
Esempio n. 3
0
        public static List <PlanWip> GetPlanWips(IWipInfo wipInfo)
        {
            try
            {
                List <PlanWip> wips = new List <PlanWip>();

                PlanWip planWip = CreateHelper.CreatePlanWip(wipInfo);
                wips.Add(planWip);

                return(wips);
            }
            catch (Exception e)
            {
                WriteHelper.WriteErrorHistory(ErrorLevel.FATAL, string.Format("ErrorMessage : {0}   MethodName : {1}", e.Message, System.Reflection.MethodInfo.GetCurrentMethod().Name));
                return(default(List <PlanWip>));
            }
        }