internal static List <PlanWip> GetPlanWips(IWipInfo wipInfo) { List <PlanWip> wips = new List <PlanWip>(); PlanWip planWip = PrepareWipRuleHelper.CreatePlanWip(wipInfo); wips.Add(planWip); return(wips); }
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)); } }
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>)); } }