public void SendProgonStat() { double averageCountTask = CountTaskInCellGroup.Average(); var progon = new Progon(HandledTask, InputTask, LostedTask, ModelingTime, averageCountTask, _procFree); TaskStatistic.Instanse.SetInfo(progon); }
public void SetInfo(Progon progon) { if (CurrentProgon < _successTasksEvryProgon.Length) { _successTasksEvryProgon[CurrentProgon] = progon.SuccessTask; _inputTasksEvryProgon[CurrentProgon] = progon.InputTask; _lostTasksEvryProgon[CurrentProgon] = progon.LostTask; _modelTime[CurrentProgon] = progon.ModelTime; _taskInSTEK[CurrentProgon] = progon.TaskInSTEK; _rejectTaskChance[CurrentProgon] = progon.RejectChance; _asseptTaskChance[CurrentProgon] = progon.AcceptChance; _procFree[CurrentProgon] = progon.ProcFree; CurrentProgon++; } isCanNextProgon = true; }