Changeset 12776 for branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApi/ClientController.cs
- Timestamp:
- 07/17/15 16:57:22 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApi/ClientController.cs
r12584 r12776 83 83 UsedMemory = offline ? 0 : clientInfo.UsedMemory, 84 84 CpuUtilization = offline ? 0 : clientInfo.CpuUtilization, 85 State = clientInfo.SlaveState.ToString(),85 State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(), 86 86 LastUpdate = clientInfo.Time, 87 87 GroupId = client.ResourceGroupId, … … 132 132 UsedMemory = offline ? 0 : clientInfo.UsedMemory, 133 133 CpuUtilization = offline ? 0 : clientInfo.CpuUtilization, 134 State = clientInfo.SlaveState.ToString(),134 State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(), 135 135 GroupId = client.ResourceGroupId, 136 136 GroupName = client.GroupName, … … 218 218 UsedMemory = offline ? 0 : clientInfo.UsedMemory, 219 219 CpuUtilization = offline ? 0 : clientInfo.CpuUtilization, 220 State = clientInfo.SlaveState.ToString(),220 State = offline ? SlaveState.Offline.ToString() : clientInfo.SlaveState.ToString(), 221 221 GroupId = client.ResourceGroupId, 222 222 GroupName = client.GroupName,
Note: See TracChangeset
for help on using the changeset viewer.