Parent Directory | Revision Log
Use one StatusData struct to transfer data Introduce EventLog file Add lastTransferTime to status data
1 | torben | 1999 | using System; |
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.Runtime.Serialization; | ||
5 | |||
6 | /* uses System.Runtime.Serialization assembly */ | ||
7 | |||
8 | namespace DaoMqPump2 | ||
9 | { | ||
10 | [DataContract] | ||
11 | public class StatusData | ||
12 | { | ||
13 | [DataMember] | ||
14 | public bool transportEnabled; | ||
15 | |||
16 | [DataMember] | ||
17 | public bool lastrunOk; | ||
18 | |||
19 | [DataMember] | ||
20 | public string lastErrorMessage; | ||
21 | |||
22 | [DataMember] | ||
23 | public string lastOkTime; | ||
24 | |||
25 | [DataMember] | ||
26 | public string lastErrorTime; | ||
27 | |||
28 | [DataMember] | ||
29 | public string lastTransferTime; | ||
30 | |||
31 | [DataMember] | ||
32 | public int counter; | ||
33 | } | ||
34 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |