Changeset 946
- Timestamp:
- 12/10/08 14:57:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/Heartbeat.cs
r932 r946 30 30 using HeuristicLab.Hive.Contracts.BusinessObjects; 31 31 using HeuristicLab.Hive.Contracts; 32 using HeuristicLab.Hive.Client.Core.ConfigurationManager; 32 33 //using BO = HeuristicLab.Hive.Contracts.BusinessObjects; 33 34 … … 70 71 void heartbeatTimer_Elapsed(object sender, ElapsedEventArgs e) { 71 72 Console.WriteLine("tick"); 72 HeartBeatData heartBeatData = new HeartBeatData { ClientId = Guid.NewGuid(), 73 freeCores = 4, 73 ClientInfo info = ConfigManager.Instance.GetClientInfo(); 74 HeartBeatData heartBeatData = new HeartBeatData { ClientId = info.ClientId, 75 freeCores = info.NrOfCores, 74 76 freeMemory = 1000, 75 jobProgress = 1};77 jobProgress = ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed}; 76 78 if (wcfService.ConnState == NetworkEnum.WcfConnState.Failed) { 77 79 wcfService.Connect();
Note: See TracChangeset
for help on using the changeset viewer.