Exemple #1
0
    protected void ChangeDirCallback()
    {
        toPlot = GetProcessFromCreation();
        if (toPlot.Count > 0)
        {
            SchedulerCombobox.Sensitive = true;
            quantumScale.Sensitive      = true;

            plot.AnimateData(toPlot, false, "Entrada");

            PlotAnim fcfsAnim = new PlotAnim(ThreFCFS, "FCFS");
            fcfsAnim.StartAnim();

            PlotAnim rrAnim = new PlotAnim(ThreRR, "RR");
            rrAnim.StartAnim();

            PlotAnim sjfAnim = new PlotAnim(ThreSJF, "SJF");
            sjfAnim.StartAnim();
        }
    }
Exemple #2
0
    protected void OnQuantumChange(object sender, EventArgs e)
    {
        PlotAnim rrAnim = new PlotAnim(ThreRR, "RR");

        rrAnim.StartAnim();
    }