示例#1
0
        private void BuildTask1()
        {
            FaultInfo faultInfo = new FaultInfo("111210", "VC50", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100101", "Moodlight can not work when first start it", "Moodlight can not work when first start it", faultInfo, 3);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Bob", "Dave", ProcedureStepEunm.TicketCheck.ToString());
        }
示例#2
0
        private void BuildTask5()
        {
            FaultInfo faultInfo = new FaultInfo("123656", "VC40", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100105", "Somewords transient during scaning", "Somewords transient during scaning.", faultInfo, 3);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.PreAnalysis, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Solve, "Isaac");
            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Clare", "Isaac", ProcedureStepEunm.Solve.ToString());
        }
示例#3
0
        private void BuildTask4()
        {
            FaultInfo faultInfo = new FaultInfo("123556", "VC40", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100104", "ECG lost message can not be cleared.", "ECG lost message can not be cleared.", faultInfo, 2);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.PreAnalysis, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Solve, "Isaac");
            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Clare", "Isaac", ProcedureStepEunm.Solve.ToString());
        }
示例#4
0
        private void BuildTask3()
        {
            FaultInfo faultInfo = new FaultInfo("123456", "VC40", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100103", "Tilted table position line on tablet differs from ICS", "Tilted table position line on tablet differs from ICS", faultInfo, 3);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.PreAnalysis, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Solve, "Isaac");
            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Clare", "Isaac", ProcedureStepEunm.Solve.ToString());
        }
示例#5
0
        private void BuildTask2()
        {
            FaultInfo faultInfo = new FaultInfo("131456", "VC40", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100102", "The warning message is not cleared when delete the warning range.", "The warning message is not cleared when delete the warning range.", faultInfo, 3);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.PreAnalysis, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Solve, "Isaac");
            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Clare", "Isaac", ProcedureStepEunm.Solve.ToString());
        }
示例#6
0
        private void BuildTask7()
        {
            FaultInfo faultInfo = new FaultInfo("213656", "VC50", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100107", "Exception pops up, by selecting the table position on TouchUI during start/close patient.", "Exception pops up, by selecting the table position on TouchUI during start/close patient..", faultInfo, 3);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.PreAnalysis, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Solve, "Isaac");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Evaluate, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Regression, "Pol");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Feedback, "Clare");
            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Clare", "Clare", ProcedureStepEunm.Feedback.ToString());
        }
示例#7
0
        private void BuildTask6()
        {
            FaultInfo faultInfo = new FaultInfo("133672", "VC40", DateTime.Now, DateTime.Now);
            Task      newTask   = new Task("100106", "Wrong screen is displayed during general workflow", "Wrong screen is displayed during general workflow.", faultInfo, 1);

            AbstractInteraction newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.TicketCheck, "Dave");

            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.PreAnalysis, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Solve, "Jackson");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Evaluate, "Haden");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Regression, "Pol");
            newTask.AddInteraction(newInteraction);
            newInteraction = TaskBuilder.GetInteraction(ProcedureStepEunm.Feedback, "Clare");
            newTask.AddInteraction(newInteraction);
            TaskBuilder.BuildTask(myWorkflowGraph, newTask, "Clare", "Clare", ProcedureStepEunm.Feedback.ToString());
        }