Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1753


Ignore:
Timestamp:
05/07/09 14:29:14 (16 years ago)
Author:
aleitner
Message:

set used cores in testjob, logged in response involved (#600)

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  
    7070              foreach (Job pjob in jobGroups.List) {
    7171                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 };
    7373                  job.SerializedJob = PersistenceManager.SaveToGZip(new TestJob());
    7474                  Response resp = jobManager.AddNewJob(job);
     
    7676              }
    7777            } else {
    78               Job job = new Job { State = State.offline };
     78              Job job = new Job { State = State.offline, CoresNeeded = 1 };
    7979              job.SerializedJob = PersistenceManager.SaveToGZip(new TestJob());
    8080              Response resp = jobManager.AddNewJob(job);
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerConsole.cs

    r1723 r1753  
    9191            Response resp = scf.Login(tbUserName.Text, tbPwd.Text);
    9292            string str = resp.StatusMessage;
     93            if (resp.StatusMessage != "Logged in") {
     94              return false;
     95            }
    9396          } else {
    9497            lblError.Text = "IP or Port not valid";
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.Designer.cs

    r1717 r1753  
    212212      //
    213213      this.plClientDetails.BackColor = System.Drawing.SystemColors.Window;
     214      this.plClientDetails.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
    214215      this.plClientDetails.Controls.Add(this.lblState);
    215216      this.plClientDetails.Controls.Add(this.lblStateClient);
     
    319320      //
    320321      this.plJobDetails.BackColor = System.Drawing.SystemColors.Window;
     322      this.plJobDetails.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
    321323      this.plJobDetails.Controls.Add(this.lvSnapshots);
    322324      this.plJobDetails.Controls.Add(this.lblPriorityJob);
     
    438440      this.lblProgress.BackColor = System.Drawing.Color.Transparent;
    439441      this.lblProgress.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
    440       this.lblProgress.Location = new System.Drawing.Point(256, 108);
     442      this.lblProgress.Location = new System.Drawing.Point(252, 108);
    441443      this.lblProgress.Name = "lblProgress";
    442444      this.lblProgress.Size = new System.Drawing.Size(143, 13);
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs

    r1723 r1753  
    3131using HeuristicLab.Hive.Contracts.BusinessObjects;
    3232using HeuristicLab.Hive.Contracts;
     33using System.Threading;
    3334
    3435namespace HeuristicLab.Hive.Server.ServerConsole {
     
    5758    private Job currentJob = null;
    5859    private ClientInfo currentClient = null;
     60   
    5961    TreeNode currentNode = null;
    6062
     
    254256      }
    255257      tvClientControl.ExpandAll();
    256     }
     258      Thread.Sleep(5000);
     259    }
     260
    257261
    258262    private void AddClientOrGroup(ClientGroup clientGroup, TreeNode currentNode) {
     
    419423        pbJobControl.Image = ilLargeImgJob.Images[0];
    420424      }
     425
    421426      lblJobName.Text = currentJob.Id.ToString();
    422427      progressJob.Value = (int)(currentJob.Percentage * 100);
Note: See TracChangeset for help on using the changeset viewer.