Changeset 5335 for branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer
- Timestamp:
- 01/19/11 18:09:40 (14 years ago)
- Location:
- branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/Client.cs
r4731 r5335 1 1 using System.Runtime.Serialization; 2 2 3 namespace HeuristicLab.Services.Authentication.DataTransfer 4 { 5 [DataContract] 6 public class Client : HeuristicLab.Services.Authentication.DataTransfer.Resource 7 { 8 [DataMember] 9 public string ProcessorType { get; set; } 10 [DataMember] 11 public string NumberOfProcessors { get; set; } 12 [DataMember] 13 public string NumberOfThreads { get; set; } 14 [DataMember] 15 public string IPAdress { get; set; } 16 [DataMember] 17 public string MemorySize { get; set; } 18 [DataMember] 19 public string OperatingSystem { get; set; } 3 namespace HeuristicLab.Services.Authentication.DataTransfer { 4 [DataContract] 5 public class Client : HeuristicLab.Services.Authentication.DataTransfer.Resource { 6 [DataMember] 7 public string ProcessorType { get; set; } 8 [DataMember] 9 public string NumberOfProcessors { get; set; } 10 [DataMember] 11 public string NumberOfThreads { get; set; } 12 [DataMember] 13 public string IPAdress { get; set; } 14 [DataMember] 15 public string MemorySize { get; set; } 16 [DataMember] 17 public string OperatingSystem { get; set; } 20 18 21 19 } 22 20 } -
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/Resource.cs
r4953 r5335 1 1 using System.Runtime.Serialization; 2 using System.Collections.Generic; 2 3 3 namespace HeuristicLab.Services.Authentication.DataTransfer 4 { 5 [DataContract]6 public abstract class Resource7 { 8 9 10 11 12 13 14 15 public stringResourceType { get; set; }16 17 public System.GuidResourceGroup { get; set; }18 4 namespace HeuristicLab.Services.Authentication.DataTransfer { 5 [DataContract] 6 public abstract class Resource { 7 public enum ResourceTypes { Client, ResourceGroup }; 8 9 [DataMember] 10 public System.Guid Id { get; set; } 11 [DataMember] 12 public string Name { get; set; } 13 [DataMember] 14 public string Description { get; set; } 15 [DataMember] 16 public ResourceTypes ResourceType { get; set; } 17 [DataMember] 18 public IEnumerable<System.Guid> ResourceGroup { get; set; } 19 } 19 20 } 20 21 -
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/ResourceGroup.cs
r4731 r5335 1 1 using System.Runtime.Serialization; 2 2 3 namespace HeuristicLab.Services.Authentication.DataTransfer 4 { 5 [DataContract] 6 public class ResourceGroup : Resource 7 { 8 } 3 namespace HeuristicLab.Services.Authentication.DataTransfer { 4 [DataContract] 5 public class ResourceGroup : Resource { 6 } 9 7 } 10 8
Note: See TracChangeset
for help on using the changeset viewer.