Last change
on this file since 2088 was
2088,
checked in by gkronber, 15 years ago
|
Added views for the executer and the dispatcher and the server (which contains the executer and dispatcher views). #676 (Cockpit for the CEDMA Server to control algorithm settings)
|
File size:
796 bytes
|
Rev | Line | |
---|
[2088] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.ComponentModel;
|
---|
| 4 | using System.Drawing;
|
---|
| 5 | using System.Data;
|
---|
| 6 | using System.Linq;
|
---|
| 7 | using System.Text;
|
---|
| 8 | using System.Windows.Forms;
|
---|
| 9 | using HeuristicLab.Core;
|
---|
| 10 |
|
---|
| 11 | namespace HeuristicLab.CEDMA.Server {
|
---|
| 12 | public partial class ExecuterView : ViewBase {
|
---|
| 13 | private ExecuterBase executer;
|
---|
| 14 | public ExecuterView(ExecuterBase executer) {
|
---|
| 15 | this.executer = executer;
|
---|
| 16 | InitializeComponent();
|
---|
| 17 | refreshTimer.Enabled = true;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | private void refreshTimer_Tick(object sender, EventArgs e) {
|
---|
| 21 | jobsList.DataSource = executer.GetJobs();
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | private void maxActiveJobsUpDown_ValueChanged(object sender, EventArgs e) {
|
---|
| 25 | executer.MaxActiveJobs = Convert.ToInt32(maxActiveJobs.Value);
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.