Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/19/11 18:09:40 (14 years ago)
Author:
fruehrli
Message:

#1197
modified and new service methods

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  
    11using System.Runtime.Serialization;
    22
    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; }
     3namespace 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; }
    2018
    21     }
     19  }
    2220}
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/Resource.cs

    r4953 r5335  
    11using System.Runtime.Serialization;
     2using System.Collections.Generic;
    23
    3 namespace HeuristicLab.Services.Authentication.DataTransfer
    4 {
    5     [DataContract]
    6     public abstract class Resource
    7     {
    8         [DataMember]
    9         public System.Guid Id { get; set; }
    10         [DataMember]
    11         public string Name { get; set; }
    12         [DataMember]
    13         public string Description { get; set; }
    14         [DataMember]
    15         public string ResourceType { get; set; }
    16         [DataMember]
    17         public System.Guid ResourceGroup { get; set; }
    18     }
     4namespace 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  }
    1920}
    2021
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataTransfer/ResourceGroup.cs

    r4731 r5335  
    11using System.Runtime.Serialization;
    22
    3 namespace HeuristicLab.Services.Authentication.DataTransfer
    4 {
    5     [DataContract]
    6     public class ResourceGroup : Resource
    7     {
    8     }
     3namespace HeuristicLab.Services.Authentication.DataTransfer {
     4  [DataContract]
     5  public class ResourceGroup : Resource {
     6  }
    97}
    108
Note: See TracChangeset for help on using the changeset viewer.