Windows服务,线上的监控程序,监控指定的服务
1
高胜
2023-05-23 cf31c5a262ad9f8fe66e884c4ca82d6c060422ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HDLMonitorService.Entity
{
    public class AlexaResponse
    {
        public Event @event { get; set; }
 
        public Context context { get; set; }
    }
 
    public class Event
    {
        public AlexaHeader header { get; set; }
 
        public Endpoint endpoint { get; set; }
 
        public object payload { get; set; }
    }
 
    public class AlexaHeader
    {
        public string @namespace { get; set; }
 
        public string name { get; set; }
 
        public string messageId { get; set; }
 
        public string payloadVersion { get; set; }
 
        public string correlationToken { get; set; }
    }
 
    public class Scope
    {
        public string type { get; set; }
 
        public string token { get; set; }
    }
 
    public class Endpoint
    {
        public Scope scope { get; set; }
 
        public string endpointId { get; set; }
    }
 
    public class Context
    {
        public List<Properties> Properties { get; set; }
    }
 
    public class Properties
    {
        public string @namespace { get; set; }
 
        public string name { get; set; }
 
        public string value { get; set; }
 
        public string timeOfSample { get; set; }
 
        public int uncertaintyInMilliseconds { get; set; }
    }
}