Changeset 1753
- Timestamp:
- 05/07/09 14:29:14 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Console/3.2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/AddJobForm.cs
r1530 r1753 70 70 foreach (Job pjob in jobGroups.List) { 71 71 if (cbParJob.SelectedItem.ToString().Equals(pjob.Id.ToString())) { 72 Job job = new Job { ParentJob = pjob, State = State.offline };72 Job job = new Job { ParentJob = pjob, State = State.offline, CoresNeeded = 1 }; 73 73 job.SerializedJob = PersistenceManager.SaveToGZip(new TestJob()); 74 74 Response resp = jobManager.AddNewJob(job); … … 76 76 } 77 77 } else { 78 Job job = new Job { State = State.offline };78 Job job = new Job { State = State.offline, CoresNeeded = 1 }; 79 79 job.SerializedJob = PersistenceManager.SaveToGZip(new TestJob()); 80 80 Response resp = jobManager.AddNewJob(job); -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerConsole.cs
r1723 r1753 91 91 Response resp = scf.Login(tbUserName.Text, tbPwd.Text); 92 92 string str = resp.StatusMessage; 93 if (resp.StatusMessage != "Logged in") { 94 return false; 95 } 93 96 } else { 94 97 lblError.Text = "IP or Port not valid"; -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.Designer.cs
r1717 r1753 212 212 // 213 213 this.plClientDetails.BackColor = System.Drawing.SystemColors.Window; 214 this.plClientDetails.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 214 215 this.plClientDetails.Controls.Add(this.lblState); 215 216 this.plClientDetails.Controls.Add(this.lblStateClient); … … 319 320 // 320 321 this.plJobDetails.BackColor = System.Drawing.SystemColors.Window; 322 this.plJobDetails.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 321 323 this.plJobDetails.Controls.Add(this.lvSnapshots); 322 324 this.plJobDetails.Controls.Add(this.lblPriorityJob); … … 438 440 this.lblProgress.BackColor = System.Drawing.Color.Transparent; 439 441 this.lblProgress.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; 440 this.lblProgress.Location = new System.Drawing.Point(25 6, 108);442 this.lblProgress.Location = new System.Drawing.Point(252, 108); 441 443 this.lblProgress.Name = "lblProgress"; 442 444 this.lblProgress.Size = new System.Drawing.Size(143, 13); -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs
r1723 r1753 31 31 using HeuristicLab.Hive.Contracts.BusinessObjects; 32 32 using HeuristicLab.Hive.Contracts; 33 using System.Threading; 33 34 34 35 namespace HeuristicLab.Hive.Server.ServerConsole { … … 57 58 private Job currentJob = null; 58 59 private ClientInfo currentClient = null; 60 59 61 TreeNode currentNode = null; 60 62 … … 254 256 } 255 257 tvClientControl.ExpandAll(); 256 } 258 Thread.Sleep(5000); 259 } 260 257 261 258 262 private void AddClientOrGroup(ClientGroup clientGroup, TreeNode currentNode) { … … 419 423 pbJobControl.Image = ilLargeImgJob.Images[0]; 420 424 } 425 421 426 lblJobName.Text = currentJob.Id.ToString(); 422 427 progressJob.Value = (int)(currentJob.Percentage * 100);
Note: See TracChangeset
for help on using the changeset viewer.