feat: Filter für Quelle
This commit is contained in:
17
mocks/device-cgi-simulator/SERVICE/SystemMockData.json
Normal file
17
mocks/device-cgi-simulator/SERVICE/SystemMockData.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"win_appVersion": "0.02",
|
||||
"win_deviceName": "CPLV4 Ismail Rastede",
|
||||
"win_mac1": "0 48 86 81 46 143",
|
||||
"win_ip": "10.10.0.243",
|
||||
"win_subnet": "255.255.255.0",
|
||||
"win_gateway": "10.10.0.1",
|
||||
"win_cplInternalTimestamp": "23.10.24 15:10:28 Uhr",
|
||||
"win_opcState": "1",
|
||||
"win_opcSessions": "0",
|
||||
"win_opcName": "CPL V4 OPC UA Application Deutsche Bahne",
|
||||
"win_ntp1": "192.53.103.108",
|
||||
"win_ntp2": "0.0.0.0",
|
||||
"win_ntp3": "0.0.0.0",
|
||||
"win_ntpTimezone": "2",
|
||||
"win_ntpActive": "1"
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"win_de_state": [
|
||||
1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_invert": [
|
||||
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_counter": [
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_time_filter": [
|
||||
3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_weighting": [
|
||||
3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_counter_active": [
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_offline": [
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_de_label": [
|
||||
"DE1",
|
||||
"DE2",
|
||||
"DE3",
|
||||
"DE4",
|
||||
"DE5",
|
||||
"DE6",
|
||||
"DE7",
|
||||
"DE8",
|
||||
"DE9",
|
||||
"DE10",
|
||||
"DE11",
|
||||
"DE12",
|
||||
"DE13",
|
||||
"DE14",
|
||||
"DE15",
|
||||
"DE16",
|
||||
"DE17",
|
||||
"DE18",
|
||||
"DE19",
|
||||
"DE20",
|
||||
"DE21",
|
||||
"DE22",
|
||||
"DE23",
|
||||
"DE24",
|
||||
"DE25",
|
||||
"DE26",
|
||||
"DE27",
|
||||
"DE28",
|
||||
"DE29",
|
||||
"DE30",
|
||||
"DE31",
|
||||
"DE32"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"win_da_state": [1, 1, 1, 1],
|
||||
"win_da_bezeichnung": ["Ausgang2", "Ausgang2", "Ausgang3", "Ausgang4"]
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
{
|
||||
"win_kueOnline": [
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1
|
||||
],
|
||||
"win_kuePSTmMinus96V": [
|
||||
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_kueCableBreak": [
|
||||
1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 1, 1, 1, 1
|
||||
],
|
||||
"win_kueGroundFault": [
|
||||
1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_kueAlarm1": [
|
||||
1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0,
|
||||
1, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_kueAlarm2": [
|
||||
1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_kueOverflow": [
|
||||
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_kueIso": [
|
||||
10.0, 10.0, 10.0, 10.5, 10.0, 10.0, 10.0, 10.0, 10.5, 10.0, 10.0, 10.0,
|
||||
10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.5, 10.0, 10.0, 10.0,
|
||||
10.0, 10.0, 10.5, 10.0, 200.0, 200.0, 200.0, 200.0
|
||||
],
|
||||
"win_kueLimit1": [
|
||||
3, 9.9, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0,
|
||||
10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0,
|
||||
10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0
|
||||
],
|
||||
"win_kueDelay1": [
|
||||
3, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
||||
420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
|
||||
420, 420
|
||||
],
|
||||
"win_kueResidence": [
|
||||
0.0, 0.612, 0.0, 0.645, 0.822, 0.97, 0.0, 0.0, 1.452, 0.0, 0.734, 0.37,
|
||||
0.566, 0.0, 0.738, 0.684, 1.166, 0.595, 0.0, 1.651, 1.18, 1.387, 1.214, 0.0,
|
||||
1.475, 0.615, 0.494, 1.217, 65.0, 65.0, 65.0, 65.0
|
||||
],
|
||||
"win_kueLimit2Low": [
|
||||
3, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
||||
0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
||||
0.1, 0.1
|
||||
],
|
||||
"win_kueLimit2High": [
|
||||
3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1
|
||||
],
|
||||
"win_kueLoopInterval": [
|
||||
3, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
|
||||
6, 6, 6, 6, 6, 6, 6
|
||||
],
|
||||
"win_kueVersion": [
|
||||
420, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419,
|
||||
419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, 419,
|
||||
419, 419
|
||||
],
|
||||
"win_kueID": [
|
||||
"Test3",
|
||||
"B23",
|
||||
"Kabel 3",
|
||||
"Kabel 4",
|
||||
"Kabel 5",
|
||||
"Kabel 6",
|
||||
"FTZ4562",
|
||||
"Kabel 8",
|
||||
"12344",
|
||||
"Kabel 10",
|
||||
"Kabel 11",
|
||||
"Kabel 12",
|
||||
"Kabel 13",
|
||||
"Kabel 14",
|
||||
"Kabel 15",
|
||||
"H56-77",
|
||||
"Kabel 17",
|
||||
"Kabel 18",
|
||||
"Kabel 19",
|
||||
"Kabel 20",
|
||||
"Kabel 21",
|
||||
"Kabel 22",
|
||||
"Kabel 23",
|
||||
"Kabel 24",
|
||||
"Kabel 25",
|
||||
"Kabel 26",
|
||||
"Kabel 27",
|
||||
"Kabel 28",
|
||||
"Kabel 29",
|
||||
"Kabel 30",
|
||||
"Kabel 31",
|
||||
"Kabel 32"
|
||||
],
|
||||
"win_kueName": [
|
||||
"Kabel 1",
|
||||
"Kabel 2",
|
||||
"Kabel 3",
|
||||
"Kabel 4",
|
||||
"Kabel 5",
|
||||
"Kabel 6",
|
||||
"Kabel 7",
|
||||
"Kabel 8",
|
||||
"Kabel 9",
|
||||
"Kabel 10",
|
||||
"Kabel 11",
|
||||
"Kabel 12",
|
||||
"Kabel 13",
|
||||
"Kabel 14",
|
||||
"Kabel 15",
|
||||
"Kabel 16",
|
||||
"Kabel 17",
|
||||
"Kabel 18",
|
||||
"Kabel 19",
|
||||
"Kabel 20",
|
||||
"Kabel 21",
|
||||
"Kabel 22",
|
||||
"Kabel 23",
|
||||
"Kabel 24",
|
||||
"Kabel 25",
|
||||
"Kabel 26",
|
||||
"Kabel 27",
|
||||
"Kabel 28",
|
||||
"Kabel 29",
|
||||
"Kabel 30",
|
||||
"Kabel 31",
|
||||
"Kabel 32"
|
||||
],
|
||||
"win_tdrActive": [
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
||||
1, 1, 1, 1, 1, 1, 1
|
||||
],
|
||||
"win_tdrAtten": [
|
||||
11, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0,
|
||||
2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0,
|
||||
2.0, 2.0
|
||||
],
|
||||
"win_tdrSpeed": [
|
||||
112, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100,
|
||||
100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100,
|
||||
100, 100
|
||||
],
|
||||
"win_tdrTrigger": [
|
||||
102, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
|
||||
80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80
|
||||
],
|
||||
"win_tdrPulse": [
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_tdrAmp": [
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_tdrLocation": [
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0
|
||||
],
|
||||
"win_tdrLast": [
|
||||
"2024-10-17 07:51:54:000",
|
||||
"2024-09-30 08:38:50:000",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"2024-09-30 08:36:43:000",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?",
|
||||
"?"
|
||||
],
|
||||
"win_memoryInterval": [
|
||||
5, 0, 15, 0, 0, 15, 15, 0, 0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
|
||||
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0
|
||||
]
|
||||
}
|
||||
142
mocks/device-cgi-simulator/SERVICE/last20MessagesMockData.json
Normal file
142
mocks/device-cgi-simulator/SERVICE/last20MessagesMockData.json
Normal file
@@ -0,0 +1,142 @@
|
||||
[
|
||||
{
|
||||
"id": 11595,
|
||||
"code": "02501",
|
||||
"timestamp": "2025-06-20 10:01:33",
|
||||
"message": "Isofehler gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11594,
|
||||
"code": "02501",
|
||||
"timestamp": "2025-06-20 10:01:12",
|
||||
"message": "Isofehler kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11593,
|
||||
"code": "02000",
|
||||
"timestamp": "2025-06-20 09:51:37",
|
||||
"message": "DE 1 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11592,
|
||||
"code": "02001",
|
||||
"timestamp": "2025-06-20 09:51:20",
|
||||
"message": "DE 2 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11591,
|
||||
"code": "02001",
|
||||
"timestamp": "2025-06-20 09:50:50",
|
||||
"message": "DE 2 kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11590,
|
||||
"code": "02031",
|
||||
"timestamp": "2025-06-20 09:42:38",
|
||||
"message": "DE 32 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11589,
|
||||
"code": "02031",
|
||||
"timestamp": "2025-06-20 09:42:27",
|
||||
"message": "DE 32 kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11588,
|
||||
"code": "02031",
|
||||
"timestamp": "2025-06-20 09:42:16",
|
||||
"message": "DE 32 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11587,
|
||||
"code": "02000",
|
||||
"timestamp": "2025-06-20 09:41:36",
|
||||
"message": "DE 11 kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11586,
|
||||
"code": "02003",
|
||||
"timestamp": "2025-06-20 09:41:16",
|
||||
"message": "DE 4 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11585,
|
||||
"code": "02501",
|
||||
"timestamp": "2025-06-20 09:31:57",
|
||||
"message": "Isofehler gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11584,
|
||||
"code": "02501",
|
||||
"timestamp": "2025-06-20 09:26:26",
|
||||
"message": "Isofehler kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11583,
|
||||
"code": "02501",
|
||||
"timestamp": "2025-06-20 09:19:26",
|
||||
"message": "Isofehler gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11582,
|
||||
"code": "02002",
|
||||
"timestamp": "2025-06-20 09:17:53",
|
||||
"message": "DE 3 kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11581,
|
||||
"code": "02501",
|
||||
"timestamp": "2025-06-20 09:17:33",
|
||||
"message": "Isofehler kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11580,
|
||||
"code": "02000",
|
||||
"timestamp": "2025-06-20 09:12:09",
|
||||
"message": "DE 1 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11579,
|
||||
"code": "02003",
|
||||
"timestamp": "2025-06-20 09:05:30",
|
||||
"message": "DE 4 kommend",
|
||||
"status": 1
|
||||
},
|
||||
{
|
||||
"id": 11578,
|
||||
"code": "02002",
|
||||
"timestamp": "2025-06-20 09:05:27",
|
||||
"message": "DE 3 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11577,
|
||||
"code": "02001",
|
||||
"timestamp": "2025-06-20 09:05:23",
|
||||
"message": "DE 2 gehend",
|
||||
"status": 0
|
||||
},
|
||||
{
|
||||
"id": 11576,
|
||||
"code": "02000",
|
||||
"timestamp": "2025-06-20 09:02:09",
|
||||
"message": "DE 11 kommend",
|
||||
"status": 1
|
||||
}
|
||||
]
|
||||
5
mocks/device-cgi-simulator/SERVICE/opcuaMockData.json
Normal file
5
mocks/device-cgi-simulator/SERVICE/opcuaMockData.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"win_opcUaZustand": "1",
|
||||
"win_opcUaActiveClientCount": "0",
|
||||
"win_opcUaNodesetName": "CPL V4 OPC UA Application Deutsche Bahn"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"win_systemVoltTempMockData": [
|
||||
15.06, 4.984809, -15.086375, -96.480942, 59.782001, 56.919998
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user