- Timestamp:
- 06/19/09 16:08:48 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.CEDMA.Server/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/Server.cs
r2058 r2075 59 59 get { return maxActiveJobs; } 60 60 set { 61 if (value > 0 && value <= 64) {61 if (value > 0) { 62 62 maxActiveJobs = value; 63 if (executer != null) { 64 executer.MaxActiveJobs = value; 65 } 63 66 } 64 67 } … … 115 118 } 116 119 executer = new GridExecuter(dispatcher, store, gridServer); 120 executer.MaxActiveJobs = MaxActiveJobs; 117 121 executer.Start(); 118 122 } -
trunk/sources/HeuristicLab.CEDMA.Server/3.3/ServerForm.cs
r2050 r2075 59 59 server.Connect(address.Text); 60 60 maxActiveJobsUpDown.Enabled = true; 61 activeJobsLabel.Enabled = true; 61 62 maxActiveJobsUpDown.Value = server.MaxActiveJobs; 62 63 connectButton.Enabled = false; -
trunk/sources/HeuristicLab.CEDMA.Server/3.3/ServerForm.designer.cs
r1898 r2075 54 54 this.refreshTimer = new System.Windows.Forms.Timer(this.components); 55 55 this.maxActiveJobsUpDown = new System.Windows.Forms.NumericUpDown(); 56 this. label1= new System.Windows.Forms.Label();56 this.activeJobsLabel = new System.Windows.Forms.Label(); 57 57 ((System.ComponentModel.ISupportInitialize)(this.maxActiveJobsUpDown)).BeginInit(); 58 58 this.SuspendLayout(); … … 84 84 this.gridAddressLabel.Text = "&Grid address:"; 85 85 // 86 // gridAddress86 // address 87 87 // 88 88 this.address.Location = new System.Drawing.Point(106, 32); 89 this.address.Name = " gridAddress";89 this.address.Name = "address"; 90 90 this.address.Size = new System.Drawing.Size(160, 20); 91 91 this.address.TabIndex = 8; … … 131 131 this.maxActiveJobsUpDown.ValueChanged += new System.EventHandler(this.maxActiveJobsUpDown_ValueChanged); 132 132 // 133 // label1133 // activeJobsLabel 134 134 // 135 this. label1.AutoSize = true;136 this. label1.Enabled = false;137 this. label1.Location = new System.Drawing.Point(12, 61);138 this. label1.Name = "label1";139 this. label1.Size = new System.Drawing.Size(84, 13);140 this. label1.TabIndex = 13;141 this. label1.Text = "&Max active jobs:";135 this.activeJobsLabel.AutoSize = true; 136 this.activeJobsLabel.Enabled = false; 137 this.activeJobsLabel.Location = new System.Drawing.Point(12, 61); 138 this.activeJobsLabel.Name = "activeJobsLabel"; 139 this.activeJobsLabel.Size = new System.Drawing.Size(84, 13); 140 this.activeJobsLabel.TabIndex = 13; 141 this.activeJobsLabel.Text = "&Max active jobs:"; 142 142 // 143 143 // ServerForm … … 146 146 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 147 147 this.ClientSize = new System.Drawing.Size(374, 342); 148 this.Controls.Add(this. label1);148 this.Controls.Add(this.activeJobsLabel); 149 149 this.Controls.Add(this.maxActiveJobsUpDown); 150 150 this.Controls.Add(this.listBox); … … 172 172 private System.Windows.Forms.Timer refreshTimer; 173 173 private System.Windows.Forms.NumericUpDown maxActiveJobsUpDown; 174 private System.Windows.Forms.Label label1;174 private System.Windows.Forms.Label activeJobsLabel; 175 175 } 176 176 }
Note: See TracChangeset
for help on using the changeset viewer.