Changeset 2846 for trunk/sources/HeuristicLab.Hive.Engine/3.2
- Timestamp:
- 02/21/10 16:34:55 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Engine/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs
r2591 r2846 51 51 52 52 public string HiveServerUrl { get; set; } 53 public string MultiSubmitCount { get; set; } 53 54 54 55 public HiveEngine() { … … 92 93 var jobObj = CreateJobObj(); 93 94 IExecutionEngineFacade executionEngineFacade = ServiceLocator.CreateExecutionEngineFacade(HiveServerUrl); 94 ResponseObject<Contracts.BusinessObjects.Job> res = executionEngineFacade.AddJob(jobObj); 95 jobId = res.Obj.Id; 96 95 96 int loops = 1; 97 98 Int32.TryParse(MultiSubmitCount, out loops); 99 if(loops == 0) 100 loops = 1; 101 102 for (int i = 0; i < loops; i++) { 103 ResponseObject<Contracts.BusinessObjects.Job> res = executionEngineFacade.AddJob(jobObj); 104 jobId = res.Obj.Id; 105 } 106 97 107 StartResultPollingThread(); 98 108 } -
trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngineEditor.Designer.cs
r2032 r2846 48 48 this.urlLabel = new System.Windows.Forms.Label(); 49 49 this.snapshotButton = new System.Windows.Forms.Button(); 50 this.multiSubmitTextbox = new System.Windows.Forms.TextBox(); 50 51 this.splitContainer1.Panel1.SuspendLayout(); 51 52 this.splitContainer1.Panel2.SuspendLayout(); … … 114 115 this.snapshotButton.Click += new System.EventHandler(this.snapshotButton_Click); 115 116 // 117 // multiSubmitTextbox 118 // 119 this.multiSubmitTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 120 this.multiSubmitTextbox.Location = new System.Drawing.Point(375, 460); 121 this.multiSubmitTextbox.Name = "multiSubmitTextbox"; 122 this.multiSubmitTextbox.Size = new System.Drawing.Size(31, 20); 123 this.multiSubmitTextbox.TabIndex = 10; 124 this.multiSubmitTextbox.Text = "1"; 125 // 116 126 // HiveEngineEditor 117 127 // 118 128 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 119 129 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 130 this.Controls.Add(this.multiSubmitTextbox); 120 131 this.Controls.Add(this.snapshotButton); 121 132 this.Controls.Add(this.urlTextBox); … … 132 143 this.Controls.SetChildIndex(this.urlTextBox, 0); 133 144 this.Controls.SetChildIndex(this.snapshotButton, 0); 145 this.Controls.SetChildIndex(this.multiSubmitTextbox, 0); 134 146 this.splitContainer1.Panel1.ResumeLayout(false); 135 147 this.splitContainer1.Panel2.ResumeLayout(false); … … 147 159 private System.Windows.Forms.Label urlLabel; 148 160 private System.Windows.Forms.Button snapshotButton; 161 private System.Windows.Forms.TextBox multiSubmitTextbox; 149 162 } 150 163 } -
trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngineEditor.cs
r2032 r2846 79 79 private void SetDataBinding() { 80 80 urlTextBox.DataBindings.Add("Text", HiveEngine, "HiveServerUrl"); 81 multiSubmitTextbox.DataBindings.Add("Text", HiveEngine, "MultiSubmitCount"); 82 81 83 } 82 84
Note: See TracChangeset
for help on using the changeset viewer.