Ejemplo n.º 1
0
 public Process(Task task, string name, ProjectRole assignedRole, string description = null, FormView formView = null)
 {
     Task              = task;
     Name              = name;
     AssignedRole      = assignedRole;
     Description       = description;
     FormView          = formView;
     ProcessUniqueCode = Guid.NewGuid().ToString();
     DocumentList      = new HashSet <Document>();
     task.AddProcess(this);
 }
 public DecisionPoint(Task task, string name, DecisionMethod decisionMethod, string variableName = null, int repetitionFrequenceByHour = 1, string description = null, FormView formView = null) : base(task, name, ProjectRole.System, variableName, description, formView)
 {
     DecisionMethod            = decisionMethod;
     RepetitionFrequenceByHour = repetitionFrequenceByHour;
     AssignedRole = ProjectRole.System;
     task.AddProcess(this);
 }
Ejemplo n.º 3
0
 public Condition(Task task, string name, ProjectRole assignedRole, string variableName = null, string description = null, FormView formView = null) : base(task, name, assignedRole, description, formView)
 {
     OptionList   = new List <ConditionOption>();
     VariableName = variableName;
     task.AddProcess(this);
 }