-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-exhibition-2024.yaml
More file actions
122 lines (110 loc) · 3.85 KB
/
config-exhibition-2024.yaml
File metadata and controls
122 lines (110 loc) · 3.85 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
name: App
description: Short explanation / purpose etc.
service MultiQueue:
in queue in-queue:
max-length: 10000
send-to:
# - TaskTestReceiver.queue
# service CacheService MainCache:
# retain: true
# retain-dely: 30s # default 30s
# subscribe:
# /App/MultiQueue:
# Inf: [] # IMPORTENT !!!
service SlmpClient Ied15:
cycle: 100 ms
subscribe: /App/MultiQueue
send-to: /App/MultiQueue.in-queue
description: 'SLMP-IED-01.01'
ip: '192.168.120.200'
port: 4999
diagnosis: # internal diagnosis
point Status: # Ok(0) / Invalid(10)
type: 'Int'
# history: r
point Connection: # Ok(0) / Invalid(10)
type: 'Int'
# history: r
db db_test_data:
device-code: D
offset: 1100
size: 18
point Lable15.F32:
type: Real
address:
offset: 0
comment: 'Индикация поворота стрелы направо'
point Lable16.F32:
type: Real
address:
offset: 4
comment: 'Индикация поворота стрелы направо'
point Lable17.F32:
type: Real
address:
offset: 8
comment: 'Индикация поворота стрелы направо'
point Lable18.i16:
type: Int
address:
offset: 12
comment: 'Индикация поворота стрелы направо'
point Lable19.i16:
type: Int
address:
offset: 14
comment: 'Индикация поворота стрелы направо'
point Lable20.i16:
type: Int
address:
offset: 16
comment: 'Индикация поворота стрелы направо'
# service Task DebugTask:
# cycle: 100 s
# in queue recv-queue:
# max-length: 10000
# subscribe:
# /App/MultiQueue: # - multicast subscription to the MultiQueue
# {cot: Inf}: [] # - on all points having Cot::Inf and history::ReadWrite
# fn Debug:
# input: point real DLable20.F32
# service Task HistoryTask:
# cycle: 100 s
# in queue recv-queue:
# max-length: 10000
# subscribe:
# /App/MultiQueue: # - multicast subscription to the MultiQueue
# {cot: Inf, history: rw}: [] # - on all points having Cot::Inf and history::ReadWrite
# # fn Debug:
# # input: point any every
# fn ToApiQueue:
# queue: /App/ApiClient.in-queue
# input fn SqlMetric:
# initial: 0.123 # начальное значение
# table: public.event
# sql: "insert into {table} (pid,value,status,timestamp) values ({input2.value},{input1.value},{input1.status},'{input1.timestamp}');"
# input1 fn ToInt:
# input: point any every # point: every point of any type
# input2 fn PointId:
# input: point any every
# service ApiClient:
# cycle: 100 ms
# reconnect: 1 s # default 3 s
# address: 127.0.0.1:8080
# database: crane_data_server
# in queue in-queue:
# max-length: 10000
# auth_token: 123!@#
# # debug: true
service TcpServer:
reconnect: 1 s # default 3 s
keep-timeout: 20 s
# address: 192.168.120.144:16688
# address: 127.0.0.1:16688
address: 10.131.145.127:16688
auth-secret: # auth: none / auth-secret: pass: ... / auth-ssh: path: ...
pass: '12345'
in queue link:
max-length: 10000
send-to: /App/MultiQueue.in-queue
# cache: /App/MainCache