Changeset 751 for trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects
- Timestamp:
- 11/13/08 16:52:52 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects
- Files:
-
- 10 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/Client.cs
r746 r751 24 24 using System.Linq; 25 25 using System.Text; 26 27 namespace HeuristicLab.Hive.Server.BusinessObjects { 26 using System.Runtime.Serialization; 27 28 namespace HeuristicLab.Hive.Contracts.BusinessObjects { 28 29 29 30 public enum State { idle, calculating }; 30 31 31 public class Client { 32 [DataContract] 33 public class Client : Resource { 34 [DataMember] 32 35 public Guid ClientId { get; set; } 36 [DataMember] 33 37 public int NrOfCores { get; set; } 38 [DataMember] 34 39 public int Memory { get; set; } 40 [DataMember] 35 41 public DateTime Login { get; set; } 42 [DataMember] 36 43 public State State { get; set; } 37 44 [DataMember] 45 public ClientConfig Config { get; set; } 38 46 } 39 47 } -
trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/ClientConfig.cs
r746 r751 24 24 using System.Linq; 25 25 using System.Text; 26 using System.Runtime.Serialization; 26 27 27 namespace HeuristicLab.Hive. Server.BusinessObjects {28 namespace HeuristicLab.Hive.Contracts.BusinessObjects { 28 29 29 class ClientConfig { 30 30 [DataContract] 31 public class ClientConfig { 32 [DataMember] 33 public String UpDownTimeCalendar { get; set; } // TODO define DataStructure 34 [DataMember] 35 public int HeartBeatIntervall { get; set; } 31 36 } 32 37 }
Note: See TracChangeset
for help on using the changeset viewer.