- Timestamp:
- 10/10/11 15:20:01 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.cs
r6893 r6897 196 196 void SlaveViewContent_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { 197 197 OnContentChanged(); 198 if (e.PropertyName == "HbInterval") { 199 UpdateChildHbIntervall(slaveView.Content); 200 } 201 } 202 203 private void UpdateChildHbIntervall(Resource resource) { 204 foreach (Resource r in Content.Where(x => x.ParentResourceId == resource.Id)) { 205 r.HbInterval = resource.HbInterval; 206 if (r is SlaveGroup) { 207 UpdateChildHbIntervall(r); 208 } 209 } 198 210 } 199 211 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/SlaveView.cs
r6893 r6897 124 124 Content.HbInterval = interval; 125 125 } 126 catch (Exception ex) {126 catch (Exception) { 127 127 MessageBox.Show("Please enter a numeric value for the Heartbeat Interval.", "HeuristicLab Hive Administrator", MessageBoxButtons.OK, MessageBoxIcon.Error); 128 txtHbIntervall.Text = " 0";128 txtHbIntervall.Text = "10"; 129 129 } 130 130 }
Note: See TracChangeset
for help on using the changeset viewer.