- Timestamp:
- 03/14/11 16:49:58 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/Administration/ResourcesView.Designer.cs ¶
r5638 r5676 49 49 this.imageListSlaveGroups = new System.Windows.Forms.ImageList(this.components); 50 50 this.splitSlaves = new System.Windows.Forms.SplitContainer(); 51 this. updateSlaveGroups = new HeuristicLab.Clients.Hive.Views.Common.UpdateControl();51 this.btnSave = new System.Windows.Forms.Button(); 52 52 this.btnRemoveGroup = new System.Windows.Forms.Button(); 53 53 this.btnAddGroup = new System.Windows.Forms.Button(); … … 55 55 this.tabSlaveGroup = new System.Windows.Forms.TabControl(); 56 56 this.tabDetails = new System.Windows.Forms.TabPage(); 57 this.tabSchedule = new System.Windows.Forms.TabPage(); 58 this.tabJobs = new System.Windows.Forms.TabPage(); 59 this.updateSlaveGroup = new HeuristicLab.Clients.Hive.Views.Common.UpdateControl(); 57 60 this.slaveView = new HeuristicLab.Clients.Hive.Views.Administration.SlaveView(); 58 this.tabSchedule = new System.Windows.Forms.TabPage();59 61 this.updateScheduleControl = new HeuristicLab.Clients.Hive.Views.Common.UpdateControl(); 60 62 this.scheduleView = new HeuristicLab.Clients.Hive.Views.Administration.ScheduleView(); 61 this.tabJobs = new System.Windows.Forms.TabPage(); 62 this.updateControl1 = new HeuristicLab.Clients.Hive.Views.Common.UpdateControl(); 63 this.updateJobs = new HeuristicLab.Clients.Hive.Views.Common.UpdateControl(); 63 64 this.hiveJobListViewSlaves = new HeuristicLab.Clients.Hive.Views.HiveJobListView(); 64 65 ((System.ComponentModel.ISupportInitialize)(this.splitSlaves)).BeginInit(); … … 88 89 // splitSlaves.Panel1 89 90 // 90 this.splitSlaves.Panel1.Controls.Add(this.updateSlaveGroups); 91 this.splitSlaves.Panel1.Controls.Add(this.updateSlaveGroup); 92 this.splitSlaves.Panel1.Controls.Add(this.btnSave); 91 93 this.splitSlaves.Panel1.Controls.Add(this.btnRemoveGroup); 92 94 this.splitSlaves.Panel1.Controls.Add(this.btnAddGroup); … … 100 102 this.splitSlaves.TabIndex = 3; 101 103 // 102 // updateSlaveGroups 103 // 104 this.updateSlaveGroups.Location = new System.Drawing.Point(63, 3); 105 this.updateSlaveGroups.Name = "updateSlaveGroups"; 106 this.updateSlaveGroups.Size = new System.Drawing.Size(75, 24); 107 this.updateSlaveGroups.TabIndex = 4; 108 this.updateSlaveGroups.UpdateAction = null; 104 // btnSave 105 // 106 this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image"))); 107 this.btnSave.Location = new System.Drawing.Point(63, 3); 108 this.btnSave.Name = "btnSave"; 109 this.btnSave.Size = new System.Drawing.Size(24, 24); 110 this.btnSave.TabIndex = 5; 111 this.btnSave.UseVisualStyleBackColor = true; 112 this.btnSave.Click += new System.EventHandler(this.btnSave_Click); 109 113 // 110 114 // btnRemoveGroup … … 116 120 this.btnRemoveGroup.TabIndex = 2; 117 121 this.btnRemoveGroup.UseVisualStyleBackColor = true; 122 this.btnRemoveGroup.Click += new System.EventHandler(this.btnRemoveGroup_Click); 118 123 // 119 124 // btnAddGroup … … 125 130 this.btnAddGroup.TabIndex = 1; 126 131 this.btnAddGroup.UseVisualStyleBackColor = true; 132 this.btnAddGroup.Click += new System.EventHandler(this.btnAddGroup_Click); 127 133 // 128 134 // treeSlaveGroup 129 135 // 136 this.treeSlaveGroup.AllowDrop = true; 130 137 this.treeSlaveGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 131 138 | System.Windows.Forms.AnchorStyles.Left) … … 138 145 this.treeSlaveGroup.Size = new System.Drawing.Size(243, 511); 139 146 this.treeSlaveGroup.TabIndex = 0; 147 this.treeSlaveGroup.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeSlaveGroup_ItemDrag); 140 148 this.treeSlaveGroup.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeSlaveGroup_NodeMouseClick); 149 this.treeSlaveGroup.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeSlaveGroup_DragDrop); 150 this.treeSlaveGroup.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeSlaveGroup_DragEnter); 151 this.treeSlaveGroup.DragOver += new System.Windows.Forms.DragEventHandler(this.treeSlaveGroup_DragOver); 152 this.treeSlaveGroup.QueryContinueDrag += new System.Windows.Forms.QueryContinueDragEventHandler(this.treeSlaveGroup_QueryContinueDrag); 141 153 // 142 154 // tabSlaveGroup … … 164 176 this.tabDetails.Text = "Details"; 165 177 this.tabDetails.UseVisualStyleBackColor = true; 166 //167 // slaveView168 //169 this.slaveView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)170 | System.Windows.Forms.AnchorStyles.Right)));171 this.slaveView.Caption = "SlaveView";172 this.slaveView.Content = null;173 this.slaveView.Location = new System.Drawing.Point(7, 7);174 this.slaveView.Name = "slaveView";175 this.slaveView.ReadOnly = false;176 this.slaveView.Size = new System.Drawing.Size(564, 210);177 this.slaveView.TabIndex = 0;178 178 // 179 179 // tabSchedule … … 189 189 this.tabSchedule.UseVisualStyleBackColor = true; 190 190 // 191 // tabJobs 192 // 193 this.tabJobs.Controls.Add(this.updateJobs); 194 this.tabJobs.Controls.Add(this.hiveJobListViewSlaves); 195 this.tabJobs.Location = new System.Drawing.Point(4, 22); 196 this.tabJobs.Name = "tabJobs"; 197 this.tabJobs.Padding = new System.Windows.Forms.Padding(3); 198 this.tabJobs.Size = new System.Drawing.Size(577, 515); 199 this.tabJobs.TabIndex = 2; 200 this.tabJobs.Text = "Jobs"; 201 this.tabJobs.UseVisualStyleBackColor = true; 202 // 203 // updateSlaveGroup 204 // 205 this.updateSlaveGroup.Location = new System.Drawing.Point(94, 3); 206 this.updateSlaveGroup.Name = "updateSlaveGroup"; 207 this.updateSlaveGroup.Size = new System.Drawing.Size(75, 24); 208 this.updateSlaveGroup.TabIndex = 6; 209 this.updateSlaveGroup.UpdateAction = null; 210 // 211 // slaveView 212 // 213 this.slaveView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 214 | System.Windows.Forms.AnchorStyles.Right))); 215 this.slaveView.Caption = "SlaveView"; 216 this.slaveView.Content = null; 217 this.slaveView.Location = new System.Drawing.Point(7, 7); 218 this.slaveView.Name = "slaveView"; 219 this.slaveView.ReadOnly = false; 220 this.slaveView.Size = new System.Drawing.Size(564, 210); 221 this.slaveView.TabIndex = 0; 222 // 191 223 // updateScheduleControl 192 224 // … … 211 243 this.scheduleView.TabIndex = 0; 212 244 // 213 // tabJobs 214 // 215 this.tabJobs.Controls.Add(this.updateControl1); 216 this.tabJobs.Controls.Add(this.hiveJobListViewSlaves); 217 this.tabJobs.Location = new System.Drawing.Point(4, 22); 218 this.tabJobs.Name = "tabJobs"; 219 this.tabJobs.Padding = new System.Windows.Forms.Padding(3); 220 this.tabJobs.Size = new System.Drawing.Size(577, 515); 221 this.tabJobs.TabIndex = 2; 222 this.tabJobs.Text = "Jobs"; 223 this.tabJobs.UseVisualStyleBackColor = true; 224 // 225 // updateControl1 226 // 227 this.updateControl1.Location = new System.Drawing.Point(7, 3); 228 this.updateControl1.Name = "updateControl1"; 229 this.updateControl1.Size = new System.Drawing.Size(75, 24); 230 this.updateControl1.TabIndex = 1; 231 this.updateControl1.UpdateAction = null; 245 // updateJobs 246 // 247 this.updateJobs.Location = new System.Drawing.Point(7, 3); 248 this.updateJobs.Name = "updateJobs"; 249 this.updateJobs.Size = new System.Drawing.Size(75, 24); 250 this.updateJobs.TabIndex = 1; 251 this.updateJobs.UpdateAction = null; 232 252 // 233 253 // hiveJobListViewSlaves … … 266 286 267 287 private System.Windows.Forms.SplitContainer splitSlaves; 268 private Common.UpdateControl updateSlaveGroups;269 288 private System.Windows.Forms.Button btnRemoveGroup; 270 289 private System.Windows.Forms.Button btnAddGroup; … … 274 293 private System.Windows.Forms.TabPage tabSchedule; 275 294 private System.Windows.Forms.TabPage tabJobs; 276 private Common.UpdateControl update Control1;295 private Common.UpdateControl updateJobs; 277 296 private HiveJobListView hiveJobListViewSlaves; 278 297 private SlaveView slaveView; … … 280 299 private ScheduleView scheduleView; 281 300 private Common.UpdateControl updateScheduleControl; 301 private System.Windows.Forms.Button btnSave; 302 private Common.UpdateControl updateSlaveGroup; 282 303 } 283 304 } -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/Administration/ResourcesView.cs ¶
r5638 r5676 21 21 22 22 using System; 23 using System.Drawing; 23 24 using System.Linq; 24 25 using System.Windows.Forms; … … 41 42 treeSlaveGroup.ImageList.Images.Add(HiveImageLibrary.SlaveGroup); 42 43 updateScheduleControl.UpdateAction = new Action(UpdateSchedule); 43 } 44 45 private void UpdateSchedule() { 46 Guid resourceId = scheduleView.ResourceId; 47 if (resourceId != null) { 48 ServiceLocator.Instance.CallHiveService(service => { 49 var appointments = service.GetScheduleForResource(resourceId); 50 ItemList<Appointment> ias = new ItemList<Appointment>(); 51 appointments.ForEach(a => ias.Add(a)); 52 scheduleView.Invoke(new Action(() => scheduleView.Content = ias)); 53 }); 54 } 44 updateSlaveGroup.UpdateAction = new Action(UpdateSlaveGroups); 55 45 } 56 46 57 47 #region Register Content Events 58 48 protected override void DeregisterContentEvents() { 59 // TODO: Deregister your event handlers on the Content here 49 Content.ItemsAdded -= new Collections.CollectionItemsChangedEventHandler<Collections.IndexedItem<Resource>>(Content_ItemsAdded); 50 Content.ItemsRemoved -= new Collections.CollectionItemsChangedEventHandler<Collections.IndexedItem<Resource>>(Content_ItemsRemoved); 60 51 base.DeregisterContentEvents(); 61 52 } 62 53 protected override void RegisterContentEvents() { 63 54 base.RegisterContentEvents(); 64 // TODO: Register your event handlers on the Content here 55 Content.ItemsAdded += new Collections.CollectionItemsChangedEventHandler<Collections.IndexedItem<Resource>>(Content_ItemsAdded); 56 Content.ItemsRemoved += new Collections.CollectionItemsChangedEventHandler<Collections.IndexedItem<Resource>>(Content_ItemsRemoved); 65 57 } 66 58 #endregion … … 72 64 treeSlaveGroup.Nodes.Clear(); 73 65 } else { 74 66 treeSlaveGroup.Nodes.Clear(); 67 68 //rebuild 75 69 TreeNode ungrp = new TreeNode("UNGROUPED"); 76 70 ungrp.ImageIndex = treeSlaveGroup.ImageList.Images.Count - 1; … … 99 93 treeSlaveGroup.Nodes.Add(tn); 100 94 101 102 95 } else if (g.GetType() == typeof(Slave)) { 103 96 if (g.ParentResourceId == null) { … … 120 113 121 114 private void treeSlaveGroup_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { 115 if (slaveView.Content != null && slaveView.Content is SlaveGroup) { 116 slaveView.Content.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler(SlaveViewContent_PropertyChanged); 117 } 118 119 slaveView.Content = (Resource)e.Node.Tag; 120 122 121 if (e.Node.Tag.GetType() == typeof(Slave)) { 123 slaveView.Content = (Slave)e.Node.Tag;124 122 scheduleView.ResourceId = ((Slave)e.Node.Tag).Id; 125 } 126 } 127 128 #region Event Handlers 129 // TODO: Put event handlers here 130 #endregion 123 } else if (e.Node.Tag is SlaveGroup) { 124 slaveView.Content.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(SlaveViewContent_PropertyChanged); 125 } 126 } 127 128 void SlaveViewContent_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { 129 OnContentChanged(); 130 } 131 132 private void btnAddGroup_Click(object sender, EventArgs e) { 133 SlaveGroup newGroup = new SlaveGroup(); 134 newGroup.Name = "New Group"; 135 Content.Add(newGroup); 136 } 137 138 void Content_ItemsRemoved(object sender, Collections.CollectionItemsChangedEventArgs<Collections.IndexedItem<Resource>> e) { 139 OnContentChanged(); 140 } 141 142 void Content_ItemsAdded(object sender, Collections.CollectionItemsChangedEventArgs<Collections.IndexedItem<Resource>> e) { 143 OnContentChanged(); 144 } 145 146 private void btnRemoveGroup_Click(object sender, EventArgs e) { 147 if (treeSlaveGroup.SelectedNode != null && treeSlaveGroup.SelectedNode.Tag != null) { 148 Content.Remove((Resource)treeSlaveGroup.SelectedNode.Tag); 149 } 150 } 151 152 private void btnSave_Click(object sender, EventArgs e) { 153 foreach (Resource res in Content) { 154 if (res is SlaveGroup && res.Id == Guid.Empty) { 155 SlaveGroup slaveGroup = (SlaveGroup)res; 156 ServiceLocator.Instance.CallHiveService(service => service.AddSlaveGroup(slaveGroup)); 157 } 158 if (res.Id != Guid.Empty && res.Modified) { 159 if (res is SlaveGroup) { 160 ServiceLocator.Instance.CallHiveService(service => service.UpdateSlaveGroup((SlaveGroup)res)); 161 } else if (res is Slave) { 162 ServiceLocator.Instance.CallHiveService(service => service.UpdateSlave((Slave)res)); 163 } 164 } 165 } 166 } 167 168 private void treeSlaveGroup_DragDrop(object sender, DragEventArgs e) { 169 if (e.Data.GetDataPresent("System.Windows.Forms.TreeNode", false)) { 170 Point pt = ((TreeView)sender).PointToClient(new Point(e.X, e.Y)); 171 TreeNode destNode = ((TreeView)sender).GetNodeAt(pt); 172 TreeNode newNode = (TreeNode)e.Data.GetData("System.Windows.Forms.TreeNode"); 173 174 if (destNode.TreeView == newNode.TreeView) { 175 SlaveGroup sgrp = null; 176 if (destNode.Tag != null && destNode.Tag is SlaveGroup) { 177 sgrp = (SlaveGroup)destNode.Tag; 178 } 179 if (destNode.Parent != null && destNode.Parent.Tag is SlaveGroup) { 180 sgrp = (SlaveGroup)destNode.Parent.Tag; 181 } 182 183 if (sgrp != null) { 184 if (newNode.Tag != null && newNode.Tag is Slave) { 185 Slave slave = (Slave)newNode.Tag; 186 if (slave.ParentResourceId != sgrp.Id) { 187 slave.ParentResourceId = sgrp.Id; 188 OnContentChanged(); 189 } 190 } 191 } 192 } 193 } 194 } 195 196 private void treeSlaveGroup_ItemDrag(object sender, ItemDragEventArgs e) { 197 TreeNode sourceNode = (TreeNode)e.Item; 198 DoDragDrop(sourceNode, DragDropEffects.All); 199 } 200 201 private void treeSlaveGroup_DragEnter(object sender, DragEventArgs e) { 202 e.Effect = DragDropEffects.Move; 203 } 204 205 private void treeSlaveGroup_DragOver(object sender, DragEventArgs e) { 206 e.Effect = DragDropEffects.Move; 207 } 208 209 private void treeSlaveGroup_QueryContinueDrag(object sender, QueryContinueDragEventArgs e) { 210 e.Action = DragAction.Continue; 211 } 212 213 void ResetView() { 214 treeSlaveGroup.Nodes.Clear(); 215 if (slaveView.Content != null && slaveView.Content is SlaveGroup) { 216 slaveView.Content.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler(SlaveViewContent_PropertyChanged); 217 } 218 slaveView.Content = null; 219 scheduleView.ResourceId = Guid.Empty; 220 } 221 222 private void UpdateSlaveGroups() { 223 this.Invoke(new Action(ResetView)); 224 Content.Clear(); 225 IItemList<Resource> resources = new ItemList<Resource>(); 226 227 ServiceLocator.Instance.CallHiveService(service => { 228 service.GetSlaveGroups().ForEach(g => resources.Add(g)); 229 service.GetSlaves().ForEach(s => resources.Add(s)); 230 }); 231 Content = resources; 232 } 233 234 private void UpdateSchedule() { 235 Guid resourceId = scheduleView.ResourceId; 236 if (resourceId != null) { 237 ServiceLocator.Instance.CallHiveService(service => { 238 var appointments = service.GetScheduleForResource(resourceId); 239 ItemList<Appointment> ias = new ItemList<Appointment>(); 240 appointments.ForEach(a => ias.Add(a)); 241 scheduleView.Invoke(new Action(() => scheduleView.Content = ias)); 242 }); 243 } 244 } 131 245 } 132 246 } -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/Administration/ResourcesView.resx ¶
r5638 r5676 122 122 </metadata> 123 123 <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 124 <data name="btnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> 125 <value> 126 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH 127 DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp 128 bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE 129 sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTs 130 AIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4 131 JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR 132 3xKxRoowlSviN+LYVA4zAwAUSWwXcFiJIjYRMYkfEuQi4uUA4EgJX3HcVyzgZAvEl3JJS8/hcxMSBXQd 133 li7d1NqaQffkZKVwBALDACYrmcln013SUtOZvBwAFu/8WTLi2tJFRbY0tba0NDQzMv2qUP91829K3NtF 134 ehn4uWcQrf+L7a/80hoAYMyJarPziy2uCoDOLQDI3fti0zgAgKSobx3Xv7oPTTwviQJBuo2xcVZWlhGX 135 wzISF/QP/U+Hv6GvvmckPu6P8tBdOfFMYYqALq4bKy0lTcinZ6QzWRy64Z+H+B8H/nUeBkGceA6fwxNF 136 hImmjMtLELWbx+YKuGk8Opf3n5r4D8P+pMW5FonS+BFQY4yA1HUqQH7tBygKESDR+8Vd/6NvvvgwIH55 137 4SqTi3P/7zf9Z8Gl4iWDm/A5ziUohM4S8jMX98TPEqABAUgCKpAHykAd6ABDYAasgC1wBG7AG/iDEBAJ 138 VgMWSASpgA+yQB7YBApBMdgJ9oBqUAcaQTNoBcdBJzgFzoNL4Bq4AW6D+2AUTIBnYBa8BgsQBGEhMkSB 139 5CEVSBPSh8wgBmQPuUG+UBAUCcVCCRAPEkJ50GaoGCqDqqF6qBn6HjoJnYeuQIPQXWgMmoZ+h97BCEyC 140 qbASrAUbwwzYCfaBQ+BVcAK8Bs6FC+AdcCXcAB+FO+Dz8DX4NjwKP4PnEIAQERqiihgiDMQF8UeikHiE 141 j6xHipAKpAFpRbqRPuQmMorMIG9RGBQFRUcZomxRnqhQFAu1BrUeVYKqRh1GdaB6UTdRY6hZ1Ec0Ga2I 142 1kfboL3QEegEdBa6EF2BbkK3oy+ib6Mn0K8xGAwNo42xwnhiIjFJmLWYEsw+TBvmHGYQM46Zw2Kx8lh9 143 rB3WH8vECrCF2CrsUexZ7BB2AvsGR8Sp4Mxw7rgoHA+Xj6vAHcGdwQ3hJnELeCm8Jt4G749n43PwpfhG 144 fDf+On4Cv0CQJmgT7AghhCTCJkIloZVwkfCA8JJIJKoRrYmBRC5xI7GSeIx4mThGfEuSIemRXEjRJCFp 145 B+kQ6RzpLuklmUzWIjuSo8gC8g5yM/kC+RH5jQRFwkjCS4ItsUGiRqJDYkjiuSReUlPSSXK1ZK5kheQJ 146 yeuSM1J4KS0pFymm1HqpGqmTUiNSc9IUaVNpf+lU6RLpI9JXpKdksDJaMm4ybJkCmYMyF2TGKQhFneJC 147 YVE2UxopFykTVAxVm+pFTaIWU7+jDlBnZWVkl8mGyWbL1sielh2lITQtmhcthVZKO04bpr1borTEaQln 148 yfYlrUuGlszLLZVzlOPIFcm1yd2WeydPl3eTT5bfJd8p/1ABpaCnEKiQpbBf4aLCzFLqUtulrKVFS48v 149 vacIK+opBimuVTyo2K84p6Ss5KGUrlSldEFpRpmm7KicpFyufEZ5WoWiYq/CVSlXOavylC5Ld6Kn0Cvp 150 vfRZVUVVT1Whar3qgOqCmrZaqFq+WpvaQ3WCOkM9Xr1cvUd9VkNFw08jT6NF454mXpOhmai5V7NPc15L 151 Wytca6tWp9aUtpy2l3audov2Ax2yjoPOGp0GnVu6GF2GbrLuPt0berCehV6iXo3edX1Y31Kfq79Pf9AA 152 bWBtwDNoMBgxJBk6GWYathiOGdGMfI3yjTqNnhtrGEcZ7zLuM/5oYmGSYtJoct9UxtTbNN+02/R3Mz0z 153 llmN2S1zsrm7+QbzLvMXy/SXcZbtX3bHgmLhZ7HVosfig6WVJd+y1XLaSsMq1qrWaoRBZQQwShiXrdHW 154 ztYbrE9Zv7WxtBHYHLf5zdbQNtn2iO3Ucu3lnOWNy8ft1OyYdvV2o/Z0+1j7A/ajDqoOTIcGh8eO6o5s 155 xybHSSddpySno07PnU2c+c7tzvMuNi7rXM65Iq4erkWuA24ybqFu1W6P3NXcE9xb3Gc9LDzWepzzRHv6 156 eO7yHPFS8mJ5NXvNelt5r/Pu9SH5BPtU+zz21fPl+3b7wX7efrv9HqzQXMFb0ekP/L38d/s/DNAOWBPw 157 YyAmMCCwJvBJkGlQXlBfMCU4JvhI8OsQ55DSkPuhOqHC0J4wybDosOaw+XDX8LLw0QjjiHUR1yIVIrmR 158 XVHYqLCopqi5lW4r96yciLaILoweXqW9KnvVldUKq1NWn46RjGHGnIhFx4bHHol9z/RnNjDn4rziauNm 159 WS6svaxnbEd2OXuaY8cp40zG28WXxU8l2CXsTphOdEisSJzhunCruS+SPJPqkuaT/ZMPJX9KCU9pS8Wl 160 xqae5Mnwknm9acpp2WmD6frphemja2zW7Fkzy/fhN2VAGasyugRU0c9Uv1BHuEU4lmmfWZP5Jiss60S2 161 dDYvuz9HL2d7zmSue+63a1FrWWt78lTzNuWNrXNaV78eWh+3vmeD+oaCDRMbPTYe3kTYlLzpp3yT/LL8 162 V5vDN3cXKBVsLBjf4rGlpVCikF84stV2a9021DbutoHt5turtn8sYhddLTYprih+X8IqufqN6TeV33za 163 Eb9joNSydP9OzE7ezuFdDrsOl0mX5ZaN7/bb3VFOLy8qf7UnZs+VimUVdXsJe4V7Ryt9K7uqNKp2Vr2v 164 Tqy+XeNc01arWLu9dn4fe9/Qfsf9rXVKdcV17w5wD9yp96jvaNBqqDiIOZh58EljWGPft4xvm5sUmoqb 165 PhziHRo9HHS4t9mqufmI4pHSFrhF2DJ9NProje9cv+tqNWytb6O1FR8Dx4THnn4f+/3wcZ/jPScYJ1p/ 166 0Pyhtp3SXtQBdeR0zHYmdo52RXYNnvQ+2dNt293+o9GPh06pnqo5LXu69AzhTMGZT2dzz86dSz83cz7h 167 /HhPTM/9CxEXbvUG9g5c9Ll4+ZL7pQt9Tn1nL9tdPnXF5srJq4yrndcsr3X0W/S3/2TxU/uA5UDHdavr 168 XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS 169 fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+ 170 tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/ 171 6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALDAAACwwBP0AiyAAAAh5JREFUOE+N091PklEc 172 B3DfbvoHuuyi+S90metF3Mqt0aobs1xOF0EwWW6VvUzF+TYUh+IaT0XimCRpriIf2Zhp4itNS5wCcyRY 173 4dT5IBS+xL6d5xFQOV50ce7O+ex7vr9z0gCkJdZKYAILThPGB9SwdT1EH6NAzzMp3hmUsFuq4Rxk8N09 174 RLbvn0kedn8xwWlXwzv9AkFfD8JrA9j5PSys0CqLgOc1vo60gTU/gqO/LYkkAbazHLFtx38t3ZNrNGDt 175 UCIyJ0M0qMdO2Iq/W8OIbX1GLDqEXe4ton4NuBkpfrA5aK24QgPvDWXgRkUIue4gElDjz6oREZ8K3ORl 176 rH88gWBXBpY60uFhMtFyX0wDfYxcADZdMgI00YCZBzLgeZ6J5vJLNNBL2uYceSTB0cCKAJAEBGgsy6cB 177 i04iAFSCKXIF694V/AKQhXrFBRowa0uPAKpJB+J4B+lCAi9JUCvLowGTpoR0wCeQpnSwD/AJeEAlyaUB 178 o/pWfAo8kJgCnyA+BdKB30gAJguVpedo4FVDETZGzpMSJckEYd9hIDGFp8VnaOBl3Q1wApD6DuJXODCF 179 x0U5NMDUFOCXPReh2dspDynRwd4Yv7UfQ8XN0zQwzdbAormKwc5CuD49wE+3Dpy3CmujYix2Z2NMexxv 180 Kk+iRXEKNoOcBvgvujzfj7EPtejVy6FXXUej8iLq7oqgvXcWxioRbEwJvJPmQ9/5H8ts+Q1zr/Q5AAAA 181 AElFTkSuQmCC 182 </value> 183 </data> 124 184 <data name="btnRemoveGroup.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> 125 185 <value> -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/Administration/SlaveView.Designer.cs ¶
r5638 r5676 127 127 this.txtName.Size = new System.Drawing.Size(249, 20); 128 128 this.txtName.TabIndex = 21; 129 this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged_1); 129 130 // 130 131 // txtCPU -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/Administration/SlaveView.cs ¶
r5638 r5676 20 20 #endregion 21 21 22 using System; 22 23 using System.Windows.Forms; 23 24 using HeuristicLab.Core.Views; … … 27 28 namespace HeuristicLab.Clients.Hive.Views.Administration { 28 29 [View("SlaveView")] 29 [Content(typeof( Slave), IsDefaultView = true)]30 [Content(typeof(Resource), IsDefaultView = true)] 30 31 public partial class SlaveView : ItemView { 31 public new Slave Content {32 get { return ( Slave)base.Content; }32 public new Resource Content { 33 get { return (Resource)base.Content; } 33 34 set { base.Content = value; } 34 35 } … … 50 51 base.OnContentChanged(); 51 52 if (Content == null) { 53 ShowSlaveUI(true); 52 54 txtName.Clear(); 53 55 txtCPU.Clear(); … … 60 62 txtId.Clear(); 61 63 } else { 62 txtName.Text = Content.Name; 63 txtCPU.Text = Content.Cores.ToString() + " Cores @ " + Content.CpuSpeed.ToString() + " Mhz, Arch.: " + Content.CpuArchitecture.ToString(); 64 txtDetailsDescription.Text = Content.Description; 65 txtMemory.Text = Content.Memory.ToString(); 66 txtOS.Text = Content.OperatingSystem; 67 txtSlaveState.Text = Content.SlaveState.ToString(); 68 txtLastHeartbeat.Text = Content.LastHeartbeat.ToString(); 69 txtFreeMemory.Text = Content.FreeMemory.ToString(); 70 txtId.Text = Content.Id.ToString(); 64 if (Content.GetType() == typeof(Slave)) { 65 ShowSlaveUI(true); 66 Slave ct = (Slave)Content; 67 txtName.Text = ct.Name; 68 txtCPU.Text = ct.Cores.ToString() + " Cores @ " + ct.CpuSpeed.ToString() + " Mhz, Arch.: " + ct.CpuArchitecture.ToString(); 69 txtDetailsDescription.Text = ct.Description; 70 txtMemory.Text = ct.Memory.ToString(); 71 txtOS.Text = ct.OperatingSystem; 72 txtSlaveState.Text = ct.SlaveState.ToString(); 73 txtLastHeartbeat.Text = ct.LastHeartbeat.ToString(); 74 txtFreeMemory.Text = ct.FreeMemory.ToString(); 75 txtId.Text = ct.Id.ToString(); 76 } else if (Content.GetType() == typeof(SlaveGroup)) { 77 SlaveGroup ct = (SlaveGroup)Content; 78 txtName.Text = ct.Name; 79 ShowSlaveUI(false); 80 } else 81 throw new Exception("Unknown Resource in SlaveView"); 82 71 83 } 84 } 85 86 void txtName_TextChanged(object sender, EventArgs e) { 87 throw new NotImplementedException(); 88 } 89 90 private void ShowSlaveUI(bool show) { 91 label2.Visible = show; 92 label1.Visible = show; 93 label10.Visible = show; 94 label11.Visible = show; 95 label12.Visible = show; 96 label13.Visible = show; 97 label14.Visible = show; 98 label15.Visible = show; 99 txtCPU.Visible = show; 100 txtDetailsDescription.Visible = show; 101 txtMemory.Visible = show; 102 txtOS.Visible = show; 103 txtSlaveState.Visible = show; 104 txtLastHeartbeat.Visible = show; 105 txtFreeMemory.Visible = show; 106 txtId.Visible = show; 72 107 } 73 108 … … 75 110 base.SetEnabledStateOfControls(); 76 111 } 112 113 private void txtName_TextChanged_1(object sender, EventArgs e) { 114 if (Content != null && Content is SlaveGroup) { 115 Content.Name = txtName.Text; 116 } 117 } 77 118 } 78 119 } -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/GenerateServiceClients.cmd ¶
r5636 r5676 21 21 echo. 22 22 echo Following modifications have to be done manually in generated data contracts: 23 echo * Remove method "protected void RaisePropertyChanged(string propertyName)" in OKBItem23 echo * Remove method "protected void RaisePropertyChanged(string propertyName)" in HiveItem 24 24 echo. 25 25 echo !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! ATTENTION !!! 26 26 echo --------------------------------------------------------------------------------------- 27 27 echo. 28 echo Generation of (Hive)OKBService client finished.28 echo Generation of HiveService client finished. 29 29 echo ******************************************************************************************* 30 30 -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveItem.cs ¶
r5634 r5676 21 21 22 22 using System; 23 using System.ComponentModel; 23 24 using System.Drawing; 24 25 using HeuristicLab.Common; … … 29 30 public partial class HiveItem : IItem { 30 31 31 public HiveItem() { } 32 public HiveItem() { 33 } 34 32 35 33 36 protected HiveItem(HiveItem original, Cloner cloner) { … … 41 44 public object Clone() { 42 45 return Clone(new Cloner()); 46 } 47 48 protected void RaisePropertyChanged(string propertyName) { 49 OnPropertyChanged(new PropertyChangedEventArgs(propertyName)); 50 if ((propertyName != "Id") && (propertyName != "Modified") && (propertyName != "ItemImage")) { 51 Modified = true; 52 } 53 } 54 protected virtual void OnPropertyChanged(PropertyChangedEventArgs e) { 55 PropertyChangedEventHandler handler = PropertyChanged; 56 if (handler != null) handler(this, e); 43 57 } 44 58 … … 56 70 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 57 71 } 72 73 private bool modified; 74 public bool Modified { 75 get { return modified; } 76 private set { 77 if (value != modified) { 78 modified = value; 79 OnModifiedChanged(); 80 RaisePropertyChanged("Modified"); 81 //OnItemImageChanged(); ?? 82 //RaisePropertyChanged("ItemImage"); ?? 83 } 84 } 85 } 86 58 87 public event EventHandler ItemImageChanged; 59 88 protected virtual void OnItemImageChanged() { … … 66 95 if (handler != null) handler(this, EventArgs.Empty); 67 96 } 97 public event EventHandler ModifiedChanged; 98 protected virtual void OnModifiedChanged() { 99 EventHandler handler = ModifiedChanged; 100 if (handler != null) handler(this, EventArgs.Empty); 101 } 68 102 public override string ToString() { 69 103 return ItemName; -
TabularUnified branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveServiceClient.cs ¶
r5636 r5676 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 2084 // Runtime Version:4.0.30319.1 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 9 9 //------------------------------------------------------------------------------ 10 10 11 namespace HeuristicLab.Clients.Hive 12 { 13 using System.Runtime.Serialization; 14 using System; 15 16 17 [System.Diagnostics.DebuggerStepThroughAttribute()] 11 namespace HeuristicLab.Clients.Hive { 12 13 14 [System.Diagnostics.DebuggerStepThroughAttribute()] 15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 16 [System.Runtime.Serialization.DataContractAttribute(Name = "HiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 17 "nsfer")] 18 [System.SerializableAttribute()] 19 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Appointment))] 20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightJob))] 21 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))] 22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))] 24 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))] 25 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))] 26 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 27 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 28 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 29 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 30 public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 31 32 [System.NonSerializedAttribute()] 33 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 34 35 [System.Runtime.Serialization.OptionalFieldAttribute()] 36 private System.Guid IdField; 37 38 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 39 get { 40 return this.extensionDataField; 41 } 42 set { 43 this.extensionDataField = value; 44 } 45 } 46 47 [System.Runtime.Serialization.DataMemberAttribute()] 48 public System.Guid Id { 49 get { 50 return this.IdField; 51 } 52 set { 53 if ((this.IdField.Equals(value) != true)) { 54 this.IdField = value; 55 this.RaisePropertyChanged("Id"); 56 } 57 } 58 } 59 60 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 61 62 63 } 64 65 [System.Diagnostics.DebuggerStepThroughAttribute()] 66 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 67 [System.Runtime.Serialization.DataContractAttribute(Name = "Appointment", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 68 "nsfer")] 69 [System.SerializableAttribute()] 70 public partial class Appointment : HeuristicLab.Clients.Hive.HiveItem { 71 72 [System.Runtime.Serialization.OptionalFieldAttribute()] 73 private bool AllDayEventField; 74 75 [System.Runtime.Serialization.OptionalFieldAttribute()] 76 private System.DateTime EndDateField; 77 78 [System.Runtime.Serialization.OptionalFieldAttribute()] 79 private bool RecurringField; 80 81 [System.Runtime.Serialization.OptionalFieldAttribute()] 82 private System.Guid RecurringIdField; 83 84 [System.Runtime.Serialization.OptionalFieldAttribute()] 85 private System.Guid ResourceIdField; 86 87 [System.Runtime.Serialization.OptionalFieldAttribute()] 88 private System.DateTime StartDateField; 89 90 [System.Runtime.Serialization.DataMemberAttribute()] 91 public bool AllDayEvent { 92 get { 93 return this.AllDayEventField; 94 } 95 set { 96 if ((this.AllDayEventField.Equals(value) != true)) { 97 this.AllDayEventField = value; 98 this.RaisePropertyChanged("AllDayEvent"); 99 } 100 } 101 } 102 103 [System.Runtime.Serialization.DataMemberAttribute()] 104 public System.DateTime EndDate { 105 get { 106 return this.EndDateField; 107 } 108 set { 109 if ((this.EndDateField.Equals(value) != true)) { 110 this.EndDateField = value; 111 this.RaisePropertyChanged("EndDate"); 112 } 113 } 114 } 115 116 [System.Runtime.Serialization.DataMemberAttribute()] 117 public bool Recurring { 118 get { 119 return this.RecurringField; 120 } 121 set { 122 if ((this.RecurringField.Equals(value) != true)) { 123 this.RecurringField = value; 124 this.RaisePropertyChanged("Recurring"); 125 } 126 } 127 } 128 129 [System.Runtime.Serialization.DataMemberAttribute()] 130 public System.Guid RecurringId { 131 get { 132 return this.RecurringIdField; 133 } 134 set { 135 if ((this.RecurringIdField.Equals(value) != true)) { 136 this.RecurringIdField = value; 137 this.RaisePropertyChanged("RecurringId"); 138 } 139 } 140 } 141 142 [System.Runtime.Serialization.DataMemberAttribute()] 143 public System.Guid ResourceId { 144 get { 145 return this.ResourceIdField; 146 } 147 set { 148 if ((this.ResourceIdField.Equals(value) != true)) { 149 this.ResourceIdField = value; 150 this.RaisePropertyChanged("ResourceId"); 151 } 152 } 153 } 154 155 [System.Runtime.Serialization.DataMemberAttribute()] 156 public System.DateTime StartDate { 157 get { 158 return this.StartDateField; 159 } 160 set { 161 if ((this.StartDateField.Equals(value) != true)) { 162 this.StartDateField = value; 163 this.RaisePropertyChanged("StartDate"); 164 } 165 } 166 } 167 } 168 169 [System.Diagnostics.DebuggerStepThroughAttribute()] 170 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 171 [System.Runtime.Serialization.DataContractAttribute(Name = "LightweightJob", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 172 "nsfer")] 173 [System.SerializableAttribute()] 174 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 175 public partial class LightweightJob : HeuristicLab.Clients.Hive.HiveItem { 176 177 [System.Runtime.Serialization.OptionalFieldAttribute()] 178 private System.Nullable<System.TimeSpan> ExecutionTimeField; 179 180 [System.Runtime.Serialization.OptionalFieldAttribute()] 181 private System.Nullable<System.Guid> ParentJobIdField; 182 183 [System.Runtime.Serialization.OptionalFieldAttribute()] 184 private HeuristicLab.Clients.Hive.JobState StateField; 185 186 [System.Runtime.Serialization.OptionalFieldAttribute()] 187 private System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLogField; 188 189 [System.Runtime.Serialization.DataMemberAttribute()] 190 public System.Nullable<System.TimeSpan> ExecutionTime { 191 get { 192 return this.ExecutionTimeField; 193 } 194 set { 195 if ((this.ExecutionTimeField.Equals(value) != true)) { 196 this.ExecutionTimeField = value; 197 this.RaisePropertyChanged("ExecutionTime"); 198 } 199 } 200 } 201 202 [System.Runtime.Serialization.DataMemberAttribute()] 203 public System.Nullable<System.Guid> ParentJobId { 204 get { 205 return this.ParentJobIdField; 206 } 207 set { 208 if ((this.ParentJobIdField.Equals(value) != true)) { 209 this.ParentJobIdField = value; 210 this.RaisePropertyChanged("ParentJobId"); 211 } 212 } 213 } 214 215 [System.Runtime.Serialization.DataMemberAttribute()] 216 public HeuristicLab.Clients.Hive.JobState State { 217 get { 218 return this.StateField; 219 } 220 set { 221 if ((this.StateField.Equals(value) != true)) { 222 this.StateField = value; 223 this.RaisePropertyChanged("State"); 224 } 225 } 226 } 227 228 [System.Runtime.Serialization.DataMemberAttribute()] 229 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLog { 230 get { 231 return this.StateLogField; 232 } 233 set { 234 if ((object.ReferenceEquals(this.StateLogField, value) != true)) { 235 this.StateLogField = value; 236 this.RaisePropertyChanged("StateLog"); 237 } 238 } 239 } 240 } 241 242 [System.Diagnostics.DebuggerStepThroughAttribute()] 243 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 244 [System.Runtime.Serialization.DataContractAttribute(Name = "StateLog", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 245 "nsfer")] 246 [System.SerializableAttribute()] 247 public partial class StateLog : HeuristicLab.Clients.Hive.HiveItem { 248 249 [System.Runtime.Serialization.OptionalFieldAttribute()] 250 private System.DateTime DateTimeField; 251 252 [System.Runtime.Serialization.OptionalFieldAttribute()] 253 private string ExceptionField; 254 255 [System.Runtime.Serialization.OptionalFieldAttribute()] 256 private System.Guid JobIdField; 257 258 [System.Runtime.Serialization.OptionalFieldAttribute()] 259 private System.Nullable<System.Guid> SlaveIdField; 260 261 [System.Runtime.Serialization.OptionalFieldAttribute()] 262 private HeuristicLab.Clients.Hive.JobState StateField; 263 264 [System.Runtime.Serialization.OptionalFieldAttribute()] 265 private System.Nullable<System.Guid> UserIdField; 266 267 [System.Runtime.Serialization.DataMemberAttribute()] 268 public System.DateTime DateTime { 269 get { 270 return this.DateTimeField; 271 } 272 set { 273 if ((this.DateTimeField.Equals(value) != true)) { 274 this.DateTimeField = value; 275 this.RaisePropertyChanged("DateTime"); 276 } 277 } 278 } 279 280 [System.Runtime.Serialization.DataMemberAttribute()] 281 public string Exception { 282 get { 283 return this.ExceptionField; 284 } 285 set { 286 if ((object.ReferenceEquals(this.ExceptionField, value) != true)) { 287 this.ExceptionField = value; 288 this.RaisePropertyChanged("Exception"); 289 } 290 } 291 } 292 293 [System.Runtime.Serialization.DataMemberAttribute()] 294 public System.Guid JobId { 295 get { 296 return this.JobIdField; 297 } 298 set { 299 if ((this.JobIdField.Equals(value) != true)) { 300 this.JobIdField = value; 301 this.RaisePropertyChanged("JobId"); 302 } 303 } 304 } 305 306 [System.Runtime.Serialization.DataMemberAttribute()] 307 public System.Nullable<System.Guid> SlaveId { 308 get { 309 return this.SlaveIdField; 310 } 311 set { 312 if ((this.SlaveIdField.Equals(value) != true)) { 313 this.SlaveIdField = value; 314 this.RaisePropertyChanged("SlaveId"); 315 } 316 } 317 } 318 319 [System.Runtime.Serialization.DataMemberAttribute()] 320 public HeuristicLab.Clients.Hive.JobState State { 321 get { 322 return this.StateField; 323 } 324 set { 325 if ((this.StateField.Equals(value) != true)) { 326 this.StateField = value; 327 this.RaisePropertyChanged("State"); 328 } 329 } 330 } 331 332 [System.Runtime.Serialization.DataMemberAttribute()] 333 public System.Nullable<System.Guid> UserId { 334 get { 335 return this.UserIdField; 336 } 337 set { 338 if ((this.UserIdField.Equals(value) != true)) { 339 this.UserIdField = value; 340 this.RaisePropertyChanged("UserId"); 341 } 342 } 343 } 344 } 345 346 [System.Diagnostics.DebuggerStepThroughAttribute()] 347 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 348 [System.Runtime.Serialization.DataContractAttribute(Name = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 349 "nsfer")] 350 [System.SerializableAttribute()] 351 public partial class Job : HeuristicLab.Clients.Hive.LightweightJob { 352 353 [System.Runtime.Serialization.OptionalFieldAttribute()] 354 private int CoresNeededField; 355 356 [System.Runtime.Serialization.OptionalFieldAttribute()] 357 private bool FinishWhenChildJobsFinishedField; 358 359 [System.Runtime.Serialization.OptionalFieldAttribute()] 360 private bool IsParentJobField; 361 362 [System.Runtime.Serialization.OptionalFieldAttribute()] 363 private System.Nullable<System.DateTime> LastHeartbeatField; 364 365 [System.Runtime.Serialization.OptionalFieldAttribute()] 366 private int MemoryNeededField; 367 368 [System.Runtime.Serialization.OptionalFieldAttribute()] 369 private System.Collections.Generic.List<System.Guid> PluginsNeededIdsField; 370 371 [System.Runtime.Serialization.OptionalFieldAttribute()] 372 private int PriorityField; 373 374 [System.Runtime.Serialization.DataMemberAttribute()] 375 public int CoresNeeded { 376 get { 377 return this.CoresNeededField; 378 } 379 set { 380 if ((this.CoresNeededField.Equals(value) != true)) { 381 this.CoresNeededField = value; 382 this.RaisePropertyChanged("CoresNeeded"); 383 } 384 } 385 } 386 387 [System.Runtime.Serialization.DataMemberAttribute()] 388 public bool FinishWhenChildJobsFinished { 389 get { 390 return this.FinishWhenChildJobsFinishedField; 391 } 392 set { 393 if ((this.FinishWhenChildJobsFinishedField.Equals(value) != true)) { 394 this.FinishWhenChildJobsFinishedField = value; 395 this.RaisePropertyChanged("FinishWhenChildJobsFinished"); 396 } 397 } 398 } 399 400 [System.Runtime.Serialization.DataMemberAttribute()] 401 public bool IsParentJob { 402 get { 403 return this.IsParentJobField; 404 } 405 set { 406 if ((this.IsParentJobField.Equals(value) != true)) { 407 this.IsParentJobField = value; 408 this.RaisePropertyChanged("IsParentJob"); 409 } 410 } 411 } 412 413 [System.Runtime.Serialization.DataMemberAttribute()] 414 public System.Nullable<System.DateTime> LastHeartbeat { 415 get { 416 return this.LastHeartbeatField; 417 } 418 set { 419 if ((this.LastHeartbeatField.Equals(value) != true)) { 420 this.LastHeartbeatField = value; 421 this.RaisePropertyChanged("LastHeartbeat"); 422 } 423 } 424 } 425 426 [System.Runtime.Serialization.DataMemberAttribute()] 427 public int MemoryNeeded { 428 get { 429 return this.MemoryNeededField; 430 } 431 set { 432 if ((this.MemoryNeededField.Equals(value) != true)) { 433 this.MemoryNeededField = value; 434 this.RaisePropertyChanged("MemoryNeeded"); 435 } 436 } 437 } 438 439 [System.Runtime.Serialization.DataMemberAttribute()] 440 public System.Collections.Generic.List<System.Guid> PluginsNeededIds { 441 get { 442 return this.PluginsNeededIdsField; 443 } 444 set { 445 if ((object.ReferenceEquals(this.PluginsNeededIdsField, value) != true)) { 446 this.PluginsNeededIdsField = value; 447 this.RaisePropertyChanged("PluginsNeededIds"); 448 } 449 } 450 } 451 452 [System.Runtime.Serialization.DataMemberAttribute()] 453 public int Priority { 454 get { 455 return this.PriorityField; 456 } 457 set { 458 if ((this.PriorityField.Equals(value) != true)) { 459 this.PriorityField = value; 460 this.RaisePropertyChanged("Priority"); 461 } 462 } 463 } 464 } 465 466 [System.Diagnostics.DebuggerStepThroughAttribute()] 467 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 468 [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 469 "nsfer")] 470 [System.SerializableAttribute()] 471 public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem { 472 473 [System.Runtime.Serialization.OptionalFieldAttribute()] 474 private byte[] DataField; 475 476 [System.Runtime.Serialization.OptionalFieldAttribute()] 477 private string FileNameField; 478 479 [System.Runtime.Serialization.OptionalFieldAttribute()] 480 private System.Guid PluginIdField; 481 482 [System.Runtime.Serialization.DataMemberAttribute()] 483 public byte[] Data { 484 get { 485 return this.DataField; 486 } 487 set { 488 if ((object.ReferenceEquals(this.DataField, value) != true)) { 489 this.DataField = value; 490 this.RaisePropertyChanged("Data"); 491 } 492 } 493 } 494 495 [System.Runtime.Serialization.DataMemberAttribute()] 496 public string FileName { 497 get { 498 return this.FileNameField; 499 } 500 set { 501 if ((object.ReferenceEquals(this.FileNameField, value) != true)) { 502 this.FileNameField = value; 503 this.RaisePropertyChanged("FileName"); 504 } 505 } 506 } 507 508 [System.Runtime.Serialization.DataMemberAttribute()] 509 public System.Guid PluginId { 510 get { 511 return this.PluginIdField; 512 } 513 set { 514 if ((this.PluginIdField.Equals(value) != true)) { 515 this.PluginIdField = value; 516 this.RaisePropertyChanged("PluginId"); 517 } 518 } 519 } 520 } 521 522 [System.Diagnostics.DebuggerStepThroughAttribute()] 523 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 524 [System.Runtime.Serialization.DataContractAttribute(Name = "NamedHiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 525 "nsfer")] 526 [System.SerializableAttribute()] 527 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))] 528 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 529 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 530 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 531 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 532 public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem { 533 534 [System.Runtime.Serialization.OptionalFieldAttribute()] 535 private string DescriptionField; 536 537 [System.Runtime.Serialization.OptionalFieldAttribute()] 538 private string NameField; 539 540 [System.Runtime.Serialization.DataMemberAttribute()] 541 public string Description { 542 get { 543 return this.DescriptionField; 544 } 545 set { 546 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 547 this.DescriptionField = value; 548 this.RaisePropertyChanged("Description"); 549 } 550 } 551 } 552 553 [System.Runtime.Serialization.DataMemberAttribute()] 554 public string Name { 555 get { 556 return this.NameField; 557 } 558 set { 559 if ((object.ReferenceEquals(this.NameField, value) != true)) { 560 this.NameField = value; 561 this.RaisePropertyChanged("Name"); 562 } 563 } 564 } 565 } 566 567 [System.Diagnostics.DebuggerStepThroughAttribute()] 568 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 569 [System.Runtime.Serialization.DataContractAttribute(Name = "HiveExperiment", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 570 "nsfer")] 571 [System.SerializableAttribute()] 572 public partial class HiveExperiment : HeuristicLab.Clients.Hive.NamedHiveItem { 573 574 [System.Runtime.Serialization.OptionalFieldAttribute()] 575 private System.DateTime DateCreatedField; 576 577 [System.Runtime.Serialization.OptionalFieldAttribute()] 578 private System.Nullable<System.DateTime> LastAccessedField; 579 580 [System.Runtime.Serialization.OptionalFieldAttribute()] 581 private System.Guid OwnerUserIdField; 582 583 [System.Runtime.Serialization.OptionalFieldAttribute()] 584 private string ResourceNamesField; 585 586 [System.Runtime.Serialization.OptionalFieldAttribute()] 587 private System.Guid RootJobIdField; 588 589 [System.Runtime.Serialization.DataMemberAttribute()] 590 public System.DateTime DateCreated { 591 get { 592 return this.DateCreatedField; 593 } 594 set { 595 if ((this.DateCreatedField.Equals(value) != true)) { 596 this.DateCreatedField = value; 597 this.RaisePropertyChanged("DateCreated"); 598 } 599 } 600 } 601 602 [System.Runtime.Serialization.DataMemberAttribute()] 603 public System.Nullable<System.DateTime> LastAccessed { 604 get { 605 return this.LastAccessedField; 606 } 607 set { 608 if ((this.LastAccessedField.Equals(value) != true)) { 609 this.LastAccessedField = value; 610 this.RaisePropertyChanged("LastAccessed"); 611 } 612 } 613 } 614 615 [System.Runtime.Serialization.DataMemberAttribute()] 616 public System.Guid OwnerUserId { 617 get { 618 return this.OwnerUserIdField; 619 } 620 set { 621 if ((this.OwnerUserIdField.Equals(value) != true)) { 622 this.OwnerUserIdField = value; 623 this.RaisePropertyChanged("OwnerUserId"); 624 } 625 } 626 } 627 628 [System.Runtime.Serialization.DataMemberAttribute()] 629 public string ResourceNames { 630 get { 631 return this.ResourceNamesField; 632 } 633 set { 634 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) { 635 this.ResourceNamesField = value; 636 this.RaisePropertyChanged("ResourceNames"); 637 } 638 } 639 } 640 641 [System.Runtime.Serialization.DataMemberAttribute()] 642 public System.Guid RootJobId { 643 get { 644 return this.RootJobIdField; 645 } 646 set { 647 if ((this.RootJobIdField.Equals(value) != true)) { 648 this.RootJobIdField = value; 649 this.RaisePropertyChanged("RootJobId"); 650 } 651 } 652 } 653 } 654 655 [System.Diagnostics.DebuggerStepThroughAttribute()] 656 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 657 [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 658 "nsfer")] 659 [System.SerializableAttribute()] 660 public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem { 661 662 [System.Runtime.Serialization.OptionalFieldAttribute()] 663 private System.DateTime DateCreatedField; 664 665 [System.Runtime.Serialization.OptionalFieldAttribute()] 666 private bool IsLocalField; 667 668 [System.Runtime.Serialization.OptionalFieldAttribute()] 669 private System.Guid UserIdField; 670 671 [System.Runtime.Serialization.OptionalFieldAttribute()] 672 private System.Version VersionField; 673 674 [System.Runtime.Serialization.DataMemberAttribute()] 675 public System.DateTime DateCreated { 676 get { 677 return this.DateCreatedField; 678 } 679 set { 680 if ((this.DateCreatedField.Equals(value) != true)) { 681 this.DateCreatedField = value; 682 this.RaisePropertyChanged("DateCreated"); 683 } 684 } 685 } 686 687 [System.Runtime.Serialization.DataMemberAttribute()] 688 public bool IsLocal { 689 get { 690 return this.IsLocalField; 691 } 692 set { 693 if ((this.IsLocalField.Equals(value) != true)) { 694 this.IsLocalField = value; 695 this.RaisePropertyChanged("IsLocal"); 696 } 697 } 698 } 699 700 [System.Runtime.Serialization.DataMemberAttribute()] 701 public System.Guid UserId { 702 get { 703 return this.UserIdField; 704 } 705 set { 706 if ((this.UserIdField.Equals(value) != true)) { 707 this.UserIdField = value; 708 this.RaisePropertyChanged("UserId"); 709 } 710 } 711 } 712 713 [System.Runtime.Serialization.DataMemberAttribute()] 714 public System.Version Version { 715 get { 716 return this.VersionField; 717 } 718 set { 719 if ((object.ReferenceEquals(this.VersionField, value) != true)) { 720 this.VersionField = value; 721 this.RaisePropertyChanged("Version"); 722 } 723 } 724 } 725 } 726 727 [System.Diagnostics.DebuggerStepThroughAttribute()] 728 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 729 [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 730 "nsfer")] 731 [System.SerializableAttribute()] 732 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 733 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 734 public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem { 735 736 [System.Runtime.Serialization.OptionalFieldAttribute()] 737 private System.Nullable<System.Guid> ParentResourceIdField; 738 739 [System.Runtime.Serialization.DataMemberAttribute()] 740 public System.Nullable<System.Guid> ParentResourceId { 741 get { 742 return this.ParentResourceIdField; 743 } 744 set { 745 if ((this.ParentResourceIdField.Equals(value) != true)) { 746 this.ParentResourceIdField = value; 747 this.RaisePropertyChanged("ParentResourceId"); 748 } 749 } 750 } 751 } 752 753 [System.Diagnostics.DebuggerStepThroughAttribute()] 754 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 755 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 756 "nsfer")] 757 [System.SerializableAttribute()] 758 public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource { 759 } 760 761 [System.Diagnostics.DebuggerStepThroughAttribute()] 762 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 763 [System.Runtime.Serialization.DataContractAttribute(Name = "Slave", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 764 "nsfer")] 765 [System.SerializableAttribute()] 766 public partial class Slave : HeuristicLab.Clients.Hive.Resource { 767 768 [System.Runtime.Serialization.OptionalFieldAttribute()] 769 private System.Nullable<int> CoresField; 770 771 [System.Runtime.Serialization.OptionalFieldAttribute()] 772 private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField; 773 774 [System.Runtime.Serialization.OptionalFieldAttribute()] 775 private System.Nullable<int> CpuSpeedField; 776 777 [System.Runtime.Serialization.OptionalFieldAttribute()] 778 private System.Nullable<int> FreeCoresField; 779 780 [System.Runtime.Serialization.OptionalFieldAttribute()] 781 private System.Nullable<int> FreeMemoryField; 782 783 [System.Runtime.Serialization.OptionalFieldAttribute()] 784 private bool IsAllowedToCalculateField; 785 786 [System.Runtime.Serialization.OptionalFieldAttribute()] 787 private System.Nullable<System.DateTime> LastHeartbeatField; 788 789 [System.Runtime.Serialization.OptionalFieldAttribute()] 790 private System.Nullable<int> MemoryField; 791 792 [System.Runtime.Serialization.OptionalFieldAttribute()] 793 private string OperatingSystemField; 794 795 [System.Runtime.Serialization.OptionalFieldAttribute()] 796 private HeuristicLab.Clients.Hive.SlaveState SlaveStateField; 797 798 [System.Runtime.Serialization.DataMemberAttribute()] 799 public System.Nullable<int> Cores { 800 get { 801 return this.CoresField; 802 } 803 set { 804 if ((this.CoresField.Equals(value) != true)) { 805 this.CoresField = value; 806 this.RaisePropertyChanged("Cores"); 807 } 808 } 809 } 810 811 [System.Runtime.Serialization.DataMemberAttribute()] 812 public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture { 813 get { 814 return this.CpuArchitectureField; 815 } 816 set { 817 if ((this.CpuArchitectureField.Equals(value) != true)) { 818 this.CpuArchitectureField = value; 819 this.RaisePropertyChanged("CpuArchitecture"); 820 } 821 } 822 } 823 824 [System.Runtime.Serialization.DataMemberAttribute()] 825 public System.Nullable<int> CpuSpeed { 826 get { 827 return this.CpuSpeedField; 828 } 829 set { 830 if ((this.CpuSpeedField.Equals(value) != true)) { 831 this.CpuSpeedField = value; 832 this.RaisePropertyChanged("CpuSpeed"); 833 } 834 } 835 } 836 837 [System.Runtime.Serialization.DataMemberAttribute()] 838 public System.Nullable<int> FreeCores { 839 get { 840 return this.FreeCoresField; 841 } 842 set { 843 if ((this.FreeCoresField.Equals(value) != true)) { 844 this.FreeCoresField = value; 845 this.RaisePropertyChanged("FreeCores"); 846 } 847 } 848 } 849 850 [System.Runtime.Serialization.DataMemberAttribute()] 851 public System.Nullable<int> FreeMemory { 852 get { 853 return this.FreeMemoryField; 854 } 855 set { 856 if ((this.FreeMemoryField.Equals(value) != true)) { 857 this.FreeMemoryField = value; 858 this.RaisePropertyChanged("FreeMemory"); 859 } 860 } 861 } 862 863 [System.Runtime.Serialization.DataMemberAttribute()] 864 public bool IsAllowedToCalculate { 865 get { 866 return this.IsAllowedToCalculateField; 867 } 868 set { 869 if ((this.IsAllowedToCalculateField.Equals(value) != true)) { 870 this.IsAllowedToCalculateField = value; 871 this.RaisePropertyChanged("IsAllowedToCalculate"); 872 } 873 } 874 } 875 876 [System.Runtime.Serialization.DataMemberAttribute()] 877 public System.Nullable<System.DateTime> LastHeartbeat { 878 get { 879 return this.LastHeartbeatField; 880 } 881 set { 882 if ((this.LastHeartbeatField.Equals(value) != true)) { 883 this.LastHeartbeatField = value; 884 this.RaisePropertyChanged("LastHeartbeat"); 885 } 886 } 887 } 888 889 [System.Runtime.Serialization.DataMemberAttribute()] 890 public System.Nullable<int> Memory { 891 get { 892 return this.MemoryField; 893 } 894 set { 895 if ((this.MemoryField.Equals(value) != true)) { 896 this.MemoryField = value; 897 this.RaisePropertyChanged("Memory"); 898 } 899 } 900 } 901 902 [System.Runtime.Serialization.DataMemberAttribute()] 903 public string OperatingSystem { 904 get { 905 return this.OperatingSystemField; 906 } 907 set { 908 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) { 909 this.OperatingSystemField = value; 910 this.RaisePropertyChanged("OperatingSystem"); 911 } 912 } 913 } 914 915 [System.Runtime.Serialization.DataMemberAttribute()] 916 public HeuristicLab.Clients.Hive.SlaveState SlaveState { 917 get { 918 return this.SlaveStateField; 919 } 920 set { 921 if ((this.SlaveStateField.Equals(value) != true)) { 922 this.SlaveStateField = value; 923 this.RaisePropertyChanged("SlaveState"); 924 } 925 } 926 } 927 } 928 929 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 930 [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 931 "nsfer")] 932 public enum CpuArchitecture : int { 933 934 [System.Runtime.Serialization.EnumMemberAttribute()] 935 x86 = 0, 936 937 [System.Runtime.Serialization.EnumMemberAttribute()] 938 x64 = 1, 939 } 940 941 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 942 [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 943 "nsfer")] 944 public enum SlaveState : int { 945 946 [System.Runtime.Serialization.EnumMemberAttribute()] 947 Idle = 0, 948 949 [System.Runtime.Serialization.EnumMemberAttribute()] 950 Calculating = 1, 951 952 [System.Runtime.Serialization.EnumMemberAttribute()] 953 Offline = 2, 954 } 955 956 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 957 [System.Runtime.Serialization.DataContractAttribute(Name = "JobState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 958 "nsfer")] 959 public enum JobState : int { 960 961 [System.Runtime.Serialization.EnumMemberAttribute()] 962 Offline = 0, 963 964 [System.Runtime.Serialization.EnumMemberAttribute()] 965 Waiting = 1, 966 967 [System.Runtime.Serialization.EnumMemberAttribute()] 968 Transferring = 2, 969 970 [System.Runtime.Serialization.EnumMemberAttribute()] 971 Calculating = 3, 972 973 [System.Runtime.Serialization.EnumMemberAttribute()] 974 Paused = 4, 975 976 [System.Runtime.Serialization.EnumMemberAttribute()] 977 Finished = 5, 978 979 [System.Runtime.Serialization.EnumMemberAttribute()] 980 Aborted = 6, 981 982 [System.Runtime.Serialization.EnumMemberAttribute()] 983 Failed = 7, 984 } 985 986 [System.Diagnostics.DebuggerStepThroughAttribute()] 987 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 988 [System.Runtime.Serialization.DataContractAttribute(Name = "JobData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 989 "nsfer")] 990 [System.SerializableAttribute()] 991 public partial class JobData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 992 993 [System.NonSerializedAttribute()] 994 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 995 996 [System.Runtime.Serialization.OptionalFieldAttribute()] 997 private byte[] DataField; 998 999 [System.Runtime.Serialization.OptionalFieldAttribute()] 1000 private System.Guid JobIdField; 1001 1002 [System.Runtime.Serialization.OptionalFieldAttribute()] 1003 private System.DateTime LastUpdateField; 1004 1005 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 1006 get { 1007 return this.extensionDataField; 1008 } 1009 set { 1010 this.extensionDataField = value; 1011 } 1012 } 1013 1014 [System.Runtime.Serialization.DataMemberAttribute()] 1015 public byte[] Data { 1016 get { 1017 return this.DataField; 1018 } 1019 set { 1020 if ((object.ReferenceEquals(this.DataField, value) != true)) { 1021 this.DataField = value; 1022 this.RaisePropertyChanged("Data"); 1023 } 1024 } 1025 } 1026 1027 [System.Runtime.Serialization.DataMemberAttribute()] 1028 public System.Guid JobId { 1029 get { 1030 return this.JobIdField; 1031 } 1032 set { 1033 if ((this.JobIdField.Equals(value) != true)) { 1034 this.JobIdField = value; 1035 this.RaisePropertyChanged("JobId"); 1036 } 1037 } 1038 } 1039 1040 [System.Runtime.Serialization.DataMemberAttribute()] 1041 public System.DateTime LastUpdate { 1042 get { 1043 return this.LastUpdateField; 1044 } 1045 set { 1046 if ((this.LastUpdateField.Equals(value) != true)) { 1047 this.LastUpdateField = value; 1048 this.RaisePropertyChanged("LastUpdate"); 1049 } 1050 } 1051 } 1052 1053 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1054 1055 protected void RaisePropertyChanged(string propertyName) { 1056 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1057 if ((propertyChanged != null)) { 1058 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1059 } 1060 } 1061 } 1062 1063 [System.Diagnostics.DebuggerStepThroughAttribute()] 1064 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1065 [System.Runtime.Serialization.DataContractAttribute(Name = "Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1066 "nsfer")] 1067 [System.SerializableAttribute()] 1068 public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 1069 1070 [System.NonSerializedAttribute()] 1071 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1072 1073 [System.Runtime.Serialization.OptionalFieldAttribute()] 1074 private bool AssignJobField; 1075 1076 [System.Runtime.Serialization.OptionalFieldAttribute()] 1077 private int FreeCoresField; 1078 1079 [System.Runtime.Serialization.OptionalFieldAttribute()] 1080 private int FreeMemoryField; 1081 1082 [System.Runtime.Serialization.OptionalFieldAttribute()] 1083 private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField; 1084 1085 [System.Runtime.Serialization.OptionalFieldAttribute()] 1086 private System.Guid SlaveIdField; 1087 1088 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 1089 get { 1090 return this.extensionDataField; 1091 } 1092 set { 1093 this.extensionDataField = value; 1094 } 1095 } 1096 1097 [System.Runtime.Serialization.DataMemberAttribute()] 1098 public bool AssignJob { 1099 get { 1100 return this.AssignJobField; 1101 } 1102 set { 1103 if ((this.AssignJobField.Equals(value) != true)) { 1104 this.AssignJobField = value; 1105 this.RaisePropertyChanged("AssignJob"); 1106 } 1107 } 1108 } 1109 1110 [System.Runtime.Serialization.DataMemberAttribute()] 1111 public int FreeCores { 1112 get { 1113 return this.FreeCoresField; 1114 } 1115 set { 1116 if ((this.FreeCoresField.Equals(value) != true)) { 1117 this.FreeCoresField = value; 1118 this.RaisePropertyChanged("FreeCores"); 1119 } 1120 } 1121 } 1122 1123 [System.Runtime.Serialization.DataMemberAttribute()] 1124 public int FreeMemory { 1125 get { 1126 return this.FreeMemoryField; 1127 } 1128 set { 1129 if ((this.FreeMemoryField.Equals(value) != true)) { 1130 this.FreeMemoryField = value; 1131 this.RaisePropertyChanged("FreeMemory"); 1132 } 1133 } 1134 } 1135 1136 [System.Runtime.Serialization.DataMemberAttribute()] 1137 public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress { 1138 get { 1139 return this.JobProgressField; 1140 } 1141 set { 1142 if ((object.ReferenceEquals(this.JobProgressField, value) != true)) { 1143 this.JobProgressField = value; 1144 this.RaisePropertyChanged("JobProgress"); 1145 } 1146 } 1147 } 1148 1149 [System.Runtime.Serialization.DataMemberAttribute()] 1150 public System.Guid SlaveId { 1151 get { 1152 return this.SlaveIdField; 1153 } 1154 set { 1155 if ((this.SlaveIdField.Equals(value) != true)) { 1156 this.SlaveIdField = value; 1157 this.RaisePropertyChanged("SlaveId"); 1158 } 1159 } 1160 } 1161 1162 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1163 1164 protected void RaisePropertyChanged(string propertyName) { 1165 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1166 if ((propertyChanged != null)) { 1167 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1168 } 1169 } 1170 } 1171 1172 [System.Diagnostics.DebuggerStepThroughAttribute()] 1173 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1174 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1175 [System.SerializableAttribute()] 1176 public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 1177 1178 [System.NonSerializedAttribute()] 1179 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1180 1181 [System.Runtime.Serialization.OptionalFieldAttribute()] 1182 private System.Guid JobIdField; 1183 1184 [System.Runtime.Serialization.OptionalFieldAttribute()] 1185 private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField; 1186 1187 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 1188 get { 1189 return this.extensionDataField; 1190 } 1191 set { 1192 this.extensionDataField = value; 1193 } 1194 } 1195 1196 [System.Runtime.Serialization.DataMemberAttribute()] 1197 public System.Guid JobId { 1198 get { 1199 return this.JobIdField; 1200 } 1201 set { 1202 if ((this.JobIdField.Equals(value) != true)) { 1203 this.JobIdField = value; 1204 this.RaisePropertyChanged("JobId"); 1205 } 1206 } 1207 } 1208 1209 [System.Runtime.Serialization.DataMemberAttribute()] 1210 public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message { 1211 get { 1212 return this.MessageField; 1213 } 1214 set { 1215 if ((this.MessageField.Equals(value) != true)) { 1216 this.MessageField = value; 1217 this.RaisePropertyChanged("Message"); 1218 } 1219 } 1220 } 1221 1222 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1223 1224 protected void RaisePropertyChanged(string propertyName) { 1225 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1226 if ((propertyChanged != null)) { 1227 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1228 } 1229 } 1230 18 1231 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 19 [System.Runtime.Serialization.DataContractAttribute(Name="HiveItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 20 "nsfer")] 21 [System.SerializableAttribute()] 22 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightJob))] 23 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))] 24 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 25 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))] 26 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))] 27 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 28 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 29 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 30 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 31 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))] 32 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Appointment))] 33 public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 34 { 35 36 [System.NonSerializedAttribute()] 37 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 38 39 [System.Runtime.Serialization.OptionalFieldAttribute()] 40 private System.Guid IdField; 41 42 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 43 { 44 get 45 { 46 return this.extensionDataField; 47 } 48 set 49 { 50 this.extensionDataField = value; 51 } 52 } 53 54 [System.Runtime.Serialization.DataMemberAttribute()] 55 public System.Guid Id 56 { 57 get 58 { 59 return this.IdField; 60 } 61 set 62 { 63 if ((this.IdField.Equals(value) != true)) 64 { 65 this.IdField = value; 66 this.RaisePropertyChanged("Id"); 67 } 68 } 69 } 70 71 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 72 73 protected void RaisePropertyChanged(string propertyName) 74 { 75 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 76 if ((propertyChanged != null)) 77 { 78 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 79 } 80 } 81 } 82 83 [System.Diagnostics.DebuggerStepThroughAttribute()] 84 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 85 [System.Runtime.Serialization.DataContractAttribute(Name="LightweightJob", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 86 "nsfer")] 87 [System.SerializableAttribute()] 88 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))] 89 public partial class LightweightJob : HeuristicLab.Clients.Hive.HiveItem 90 { 91 92 [System.Runtime.Serialization.OptionalFieldAttribute()] 93 private System.Nullable<System.TimeSpan> ExecutionTimeField; 94 95 [System.Runtime.Serialization.OptionalFieldAttribute()] 96 private System.Nullable<System.Guid> ParentJobIdField; 97 98 [System.Runtime.Serialization.OptionalFieldAttribute()] 99 private HeuristicLab.Clients.Hive.JobState StateField; 100 101 [System.Runtime.Serialization.OptionalFieldAttribute()] 102 private System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLogField; 103 104 [System.Runtime.Serialization.DataMemberAttribute()] 105 public System.Nullable<System.TimeSpan> ExecutionTime 106 { 107 get 108 { 109 return this.ExecutionTimeField; 110 } 111 set 112 { 113 if ((this.ExecutionTimeField.Equals(value) != true)) 114 { 115 this.ExecutionTimeField = value; 116 this.RaisePropertyChanged("ExecutionTime"); 117 } 118 } 119 } 120 121 [System.Runtime.Serialization.DataMemberAttribute()] 122 public System.Nullable<System.Guid> ParentJobId 123 { 124 get 125 { 126 return this.ParentJobIdField; 127 } 128 set 129 { 130 if ((this.ParentJobIdField.Equals(value) != true)) 131 { 132 this.ParentJobIdField = value; 133 this.RaisePropertyChanged("ParentJobId"); 134 } 135 } 136 } 137 138 [System.Runtime.Serialization.DataMemberAttribute()] 139 public HeuristicLab.Clients.Hive.JobState State 140 { 141 get 142 { 143 return this.StateField; 144 } 145 set 146 { 147 if ((this.StateField.Equals(value) != true)) 148 { 149 this.StateField = value; 150 this.RaisePropertyChanged("State"); 151 } 152 } 153 } 154 155 [System.Runtime.Serialization.DataMemberAttribute()] 156 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLog 157 { 158 get 159 { 160 return this.StateLogField; 161 } 162 set 163 { 164 if ((object.ReferenceEquals(this.StateLogField, value) != true)) 165 { 166 this.StateLogField = value; 167 this.RaisePropertyChanged("StateLog"); 168 } 169 } 170 } 171 } 172 173 [System.Diagnostics.DebuggerStepThroughAttribute()] 174 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 175 [System.Runtime.Serialization.DataContractAttribute(Name="StateLog", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 176 "nsfer")] 177 [System.SerializableAttribute()] 178 public partial class StateLog : HeuristicLab.Clients.Hive.HiveItem 179 { 180 181 [System.Runtime.Serialization.OptionalFieldAttribute()] 182 private System.DateTime DateTimeField; 183 184 [System.Runtime.Serialization.OptionalFieldAttribute()] 185 private string ExceptionField; 186 187 [System.Runtime.Serialization.OptionalFieldAttribute()] 188 private System.Guid JobIdField; 189 190 [System.Runtime.Serialization.OptionalFieldAttribute()] 191 private System.Nullable<System.Guid> SlaveIdField; 192 193 [System.Runtime.Serialization.OptionalFieldAttribute()] 194 private HeuristicLab.Clients.Hive.JobState StateField; 195 196 [System.Runtime.Serialization.OptionalFieldAttribute()] 197 private System.Nullable<System.Guid> UserIdField; 198 199 [System.Runtime.Serialization.DataMemberAttribute()] 200 public System.DateTime DateTime 201 { 202 get 203 { 204 return this.DateTimeField; 205 } 206 set 207 { 208 if ((this.DateTimeField.Equals(value) != true)) 209 { 210 this.DateTimeField = value; 211 this.RaisePropertyChanged("DateTime"); 212 } 213 } 214 } 215 216 [System.Runtime.Serialization.DataMemberAttribute()] 217 public string Exception 218 { 219 get 220 { 221 return this.ExceptionField; 222 } 223 set 224 { 225 if ((object.ReferenceEquals(this.ExceptionField, value) != true)) 226 { 227 this.ExceptionField = value; 228 this.RaisePropertyChanged("Exception"); 229 } 230 } 231 } 232 233 [System.Runtime.Serialization.DataMemberAttribute()] 234 public System.Guid JobId 235 { 236 get 237 { 238 return this.JobIdField; 239 } 240 set 241 { 242 if ((this.JobIdField.Equals(value) != true)) 243 { 244 this.JobIdField = value; 245 this.RaisePropertyChanged("JobId"); 246 } 247 } 248 } 249 250 [System.Runtime.Serialization.DataMemberAttribute()] 251 public System.Nullable<System.Guid> SlaveId 252 { 253 get 254 { 255 return this.SlaveIdField; 256 } 257 set 258 { 259 if ((this.SlaveIdField.Equals(value) != true)) 260 { 261 this.SlaveIdField = value; 262 this.RaisePropertyChanged("SlaveId"); 263 } 264 } 265 } 266 267 [System.Runtime.Serialization.DataMemberAttribute()] 268 public HeuristicLab.Clients.Hive.JobState State 269 { 270 get 271 { 272 return this.StateField; 273 } 274 set 275 { 276 if ((this.StateField.Equals(value) != true)) 277 { 278 this.StateField = value; 279 this.RaisePropertyChanged("State"); 280 } 281 } 282 } 283 284 [System.Runtime.Serialization.DataMemberAttribute()] 285 public System.Nullable<System.Guid> UserId 286 { 287 get 288 { 289 return this.UserIdField; 290 } 291 set 292 { 293 if ((this.UserIdField.Equals(value) != true)) 294 { 295 this.UserIdField = value; 296 this.RaisePropertyChanged("UserId"); 297 } 298 } 299 } 300 } 301 302 [System.Diagnostics.DebuggerStepThroughAttribute()] 303 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 304 [System.Runtime.Serialization.DataContractAttribute(Name="Job", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 305 "nsfer")] 306 [System.SerializableAttribute()] 307 public partial class Job : HeuristicLab.Clients.Hive.LightweightJob 308 { 309 310 [System.Runtime.Serialization.OptionalFieldAttribute()] 311 private int CoresNeededField; 312 313 [System.Runtime.Serialization.OptionalFieldAttribute()] 314 private bool FinishWhenChildJobsFinishedField; 315 316 [System.Runtime.Serialization.OptionalFieldAttribute()] 317 private bool IsParentJobField; 318 319 [System.Runtime.Serialization.OptionalFieldAttribute()] 320 private System.Nullable<System.DateTime> LastHeartbeatField; 321 322 [System.Runtime.Serialization.OptionalFieldAttribute()] 323 private int MemoryNeededField; 324 325 [System.Runtime.Serialization.OptionalFieldAttribute()] 326 private System.Collections.Generic.List<System.Guid> PluginsNeededIdsField; 327 328 [System.Runtime.Serialization.OptionalFieldAttribute()] 329 private int PriorityField; 330 331 [System.Runtime.Serialization.DataMemberAttribute()] 332 public int CoresNeeded 333 { 334 get 335 { 336 return this.CoresNeededField; 337 } 338 set 339 { 340 if ((this.CoresNeededField.Equals(value) != true)) 341 { 342 this.CoresNeededField = value; 343 this.RaisePropertyChanged("CoresNeeded"); 344 } 345 } 346 } 347 348 [System.Runtime.Serialization.DataMemberAttribute()] 349 public bool FinishWhenChildJobsFinished 350 { 351 get 352 { 353 return this.FinishWhenChildJobsFinishedField; 354 } 355 set 356 { 357 if ((this.FinishWhenChildJobsFinishedField.Equals(value) != true)) 358 { 359 this.FinishWhenChildJobsFinishedField = value; 360 this.RaisePropertyChanged("FinishWhenChildJobsFinished"); 361 } 362 } 363 } 364 365 [System.Runtime.Serialization.DataMemberAttribute()] 366 public bool IsParentJob 367 { 368 get 369 { 370 return this.IsParentJobField; 371 } 372 set 373 { 374 if ((this.IsParentJobField.Equals(value) != true)) 375 { 376 this.IsParentJobField = value; 377 this.RaisePropertyChanged("IsParentJob"); 378 } 379 } 380 } 381 382 [System.Runtime.Serialization.DataMemberAttribute()] 383 public System.Nullable<System.DateTime> LastHeartbeat 384 { 385 get 386 { 387 return this.LastHeartbeatField; 388 } 389 set 390 { 391 if ((this.LastHeartbeatField.Equals(value) != true)) 392 { 393 this.LastHeartbeatField = value; 394 this.RaisePropertyChanged("LastHeartbeat"); 395 } 396 } 397 } 398 399 [System.Runtime.Serialization.DataMemberAttribute()] 400 public int MemoryNeeded 401 { 402 get 403 { 404 return this.MemoryNeededField; 405 } 406 set 407 { 408 if ((this.MemoryNeededField.Equals(value) != true)) 409 { 410 this.MemoryNeededField = value; 411 this.RaisePropertyChanged("MemoryNeeded"); 412 } 413 } 414 } 415 416 [System.Runtime.Serialization.DataMemberAttribute()] 417 public System.Collections.Generic.List<System.Guid> PluginsNeededIds 418 { 419 get 420 { 421 return this.PluginsNeededIdsField; 422 } 423 set 424 { 425 if ((object.ReferenceEquals(this.PluginsNeededIdsField, value) != true)) 426 { 427 this.PluginsNeededIdsField = value; 428 this.RaisePropertyChanged("PluginsNeededIds"); 429 } 430 } 431 } 432 433 [System.Runtime.Serialization.DataMemberAttribute()] 434 public int Priority 435 { 436 get 437 { 438 return this.PriorityField; 439 } 440 set 441 { 442 if ((this.PriorityField.Equals(value) != true)) 443 { 444 this.PriorityField = value; 445 this.RaisePropertyChanged("Priority"); 446 } 447 } 448 } 449 } 450 451 [System.Diagnostics.DebuggerStepThroughAttribute()] 452 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 453 [System.Runtime.Serialization.DataContractAttribute(Name="NamedHiveItem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 454 "nsfer")] 455 [System.SerializableAttribute()] 456 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.HiveExperiment))] 457 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))] 458 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 459 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 460 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))] 461 public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem 462 { 463 464 [System.Runtime.Serialization.OptionalFieldAttribute()] 465 private string DescriptionField; 466 467 [System.Runtime.Serialization.OptionalFieldAttribute()] 468 private string NameField; 469 470 [System.Runtime.Serialization.DataMemberAttribute()] 471 public string Description 472 { 473 get 474 { 475 return this.DescriptionField; 476 } 477 set 478 { 479 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 480 { 481 this.DescriptionField = value; 482 this.RaisePropertyChanged("Description"); 483 } 484 } 485 } 486 487 [System.Runtime.Serialization.DataMemberAttribute()] 488 public string Name 489 { 490 get 491 { 492 return this.NameField; 493 } 494 set 495 { 496 if ((object.ReferenceEquals(this.NameField, value) != true)) 497 { 498 this.NameField = value; 499 this.RaisePropertyChanged("Name"); 500 } 501 } 502 } 503 } 504 505 [System.Diagnostics.DebuggerStepThroughAttribute()] 506 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 507 [System.Runtime.Serialization.DataContractAttribute(Name="HiveExperiment", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 508 "nsfer")] 509 [System.SerializableAttribute()] 510 public partial class HiveExperiment : HeuristicLab.Clients.Hive.NamedHiveItem 511 { 512 513 [System.Runtime.Serialization.OptionalFieldAttribute()] 514 private System.DateTime DateCreatedField; 515 516 [System.Runtime.Serialization.OptionalFieldAttribute()] 517 private System.Nullable<System.DateTime> LastAccessedField; 518 519 [System.Runtime.Serialization.OptionalFieldAttribute()] 520 private System.Guid OwnerUserIdField; 521 522 [System.Runtime.Serialization.OptionalFieldAttribute()] 523 private string ResourceNamesField; 524 525 [System.Runtime.Serialization.OptionalFieldAttribute()] 526 private System.Guid RootJobIdField; 527 528 [System.Runtime.Serialization.DataMemberAttribute()] 529 public System.DateTime DateCreated 530 { 531 get 532 { 533 return this.DateCreatedField; 534 } 535 set 536 { 537 if ((this.DateCreatedField.Equals(value) != true)) 538 { 539 this.DateCreatedField = value; 540 this.RaisePropertyChanged("DateCreated"); 541 } 542 } 543 } 544 545 [System.Runtime.Serialization.DataMemberAttribute()] 546 public System.Nullable<System.DateTime> LastAccessed 547 { 548 get 549 { 550 return this.LastAccessedField; 551 } 552 set 553 { 554 if ((this.LastAccessedField.Equals(value) != true)) 555 { 556 this.LastAccessedField = value; 557 this.RaisePropertyChanged("LastAccessed"); 558 } 559 } 560 } 561 562 [System.Runtime.Serialization.DataMemberAttribute()] 563 public System.Guid OwnerUserId 564 { 565 get 566 { 567 return this.OwnerUserIdField; 568 } 569 set 570 { 571 if ((this.OwnerUserIdField.Equals(value) != true)) 572 { 573 this.OwnerUserIdField = value; 574 this.RaisePropertyChanged("OwnerUserId"); 575 } 576 } 577 } 578 579 [System.Runtime.Serialization.DataMemberAttribute()] 580 public string ResourceNames 581 { 582 get 583 { 584 return this.ResourceNamesField; 585 } 586 set 587 { 588 if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) 589 { 590 this.ResourceNamesField = value; 591 this.RaisePropertyChanged("ResourceNames"); 592 } 593 } 594 } 595 596 [System.Runtime.Serialization.DataMemberAttribute()] 597 public System.Guid RootJobId 598 { 599 get 600 { 601 return this.RootJobIdField; 602 } 603 set 604 { 605 if ((this.RootJobIdField.Equals(value) != true)) 606 { 607 this.RootJobIdField = value; 608 this.RaisePropertyChanged("RootJobId"); 609 } 610 } 611 } 612 } 613 614 [System.Diagnostics.DebuggerStepThroughAttribute()] 615 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 616 [System.Runtime.Serialization.DataContractAttribute(Name="Resource", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 617 "nsfer")] 618 [System.SerializableAttribute()] 619 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))] 620 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))] 621 public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem 622 { 623 624 [System.Runtime.Serialization.OptionalFieldAttribute()] 625 private System.Nullable<System.Guid> ParentResourceIdField; 626 627 [System.Runtime.Serialization.DataMemberAttribute()] 628 public System.Nullable<System.Guid> ParentResourceId 629 { 630 get 631 { 632 return this.ParentResourceIdField; 633 } 634 set 635 { 636 if ((this.ParentResourceIdField.Equals(value) != true)) 637 { 638 this.ParentResourceIdField = value; 639 this.RaisePropertyChanged("ParentResourceId"); 640 } 641 } 642 } 643 } 644 645 [System.Diagnostics.DebuggerStepThroughAttribute()] 646 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 647 [System.Runtime.Serialization.DataContractAttribute(Name="Slave", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 648 "nsfer")] 649 [System.SerializableAttribute()] 650 public partial class Slave : HeuristicLab.Clients.Hive.Resource 651 { 652 653 [System.Runtime.Serialization.OptionalFieldAttribute()] 654 private System.Nullable<int> CoresField; 655 656 [System.Runtime.Serialization.OptionalFieldAttribute()] 657 private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField; 658 659 [System.Runtime.Serialization.OptionalFieldAttribute()] 660 private System.Nullable<int> CpuSpeedField; 661 662 [System.Runtime.Serialization.OptionalFieldAttribute()] 663 private System.Nullable<int> FreeCoresField; 664 665 [System.Runtime.Serialization.OptionalFieldAttribute()] 666 private System.Nullable<int> FreeMemoryField; 667 668 [System.Runtime.Serialization.OptionalFieldAttribute()] 669 private bool IsAllowedToCalculateField; 670 671 [System.Runtime.Serialization.OptionalFieldAttribute()] 672 private System.Nullable<System.DateTime> LastHeartbeatField; 673 674 [System.Runtime.Serialization.OptionalFieldAttribute()] 675 private System.Nullable<int> MemoryField; 676 677 [System.Runtime.Serialization.OptionalFieldAttribute()] 678 private string OperatingSystemField; 679 680 [System.Runtime.Serialization.OptionalFieldAttribute()] 681 private HeuristicLab.Clients.Hive.SlaveState SlaveStateField; 682 683 [System.Runtime.Serialization.DataMemberAttribute()] 684 public System.Nullable<int> Cores 685 { 686 get 687 { 688 return this.CoresField; 689 } 690 set 691 { 692 if ((this.CoresField.Equals(value) != true)) 693 { 694 this.CoresField = value; 695 this.RaisePropertyChanged("Cores"); 696 } 697 } 698 } 699 700 [System.Runtime.Serialization.DataMemberAttribute()] 701 public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture 702 { 703 get 704 { 705 return this.CpuArchitectureField; 706 } 707 set 708 { 709 if ((this.CpuArchitectureField.Equals(value) != true)) 710 { 711 this.CpuArchitectureField = value; 712 this.RaisePropertyChanged("CpuArchitecture"); 713 } 714 } 715 } 716 717 [System.Runtime.Serialization.DataMemberAttribute()] 718 public System.Nullable<int> CpuSpeed 719 { 720 get 721 { 722 return this.CpuSpeedField; 723 } 724 set 725 { 726 if ((this.CpuSpeedField.Equals(value) != true)) 727 { 728 this.CpuSpeedField = value; 729 this.RaisePropertyChanged("CpuSpeed"); 730 } 731 } 732 } 733 734 [System.Runtime.Serialization.DataMemberAttribute()] 735 public System.Nullable<int> FreeCores 736 { 737 get 738 { 739 return this.FreeCoresField; 740 } 741 set 742 { 743 if ((this.FreeCoresField.Equals(value) != true)) 744 { 745 this.FreeCoresField = value; 746 this.RaisePropertyChanged("FreeCores"); 747 } 748 } 749 } 750 751 [System.Runtime.Serialization.DataMemberAttribute()] 752 public System.Nullable<int> FreeMemory 753 { 754 get 755 { 756 return this.FreeMemoryField; 757 } 758 set 759 { 760 if ((this.FreeMemoryField.Equals(value) != true)) 761 { 762 this.FreeMemoryField = value; 763 this.RaisePropertyChanged("FreeMemory"); 764 } 765 } 766 } 767 768 [System.Runtime.Serialization.DataMemberAttribute()] 769 public bool IsAllowedToCalculate 770 { 771 get 772 { 773 return this.IsAllowedToCalculateField; 774 } 775 set 776 { 777 if ((this.IsAllowedToCalculateField.Equals(value) != true)) 778 { 779 this.IsAllowedToCalculateField = value; 780 this.RaisePropertyChanged("IsAllowedToCalculate"); 781 } 782 } 783 } 784 785 [System.Runtime.Serialization.DataMemberAttribute()] 786 public System.Nullable<System.DateTime> LastHeartbeat 787 { 788 get 789 { 790 return this.LastHeartbeatField; 791 } 792 set 793 { 794 if ((this.LastHeartbeatField.Equals(value) != true)) 795 { 796 this.LastHeartbeatField = value; 797 this.RaisePropertyChanged("LastHeartbeat"); 798 } 799 } 800 } 801 802 [System.Runtime.Serialization.DataMemberAttribute()] 803 public System.Nullable<int> Memory 804 { 805 get 806 { 807 return this.MemoryField; 808 } 809 set 810 { 811 if ((this.MemoryField.Equals(value) != true)) 812 { 813 this.MemoryField = value; 814 this.RaisePropertyChanged("Memory"); 815 } 816 } 817 } 818 819 [System.Runtime.Serialization.DataMemberAttribute()] 820 public string OperatingSystem 821 { 822 get 823 { 824 return this.OperatingSystemField; 825 } 826 set 827 { 828 if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) 829 { 830 this.OperatingSystemField = value; 831 this.RaisePropertyChanged("OperatingSystem"); 832 } 833 } 834 } 835 836 [System.Runtime.Serialization.DataMemberAttribute()] 837 public HeuristicLab.Clients.Hive.SlaveState SlaveState 838 { 839 get 840 { 841 return this.SlaveStateField; 842 } 843 set 844 { 845 if ((this.SlaveStateField.Equals(value) != true)) 846 { 847 this.SlaveStateField = value; 848 this.RaisePropertyChanged("SlaveState"); 849 } 850 } 851 } 852 } 853 854 [System.Diagnostics.DebuggerStepThroughAttribute()] 855 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 856 [System.Runtime.Serialization.DataContractAttribute(Name="SlaveGroup", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 857 "nsfer")] 858 [System.SerializableAttribute()] 859 public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource 860 { 861 } 862 863 [System.Diagnostics.DebuggerStepThroughAttribute()] 864 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 865 [System.Runtime.Serialization.DataContractAttribute(Name="Plugin", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 866 "nsfer")] 867 [System.SerializableAttribute()] 868 public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem 869 { 870 871 [System.Runtime.Serialization.OptionalFieldAttribute()] 872 private System.DateTime DateCreatedField; 873 874 [System.Runtime.Serialization.OptionalFieldAttribute()] 875 private bool IsLocalField; 876 877 [System.Runtime.Serialization.OptionalFieldAttribute()] 878 private System.Guid UserIdField; 879 880 [System.Runtime.Serialization.OptionalFieldAttribute()] 881 private System.Version VersionField; 882 883 [System.Runtime.Serialization.DataMemberAttribute()] 884 public System.DateTime DateCreated 885 { 886 get 887 { 888 return this.DateCreatedField; 889 } 890 set 891 { 892 if ((this.DateCreatedField.Equals(value) != true)) 893 { 894 this.DateCreatedField = value; 895 this.RaisePropertyChanged("DateCreated"); 896 } 897 } 898 } 899 900 [System.Runtime.Serialization.DataMemberAttribute()] 901 public bool IsLocal 902 { 903 get 904 { 905 return this.IsLocalField; 906 } 907 set 908 { 909 if ((this.IsLocalField.Equals(value) != true)) 910 { 911 this.IsLocalField = value; 912 this.RaisePropertyChanged("IsLocal"); 913 } 914 } 915 } 916 917 [System.Runtime.Serialization.DataMemberAttribute()] 918 public System.Guid UserId 919 { 920 get 921 { 922 return this.UserIdField; 923 } 924 set 925 { 926 if ((this.UserIdField.Equals(value) != true)) 927 { 928 this.UserIdField = value; 929 this.RaisePropertyChanged("UserId"); 930 } 931 } 932 } 933 934 [System.Runtime.Serialization.DataMemberAttribute()] 935 public System.Version Version 936 { 937 get 938 { 939 return this.VersionField; 940 } 941 set 942 { 943 if ((object.ReferenceEquals(this.VersionField, value) != true)) 944 { 945 this.VersionField = value; 946 this.RaisePropertyChanged("Version"); 947 } 948 } 949 } 950 } 951 952 [System.Diagnostics.DebuggerStepThroughAttribute()] 953 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 954 [System.Runtime.Serialization.DataContractAttribute(Name="PluginData", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 955 "nsfer")] 956 [System.SerializableAttribute()] 957 public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem 958 { 959 960 [System.Runtime.Serialization.OptionalFieldAttribute()] 961 private byte[] DataField; 962 963 [System.Runtime.Serialization.OptionalFieldAttribute()] 964 private string FileNameField; 965 966 [System.Runtime.Serialization.OptionalFieldAttribute()] 967 private System.Guid PluginIdField; 968 969 [System.Runtime.Serialization.DataMemberAttribute()] 970 public byte[] Data 971 { 972 get 973 { 974 return this.DataField; 975 } 976 set 977 { 978 if ((object.ReferenceEquals(this.DataField, value) != true)) 979 { 980 this.DataField = value; 981 this.RaisePropertyChanged("Data"); 982 } 983 } 984 } 985 986 [System.Runtime.Serialization.DataMemberAttribute()] 987 public string FileName 988 { 989 get 990 { 991 return this.FileNameField; 992 } 993 set 994 { 995 if ((object.ReferenceEquals(this.FileNameField, value) != true)) 996 { 997 this.FileNameField = value; 998 this.RaisePropertyChanged("FileName"); 999 } 1000 } 1001 } 1002 1003 [System.Runtime.Serialization.DataMemberAttribute()] 1004 public System.Guid PluginId 1005 { 1006 get 1007 { 1008 return this.PluginIdField; 1009 } 1010 set 1011 { 1012 if ((this.PluginIdField.Equals(value) != true)) 1013 { 1014 this.PluginIdField = value; 1015 this.RaisePropertyChanged("PluginId"); 1016 } 1017 } 1018 } 1019 } 1020 1021 [System.Diagnostics.DebuggerStepThroughAttribute()] 1022 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1023 [System.Runtime.Serialization.DataContractAttribute(Name="Appointment", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1024 "nsfer")] 1025 [System.SerializableAttribute()] 1026 public partial class Appointment : HeuristicLab.Clients.Hive.HiveItem 1027 { 1028 1029 [System.Runtime.Serialization.OptionalFieldAttribute()] 1030 private bool AllDayEventField; 1031 1032 [System.Runtime.Serialization.OptionalFieldAttribute()] 1033 private System.DateTime EndDateField; 1034 1035 [System.Runtime.Serialization.OptionalFieldAttribute()] 1036 private bool RecurringField; 1037 1038 [System.Runtime.Serialization.OptionalFieldAttribute()] 1039 private System.Guid RecurringIdField; 1040 1041 [System.Runtime.Serialization.OptionalFieldAttribute()] 1042 private System.Guid ResourceIdField; 1043 1044 [System.Runtime.Serialization.OptionalFieldAttribute()] 1045 private System.DateTime StartDateField; 1046 1047 [System.Runtime.Serialization.DataMemberAttribute()] 1048 public bool AllDayEvent 1049 { 1050 get 1051 { 1052 return this.AllDayEventField; 1053 } 1054 set 1055 { 1056 if ((this.AllDayEventField.Equals(value) != true)) 1057 { 1058 this.AllDayEventField = value; 1059 this.RaisePropertyChanged("AllDayEvent"); 1060 } 1061 } 1062 } 1063 1064 [System.Runtime.Serialization.DataMemberAttribute()] 1065 public System.DateTime EndDate 1066 { 1067 get 1068 { 1069 return this.EndDateField; 1070 } 1071 set 1072 { 1073 if ((this.EndDateField.Equals(value) != true)) 1074 { 1075 this.EndDateField = value; 1076 this.RaisePropertyChanged("EndDate"); 1077 } 1078 } 1079 } 1080 1081 [System.Runtime.Serialization.DataMemberAttribute()] 1082 public bool Recurring 1083 { 1084 get 1085 { 1086 return this.RecurringField; 1087 } 1088 set 1089 { 1090 if ((this.RecurringField.Equals(value) != true)) 1091 { 1092 this.RecurringField = value; 1093 this.RaisePropertyChanged("Recurring"); 1094 } 1095 } 1096 } 1097 1098 [System.Runtime.Serialization.DataMemberAttribute()] 1099 public System.Guid RecurringId 1100 { 1101 get 1102 { 1103 return this.RecurringIdField; 1104 } 1105 set 1106 { 1107 if ((this.RecurringIdField.Equals(value) != true)) 1108 { 1109 this.RecurringIdField = value; 1110 this.RaisePropertyChanged("RecurringId"); 1111 } 1112 } 1113 } 1114 1115 [System.Runtime.Serialization.DataMemberAttribute()] 1116 public System.Guid ResourceId 1117 { 1118 get 1119 { 1120 return this.ResourceIdField; 1121 } 1122 set 1123 { 1124 if ((this.ResourceIdField.Equals(value) != true)) 1125 { 1126 this.ResourceIdField = value; 1127 this.RaisePropertyChanged("ResourceId"); 1128 } 1129 } 1130 } 1131 1132 [System.Runtime.Serialization.DataMemberAttribute()] 1133 public System.DateTime StartDate 1134 { 1135 get 1136 { 1137 return this.StartDateField; 1138 } 1139 set 1140 { 1141 if ((this.StartDateField.Equals(value) != true)) 1142 { 1143 this.StartDateField = value; 1144 this.RaisePropertyChanged("StartDate"); 1145 } 1146 } 1147 } 1148 } 1149 1150 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1151 [System.Runtime.Serialization.DataContractAttribute(Name="JobState", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1152 "nsfer")] 1153 public enum JobState : int 1154 { 1155 1156 [System.Runtime.Serialization.EnumMemberAttribute()] 1157 Offline = 0, 1158 1159 [System.Runtime.Serialization.EnumMemberAttribute()] 1160 Waiting = 1, 1161 1162 [System.Runtime.Serialization.EnumMemberAttribute()] 1163 Transferring = 2, 1164 1165 [System.Runtime.Serialization.EnumMemberAttribute()] 1166 Calculating = 3, 1167 1168 [System.Runtime.Serialization.EnumMemberAttribute()] 1169 Paused = 4, 1170 1171 [System.Runtime.Serialization.EnumMemberAttribute()] 1172 Finished = 5, 1173 1174 [System.Runtime.Serialization.EnumMemberAttribute()] 1175 Aborted = 6, 1176 1177 [System.Runtime.Serialization.EnumMemberAttribute()] 1178 Failed = 7, 1179 } 1180 1181 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1182 [System.Runtime.Serialization.DataContractAttribute(Name="CpuArchitecture", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1183 "nsfer")] 1184 public enum CpuArchitecture : int 1185 { 1186 1187 [System.Runtime.Serialization.EnumMemberAttribute()] 1188 x86 = 0, 1189 1190 [System.Runtime.Serialization.EnumMemberAttribute()] 1191 x64 = 1, 1192 } 1193 1194 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1195 [System.Runtime.Serialization.DataContractAttribute(Name="SlaveState", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1196 "nsfer")] 1197 public enum SlaveState : int 1198 { 1199 1200 [System.Runtime.Serialization.EnumMemberAttribute()] 1201 Idle = 0, 1202 1203 [System.Runtime.Serialization.EnumMemberAttribute()] 1204 Calculating = 1, 1205 1206 [System.Runtime.Serialization.EnumMemberAttribute()] 1207 Offline = 2, 1208 } 1209 1210 [System.Diagnostics.DebuggerStepThroughAttribute()] 1211 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1212 [System.Runtime.Serialization.DataContractAttribute(Name="JobData", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1213 "nsfer")] 1214 [System.SerializableAttribute()] 1215 public partial class JobData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1216 { 1217 1218 [System.NonSerializedAttribute()] 1219 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1220 1221 [System.Runtime.Serialization.OptionalFieldAttribute()] 1222 private byte[] DataField; 1223 1224 [System.Runtime.Serialization.OptionalFieldAttribute()] 1225 private System.Guid JobIdField; 1226 1227 [System.Runtime.Serialization.OptionalFieldAttribute()] 1228 private System.DateTime LastUpdateField; 1229 1230 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1231 { 1232 get 1233 { 1234 return this.extensionDataField; 1235 } 1236 set 1237 { 1238 this.extensionDataField = value; 1239 } 1240 } 1241 1242 [System.Runtime.Serialization.DataMemberAttribute()] 1243 public byte[] Data 1244 { 1245 get 1246 { 1247 return this.DataField; 1248 } 1249 set 1250 { 1251 if ((object.ReferenceEquals(this.DataField, value) != true)) 1252 { 1253 this.DataField = value; 1254 this.RaisePropertyChanged("Data"); 1255 } 1256 } 1257 } 1258 1259 [System.Runtime.Serialization.DataMemberAttribute()] 1260 public System.Guid JobId 1261 { 1262 get 1263 { 1264 return this.JobIdField; 1265 } 1266 set 1267 { 1268 if ((this.JobIdField.Equals(value) != true)) 1269 { 1270 this.JobIdField = value; 1271 this.RaisePropertyChanged("JobId"); 1272 } 1273 } 1274 } 1275 1276 [System.Runtime.Serialization.DataMemberAttribute()] 1277 public System.DateTime LastUpdate 1278 { 1279 get 1280 { 1281 return this.LastUpdateField; 1282 } 1283 set 1284 { 1285 if ((this.LastUpdateField.Equals(value) != true)) 1286 { 1287 this.LastUpdateField = value; 1288 this.RaisePropertyChanged("LastUpdate"); 1289 } 1290 } 1291 } 1292 1293 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1294 1295 protected void RaisePropertyChanged(string propertyName) 1296 { 1297 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1298 if ((propertyChanged != null)) 1299 { 1300 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1301 } 1302 } 1303 } 1304 1305 [System.Diagnostics.DebuggerStepThroughAttribute()] 1306 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1307 [System.Runtime.Serialization.DataContractAttribute(Name="Heartbeat", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common.DataTra" + 1308 "nsfer")] 1309 [System.SerializableAttribute()] 1310 public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1311 { 1312 1313 [System.NonSerializedAttribute()] 1314 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1315 1316 [System.Runtime.Serialization.OptionalFieldAttribute()] 1317 private bool AssignJobField; 1318 1319 [System.Runtime.Serialization.OptionalFieldAttribute()] 1320 private int FreeCoresField; 1321 1322 [System.Runtime.Serialization.OptionalFieldAttribute()] 1323 private int FreeMemoryField; 1324 1325 [System.Runtime.Serialization.OptionalFieldAttribute()] 1326 private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField; 1327 1328 [System.Runtime.Serialization.OptionalFieldAttribute()] 1329 private System.Guid SlaveIdField; 1330 1331 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1332 { 1333 get 1334 { 1335 return this.extensionDataField; 1336 } 1337 set 1338 { 1339 this.extensionDataField = value; 1340 } 1341 } 1342 1343 [System.Runtime.Serialization.DataMemberAttribute()] 1344 public bool AssignJob 1345 { 1346 get 1347 { 1348 return this.AssignJobField; 1349 } 1350 set 1351 { 1352 if ((this.AssignJobField.Equals(value) != true)) 1353 { 1354 this.AssignJobField = value; 1355 this.RaisePropertyChanged("AssignJob"); 1356 } 1357 } 1358 } 1359 1360 [System.Runtime.Serialization.DataMemberAttribute()] 1361 public int FreeCores 1362 { 1363 get 1364 { 1365 return this.FreeCoresField; 1366 } 1367 set 1368 { 1369 if ((this.FreeCoresField.Equals(value) != true)) 1370 { 1371 this.FreeCoresField = value; 1372 this.RaisePropertyChanged("FreeCores"); 1373 } 1374 } 1375 } 1376 1377 [System.Runtime.Serialization.DataMemberAttribute()] 1378 public int FreeMemory 1379 { 1380 get 1381 { 1382 return this.FreeMemoryField; 1383 } 1384 set 1385 { 1386 if ((this.FreeMemoryField.Equals(value) != true)) 1387 { 1388 this.FreeMemoryField = value; 1389 this.RaisePropertyChanged("FreeMemory"); 1390 } 1391 } 1392 } 1393 1394 [System.Runtime.Serialization.DataMemberAttribute()] 1395 public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress 1396 { 1397 get 1398 { 1399 return this.JobProgressField; 1400 } 1401 set 1402 { 1403 if ((object.ReferenceEquals(this.JobProgressField, value) != true)) 1404 { 1405 this.JobProgressField = value; 1406 this.RaisePropertyChanged("JobProgress"); 1407 } 1408 } 1409 } 1410 1411 [System.Runtime.Serialization.DataMemberAttribute()] 1412 public System.Guid SlaveId 1413 { 1414 get 1415 { 1416 return this.SlaveIdField; 1417 } 1418 set 1419 { 1420 if ((this.SlaveIdField.Equals(value) != true)) 1421 { 1422 this.SlaveIdField = value; 1423 this.RaisePropertyChanged("SlaveId"); 1424 } 1425 } 1426 } 1427 1428 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1429 1430 protected void RaisePropertyChanged(string propertyName) 1431 { 1432 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1433 if ((propertyChanged != null)) 1434 { 1435 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1436 } 1437 } 1438 } 1439 1440 [System.Diagnostics.DebuggerStepThroughAttribute()] 1441 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1442 [System.Runtime.Serialization.DataContractAttribute(Name="MessageContainer", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1443 [System.SerializableAttribute()] 1444 public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1445 { 1446 1447 [System.NonSerializedAttribute()] 1448 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1449 1450 [System.Runtime.Serialization.OptionalFieldAttribute()] 1451 private System.Guid JobIdField; 1452 1453 [System.Runtime.Serialization.OptionalFieldAttribute()] 1454 private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField; 1455 1456 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1457 { 1458 get 1459 { 1460 return this.extensionDataField; 1461 } 1462 set 1463 { 1464 this.extensionDataField = value; 1465 } 1466 } 1467 1468 [System.Runtime.Serialization.DataMemberAttribute()] 1469 public System.Guid JobId 1470 { 1471 get 1472 { 1473 return this.JobIdField; 1474 } 1475 set 1476 { 1477 if ((this.JobIdField.Equals(value) != true)) 1478 { 1479 this.JobIdField = value; 1480 this.RaisePropertyChanged("JobId"); 1481 } 1482 } 1483 } 1484 1485 [System.Runtime.Serialization.DataMemberAttribute()] 1486 public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message 1487 { 1488 get 1489 { 1490 return this.MessageField; 1491 } 1492 set 1493 { 1494 if ((this.MessageField.Equals(value) != true)) 1495 { 1496 this.MessageField = value; 1497 this.RaisePropertyChanged("Message"); 1498 } 1499 } 1500 } 1501 1502 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1503 1504 protected void RaisePropertyChanged(string propertyName) 1505 { 1506 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1507 if ((propertyChanged != null)) 1508 { 1509 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1510 } 1511 } 1512 1513 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1514 [System.Runtime.Serialization.DataContractAttribute(Name="MessageContainer.MessageType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1515 public enum MessageType : int 1516 { 1517 1518 [System.Runtime.Serialization.EnumMemberAttribute()] 1519 CalculateJob = 0, 1520 1521 [System.Runtime.Serialization.EnumMemberAttribute()] 1522 StopJob = 1, 1523 1524 [System.Runtime.Serialization.EnumMemberAttribute()] 1525 StopAll = 2, 1526 1527 [System.Runtime.Serialization.EnumMemberAttribute()] 1528 AbortJob = 3, 1529 1530 [System.Runtime.Serialization.EnumMemberAttribute()] 1531 AbortAll = 4, 1532 1533 [System.Runtime.Serialization.EnumMemberAttribute()] 1534 PauseJob = 5, 1535 1536 [System.Runtime.Serialization.EnumMemberAttribute()] 1537 PauseAll = 6, 1538 1539 [System.Runtime.Serialization.EnumMemberAttribute()] 1540 Restart = 7, 1541 1542 [System.Runtime.Serialization.EnumMemberAttribute()] 1543 Sleep = 8, 1544 1545 [System.Runtime.Serialization.EnumMemberAttribute()] 1546 ShutdownSlave = 9, 1547 1548 [System.Runtime.Serialization.EnumMemberAttribute()] 1549 SayHello = 10, 1550 1551 [System.Runtime.Serialization.EnumMemberAttribute()] 1552 AddChildJob = 11, 1553 1554 [System.Runtime.Serialization.EnumMemberAttribute()] 1555 GetChildJobs = 12, 1556 1557 [System.Runtime.Serialization.EnumMemberAttribute()] 1558 DeleteChildJobs = 13, 1559 } 1560 } 1561 1562 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1563 [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Clients.Hive.IHiveService")] 1564 public interface IHiveService 1565 { 1566 1567 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateAppointment", ReplyAction="http://tempuri.org/IHiveService/UpdateAppointmentResponse")] 1568 void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1569 1570 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetScheduleForResource", ReplyAction="http://tempuri.org/IHiveService/GetScheduleForResourceResponse")] 1571 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId); 1572 1573 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddJob", ReplyAction="http://tempuri.org/IHiveService/AddJobResponse")] 1574 System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds); 1575 1576 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddChildJob", ReplyAction="http://tempuri.org/IHiveService/AddChildJobResponse")] 1577 System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData); 1578 1579 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetJob", ReplyAction="http://tempuri.org/IHiveService/GetJobResponse")] 1580 HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId); 1581 1582 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetJobs", ReplyAction="http://tempuri.org/IHiveService/GetJobsResponse")] 1583 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs(); 1584 1585 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetLightweightJobs", ReplyAction="http://tempuri.org/IHiveService/GetLightweightJobsResponse")] 1586 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds); 1587 1588 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetLightweightChildJobs", ReplyAction="http://tempuri.org/IHiveService/GetLightweightChildJobsResponse")] 1589 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent); 1590 1591 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetJobData", ReplyAction="http://tempuri.org/IHiveService/GetJobDataResponse")] 1592 HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId); 1593 1594 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateJob", ReplyAction="http://tempuri.org/IHiveService/UpdateJobResponse")] 1595 void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto); 1596 1597 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateJobData", ReplyAction="http://tempuri.org/IHiveService/UpdateJobDataResponse")] 1598 void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto); 1599 1600 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteJob", ReplyAction="http://tempuri.org/IHiveService/DeleteJobResponse")] 1601 void DeleteJob(System.Guid jobId); 1602 1603 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteChildJobs", ReplyAction="http://tempuri.org/IHiveService/DeleteChildJobsResponse")] 1604 void DeleteChildJobs(System.Guid parentJobId); 1605 1606 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateJobState", ReplyAction="http://tempuri.org/IHiveService/UpdateJobStateResponse")] 1607 HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception); 1608 1609 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/StopJob", ReplyAction="http://tempuri.org/IHiveService/StopJobResponse")] 1610 void StopJob(System.Guid jobId); 1611 1612 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/PauseJob", ReplyAction="http://tempuri.org/IHiveService/PauseJobResponse")] 1613 void PauseJob(System.Guid jobId); 1614 1615 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/GetHiveExperimentResponse")] 1616 HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id); 1617 1618 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetHiveExperiments", ReplyAction="http://tempuri.org/IHiveService/GetHiveExperimentsResponse")] 1619 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments(); 1620 1621 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetAllHiveExperiments", ReplyAction="http://tempuri.org/IHiveService/GetAllHiveExperimentsResponse")] 1622 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments(); 1623 1624 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/AddHiveExperimentResponse")] 1625 System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1626 1627 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/UpdateHiveExperimentResponse")] 1628 void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1629 1630 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteHiveExperiment", ReplyAction="http://tempuri.org/IHiveService/DeleteHiveExperimentResponse")] 1631 void DeleteHiveExperiment(System.Guid hiveExperimentId); 1632 1633 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/Hello", ReplyAction="http://tempuri.org/IHiveService/HelloResponse")] 1634 void Hello(HeuristicLab.Clients.Hive.Slave slave); 1635 1636 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GoodBye", ReplyAction="http://tempuri.org/IHiveService/GoodByeResponse")] 1637 void GoodBye(System.Guid slaveId); 1638 1639 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/Heartbeat", ReplyAction="http://tempuri.org/IHiveService/HeartbeatResponse")] 1640 System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name="heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1); 1641 1642 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddPlugin", ReplyAction="http://tempuri.org/IHiveService/AddPluginResponse")] 1643 System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData); 1644 1645 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetPlugins", ReplyAction="http://tempuri.org/IHiveService/GetPluginsResponse")] 1646 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins(); 1647 1648 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction="http://tempuri.org/IHiveService/GetPluginDatasResponse")] 1649 System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds); 1650 1651 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddSlave", ReplyAction="http://tempuri.org/IHiveService/AddSlaveResponse")] 1652 System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave); 1653 1654 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/AddSlaveGroupResponse")] 1655 System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1656 1657 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlave", ReplyAction="http://tempuri.org/IHiveService/GetSlaveResponse")] 1658 HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId); 1659 1660 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/GetSlaveGroupResponse")] 1661 HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId); 1662 1663 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlaves", ReplyAction="http://tempuri.org/IHiveService/GetSlavesResponse")] 1664 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves(); 1665 1666 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction="http://tempuri.org/IHiveService/GetSlaveGroupsResponse")] 1667 System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups(); 1668 1669 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateSlave", ReplyAction="http://tempuri.org/IHiveService/UpdateSlaveResponse")] 1670 void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave); 1671 1672 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")] 1673 void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1674 1675 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteSlave", ReplyAction="http://tempuri.org/IHiveService/DeleteSlaveResponse")] 1676 void DeleteSlave(System.Guid slaveId); 1677 1678 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction="http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")] 1679 void DeleteSlaveGroup(System.Guid slaveGroupId); 1680 1681 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction="http://tempuri.org/IHiveService/AddResourceToGroupResponse")] 1682 void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId); 1683 1684 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction="http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")] 1685 void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId); 1686 1687 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/GetResourceId", ReplyAction="http://tempuri.org/IHiveService/GetResourceIdResponse")] 1688 System.Guid GetResourceId(string resourceName); 1689 1690 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/TriggerLifecycle", ReplyAction="http://tempuri.org/IHiveService/TriggerLifecycleResponse")] 1691 void TriggerLifecycle(bool force); 1692 1693 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/AddAppointment", ReplyAction="http://tempuri.org/IHiveService/AddAppointmentResponse")] 1694 System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1695 1696 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IHiveService/DeleteAppointment", ReplyAction="http://tempuri.org/IHiveService/DeleteAppointmentResponse")] 1697 void DeleteAppointment(System.Guid appointmentId); 1698 } 1699 1700 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1701 public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel 1702 { 1703 } 1704 1705 [System.Diagnostics.DebuggerStepThroughAttribute()] 1706 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1707 public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService 1708 { 1709 1710 public HiveServiceClient() 1711 { 1712 } 1713 1714 public HiveServiceClient(string endpointConfigurationName) : 1715 base(endpointConfigurationName) 1716 { 1717 } 1718 1719 public HiveServiceClient(string endpointConfigurationName, string remoteAddress) : 1720 base(endpointConfigurationName, remoteAddress) 1721 { 1722 } 1723 1724 public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1725 base(endpointConfigurationName, remoteAddress) 1726 { 1727 } 1728 1729 public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1730 base(binding, remoteAddress) 1731 { 1732 } 1733 1734 public void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment) 1735 { 1736 base.Channel.UpdateAppointment(appointment); 1737 } 1738 1739 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId) 1740 { 1741 return base.Channel.GetScheduleForResource(resourceId); 1742 } 1743 1744 public System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds) 1745 { 1746 return base.Channel.AddJob(job, jobData, resourceIds); 1747 } 1748 1749 public System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData) 1750 { 1751 return base.Channel.AddChildJob(parentJobId, job, jobData); 1752 } 1753 1754 public HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId) 1755 { 1756 return base.Channel.GetJob(jobId); 1757 } 1758 1759 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() 1760 { 1761 return base.Channel.GetJobs(); 1762 } 1763 1764 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds) 1765 { 1766 return base.Channel.GetLightweightJobs(jobIds); 1767 } 1768 1769 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) 1770 { 1771 return base.Channel.GetLightweightChildJobs(parentJobId, recursive, includeParent); 1772 } 1773 1774 public HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId) 1775 { 1776 return base.Channel.GetJobData(jobId); 1777 } 1778 1779 public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) 1780 { 1781 base.Channel.UpdateJob(jobDto); 1782 } 1783 1784 public void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto) 1785 { 1786 base.Channel.UpdateJobData(jobDto, jobDataDto); 1787 } 1788 1789 public void DeleteJob(System.Guid jobId) 1790 { 1791 base.Channel.DeleteJob(jobId); 1792 } 1793 1794 public void DeleteChildJobs(System.Guid parentJobId) 1795 { 1796 base.Channel.DeleteChildJobs(parentJobId); 1797 } 1798 1799 public HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) 1800 { 1801 return base.Channel.UpdateJobState(jobId, jobState, slaveId, userId, exception); 1802 } 1803 1804 public void StopJob(System.Guid jobId) 1805 { 1806 base.Channel.StopJob(jobId); 1807 } 1808 1809 public void PauseJob(System.Guid jobId) 1810 { 1811 base.Channel.PauseJob(jobId); 1812 } 1813 1814 public HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id) 1815 { 1816 return base.Channel.GetHiveExperiment(id); 1817 } 1818 1819 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments() 1820 { 1821 return base.Channel.GetHiveExperiments(); 1822 } 1823 1824 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments() 1825 { 1826 return base.Channel.GetAllHiveExperiments(); 1827 } 1828 1829 public System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) 1830 { 1831 return base.Channel.AddHiveExperiment(hiveExperimentDto); 1832 } 1833 1834 public void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) 1835 { 1836 base.Channel.UpdateHiveExperiment(hiveExperimentDto); 1837 } 1838 1839 public void DeleteHiveExperiment(System.Guid hiveExperimentId) 1840 { 1841 base.Channel.DeleteHiveExperiment(hiveExperimentId); 1842 } 1843 1844 public void Hello(HeuristicLab.Clients.Hive.Slave slave) 1845 { 1846 base.Channel.Hello(slave); 1847 } 1848 1849 public void GoodBye(System.Guid slaveId) 1850 { 1851 base.Channel.GoodBye(slaveId); 1852 } 1853 1854 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) 1855 { 1856 return base.Channel.Heartbeat(heartbeat1); 1857 } 1858 1859 public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) 1860 { 1861 return base.Channel.AddPlugin(plugin, pluginData); 1862 } 1863 1864 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() 1865 { 1866 return base.Channel.GetPlugins(); 1867 } 1868 1869 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) 1870 { 1871 return base.Channel.GetPluginDatas(pluginIds); 1872 } 1873 1874 public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) 1875 { 1876 return base.Channel.AddSlave(slave); 1877 } 1878 1879 public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) 1880 { 1881 return base.Channel.AddSlaveGroup(slaveGroup); 1882 } 1883 1884 public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) 1885 { 1886 return base.Channel.GetSlave(slaveId); 1887 } 1888 1889 public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) 1890 { 1891 return base.Channel.GetSlaveGroup(slaveGroupId); 1892 } 1893 1894 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() 1895 { 1896 return base.Channel.GetSlaves(); 1897 } 1898 1899 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() 1900 { 1901 return base.Channel.GetSlaveGroups(); 1902 } 1903 1904 public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) 1905 { 1906 base.Channel.UpdateSlave(slave); 1907 } 1908 1909 public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) 1910 { 1911 base.Channel.UpdateSlaveGroup(slaveGroup); 1912 } 1913 1914 public void DeleteSlave(System.Guid slaveId) 1915 { 1916 base.Channel.DeleteSlave(slaveId); 1917 } 1918 1919 public void DeleteSlaveGroup(System.Guid slaveGroupId) 1920 { 1921 base.Channel.DeleteSlaveGroup(slaveGroupId); 1922 } 1923 1924 public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) 1925 { 1926 base.Channel.AddResourceToGroup(slaveGroupId, resourceId); 1927 } 1928 1929 public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) 1930 { 1931 base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId); 1932 } 1933 1934 public System.Guid GetResourceId(string resourceName) 1935 { 1936 return base.Channel.GetResourceId(resourceName); 1937 } 1938 1939 public void TriggerLifecycle(bool force) 1940 { 1941 base.Channel.TriggerLifecycle(force); 1942 } 1943 1944 public System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment) 1945 { 1946 return base.Channel.AddAppointment(appointment); 1947 } 1948 1949 public void DeleteAppointment(System.Guid appointmentId) 1950 { 1951 base.Channel.DeleteAppointment(appointmentId); 1952 } 1953 } 1232 [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.Common")] 1233 public enum MessageType : int { 1234 1235 [System.Runtime.Serialization.EnumMemberAttribute()] 1236 CalculateJob = 0, 1237 1238 [System.Runtime.Serialization.EnumMemberAttribute()] 1239 StopJob = 1, 1240 1241 [System.Runtime.Serialization.EnumMemberAttribute()] 1242 StopAll = 2, 1243 1244 [System.Runtime.Serialization.EnumMemberAttribute()] 1245 AbortJob = 3, 1246 1247 [System.Runtime.Serialization.EnumMemberAttribute()] 1248 AbortAll = 4, 1249 1250 [System.Runtime.Serialization.EnumMemberAttribute()] 1251 PauseJob = 5, 1252 1253 [System.Runtime.Serialization.EnumMemberAttribute()] 1254 PauseAll = 6, 1255 1256 [System.Runtime.Serialization.EnumMemberAttribute()] 1257 Restart = 7, 1258 1259 [System.Runtime.Serialization.EnumMemberAttribute()] 1260 Sleep = 8, 1261 1262 [System.Runtime.Serialization.EnumMemberAttribute()] 1263 ShutdownSlave = 9, 1264 1265 [System.Runtime.Serialization.EnumMemberAttribute()] 1266 SayHello = 10, 1267 1268 [System.Runtime.Serialization.EnumMemberAttribute()] 1269 AddChildJob = 11, 1270 1271 [System.Runtime.Serialization.EnumMemberAttribute()] 1272 GetChildJobs = 12, 1273 1274 [System.Runtime.Serialization.EnumMemberAttribute()] 1275 DeleteChildJobs = 13, 1276 } 1277 } 1278 1279 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1280 [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Hive.IHiveService")] 1281 public interface IHiveService { 1282 1283 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlave", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveResponse")] 1284 HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId); 1285 1286 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")] 1287 HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId); 1288 1289 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")] 1290 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves(); 1291 1292 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")] 1293 System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups(); 1294 1295 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")] 1296 void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave); 1297 1298 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")] 1299 void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1300 1301 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")] 1302 void DeleteSlave(System.Guid slaveId); 1303 1304 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")] 1305 void DeleteSlaveGroup(System.Guid slaveGroupId); 1306 1307 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")] 1308 void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId); 1309 1310 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")] 1311 void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId); 1312 1313 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")] 1314 System.Guid GetResourceId(string resourceName); 1315 1316 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerLifecycle", ReplyAction = "http://tempuri.org/IHiveService/TriggerLifecycleResponse")] 1317 void TriggerLifecycle(bool force); 1318 1319 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddAppointment", ReplyAction = "http://tempuri.org/IHiveService/AddAppointmentResponse")] 1320 System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1321 1322 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteAppointment", ReplyAction = "http://tempuri.org/IHiveService/DeleteAppointmentResponse")] 1323 void DeleteAppointment(System.Guid appointmentId); 1324 1325 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateAppointment", ReplyAction = "http://tempuri.org/IHiveService/UpdateAppointmentResponse")] 1326 void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment); 1327 1328 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetScheduleForResource", ReplyAction = "http://tempuri.org/IHiveService/GetScheduleForResourceResponse")] 1329 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId); 1330 1331 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")] 1332 System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds); 1333 1334 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildJob", ReplyAction = "http://tempuri.org/IHiveService/AddChildJobResponse")] 1335 System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData); 1336 1337 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")] 1338 HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId); 1339 1340 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")] 1341 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs(); 1342 1343 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobsResponse")] 1344 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds); 1345 1346 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildJobs", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildJobsResponse")] 1347 System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent); 1348 1349 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobData", ReplyAction = "http://tempuri.org/IHiveService/GetJobDataResponse")] 1350 HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId); 1351 1352 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")] 1353 void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto); 1354 1355 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJobData", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobDataResponse")] 1356 void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto); 1357 1358 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")] 1359 void DeleteJob(System.Guid jobId); 1360 1361 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildJobs", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildJobsResponse")] 1362 void DeleteChildJobs(System.Guid parentJobId); 1363 1364 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJobState", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobStateResponse")] 1365 HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception); 1366 1367 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopJob", ReplyAction = "http://tempuri.org/IHiveService/StopJobResponse")] 1368 void StopJob(System.Guid jobId); 1369 1370 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseJob", ReplyAction = "http://tempuri.org/IHiveService/PauseJobResponse")] 1371 void PauseJob(System.Guid jobId); 1372 1373 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentResponse")] 1374 HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id); 1375 1376 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetHiveExperiments", ReplyAction = "http://tempuri.org/IHiveService/GetHiveExperimentsResponse")] 1377 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments(); 1378 1379 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllHiveExperiments", ReplyAction = "http://tempuri.org/IHiveService/GetAllHiveExperimentsResponse")] 1380 System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments(); 1381 1382 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/AddHiveExperimentResponse")] 1383 System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1384 1385 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/UpdateHiveExperimentResponse")] 1386 void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto); 1387 1388 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteHiveExperiment", ReplyAction = "http://tempuri.org/IHiveService/DeleteHiveExperimentResponse")] 1389 void DeleteHiveExperiment(System.Guid hiveExperimentId); 1390 1391 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")] 1392 void Hello(HeuristicLab.Clients.Hive.Slave slave); 1393 1394 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")] 1395 void GoodBye(System.Guid slaveId); 1396 1397 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Heartbeat", ReplyAction = "http://tempuri.org/IHiveService/HeartbeatResponse")] 1398 System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name = "heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1); 1399 1400 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddPlugin", ReplyAction = "http://tempuri.org/IHiveService/AddPluginResponse")] 1401 System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData); 1402 1403 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugins", ReplyAction = "http://tempuri.org/IHiveService/GetPluginsResponse")] 1404 System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins(); 1405 1406 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction = "http://tempuri.org/IHiveService/GetPluginDatasResponse")] 1407 System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds); 1408 1409 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")] 1410 System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave); 1411 1412 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveGroupResponse")] 1413 System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup); 1414 } 1415 1416 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1417 public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel { 1418 } 1419 1420 [System.Diagnostics.DebuggerStepThroughAttribute()] 1421 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1422 public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService { 1423 1424 public HiveServiceClient() { 1425 } 1426 1427 public HiveServiceClient(string endpointConfigurationName) : 1428 base(endpointConfigurationName) { 1429 } 1430 1431 public HiveServiceClient(string endpointConfigurationName, string remoteAddress) : 1432 base(endpointConfigurationName, remoteAddress) { 1433 } 1434 1435 public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1436 base(endpointConfigurationName, remoteAddress) { 1437 } 1438 1439 public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1440 base(binding, remoteAddress) { 1441 } 1442 1443 public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) { 1444 return base.Channel.GetSlave(slaveId); 1445 } 1446 1447 public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) { 1448 return base.Channel.GetSlaveGroup(slaveGroupId); 1449 } 1450 1451 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() { 1452 return base.Channel.GetSlaves(); 1453 } 1454 1455 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() { 1456 return base.Channel.GetSlaveGroups(); 1457 } 1458 1459 public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) { 1460 base.Channel.UpdateSlave(slave); 1461 } 1462 1463 public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) { 1464 base.Channel.UpdateSlaveGroup(slaveGroup); 1465 } 1466 1467 public void DeleteSlave(System.Guid slaveId) { 1468 base.Channel.DeleteSlave(slaveId); 1469 } 1470 1471 public void DeleteSlaveGroup(System.Guid slaveGroupId) { 1472 base.Channel.DeleteSlaveGroup(slaveGroupId); 1473 } 1474 1475 public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) { 1476 base.Channel.AddResourceToGroup(slaveGroupId, resourceId); 1477 } 1478 1479 public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) { 1480 base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId); 1481 } 1482 1483 public System.Guid GetResourceId(string resourceName) { 1484 return base.Channel.GetResourceId(resourceName); 1485 } 1486 1487 public void TriggerLifecycle(bool force) { 1488 base.Channel.TriggerLifecycle(force); 1489 } 1490 1491 public System.Guid AddAppointment(HeuristicLab.Clients.Hive.Appointment appointment) { 1492 return base.Channel.AddAppointment(appointment); 1493 } 1494 1495 public void DeleteAppointment(System.Guid appointmentId) { 1496 base.Channel.DeleteAppointment(appointmentId); 1497 } 1498 1499 public void UpdateAppointment(HeuristicLab.Clients.Hive.Appointment appointment) { 1500 base.Channel.UpdateAppointment(appointment); 1501 } 1502 1503 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Appointment> GetScheduleForResource(System.Guid resourceId) { 1504 return base.Channel.GetScheduleForResource(resourceId); 1505 } 1506 1507 public System.Guid AddJob(HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData, System.Collections.Generic.List<System.Guid> resourceIds) { 1508 return base.Channel.AddJob(job, jobData, resourceIds); 1509 } 1510 1511 public System.Guid AddChildJob(System.Guid parentJobId, HeuristicLab.Clients.Hive.Job job, HeuristicLab.Clients.Hive.JobData jobData) { 1512 return base.Channel.AddChildJob(parentJobId, job, jobData); 1513 } 1514 1515 public HeuristicLab.Clients.Hive.Job GetJob(System.Guid jobId) { 1516 return base.Channel.GetJob(jobId); 1517 } 1518 1519 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() { 1520 return base.Channel.GetJobs(); 1521 } 1522 1523 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightJobs(System.Collections.Generic.List<System.Guid> jobIds) { 1524 return base.Channel.GetLightweightJobs(jobIds); 1525 } 1526 1527 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightJob> GetLightweightChildJobs(System.Nullable<System.Guid> parentJobId, bool recursive, bool includeParent) { 1528 return base.Channel.GetLightweightChildJobs(parentJobId, recursive, includeParent); 1529 } 1530 1531 public HeuristicLab.Clients.Hive.JobData GetJobData(System.Guid jobId) { 1532 return base.Channel.GetJobData(jobId); 1533 } 1534 1535 public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) { 1536 base.Channel.UpdateJob(jobDto); 1537 } 1538 1539 public void UpdateJobData(HeuristicLab.Clients.Hive.Job jobDto, HeuristicLab.Clients.Hive.JobData jobDataDto) { 1540 base.Channel.UpdateJobData(jobDto, jobDataDto); 1541 } 1542 1543 public void DeleteJob(System.Guid jobId) { 1544 base.Channel.DeleteJob(jobId); 1545 } 1546 1547 public void DeleteChildJobs(System.Guid parentJobId) { 1548 base.Channel.DeleteChildJobs(parentJobId); 1549 } 1550 1551 public HeuristicLab.Clients.Hive.Job UpdateJobState(System.Guid jobId, HeuristicLab.Clients.Hive.JobState jobState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) { 1552 return base.Channel.UpdateJobState(jobId, jobState, slaveId, userId, exception); 1553 } 1554 1555 public void StopJob(System.Guid jobId) { 1556 base.Channel.StopJob(jobId); 1557 } 1558 1559 public void PauseJob(System.Guid jobId) { 1560 base.Channel.PauseJob(jobId); 1561 } 1562 1563 public HeuristicLab.Clients.Hive.HiveExperiment GetHiveExperiment(System.Guid id) { 1564 return base.Channel.GetHiveExperiment(id); 1565 } 1566 1567 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetHiveExperiments() { 1568 return base.Channel.GetHiveExperiments(); 1569 } 1570 1571 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.HiveExperiment> GetAllHiveExperiments() { 1572 return base.Channel.GetAllHiveExperiments(); 1573 } 1574 1575 public System.Guid AddHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) { 1576 return base.Channel.AddHiveExperiment(hiveExperimentDto); 1577 } 1578 1579 public void UpdateHiveExperiment(HeuristicLab.Clients.Hive.HiveExperiment hiveExperimentDto) { 1580 base.Channel.UpdateHiveExperiment(hiveExperimentDto); 1581 } 1582 1583 public void DeleteHiveExperiment(System.Guid hiveExperimentId) { 1584 base.Channel.DeleteHiveExperiment(hiveExperimentId); 1585 } 1586 1587 public void Hello(HeuristicLab.Clients.Hive.Slave slave) { 1588 base.Channel.Hello(slave); 1589 } 1590 1591 public void GoodBye(System.Guid slaveId) { 1592 base.Channel.GoodBye(slaveId); 1593 } 1594 1595 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) { 1596 return base.Channel.Heartbeat(heartbeat1); 1597 } 1598 1599 public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) { 1600 return base.Channel.AddPlugin(plugin, pluginData); 1601 } 1602 1603 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() { 1604 return base.Channel.GetPlugins(); 1605 } 1606 1607 public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) { 1608 return base.Channel.GetPluginDatas(pluginIds); 1609 } 1610 1611 public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) { 1612 return base.Channel.AddSlave(slave); 1613 } 1614 1615 public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) { 1616 return base.Channel.AddSlaveGroup(slaveGroup); 1617 } 1618 } 1954 1619 }
Note: See TracChangeset
for help on using the changeset viewer.