Configured Daily jam statistics and added jams
This commit is contained in:
parent
ac50e0252e
commit
e2dd07f7d1
@ -31997,7 +31997,7 @@
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.1078,
|
||||
"x": 0.7234,
|
||||
"x": 0.7444,
|
||||
"y": 0.2463
|
||||
},
|
||||
"props": {
|
||||
@ -41733,6 +41733,294 @@
|
||||
"path": "Symbol-Views/Equipment-Views/Area_Nav_Button"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.0526,
|
||||
"y": 0.5009
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.28"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_0"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.0203,
|
||||
"y": 0.8074
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.35"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_1"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.1224,
|
||||
"y": 0.2814
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.32"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_2"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.263,
|
||||
"y": 0.424
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.27"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_3"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.2864,
|
||||
"y": 0.2415
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.38"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_4"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.3484,
|
||||
"y": 0.2592
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.39"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_5"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4099,
|
||||
"y": 0.4398
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.30"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_6"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4969,
|
||||
"y": 0.3361
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.33"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_7"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4959,
|
||||
"y": 0.4601
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.26"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_8"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4308,
|
||||
"y": 0.6814
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.25"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_9"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4089,
|
||||
"y": 0.8147
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.36"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_10"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.6276,
|
||||
"y": 0.8184
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.31"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_11"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.962,
|
||||
"y": 0.8063
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.37"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_12"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.9386,
|
||||
"y": 0.5591
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.29"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_13"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.9365,
|
||||
"y": 0.2822
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.34"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_14"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.7162,
|
||||
"y": 0.2674
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.40"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"custom": {
|
||||
|
||||
@ -5600,6 +5600,42 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.2417,
|
||||
"y": 0.3009
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.40"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_0"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.9302,
|
||||
"y": 0.3102
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.34"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
@ -5276,6 +5276,78 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.6844,
|
||||
"y": 0.4
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.33"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_0"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.45,
|
||||
"y": 0.713
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.30"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_1"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.2198,
|
||||
"y": 0.7074
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.27"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_2"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.3235,
|
||||
"y": 0.3268
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.39"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
@ -5129,6 +5129,78 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_1"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.5037,
|
||||
"y": 0.4
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.38"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_2"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.724,
|
||||
"y": 0.3491
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.39"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_3"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.1709,
|
||||
"y": 0.488
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.32"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_4"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4318,
|
||||
"y": 0.7861
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.27"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
@ -13249,6 +13249,60 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_3"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.0287,
|
||||
"y": 0.2426
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.28"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_4"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4532,
|
||||
"y": 0.4593
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.25"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_5"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.5027,
|
||||
"y": 0.1686
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.26"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
@ -10669,6 +10669,96 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_4"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.0162,
|
||||
"y": 0.6298
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.35"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_5"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.4449,
|
||||
"y": 0.6237
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.36"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_6"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.5491,
|
||||
"y": 0.6229
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.31"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_7"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.9696,
|
||||
"y": 0.578
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.37"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "THEA_8"
|
||||
},
|
||||
"position": {
|
||||
"height": 0.038,
|
||||
"width": 0.0151,
|
||||
"x": 0.9093,
|
||||
"y": 0.4155
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"ip": "10.56.172.29"
|
||||
},
|
||||
"path": "Symbol-Views/Equipment-Views/THEA"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
SELECT
|
||||
Name,
|
||||
COALESCE(Jam_count, 0) AS Jam_count
|
||||
FROM (
|
||||
SELECT
|
||||
FROM_UNIXTIME(
|
||||
FLOOR(UNIX_TIMESTAMP(t_stamp) /
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) *
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) AS roundtime,
|
||||
Name,
|
||||
COUNT(*) AS Jam_count
|
||||
FROM (
|
||||
-- Jams from jam_area table
|
||||
SELECT Name, t_stamp
|
||||
FROM jam_area
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
|
||||
UNION ALL
|
||||
|
||||
-- Jams from lane_data table (only where Jam = 1)
|
||||
SELECT Name, t_stamp
|
||||
FROM lane_data
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
AND Jam = 1
|
||||
) AS combined_jams
|
||||
GROUP BY roundtime, Name
|
||||
ORDER BY roundtime ASC
|
||||
) basa;
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"scope": "DG",
|
||||
"version": 2,
|
||||
"restricted": false,
|
||||
"overridable": true,
|
||||
"files": [
|
||||
"query.sql"
|
||||
],
|
||||
"attributes": {
|
||||
"useMaxReturnSize": false,
|
||||
"autoBatchEnabled": false,
|
||||
"fallbackValue": "",
|
||||
"maxReturnSize": 100,
|
||||
"cacheUnit": "SEC",
|
||||
"type": "Query",
|
||||
"enabled": true,
|
||||
"cacheAmount": 1,
|
||||
"cacheEnabled": false,
|
||||
"database": "",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "07f199a70b6a52abce5790afd981ecc43c83d8aad07d182dbd379845e400c5d9",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
"role": ""
|
||||
}
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-27T19:53:04Z"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "starttime",
|
||||
"sqlType": 8
|
||||
},
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "endtime",
|
||||
"sqlType": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
SELECT
|
||||
Name,
|
||||
COALESCE(
|
||||
CASE
|
||||
WHEN Total_jams > 0 THEN ROUND((Jam_count / Total_jams) * 100, 2)
|
||||
ELSE 0
|
||||
END,
|
||||
0) AS Jam_percentage
|
||||
FROM (
|
||||
SELECT
|
||||
FROM_UNIXTIME(
|
||||
FLOOR(UNIX_TIMESTAMP(t_stamp) /
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) *
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) AS roundtime,
|
||||
Name,
|
||||
COUNT(*) AS Jam_count,
|
||||
SUM(COUNT(*)) OVER () AS Total_jams
|
||||
FROM (
|
||||
-- Jams from jam_area table
|
||||
SELECT Name, t_stamp
|
||||
FROM jam_area
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
|
||||
UNION ALL
|
||||
|
||||
-- Jams from lane_data table (only where Jam = 1)
|
||||
SELECT Name, t_stamp
|
||||
FROM lane_data
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
AND Jam = 1
|
||||
) AS combined_jams
|
||||
GROUP BY roundtime, Name
|
||||
ORDER BY roundtime ASC
|
||||
) basa;
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"scope": "DG",
|
||||
"version": 2,
|
||||
"restricted": false,
|
||||
"overridable": true,
|
||||
"files": [
|
||||
"query.sql"
|
||||
],
|
||||
"attributes": {
|
||||
"useMaxReturnSize": false,
|
||||
"autoBatchEnabled": false,
|
||||
"fallbackValue": "",
|
||||
"maxReturnSize": 100,
|
||||
"cacheUnit": "SEC",
|
||||
"type": "Query",
|
||||
"enabled": true,
|
||||
"cacheAmount": 1,
|
||||
"cacheEnabled": false,
|
||||
"database": "",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "4e70817ae10f5d3afc1db1ea89fa81bfd991e120562065a45bf295e7bdf1fe26",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
"role": ""
|
||||
}
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-27T19:52:56Z"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "starttime",
|
||||
"sqlType": 8
|
||||
},
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "endtime",
|
||||
"sqlType": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
SELECT
|
||||
Name,
|
||||
COALESCE(Jam_rate, 0) AS Jam_rate
|
||||
FROM (
|
||||
SELECT
|
||||
FROM_UNIXTIME(
|
||||
FLOOR(UNIX_TIMESTAMP(t_stamp) /
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) *
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) AS roundtime,
|
||||
Name,
|
||||
CASE
|
||||
WHEN TIMESTAMPDIFF(SECOND, :starttime, :endtime) = 0 THEN 0
|
||||
ELSE ROUND(COUNT(*) * 3600.0 / TIMESTAMPDIFF(SECOND, :starttime, :endtime), 2)
|
||||
END AS Jam_rate
|
||||
FROM (
|
||||
-- Jams from jam_area table
|
||||
SELECT Name, t_stamp
|
||||
FROM jam_area
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
|
||||
UNION ALL
|
||||
|
||||
-- Jams from lane_data table (only where Jam = 1)
|
||||
SELECT Name, t_stamp
|
||||
FROM lane_data
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
AND Jam = 1
|
||||
) AS combined_jams
|
||||
GROUP BY roundtime, Name
|
||||
ORDER BY roundtime ASC
|
||||
) basa;
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"scope": "DG",
|
||||
"version": 2,
|
||||
"restricted": false,
|
||||
"overridable": true,
|
||||
"files": [
|
||||
"query.sql"
|
||||
],
|
||||
"attributes": {
|
||||
"useMaxReturnSize": false,
|
||||
"autoBatchEnabled": false,
|
||||
"fallbackValue": "",
|
||||
"maxReturnSize": 100,
|
||||
"cacheUnit": "SEC",
|
||||
"type": "Query",
|
||||
"enabled": true,
|
||||
"cacheAmount": 1,
|
||||
"cacheEnabled": false,
|
||||
"database": "",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "dfbdfd20369dc162f4488abbfd275b33ff335614707c2736f8fb6e94e28fbae5",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
"role": ""
|
||||
}
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-27T19:53:21Z"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "starttime",
|
||||
"sqlType": 8
|
||||
},
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "endtime",
|
||||
"sqlType": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "b2523a1ce2126e72c363b8d4b19cddddc20f4b4c5e67c9ab713158345367e707",
|
||||
"lastModificationSignature": "2a46c29bbc511dff74ff01835969ba6d3e403203b5525d0568dfa0dc91436975",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T22:48:41Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "1e42557a94550e54c0f6f576b473d7ef26afc3ea8f6bea00121b60a51e6d21bc",
|
||||
"lastModificationSignature": "1f4680f55ea6cd8b925f88b1414ba161dd41da63adefb6820661ce4e895d6c66",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T15:10:56Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "ff45a4784c461d7475e8fd1704fa5f0dad259af7929fd4587befce6955e783fb",
|
||||
"lastModificationSignature": "75c0cecde18c49c35c168e5258ce9aac9481c4cf2400cd2d7aa73f7c18aaf678",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T22:48:35Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "997069df31c385420c5c3fd0d35d0028b7ba1921bcb1642035872d520411b724",
|
||||
"lastModificationSignature": "109bd3d260547859c7af98d88831547b525f8be4cf65e6fa6b43403e59c0e953",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T15:11:06Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "4a4ac889fdb872d075a981db504e2f2299f1c22f354554b854f13b451f024825",
|
||||
"lastModificationSignature": "01823e3b87896550a609d260c08492627bc7a0834adc774e4bf342a11ded429b",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T00:48:40Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "7ea28fbd26a02baf7d974e16801a2e96b4023c6d08d34ff1fabda371ed6a8440",
|
||||
"lastModificationSignature": "950436212d6ed61fd4a88b4f25b056462a9bae787c1b59280828f5bf1a801911",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T01:15:53Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "18c303007e5081777a959cde7820aeebed1b22309ea88c08248ad1cd678be098",
|
||||
"lastModificationSignature": "fda6654011b7022f8f683b13af7a944eccd9b8f6c6296fb43c4efa1cd1a2bf09",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T00:48:46Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "9327117fe9f5adcb336297d6464769c60bbe61056579f45d253b45979d1f6238",
|
||||
"lastModificationSignature": "ec932b35c1c9c7255288e7e7e846fedf520c4b979f29450031a190d50f5162ec",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T00:48:34Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "ecc11149aa21d2ad54d544a9b3807bb79d9df89b87d8e115f13b78fb8c0b564e",
|
||||
"lastModificationSignature": "f043b8cb6df11837c2b2e9ef67fcf2c5ddd3954e0f6a5c7299474276304077d3",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T23:41:55Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "919cb7adf6edd2ee1334a33677923e47800356f51fb8334a9f5b57e8cb204cd6",
|
||||
"lastModificationSignature": "def26e641be768c47d0ada5f1700279edcd0219ac3d623e4f4ce2713da680b14",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T15:18:56Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "32da4b2a157798427cf292d6f35ef731af2b6b37b5b2d8759016187893739ecd",
|
||||
"lastModificationSignature": "f2a19d970cd17a5b82af0f31b0e7a33d38f2019d9c4e67b7e3640aff4f6d348d",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T00:23:07Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "9d2ca32200fc456a28dd9b9b29efb0f21357efdec7c05662452a6c28be06de92",
|
||||
"lastModificationSignature": "af79ff4e14f556d82e7538b87c133db9573eeeb25f1fc6b2c97a81171ea2fb8b",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T15:19:00Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "774c2eeef10bf04b8102451a8e2d467432d0485576233188509d4a52305a0058",
|
||||
"lastModificationSignature": "698d11027b316295fa69d8da444e0452c1de313424fe5bb5e46a2681db4a5106",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T00:38:26Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "a94ee6c482cdae6549c58b2251842c06a43e080d116d11d1547efe952c8e388a",
|
||||
"lastModificationSignature": "5ec0de9f044f5f05fc2f4de1fb7ba9de69c736a57bc638b18d5abf8ee249fd17",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T15:36:15Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "af720882179fb09d0ff6af696dfc9e271b9bffd4e15045781bdc1716a68a29cb",
|
||||
"lastModificationSignature": "492f86f62c3c02b87ee951392d5fe9a51e4be692257b6d7459ff1a82c0f3b035",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T00:38:26Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "92d0d9512b7ebd71b35f4105f2cfcfd54b81902034962049ce0553c504b37f1d",
|
||||
"lastModificationSignature": "f88647546df1c988c5bf411bedfbe9ca4f92ad6ae439cc67a9b57a7ddd2d4321",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T15:36:23Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "5ae7076404d4b0e7ed8e57f2b305f190acb3f19e2a093d93baa7b3aa5b94d9d5",
|
||||
"lastModificationSignature": "b63acd3ea2efc4e635eb7bb2e068b181b7d3a5902251163fceb3d4dfe409a1c4",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-27T19:09:01Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "cf6d06522e108526764a89e38a249f51240e3aaf98667564741f776638c5685c",
|
||||
"lastModificationSignature": "6986a6d69c7ea94440bd1aa0a4196ea2bfd29a16b3600a4370508dca146666b2",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-27T19:09:01Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "a4c09c4c2d592c0f317cda24d29b3040226dcc8e73e7f138b12ce885b22f1b88",
|
||||
"lastModificationSignature": "199bb89e044494c2fbb422786804122fb33bb5aaa9386755fbfb6f9a7fc4821d",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-27T19:09:01Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "799838101be233537de98f83a148d9982984b7a609fee301d4865a2a6b909779",
|
||||
"lastModificationSignature": "965af8f20aa7ff8c26d3168a067e6b8c0380cb3f37fa7114788b3b923a14582f",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T22:28:24Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "24a32d044e5bf04f320e8d2df170a441a10cf5a8e9af49c117dd14ea0844b70f",
|
||||
"lastModificationSignature": "32a99eacf0f765871050eaec7d03684b1b753f662a9aeb057e1dc631ef5a3813",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T18:06:29Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "4b5af1d81740708bbca4e4b672315c1b15bae8aba11c2512c86557d1cab24063",
|
||||
"lastModificationSignature": "11d1e2c9c08a5733a724fa0819248420cf9a89b8433f7b959a13d0a9c318c1ff",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T16:16:56Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "b3046b90832635a902050b0e0eec0bc6f488754adfa3465f5d8a569e45fad2a1",
|
||||
"lastModificationSignature": "95c87e3f90deb11bc7882b9de842bb6fab4a67e174713e436c92374576a2b405",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T18:06:37Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "ffdd8a627f99eac8fd91315c27f347df9d4601b35986347d57e70fe8e70da17c",
|
||||
"lastModificationSignature": "c76f4ddbae5e7eb939bb20c7cb207b9df7ac3a5d65c6aa5983e1b519bfad3d35",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T16:16:56Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "31e9d0357c2e17f4f873b1c1b0259e90f4240463ddc1c46cd1ff1bfd60b340a9",
|
||||
"lastModificationSignature": "ae8e787dff2bd64b372fd5bb2b3f74170e4b1c6dee393dade94bf82bfba6996d",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T18:06:44Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "c1f46603a7f1ab6e4b424e1d757075182d4e8b109d5b7f35095172f447748ef2",
|
||||
"lastModificationSignature": "1192653b1d4e67a263a0cd86a5f20fa6d6ba448e9263b1849528e6eab0da0429",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-25T01:15:42Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "55b77aa216291efbf4a846864bee2382d3cf9082190bc2255903059cd366ae1e",
|
||||
"lastModificationSignature": "445c8430e67db342fdb57c0f795e01ed04ce6b57566e3c352d0c81ec8121eebb",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T20:29:08Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "0ecfe5bd3916141ba623b9973ce8c3844121a6794345fe4e700325acbdbb1e26",
|
||||
"lastModificationSignature": "6f4db55ac10db41879847d1b05258c5c1f23da7c41320674c35c864193f8db7d",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T20:29:01Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "eb96e41a57f7b5337e45c80805c1b61bbaa94116f99ac9830af65745acb9aad0",
|
||||
"lastModificationSignature": "a01b5dc29c745b6fd03c2694c772ec324e5f2ba143dd6d972b30ce30fe9b38e2",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:51Z"
|
||||
"timestamp": "2025-10-24T22:28:39Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "3580bb0e876c640c5d89f3dca7f1edeaa9217caa415c809ee86aa8ef766fedab",
|
||||
"lastModificationSignature": "98d693ab32f861b49967a95a7b3d4f5e06bba323dace8ad87f8001703f750857",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-25T16:52:44Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "3c70cac6db8cf843e8fe67831bcdbb5187616b0a9e8afd07cbc3e702120d69ea",
|
||||
"lastModificationSignature": "15d5e5432453fee6c223b5f2fcb50ae57590deb4f5cd5fcc1765e7ce033e4139",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-25T16:54:38Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "58dbc1a708f7bf70fd39b54ef22d2b97cdd137b7e5755ddd013984456dce4577",
|
||||
"lastModificationSignature": "767f434d4cd8abcfe0d2f85326537f3b44a27512de7434e8b9383d2e5812793f",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-25T16:57:53Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "fd29decb929e9a19f135a360777296a45fe907d43a93b4a72b858e649f6af453",
|
||||
"lastModificationSignature": "3b561a3577b565d9ca9a4510a585fa553d2ac09bfa61e7ec1264c24f57ce183f",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-25T16:54:48Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "fa00c65d0bf8f608e79a7a8f7d38a3483113368e921e1a1f3ae1421e1e0f6bf0",
|
||||
"lastModificationSignature": "0315a3cbcf4281235685e2b18fb0702ac05189ef1761532e87f8cf32f9f7e273",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-25T17:00:42Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "5c8ed6ffd0560a1fe4f7cf4c3c0c72354eb0f8b3e5a72c6e9c1befbc56a48a9c",
|
||||
"lastModificationSignature": "5318e0d3310c9562a15249dc9d523e61e89dd5fd3dd2d7fe962e8cc5a20046fa",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-25T17:00:36Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "99adbf01fd8bfc7d85cea0b06b0146b84d7dcb2f5b166952c16b2e917f372b4e",
|
||||
"lastModificationSignature": "a569095905cbe76292c6d008cb131112815b72ee1f1270927400096b785910e3",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T22:28:11Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "0b4148eedf21fe652bb118c936547f5217be62c91814f17742282c2aa13f4453",
|
||||
"lastModificationSignature": "4a3b686595aba3116be41ac00fe96a59af12de89174db3b9df521b222dcb1c7b",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T17:00:56Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "e43391287cdad8162391dd72bde42b2b9b9784cad379c8e5323dbd72e6021743",
|
||||
"lastModificationSignature": "8bf3a1c39eb18337558077e513be8a70c43b648db2db9f89824ead9cd8e98ed2",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T17:01:02Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "9764168c3b1dff3adfe1c9aa0704d26a7fb3c181deceaa1f52f05b84a3a4146b",
|
||||
"lastModificationSignature": "dab751232777998f668dc0c6cb1c5e5300b365434eb8a76878cdcd4548899190",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T17:37:54Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "1904d829b981965b37c01cadb211b23c6a0cf85ed5732924d1183226b4c5f8d6",
|
||||
"lastModificationSignature": "e1d71dc659e19406b7b6989b89a4285e581ecb86e347c9dcfd5105162084d6ea",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T17:38:11Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "c4d66fb8482f00d6dbf84a32ec654bd7088e68d2eb7a24631d4f21d1f94e1056",
|
||||
"lastModificationSignature": "9509dcd96ebe6a8627a91e9dd82219eb416656a16865fb9d0761f0980a92cb30",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T17:38:46Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -0,0 +1,31 @@
|
||||
SELECT
|
||||
Name,
|
||||
COALESCE(Jam_count, 0) AS Jam_count
|
||||
FROM (
|
||||
SELECT
|
||||
FROM_UNIXTIME(
|
||||
FLOOR(UNIX_TIMESTAMP(t_stamp) /
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) *
|
||||
CEIL(TIMESTAMPDIFF(SECOND, :starttime, :endtime) / 24.0)
|
||||
) AS roundtime,
|
||||
Name,
|
||||
COUNT(*) AS Jam_count
|
||||
FROM (
|
||||
-- Jams from jam_area table
|
||||
SELECT Name, t_stamp
|
||||
FROM jam_area
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
|
||||
UNION ALL
|
||||
|
||||
-- Jams from lane_data table (only where Jam = 1)
|
||||
SELECT Name, t_stamp
|
||||
FROM lane_data
|
||||
WHERE t_stamp BETWEEN :starttime AND :endtime
|
||||
AND Jam = 1
|
||||
) AS combined_jams
|
||||
GROUP BY roundtime, Name
|
||||
ORDER BY roundtime ASC
|
||||
) basa;
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"scope": "DG",
|
||||
"version": 2,
|
||||
"restricted": false,
|
||||
"overridable": true,
|
||||
"files": [
|
||||
"query.sql"
|
||||
],
|
||||
"attributes": {
|
||||
"useMaxReturnSize": false,
|
||||
"autoBatchEnabled": false,
|
||||
"fallbackValue": "",
|
||||
"maxReturnSize": 100,
|
||||
"cacheUnit": "SEC",
|
||||
"type": "Query",
|
||||
"enabled": true,
|
||||
"cacheAmount": 1,
|
||||
"cacheEnabled": false,
|
||||
"database": "",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "91bb964eadbbc3c80f6f15fae29e9c3082d91c071a463fbe51a6f83d0217a5cc",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
"role": ""
|
||||
}
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-27T19:42:26Z"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "starttime",
|
||||
"sqlType": 8
|
||||
},
|
||||
{
|
||||
"type": "Parameter",
|
||||
"identifier": "endtime",
|
||||
"sqlType": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "177422093c34b515efaee8afe0d73e2cbe731303b89e6ce50e3a57624b935b3c",
|
||||
"lastModificationSignature": "4049a0ce5eb17a988e0a0897dbffb64742a3e86dcf3531f2123f43466431f979",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T22:25:41Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "297cb0594aaf360833193fd22e7d5be69196a57163639d2d4726d8fa9fecf163",
|
||||
"lastModificationSignature": "295b7b879ad88bbc89fcd01334a08403c19dc7bb90bea7e8219472b203fdd9be",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T18:47:56Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "3678fb6fe2c0614ce04ff836f9e2dd652aa55e20f9892ecc0b076eabc82af25b",
|
||||
"lastModificationSignature": "dc21ebfcbc51d9d3c690f8910774a45b57df1b0db21b527ec3ffb6e0423ad463",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T18:48:04Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "0d51e2b5846485ffb40fb75a6666943d612e1fcaa2fe0fd838ad67752951fb1b",
|
||||
"lastModificationSignature": "15084429614b5de5146e5d098d092af6303cf7ad3ba7e2a75b574caa49995457",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T19:02:42Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "8191b5922d78643017e84dd6e3be05ea8936362455dba87f277315e4bdefe898",
|
||||
"lastModificationSignature": "6ed1248151fe3149176622268697408b093424f0e57688a783c1bca93c3de1e6",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T18:51:26Z"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "ce45e41da1d7e9427b673cfff306508c120a9eaac573868b8a608f92708f8ae6",
|
||||
"lastModificationSignature": "9fe4c5f09b3a4a7ea83129ad7b161d1e8fbf06dbdd3cbf9177df5173c230f0c2",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-24T19:12:02Z"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "47693a2d500afd07e900d1d5760729290e5aa5c048d5d663b1c6ad4f01c1dba6",
|
||||
"lastModificationSignature": "e680300665b1933ac5c5380a8b9395c4d35cdc6eb76020dd19dfff2738a24afd",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-27T19:09:13Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
@ -18,7 +18,7 @@
|
||||
"cacheEnabled": false,
|
||||
"database": "MariaDB",
|
||||
"fallbackEnabled": false,
|
||||
"lastModificationSignature": "e3e8fc6e951a879406e9ec0ac5d143e42c0205eaadb4e493ab8c911947116ca8",
|
||||
"lastModificationSignature": "7cbb67e24e2ad848f668d87ead8cc3ce2dd0ef9543d26a788cf93e13f6c9b4e4",
|
||||
"permissions": [
|
||||
{
|
||||
"zone": "",
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-25T22:45:52Z"
|
||||
"timestamp": "2025-10-27T19:09:13Z"
|
||||
},
|
||||
"syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider",
|
||||
"parameters": [
|
||||
@ -0,0 +1,17 @@
|
||||
{
|
||||
"scope": "G",
|
||||
"version": 1,
|
||||
"restricted": false,
|
||||
"overridable": true,
|
||||
"files": [
|
||||
"view.json",
|
||||
"thumbnail.png"
|
||||
],
|
||||
"attributes": {
|
||||
"lastModification": {
|
||||
"actor": "admin",
|
||||
"timestamp": "2025-10-17T16:55:04Z"
|
||||
},
|
||||
"lastModificationSignature": "6f8c06b108e7b790016d3ff451f64f7deb443c8aaefa0a4c22c4c97e224ebfb0"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
@ -0,0 +1,49 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"ipaddress": "10.193.87.55"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.ipaddress": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 360,
|
||||
"width": 640
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "VideoPlayer"
|
||||
},
|
||||
"position": {
|
||||
"height": 360,
|
||||
"width": 640
|
||||
},
|
||||
"propConfig": {
|
||||
"props.source": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "\"http://\" + {view.params.ipaddress} + \"/cgi-bin/mjpeg?resolution\u003d640x360\""
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"liveFeed": true
|
||||
},
|
||||
"type": "ia.display.video-player"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -1,271 +1,12 @@
|
||||
{
|
||||
"custom": {
|
||||
"alarm_message": null,
|
||||
"covert_mode": true,
|
||||
"disconnected": false,
|
||||
"display_icon": true,
|
||||
"error": false,
|
||||
"isMatch": 0,
|
||||
"plc": "value",
|
||||
"priority": 0,
|
||||
"priority_string": "No active alarms",
|
||||
"running_status": 0,
|
||||
"searchId": "PLC01",
|
||||
"state": 5,
|
||||
"state_string": "Unknown"
|
||||
},
|
||||
"custom": {},
|
||||
"params": {
|
||||
"directionLeft": false,
|
||||
"forceFaultStatus": null,
|
||||
"forceRunningStatus": null,
|
||||
"tagProps": [
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value",
|
||||
"value"
|
||||
]
|
||||
"ip": "value"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.alarm_message": {
|
||||
"persistent": true
|
||||
},
|
||||
"custom.covert_mode": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.state"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "case(\t{value},\r\n\t\t0, {session.custom.alarm_filter.show_running},\r\n\t\t1, True,\r\n\t\t2, True,\r\n\t\t3, {session.custom.alarm_filter.show_low_alarm},\r\n\t\t4, {session.custom.alarm_filter.show_diagnostic},\r\n\t\t5, {session.custom.alarm_filter.show_running},\r\n\t\tFalse)",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.disconnected": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"fc": "{session.custom.fc}",
|
||||
"plc": "{view.custom.plc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{plc}/DCN"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "if(isNull({value}), False, {value})",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.display_icon": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{this.custom.covert_mode}//||{this.custom.isMatch}\u003e0"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.error": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.state"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "0 \u003c {value} \u0026\u0026 {value} \u003c 5",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.isMatch": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if({view.params.tagProps[0]}\u003d\"value\",0,\nif({this.custom.searchId}\u003d{view.params.tagProps[0]},100,0))"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.plc": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagProps[0]"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "split({value}, \"/\")[0]",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.priority": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.state"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": 0,
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": 4
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": 3
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": 2
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": 1
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.priority_string": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "case({view.custom.state},\r\n1, \"High\",\r\n2, \"Medium\",\r\n3, \"Low\",\r\n4, \"Diagnostic\",\r\n5, \"No active alarms\",\r\n\"Unknown\")"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.running_status": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceRunningStatus},0)",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.searchId": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "session.custom.searchId"
|
||||
},
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.state": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"0": "{view.params.tagProps[0]}",
|
||||
"fc": "{session.custom.fc}"
|
||||
},
|
||||
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/ALARMST"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"fallback": null,
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 4,
|
||||
"output": 1
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": 2
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": 3
|
||||
},
|
||||
{
|
||||
"input": 1,
|
||||
"output": 4
|
||||
},
|
||||
{
|
||||
"input": 0,
|
||||
"output": 5
|
||||
}
|
||||
],
|
||||
"outputType": "scalar",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.state_string": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "case({view.custom.running_status},\r\n1, \"Faulted\",\r\n2, \"Stopped\",\r\n3, \"Running\",\r\n\"Unknown\")"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"params.directionLeft": {
|
||||
"params.ip": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.forceFaultStatus": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.forceRunningStatus": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagProps": {
|
||||
"paramDirection": "inout",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
@ -284,88 +25,6 @@
|
||||
"height": 1,
|
||||
"width": 1
|
||||
},
|
||||
"propConfig": {
|
||||
"props.elements[1].elements[0].fill.paint": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.state"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "if({session.custom.colours}[\"state\"+{value}] \u003d null, \r\n{session.custom.colours}[\"Fallback\"],\r\n{session.custom.colours}[\"state\"+{value}])",
|
||||
"type": "expression"
|
||||
},
|
||||
{
|
||||
"expression": "if({view.custom.display_icon}\u0026\u0026 {view.custom.isMatch}\u003d0,{value},{value}+\u002700\u0027)",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.style.classes": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if({session.custom.colours.colour_impaired} \u003d True \u0026\u0026 {view.custom.isMatch} \u003e 0,\r\n{view.custom.state} + 100 + {view.custom.isMatch},\r\n{view.custom.state} + {view.custom.isMatch})"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 101,
|
||||
"output": "State-Styles/State101"
|
||||
},
|
||||
{
|
||||
"input": 102,
|
||||
"output": "State-Styles/State102"
|
||||
},
|
||||
{
|
||||
"input": 103,
|
||||
"output": "State-Styles/State103"
|
||||
},
|
||||
{
|
||||
"input": 104,
|
||||
"output": "State-Styles/State104"
|
||||
},
|
||||
{
|
||||
"input": 105,
|
||||
"output": "State-Styles/State105"
|
||||
},
|
||||
{
|
||||
"input": 106,
|
||||
"output": "State-Styles/State106"
|
||||
},
|
||||
{
|
||||
"input": 201,
|
||||
"output": "State-Styles/State201"
|
||||
},
|
||||
{
|
||||
"input": 202,
|
||||
"output": "State-Styles/State202"
|
||||
},
|
||||
{
|
||||
"input": 203,
|
||||
"output": "State-Styles/State203"
|
||||
},
|
||||
{
|
||||
"input": 204,
|
||||
"output": "State-Styles/State204"
|
||||
},
|
||||
{
|
||||
"input": 205,
|
||||
"output": "State-Styles/State205"
|
||||
}
|
||||
],
|
||||
"outputType": "style-list",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"elements": [
|
||||
{
|
||||
@ -377,7 +36,9 @@
|
||||
"elements": [
|
||||
{
|
||||
"d": "M 108.69378,77.205299 A 30.372795,30.372799 0 0 1 78.350262,107.57808 30.372795,30.372799 0 0 1 47.948245,77.263855 30.372795,30.372799 0 0 1 78.23315,46.832627 a 30.372795,30.372799 0 0 1 30.4604,30.255561",
|
||||
"fill": {},
|
||||
"fill": {
|
||||
"paint": "#00FF00"
|
||||
},
|
||||
"id": "path2823",
|
||||
"name": "path2823",
|
||||
"stroke": {
|
||||
@ -473,7 +134,6 @@
|
||||
"fill": {
|
||||
"paint": "#000000"
|
||||
},
|
||||
"style": {},
|
||||
"viewBox": "0 0 29.22 29.22"
|
||||
},
|
||||
"type": "ia.shapes.svg"
|
||||
@ -483,107 +143,32 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})"
|
||||
"draggable": true,
|
||||
"id": "{view.params.ip}",
|
||||
"modal": false,
|
||||
"overlayDismiss": false,
|
||||
"resizable": true,
|
||||
"showCloseIcon": true,
|
||||
"title": "{view.params.ip}",
|
||||
"type": "open",
|
||||
"viewParams": {
|
||||
"ipaddress": "{view.params.ip}"
|
||||
},
|
||||
"viewPath": "Main-Views/Livefeed",
|
||||
"viewportBound": false
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
},
|
||||
"onDoubleClick": {
|
||||
"config": {
|
||||
"script": "\ttagProps \u003d self.view.params.tagProps\n\tsystem.perspective.openPopup(\"StatusPopUP\", \"PopUp-Views/Controller-Equipment/Information\", params \u003d{\"tagProps\":tagProps})\n\t"
|
||||
},
|
||||
"enabled": false,
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
},
|
||||
"onMouseEnter": {
|
||||
"config": {
|
||||
"script": "\tfrom time import sleep\n\t\n\talarm \u003d []\n\tmessage \u003d None\n\t\n\tsleep(0.5)\n\t\n\tif system.tag.exists(\"System/aws_data\"):\n\t\tif self.view.params.tagProps[0] !\u003d \"\":\n\t\t\ttags_to_read \u003d system.tag.readBlocking(\"System/aws_data\")\n\t\t\tdecode_alarm_data \u003d system.util.jsonDecode(tags_to_read[0].value)\n\t\t\talarm \u003d [decode_alarm_data[i] for i in decode_alarm_data\n\t\t\t\t\tif decode_alarm_data[i][\u0027sourceId\u0027].startswith(self.view.params.tagProps[0])]\n\t\tif alarm:\n\t\t\talarm \u003d sorted(alarm, key \u003d lambda t:t[\u0027timestamp\u0027], reverse\u003dTrue)\n\t\t\tmessage \u003d max(alarm, key \u003d lambda p:p[\u0027priority\u0027]).get(\u0027message\u0027)\n\t\t\tif len(alarm) \u003e 1:\n\t\t\t\tmessage +\u003d \" (+\" + str(len(alarm)-1) + \")\"\n\tself.view.custom.alarm_message \u003d message"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
"scope": "C",
|
||||
"type": "popup"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "root",
|
||||
"tooltip": {
|
||||
"enabled": true,
|
||||
"location": "top-left",
|
||||
"style": {}
|
||||
"location": "top-left"
|
||||
}
|
||||
},
|
||||
"propConfig": {
|
||||
"meta.tooltip.style.backgroundColor": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.state"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "case({value},\r\n0,{session.custom.colours.state0},\r\n1,{session.custom.colours.state1},\r\n2,{session.custom.colours.state2},\r\n3,{session.custom.colours.state3},\r\n4,{session.custom.colours.state4},\r\n5,{session.custom.colours.state5},\r\n6,{session.custom.colours.state6},\r\n{session.custom.colours.fallback}\r\n)",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"meta.tooltip.style.classes": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "{view.custom.priority}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "Alarms-Styles/NoAlarm",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": 1,
|
||||
"output": "Alarms-Styles/Diagnostic"
|
||||
},
|
||||
{
|
||||
"input": 2,
|
||||
"output": "Alarms-Styles/Low"
|
||||
},
|
||||
{
|
||||
"input": 3,
|
||||
"output": "Alarms-Styles/Medium"
|
||||
},
|
||||
{
|
||||
"input": 4,
|
||||
"output": "Alarms-Styles/High"
|
||||
}
|
||||
],
|
||||
"outputType": "style-list",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"meta.tooltip.style.color": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.state"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "if({session.custom.colours.colour_impaired},\r\n\t\u0027#000000\u0027,\r\n\tcase(\t{value},\r\n\t\t\t1,\u0027#FFFFFF\u0027,\r\n\t\t\t2,\u0027#000000\u0027,\r\n\t\t\t3,\u0027#000000\u0027,\r\n\t\t\t4,\u0027#FFFFFF\u0027,\r\n\t\t\t5,\u0027#FFFFFF\u0027,\r\n\t\t\t\u0027#000000\u0027)\r\n\t)",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"meta.tooltip.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if({view.custom.disconnected} \u003d False,\n\tif(isNull({view.custom.alarm_message}),\n\t\"Source Id: \" + {view.params.tagProps[0]} +\n\t\", Priority: \" + {view.custom.priority_string} +\n\t\", State: \" + {view.custom.state_string},\n\t\"Source Id: \" + {view.params.tagProps[0]} +\n\t\", Alarm: \" + {view.custom.alarm_message} +\n\t\", Priority: \" + {view.custom.priority_string} +\n\t\", State: \" + {view.custom.state_string}),\n\"Source Id: \" +{view.params.tagProps[0]} + \", Priority: Unknown, State: Unknown\")"
|
||||
},
|
||||
"type": "expr"
|
||||
}
|
||||
},
|
||||
"meta.visible": {
|
||||
"binding": {
|
||||
"config": {
|
||||
@ -591,32 +176,6 @@
|
||||
},
|
||||
"type": "property"
|
||||
}
|
||||
},
|
||||
"props.style.classes": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.disconnected"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": "Disconnects/Device-Connected",
|
||||
"inputType": "scalar",
|
||||
"mappings": [
|
||||
{
|
||||
"input": true,
|
||||
"output": "Disconnects/Device-Disconnected"
|
||||
},
|
||||
{
|
||||
"input": false,
|
||||
"output": "Disconnects/Device-Connected"
|
||||
}
|
||||
],
|
||||
"outputType": "style-list",
|
||||
"type": "map"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user