コード例 #1
0
        public void addDatatoObjectScheduling()
        {
            int num_process = myScheduling.getNumberProcess();

            for (int i = 0; i < num_process; i++)
            {
                myScheduling.setArrivalTime(i, (int)arrivalTimeArray[i].Value);
                myScheduling.setBrustTime(i, (int)burstTimeArray[i].Value);
                myScheduling.setPriority(i, (int)priorityArray[i].Value);
            }
            myScheduling.setFlagDisplayChart(checkBox_displayChart.Checked);
        }