예제 #1
0
        public static string GetCheckStatus(TempletCheckStatus status)
        {
            switch (status)
            {
            case TempletCheckStatus.HasBug: return("1");

            case TempletCheckStatus.Affirm: return("2");

            case TempletCheckStatus.Passed: return("3");

            case TempletCheckStatus.Saved: return("4");

            case TempletCheckStatus.DeptPassed: return("5");

            default: return("0");
            }
        }
예제 #2
0
 /// <summary>
 /// 过程:初始化各属性值(设置其默认值)
 /// </summary>
 /// <remarks></remarks>
 public void Initialize()
 {
     this.m_szTempletID        = string.Empty;
     this.m_szDocTypeID        = string.Empty;
     this.m_szTempletName      = string.Empty;
     this.m_szShareLevel       = SystemData.ShareLevel.DEPART;
     this.m_szCreatorID        = string.Empty;
     this.m_szCreatorName      = string.Empty;
     this.m_dtCreateTime       = this.DefaultTime;
     this.m_dtModifyTime       = this.DefaultTime;
     this.m_szDeptCode         = string.Empty;
     this.m_szDeptName         = string.Empty;
     this.m_bIsValid           = true;
     this.m_szParentID         = string.Empty;
     this.m_bIsFolder          = false;
     this.m_eCheckStatus       = TempletCheckStatus.None;
     this.m_szCheckerID        = string.Empty;
     this.m_szCheckerName      = string.Empty;
     this.m_dtCheckTime        = this.DefaultTime;
     this.m_szCheckMessage     = string.Empty;
     this.m_szSuperCheckerID   = string.Empty;
     this.m_szSuperCheckerName = string.Empty;
     this.m_dtSuperCheckTime   = this.DefaultTime;
 }