Last change
on this file since 2578 was
2518,
checked in by epitzer, 15 years ago
|
Use DataGrid to monitor several grid client instances inside a single grid application. (#805)
|
File size:
516 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 |
|
---|
6 | namespace HeuristicLab.Grid {
|
---|
7 |
|
---|
8 | class ClientController {
|
---|
9 | public GridClient Client { get; set; }
|
---|
10 | public string Status { get; set; }
|
---|
11 | public string Message { get; set; }
|
---|
12 | public bool Running {
|
---|
13 | get {
|
---|
14 | return !Client.Stopped;
|
---|
15 | }
|
---|
16 | set {
|
---|
17 | if (value == Running)
|
---|
18 | return;
|
---|
19 | if (!value)
|
---|
20 | Client.Stop();
|
---|
21 | }
|
---|
22 | }
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.