Changeset 1717
- Timestamp:
- 04/30/09 13:23:40 (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/HiveServerConsole.Designer.cs
r1711 r1717 138 138 this.tbUserName.Size = new System.Drawing.Size(189, 20); 139 139 this.tbUserName.TabIndex = 2; 140 // this.tbUserName.TextChanged += new System.EventHandler(this.tbUserName_TextChanged);141 140 this.tbUserName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.HiveServerConsole_KeyPress); 142 141 // -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.Designer.cs
r1657 r1717 28 28 this.menuStrip1 = new System.Windows.Forms.MenuStrip(); 29 29 this.informationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 30 this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 30 31 this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 31 32 this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); … … 85 86 this.tcManagementConsole = new System.Windows.Forms.TabControl(); 86 87 this.checkBox1 = new System.Windows.Forms.CheckBox(); 87 this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();88 88 this.menuStrip1.SuspendLayout(); 89 89 this.plClientDetails.SuspendLayout(); … … 130 130 this.informationToolStripMenuItem.Text = "Management"; 131 131 // 132 // refreshToolStripMenuItem 133 // 134 this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; 135 this.refreshToolStripMenuItem.Size = new System.Drawing.Size(123, 22); 136 this.refreshToolStripMenuItem.Text = "Refresh"; 137 this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click); 138 // 132 139 // closeToolStripMenuItem 133 140 // 134 141 this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; 135 this.closeToolStripMenuItem.Size = new System.Drawing.Size(1 52, 22);142 this.closeToolStripMenuItem.Size = new System.Drawing.Size(123, 22); 136 143 this.closeToolStripMenuItem.Text = "Close"; 137 144 this.closeToolStripMenuItem.Click += new System.EventHandler(this.Close_Click); … … 574 581 this.ilSmallImgJob.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilSmallImgJob.ImageStream"))); 575 582 this.ilSmallImgJob.TransparentColor = System.Drawing.Color.Transparent; 576 this.ilSmallImgJob.Images.SetKeyName(0, " Forward.png");577 this.ilSmallImgJob.Images.SetKeyName(1, " ok.png");583 this.ilSmallImgJob.Images.SetKeyName(0, "ok.png"); 584 this.ilSmallImgJob.Images.SetKeyName(1, "Forward.png"); 578 585 this.ilSmallImgJob.Images.SetKeyName(2, "pause.png"); 579 586 // … … 677 684 this.checkBox1.Text = "checkBox1"; 678 685 this.checkBox1.UseVisualStyleBackColor = true; 679 //680 // refreshToolStripMenuItem681 //682 this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";683 this.refreshToolStripMenuItem.Size = new System.Drawing.Size(152, 22);684 this.refreshToolStripMenuItem.Text = "Refresh";685 this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click);686 686 // 687 687 // HiveServerManagementConsole -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs
r1657 r1717 395 395 lvSnapshots.Enabled = true; 396 396 currentJob = jobs.List[i]; 397 pbJobControl.Image = ilLargeImgJob.Images[0]; 397 if (currentJob.State == State.offline) { 398 pbJobControl.Image = ilLargeImgJob.Images[2]; 399 } else if (currentJob.State == State.calculating) { 400 pbJobControl.Image = ilLargeImgJob.Images[1]; 401 } else if (currentJob.State == State.finished) { 402 pbJobControl.Image = ilLargeImgJob.Images[0]; 403 } 398 404 lblJobName.Text = currentJob.Id.ToString(); 399 405 progressJob.Value = (int)(currentJob.Percentage * 100); … … 455 461 if (state == State.finished) { 456 462 lvJobControl.Items[i].Group = jobGroup[1]; 463 lvJobControl.Items[i].ImageIndex = 0; 457 464 System.Diagnostics.Debug.WriteLine("finished"); 458 465 } else if (state == State.calculating) { 459 466 lvJobControl.Items[i].Group = jobGroup[0]; 467 lvJobControl.Items[i].ImageIndex = 1; 460 468 System.Diagnostics.Debug.WriteLine("calculating"); 461 469 } else if (state == State.offline) { 462 470 lvJobControl.Items[i].Group = jobGroup[2]; 471 lvJobControl.Items[i].ImageIndex = 2; 463 472 System.Diagnostics.Debug.WriteLine("offline"); 464 473 … … 469 478 } else if (change.ChangeType == Change.Create) { 470 479 ListViewItem lvi = new ListViewItem( 471 change.ID.ToString(), 0, jobGroup[2]);480 change.ID.ToString(), 2, jobGroup[2]); 472 481 jobObjects.Add(change.ID, lvi); 473 482 lvJobControl.Items.Add(lvi); … … 768 777 769 778 found = true; 779 bool change = false; 780 if (job.State != jobold.State) { 781 change = true; 782 } 770 783 if (job.State != State.offline) { 771 784 if ((!IsEqual(job.Client, jobold.Client)) || (job.State != jobold.State) 772 785 || (job.Percentage != jobold.Percentage)) { 773 change s.Add(new Changes { Types = Type.Job, ID = job.Id, ChangeType = Change.Update, Position = i });786 change = true; 774 787 } 775 788 } else if (job.DateCalculated != jobold.DateCalculated) { 789 change = true; 790 } 791 if (change) { 776 792 changes.Add(new Changes { Types = Type.Job, ID = job.Id, ChangeType = Change.Update, Position = i }); 777 793 } -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.resx
r1657 r1717 308 308 <value>462, 9</value> 309 309 </metadata> 310 <metadata name="updaterWoker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">311 <value>388, 41</value>312 </metadata>313 310 <metadata name="contextMenuJob.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 314 311 <value>252, 44</value> … … 350 347 AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZ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wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wMAAWwKNgE1AaEDAAHH 350 C6wBoQMAAWcLTQGhEgABUAE2AjcCNgY3AjYBoQEAAqwC2wfVAdsB1AGsAaEBAAFMAU0CWQJTBlkBUwFN 351 AaEQAAGhDjYBNQGhAawN1AGsAaEBTQFTAk0KUwFNEAABbA82AccO1AGsAYwBUwJNC1MBTRAAAWwGNgFX 352 CDYBxwTUAdwJ1AGsAWcCTQJTAZoB/wGaAVMC/wRTAU0QAAFsBTYBGwH/CDYBxwTUAv8B3AfUAawBZwFN 353 A1MBmgH/ARoBUwL/BFMBTRAAAWwENgFYAv8B9gc2AccE1AT/AdwF1AGsAWcEUwGaAf8BGgFTAv8EUwFN 354 EAABbAQ2Af8B9gE2Af8BnwY2AccE1Ab/AdsD1AGsAWcEUwGaAf8BGgFTAv8EUwFNEAABbAQ2AXkCNgFY 355 Af8BWAU2AccE1AT/AfQF1AGsAWcEUwGaAf8BGgFTAv8EUwFNEAABbAg2ARsB/wU2AccE1AP/B9QBrAFn 356 BFMBmgH/ARoBUwL/BFMBTRAAAWwJNgH/AZ8ENgHHBNQB/wnUAawBZwRTAXUBGgF6AVMCGgRTAU0QAAFs 357 DTYBNwE2AccO1AGsAWcOUwFNEAABhgw2AjcBNgHHAa0M1AHbAawBhg5TAU0RAAE2DDcBNgFsAQABrAHV 358 AdsI1ALbAawBxwEAAU0CeglTAXoBTQFnEQABoQM2BzcCNgFQAgABoQKsAbMH1AGzAqwCAAHEAk0JUwFN 359 AUwUAAGGCWwBoQUACscBoQUAAYYIZwGMAaESAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUA 363 360 AYAXAAP/AQABwAEBAcABAQHAAQECAAGAAQABgAEAAYBbAAGAAQABgAEAAYADAAGAAQEBgAEBAYABAQIA 364 361 AeABAwHgAQMB4AEDAgAL 365 362 </value> 366 363 </data> 364 <metadata name="updaterWoker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 365 <value>388, 41</value> 366 </metadata> 367 367 <metadata name="ilSmallImgClient.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 368 368 <value>17, 50</value>
Note: See TracChangeset
for help on using the changeset viewer.