Esempio n. 1
0
        public Condition(string _ConditionId)
        {
            ConditionId = _ConditionId;

            ConditionInfo condition = ConditionDataAccess.GetCondition(_ConditionId);

            ConditionName = condition.ConditionName;

            ConditionJoin = condition.ConditionJoin;

            //m_FromActive = new Active(condition.FromActiveId);

            //m_ToActive = new Active(condition.ToActiveId);


            //Load Condition Sub
            List <ConditionSubInfo> listConditionSub = ConditionSubDataAccess.GetConditionSubList(_ConditionId);

            foreach (ConditionSubInfo conditionSub in listConditionSub)
            {
                m_listConditionSub.Add(new ConditionSub(conditionSub.ConditionSubId));
            }
        }
Esempio n. 2
0
 /// <summary>
 /// 删除流程xml
 /// </summary>
 /// <param name="workFlowXml">流程xml描述</param>
 public static List <ConditionSubInfo> GetConditionSubList(string conditionId)
 {
     return(ConditionSubDataAccess.GetConditionSubList(conditionId));
 }