コード例 #1
0
 public static void getBaseLineWbsStructure(PmsBaseLineRelationship _relObj, int _projOID, int _RootBaseLineOID, int _workingDay)
 {
     _relObj.RootBaseLineOID  = _RootBaseLineOID;
     _relObj.WorkingDay       = _workingDay;
     _relObj.BaseLineChildren = PmsBaseLineRelationshipRepository.SelPmsBaseLineRelationship(new PmsBaseLineRelationship {
         FromOID = _relObj.ToOID, Type = PmsConstant.RELATIONSHIP_WBS, RootBaseLineOID = _relObj.RootBaseLineOID
     });
     _relObj.BaseLineChildren.ForEach(item =>
     {
         item.Level = _relObj.Level + 1;
         PmsBaseLineProcess ToDetail = PmsBaseLineProcessRepository.SelPmsBaseLIneProcess(new PmsBaseLineProcess {
             ProcessOID = item.ToOID, RootBaseLineOID = _RootBaseLineOID
         });
         item.ObjName     = ToDetail.ProcessNm;
         item.ObjType     = ToDetail.ProcessType;
         item.EstDuration = ToDetail.EstDuration;
         item.EstStartDt  = ToDetail.EstStartDt;
         item.EstEndDt    = ToDetail.EstEndDt;
         item.ActDuration = ToDetail.ActDuration;
         item.ActStartDt  = ToDetail.ActStartDt;
         item.ActEndDt    = ToDetail.ActEndDt;
         item.Id          = ToDetail.Id;
         item.Dependency  = ToDetail.Dependency;
         getBaseLineWbsStructure(item, _projOID, _RootBaseLineOID, _workingDay);
     });
 }
コード例 #2
0
        public static PmsBaseLineProcess SelPmsBaseLIneProcess(PmsBaseLineProcess _param)
        {
            PmsBaseLineProcess pmsBaseLineProcess = DaoFactory.GetData <PmsBaseLineProcess>("Pms.SelPmsBaseLineProcess", _param);

            return(pmsBaseLineProcess);
        }
コード例 #3
0
 public static int InsPmsBaseLineProcess(PmsBaseLineProcess _param)
 {
     return(DaoFactory.SetInsert("Pms.InsPmsBaseLineProcess", _param));
 }