hxb
2020-09-23 2921da3e4ba99f0df28a172d47daa69e375431bc
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
 
using System.Configuration;
 
namespace HDLCloudMonitor
{
    public static class HDLCloudMonitorConfig
    {
         public static string MonitorCenterReqUrl { get; private set; }
 
        #region 监控程序
 
        public static string MonitorProgramName { get; private set; }
 
        public static string ProgramName { get; private set; }
 
        public static string Guid { get; private set; }
 
        public static string LocalIpAddress { get; private set; }
 
        #endregion
 
 
        static HDLCloudMonitorConfig()
        {
            MonitorCenterReqUrl = ConfigurationManager.AppSettings["MonitorCenterReqUrl"];
            MonitorProgramName = ConfigurationManager.AppSettings["MonitorProgramName"];
            ProgramName = ConfigurationManager.AppSettings["ProgramName"];
            Guid = ConfigurationManager.AppSettings["Guid"];
            LocalIpAddress = ConfigurationManager.AppSettings["LocalIpAddress"];
         
        }
    }
}