Changeset 1595 for trunk/sources/HeuristicLab.Hive.Server.Console
- Timestamp:
- 04/17/09 13:40:40 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs
r1590 r1595 371 371 State state = clientInfo.List[change.Position].State; 372 372 System.Diagnostics.Debug.WriteLine(lvClientControl.Items[i].Text.ToString()); 373 int percentageUsage = CapacityRam(currentClient.NrOfCores, currentClient.NrOfFreeCores); 373 374 ClientInfo ci = null; 375 376 foreach (ClientInfo c in clientInfo.List) { 377 if (c.Id == change.ID) { 378 ci = c; 379 } 380 } 381 382 int percentageUsage = CapacityRam(ci.NrOfCores, ci.NrOfFreeCores); 374 383 if ((state == State.offline) || (state == State.nullState)) { 375 384 lvClientControl.Items[i].ImageIndex = 3; … … 553 562 if (ci.Id.Equals(cio.Id)) { 554 563 found = true; 555 if ((ci.State != cio.State) || (ci.NrOfFreeCores != ci .NrOfFreeCores)) {564 if ((ci.State != cio.State) || (ci.NrOfFreeCores != cio.NrOfFreeCores)) { 556 565 changes.Add(new Changes { Types = Type.Client, ID = ci.Id, ChangeType = Change.Update, Position = i }); 557 566 }
Note: See TracChangeset
for help on using the changeset viewer.