public static WorkFlowClass GetWorkFlow(TypeOfWorkFlow Type, int QuantityOfSecond) { WorkFlowClass WorkFlow = new WorkFlowClass(Type, QuantityOfSecond); return(WorkFlow); }
private WorkFlowClass(TypeOfWorkFlow Type, int QuantityOfSecond) { this.Type = Type; this.QuantityOfSecond = QuantityOfSecond; IniticalQuantityOfSecond = QuantityOfSecond; StartTime = DateTime.Now; TimeLeftPercent = 385; KeysActivity = 100; MouseActivity = 100; }