コード例 #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);
        }
コード例 #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));
     }
 }
コード例 #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>));
            }
        }