Repository navigation
Expand file tree
/
Copy pathappsettings.json
More file actions
75 lines (75 loc) · 2.01 KB
/
Copy pathappsettings.json
File metadata and controls
75 lines (75 loc) · 2.01 KB
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
70
71
72
73
74
75
{
"Database": {
"Provider": "SqlServer",
"ConnectionString": "Server=localhost;Database=TwoD5DMonitoring;User Id=sa;Password=YourPassword;TrustServerCertificate=true;",
"CommandTimeout": 30,
"EnableRetry": true,
"MaxRetryAttempts": 3,
"RetryDelayMs": 1000
},
"Plc": {
"DefaultDriver": "OpcUa",
"DefaultTimeoutMs": 5000,
"ReconnectIntervalMs": 5000,
"MaxReconnectAttempts": 10,
"Connections": [
{
"Name": "Siemens_S7_1500",
"DriverType": "OpcUa",
"EndpointUrl": "opc.tcp://192.168.1.10:4840",
"Username": "",
"Password": "",
"CertificatePath": "",
"UseSecurity": false,
"PublishingIntervalMs": 1000,
"NodeMappings": {
"Temperature": "ns=2;s=Temperature",
"Pressure": "ns=2;s=Pressure",
"MotorRunning": "ns=2;s=MotorRunning"
}
},
{
"Name": "Omron_NJ",
"DriverType": "OpcUa",
"EndpointUrl": "opc.tcp://192.168.1.20:4840",
"Username": "",
"Password": "",
"CertificatePath": "",
"UseSecurity": false,
"PublishingIntervalMs": 1000,
"NodeMappings": {
"ValveState": "ns=2;s=ValveState",
"FlowRate": "ns=2;s=FlowRate"
}
},
{
"Name": "Mitsubishi_R",
"DriverType": "OpcUa",
"EndpointUrl": "opc.tcp://192.168.1.30:4840",
"Username": "",
"Password": "",
"CertificatePath": "",
"UseSecurity": false,
"PublishingIntervalMs": 1000,
"NodeMappings": {
"TankLevel": "ns=2;s=TankLevel",
"PumpStatus": "ns=2;s=PumpStatus"
}
}
]
},
"Logging": {
"LogDirectory": "Logs",
"MinimumLevel": "Information",
"RetainedFileCountLimit": 30,
"EnableConsole": true,
"EnableDebug": true
},
"General": {
"ApplicationName": "TwoD5DMonitoring",
"Version": "1.0.0",
"AutoStartRuntime": false,
"UiUpdateIntervalMs": 500,
"Enable3DMonitoring": false
}
}