Пример #1
0
//
        public static List <PlanNodeDO> TestActivityListParentActivityID12()
        {
            List <ActionListDO> actionLists = new List <ActionListDO>();
//
            var activityTempate = new ActivityTemplateDO()
            {
                Id       = GetTestGuidById(1),
                Version  = "1",
                Terminal = FixtureData.TerminalFive(),
                Name     = "Monitor_DocuSign"
            };
            ActionListDO al_1 = new ActionListDO()
            {
                ParentActivityId = GetTestGuidById(12)
            };
            ActivityDO a_23 = new ActivityDO()
            {
                Id = GetTestGuidById(23),
                ActivityTemplate   = activityTempate,
                ActivityTemplateId = activityTempate.Id,
                CrateStorage       = ""
            };

            al_1.Activities.Add(a_23);

            actionLists.Add(al_1);
            return(new List <PlanNodeDO>()
            {
                a_23
            });
        }
Пример #2
0
//
        public static ActionListDO TestActivityListMedical()
        {
            var curActionListDO = new ActionListDO
            {
//               Id = 4,
//               SubPlanID = 1,
//               Name = "list1",
//               ActionListType = ActionListType.Immediate,
            };

            return(curActionListDO);
        }
Пример #3
0
//
        public static ActionListDO TestActivityList2()
        {
            var curActionListDO = new ActionListDO
            {
//               Id = 1,
//               Name = "list1",
//               ActionListType = ActionListType.Immediate
            };

            curActionListDO.Activities.Add(TestActivity20());
            curActionListDO.Activities.Add(TestActivity21());
//
            return(curActionListDO);
        }