public void UpdateRealtion(TaskType objType, IfUser objSub, IfUser objHand, QLevel objLevel) { this.task.BusinessType = objType; this.task.Submitter = objSub; this.task.Handler = objHand; this.task.QLevel = objLevel; UpdatePriority(); }
public Task(XmlElement ModelPayload) { this.strName = Utility.GetText(ModelPayload, "Name"); this.taskType = null; this.usrSubmitter = null; this.usrHandler = null; this.datStartTime = Convert.ToDateTime(Utility.GetText(ModelPayload, "StartTime")); this.datDeadLine = Convert.ToDateTime(Utility.GetText(ModelPayload, "DeadLine")); this.eQlevel = null; this.taskStatus = TaskStatus.ToEnum(Utility.GetText(ModelPayload, "Status")); this.dubPriority = 0.0; }
public Task(string sName, DateTime dStart, DateTime dDead) { this.strName = sName; this.taskType = null; this.usrSubmitter = null; this.usrHandler = null; this.datStartTime = dStart; this.datDeadLine = dDead; this.eQlevel = null; this.taskStatus = TaskStatus.EnumTaskStatus.Process; this.dubPriority = 0.0; }
private void BuildQlevelNodes() { QLevel newNode; newNode = new QLevel(true, true); DataReader.InsertRecord(new Record(newNode.Name, newNode.Type, newNode.XMLSerialize())); newNode = new QLevel(true, false); DataReader.InsertRecord(new Record(newNode.Name, newNode.Type, newNode.XMLSerialize())); newNode = new QLevel(false, true); DataReader.InsertRecord(new Record(newNode.Name, newNode.Type, newNode.XMLSerialize())); newNode = new QLevel(false, false); DataReader.InsertRecord(new Record(newNode.Name, newNode.Type, newNode.XMLSerialize())); DataReader.AcceptModification(); }
public void UpdateRealtion(TaskType objType, IfUser objSub, ProcedureStep objStep, QLevel objLevel) { this.task.BusinessType = objType; this.task.Submitter = objSub; this.task.Handler = objSub; this.curStep = objStep; this.task.QLevel = objLevel; UpdatePriority(); }