Changeset 3931 for branches/3.2/sources/HeuristicLab.Hive.Server.Console
- Timestamp:
- 06/19/10 09:17:24 (14 years ago)
- Location:
- branches/3.2/sources/HeuristicLab.Hive.Server.Console/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/sources/HeuristicLab.Hive.Server.Console/3.2/HeuristicLab.Hive.Server.Console-3.2.csproj
r3022 r3931 217 217 <Name>HeuristicLab.PluginInfrastructure</Name> 218 218 </ProjectReference> 219 <ProjectReference Include="..\..\HeuristicLab.Tracing\3.2\HeuristicLab.Tracing-3.2.csproj"> 220 <Project>{EE2034D9-6E27-48A1-B855-42D45F69A4FC}</Project> 221 <Name>HeuristicLab.Tracing-3.2</Name> 222 </ProjectReference> 219 223 </ItemGroup> 220 224 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/3.2/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs
r3578 r3931 33 33 using System.Threading; 34 34 using System.ServiceModel; 35 using HeuristicLab.Tracing; 35 36 36 37 namespace HeuristicLab.Hive.Server.ServerConsole { … … 263 264 IJobManager jobManager = 264 265 ServiceLocator.GetJobManager(); 265 jobs = jobManager.GetAllJobs(); 266 267 lvJobControl.Items.Clear(); 266 if (jobManager == null) { 267 Logger.Error("Jobmanager is null"); 268 jobs = new ResponseList<JobDto>(); 269 } else { 270 jobs = jobManager.GetAllJobs(); 271 } 272 273 274 if (lvJobControl != null) lvJobControl.Items.Clear(); 268 275 269 276 ListViewGroup lvJobCalculating = new ListViewGroup("calculating", HorizontalAlignment.Left); … … 311 318 } 312 319 catch (Exception ex) { 320 Logger.Error(ex); 313 321 closeFormEvent(true, true); 314 322 this.Close(); … … 790 798 } 791 799 792 private int CapacityRam(int noCores, int freeCores) { 800 private int CapacityRam(int noCores, int freeCores) { 793 801 if (noCores > 0) { 794 802 int capacity = ((noCores - freeCores) / noCores) * 100;
Note: See TracChangeset
for help on using the changeset viewer.