Changeset 1431
- Timestamp:
- 03/26/09 16:15:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Hive_Management_Console_Refactoring_Ticket508/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.cs
r1381 r1431 315 315 if (change.Types == Type.Job) { 316 316 if (change.ChangeType == Change.Update) { 317 ListViewItem[] lviList = lvJobControl.Items.Find(change.ID.ToString(), true); 318 319 lviList[0].Group = jobGroup[0]; 320 317 321 //if (jobObjects[change.ID].ListView.Groups.ToString() == ) {} 318 322 //ListViewItem lvi = new ListViewItem( … … 320 324 } else if (change.ChangeType == Change.Create) { 321 325 ListViewItem lvi = new ListViewItem( 322 jobs.List[change.Position].Id.ToString(), 0, jobGroup[2]);326 change.ID.ToString(), 0, jobGroup[2]); 323 327 jobObjects.Add(change.ID, lvi); 324 328 lvJobControl.Items.Add(lvi); … … 397 401 private void updaterWoker_DoWork(object sender, DoWorkEventArgs e) { 398 402 403 changes.Clear(); 399 404 IClientManager clientManager = 400 405 ServiceLocator.GetClientManager(); … … 432 437 IDictionary<int, Job> jobsOldHelp; 433 438 CloneList(jobsOld, out jobsOldHelp); 434 435 //System.Diagnostics.Debug.WriteLine(jobsOldHelp.List[0].Id.ToString());436 439 437 440 GetDelta(jobsOld.List, jobsOldHelp); … … 470 473 471 474 private bool IsEqual(ClientInfo ci1, ClientInfo ci2) { 475 if (ci2 == null) { 476 return false; 477 } 472 478 if (ci1.ClientId.Equals(ci2.ClientId)) { 473 479 return true;
Note: See TracChangeset
for help on using the changeset viewer.