diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json index c742d8d..00c81bc 100644 --- a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json @@ -1,7 +1,7 @@ { "custom": {}, "params": { - "Tab_ID": 6, + "Tab_ID": 0, "Table": "Statistics" }, "propConfig": { @@ -29660,7 +29660,6 @@ } }, "props": { - "currentTabIndex": 6, "menuStyle": { "backgroundColor": "#FFFFFFBD" }, @@ -32169,7 +32168,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Apr 25, 2025 2:58 PM", + "formattedValue": "May 7, 2025 12:11 PM", "formattedValues": { "date": "Mar 26, 2021", "datetime": "Mar 26, 2021 12:00 AM", @@ -32179,9 +32178,9 @@ "$": [ "ts", 192, - 1745582282491 + 1746609088108 ], - "$ts": 1745578682000 + "$ts": 1746605488000 } }, "type": "ia.input.date-time-input" @@ -32329,7 +32328,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Apr 25, 2025 3:58 PM", + "formattedValue": "May 7, 2025 1:11 PM", "formattedValues": { "date": "Mar 29, 2021", "datetime": "Mar 29, 2021 1:37 PM", @@ -32339,9 +32338,9 @@ "$": [ "ts", 192, - 1745582282501 + 1746609088104 ], - "$ts": 1745582282000 + "$ts": 1746609088000 } }, "type": "ia.input.date-time-input" diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL1/data.bin new file mode 100644 index 0000000..8584332 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL1/resource.json new file mode 100644 index 0000000..8ac167d --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:27:50Z" + }, + "lastModificationSignature": "1453578c4a61a039d69a29a3354567f25964c01b082045fd9a21794c3e1deb61" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL2/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL2/data.bin new file mode 100644 index 0000000..f8c6adc Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL2/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL2/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL2/resource.json new file mode 100644 index 0000000..2653312 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL2/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:01Z" + }, + "lastModificationSignature": "77d21dda07eec6a3c16593d6adf1bd58d6bec802b14c3acd21dfbc9528c7dc25" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL3/data.bin new file mode 100644 index 0000000..6dd99c9 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL3/resource.json new file mode 100644 index 0000000..2fbd810 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Dumpers/ULGL3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:01Z" + }, + "lastModificationSignature": "4d1482514235aeb3a6052fcf30a385564c58184da019c74f4d87cb81e80597a0" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/data.bin new file mode 100644 index 0000000..4fa9b6c Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/resource.json new file mode 100644 index 0000000..d43785e --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:27:50Z" + }, + "lastModificationSignature": "599dd6d324588fec7f1205a1f2c63cbaa6c143bd474fe80212431c2a67cd36c4" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_1/data.bin new file mode 100644 index 0000000..12ebbd1 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_1/resource.json new file mode 100644 index 0000000..e4aeee8 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "84a56e450a924352d9ff54f0dd2db5a0e131c0f2e59a31fdddf01f030fea2f48" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_10/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_10/data.bin new file mode 100644 index 0000000..013a358 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_10/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_10/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_10/resource.json new file mode 100644 index 0000000..6b6117e --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_10/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "43897d2a4e7c30df99a5b189c8855ef02a00892cfd789c0ee4b50d4fc3790c0a" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_3/data.bin new file mode 100644 index 0000000..e9855fa Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_3/resource.json new file mode 100644 index 0000000..288ce54 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "d136bc5fe146469c08c8a4f613d205892bf742b7b0572910a2d473c35cee87dd" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_7/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_7/data.bin new file mode 100644 index 0000000..0bef4e2 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_7/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_7/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_7/resource.json new file mode 100644 index 0000000..90e6067 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_7/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "7d82d74051858a1e93c59ad65bc2da4c2bb378ad2b6e973139813a977d1fb2e1" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_8/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_8/data.bin new file mode 100644 index 0000000..b06f370 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_8/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_8/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_8/resource.json new file mode 100644 index 0000000..e04bb85 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_8/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "7ee161792eed29e3f05eabe6526d64b2a69bb1997e9783fd72da8d71c9289a5f" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_9/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_9/data.bin new file mode 100644 index 0000000..0c93d76 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_9/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_9/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_9/resource.json new file mode 100644 index 0000000..3049926 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_PS1_9/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "2c8f14dd12bbe5e022fe3d2433175d6f9b6a850fda4ff7d4fb2e98050f25dbcf" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RE2_3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RE2_3/data.bin new file mode 100644 index 0000000..06730eb Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RE2_3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RE2_3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RE2_3/resource.json new file mode 100644 index 0000000..f0f887e --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RE2_3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "8f94b553e5bfa539f82371ef9e2ae3a0b95218046e1d6b299ab2593bd7cc443a" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO2_4/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO2_4/data.bin new file mode 100644 index 0000000..614bbb4 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO2_4/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO2_4/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO2_4/resource.json new file mode 100644 index 0000000..0475ff8 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO2_4/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "e5bbb7635895e876d0d43d9781b8894ffe30c9baf378f6d2ca1532ddfe800712" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO3_2/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO3_2/data.bin new file mode 100644 index 0000000..23c856b Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO3_2/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO3_2/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO3_2/resource.json new file mode 100644 index 0000000..4904fc8 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO3_2/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "b95a4bbde841954e8e4db01e7cd3746f0372c27a6997290ab68401927d4e87fc" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO4_4/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO4_4/data.bin new file mode 100644 index 0000000..cb4b868 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO4_4/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO4_4/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO4_4/resource.json new file mode 100644 index 0000000..142eba0 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_RO4_4/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "7d9c92781ca6d1d0b2e81265f73f6b3713595a79cedd3263a1203c0e07dbcd0a" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL1_3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL1_3/data.bin new file mode 100644 index 0000000..0f3db1a Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL1_3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL1_3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL1_3/resource.json new file mode 100644 index 0000000..4f16925 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL1_3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "39f61162d04ff4361beee034d56256a5abd016e3adf3e68f41f48e1152a9ccf9" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL2_3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL2_3/data.bin new file mode 100644 index 0000000..df7cb6e Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL2_3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL2_3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL2_3/resource.json new file mode 100644 index 0000000..5a03295 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL2_3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "b5b358a42a5e365737a853dde5763299a94997dd8b1f10bf0826e5a9e923ce40" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL3_3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL3_3/data.bin new file mode 100644 index 0000000..2c9bc41 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL3_3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL3_3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL3_3/resource.json new file mode 100644 index 0000000..0c757b8 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE1_ULGL3_3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "0fc292d33a33f24968e70e8467a34e1b53c929bab6c10140326d052b8da3c099" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_1/data.bin new file mode 100644 index 0000000..ccd5701 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_1/resource.json new file mode 100644 index 0000000..77e6f6b --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "1c9378c888e44c3541e08f128a998e5a9b4c310a751b412fcce555f8b9637809" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_5/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_5/data.bin new file mode 100644 index 0000000..d644b8e Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_5/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_5/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_5/resource.json new file mode 100644 index 0000000..00c1dd7 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_5/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "624002afe75ae6566c31248a16724dfb8a8cdd758ac8ef3152e371d6a972f9d5" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_7/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_7/data.bin new file mode 100644 index 0000000..f931649 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_7/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_7/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_7/resource.json new file mode 100644 index 0000000..64fdf4e --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_PS1_7/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "5f81ec234b9cfd77fe7167d3b025d12f91232424f538158b88ec8b7edd311933" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_1/data.bin new file mode 100644 index 0000000..46d21d4 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_1/resource.json new file mode 100644 index 0000000..35318ff --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "0cb92544c7d30f282f1024e154ff4eb4e207eece71f00113b829c0053e8af1e1" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_5/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_5/data.bin new file mode 100644 index 0000000..4c89498 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_5/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_5/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_5/resource.json new file mode 100644 index 0000000..24a58d2 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_5/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "1708d9481bf4124fb0b9826cc53436eb730be0c50335b3b7179bf891214025fc" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_7/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_7/data.bin new file mode 100644 index 0000000..104c8e2 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_7/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_7/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_7/resource.json new file mode 100644 index 0000000..4752701 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_7/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "2c4f3abbe3cc51bea25bf598f7de4c3d3bf26d7944457c98438c4c607cba3d35" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_9/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_9/data.bin new file mode 100644 index 0000000..d5d245f Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_9/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_9/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_9/resource.json new file mode 100644 index 0000000..fb08cf0 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RE2_9/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "62f80455e0c27f41d02004e018435ccd79e81b4817bab21442274bf7cd943538" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO1_3/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO1_3/data.bin new file mode 100644 index 0000000..7452d9e Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO1_3/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO1_3/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO1_3/resource.json new file mode 100644 index 0000000..30fb5f9 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO1_3/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "f13c2e314cf481a0e60acbcc09663f453e484f785c7092da9d791c1b23f6945c" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO2_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO2_1/data.bin new file mode 100644 index 0000000..7e664e5 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO2_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO2_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO2_1/resource.json new file mode 100644 index 0000000..f3ce1cf --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO2_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "3f3fe38a5ca7c84238c1dff565c67993a3aa3528cc7a2bd7bd02e38bd7eab00b" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO3_4/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO3_4/data.bin new file mode 100644 index 0000000..e3228f8 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO3_4/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO3_4/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO3_4/resource.json new file mode 100644 index 0000000..2951a5b --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO3_4/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "526db775d6e161e7cd9a0e45c3c8ee711180f3f76c37c6fc19161bf7805158d9" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO4_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO4_1/data.bin new file mode 100644 index 0000000..d118e85 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO4_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO4_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO4_1/resource.json new file mode 100644 index 0000000..1b56632 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE2_RO4_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "ec4d02585c40480aadddc0b7dc77c03cc1b45f95185ba4f1200350c9c350168d" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE3_PS1_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE3_PS1_1/data.bin new file mode 100644 index 0000000..7a9f62c Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE3_PS1_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE3_PS1_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE3_PS1_1/resource.json new file mode 100644 index 0000000..1308745 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE3_PS1_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "2b481121918c399d27606568fe9155b08d64c20f3d227e4ab6a2905012b91d0b" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE4_PS1_1/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE4_PS1_1/data.bin new file mode 100644 index 0000000..5b4a6f9 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE4_PS1_1/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE4_PS1_1/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE4_PS1_1/resource.json new file mode 100644 index 0000000..5514a82 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/JPE4_PS1_1/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "ce1e3f8f662a75fd392c95716168c267ebea708cdc638a26512d65f6d1fc509f" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/Sorter_jam/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/Sorter_jam/data.bin new file mode 100644 index 0000000..6a18fa1 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/Sorter_jam/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/Sorter_jam/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/Sorter_jam/resource.json new file mode 100644 index 0000000..e5ee5cc --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Jam_Areas/Sorter_jam/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:20Z" + }, + "lastModificationSignature": "b3edd21b8989fca434758980e6fff8055738ccf14f5bae79c99124a58ac2bd31" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (0)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (0)/data.bin new file mode 100644 index 0000000..8e77065 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (0)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (0)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (0)/resource.json new file mode 100644 index 0000000..c8728c6 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (0)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:11:29Z" + }, + "lastModificationSignature": "aca12010962019a1ecd79085d5a8ec121263b61ea1afe2c7b27493a3e725698c" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (1)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (1)/data.bin new file mode 100644 index 0000000..4c72e4e Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (1)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (1)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (1)/resource.json new file mode 100644 index 0000000..e0ea1d4 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (1)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "e8742a08be8644e1d11c027188bff93fe54132d9921ee1049ec5bb226b2b5d41" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (10)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (10)/data.bin new file mode 100644 index 0000000..732da3b Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (10)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (10)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (10)/resource.json new file mode 100644 index 0000000..3123bda --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (10)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "9159a010f473fa90358d8eb6f98486c0314647318bc87fb6f9efa223fbef33ff" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (11)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (11)/data.bin new file mode 100644 index 0000000..a6b2172 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (11)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (11)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (11)/resource.json new file mode 100644 index 0000000..215f150 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (11)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "e30746783b5d517a0111e54da2e8aeb5c88d344d1ecdf69d1d92cf31c08d179e" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (12)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (12)/data.bin new file mode 100644 index 0000000..26aa756 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (12)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (12)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (12)/resource.json new file mode 100644 index 0000000..cba5542 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (12)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "ee311e41b9c04af3b74e6a3d37e094e65a0456d0d319fcd7d5f5f4d49389e2b6" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (13)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (13)/data.bin new file mode 100644 index 0000000..bbd16cc Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (13)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (13)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (13)/resource.json new file mode 100644 index 0000000..e5c7ce1 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (13)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "cc438398d1f7ca34aaf95e01f934cb3e34470ad2fef03271cec18dcece86d974" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (14)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (14)/data.bin new file mode 100644 index 0000000..1105535 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (14)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (14)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (14)/resource.json new file mode 100644 index 0000000..735ba9e --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (14)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "489b31d03c522985ac0c70c7e1320b0b2a055dc0d84dc5a11b7915c081453aa3" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (15)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (15)/data.bin new file mode 100644 index 0000000..252481e Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (15)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (15)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (15)/resource.json new file mode 100644 index 0000000..b95cfbb --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (15)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "bd83511254116e2f2da1be3ddcc64945473b03ecec6095f03c671a85eaf8c4e2" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (16)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (16)/data.bin new file mode 100644 index 0000000..05819fa Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (16)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (16)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (16)/resource.json new file mode 100644 index 0000000..53ac791 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (16)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "da6e211cdcfa1b0fb48d3c09a1617f04d88fb1b4e9a530de3677d263ffaa37aa" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (17)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (17)/data.bin new file mode 100644 index 0000000..c74fe05 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (17)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (17)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (17)/resource.json new file mode 100644 index 0000000..13166b9 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (17)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "00d5b90d239803ed280cbab8dfb1cf87dcfeeaaeead20c76a67cb73dea7aa8d1" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (18)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (18)/data.bin new file mode 100644 index 0000000..e35d236 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (18)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (18)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (18)/resource.json new file mode 100644 index 0000000..768b88c --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (18)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "8b16e400e1f960e0b1bdaffb25bc4202a87d835d1a0629bc0f80444f3ef8a1c1" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (19)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (19)/data.bin new file mode 100644 index 0000000..6c0179b Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (19)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (19)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (19)/resource.json new file mode 100644 index 0000000..454564c --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (19)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "dd6d9dc104ee4fe5b7918b91fcf6b48c59d90a7f844520fbc15920fd490b5ed2" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (2)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (2)/data.bin new file mode 100644 index 0000000..757fddc Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (2)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (2)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (2)/resource.json new file mode 100644 index 0000000..5174834 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (2)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "1b2643fc35d7efedb3d375a6f57702fa7a2751e7068655665ebf096d33d97a42" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (3)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (3)/data.bin new file mode 100644 index 0000000..715a2c3 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (3)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (3)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (3)/resource.json new file mode 100644 index 0000000..1f72205 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (3)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "13b8f84b95a3b12a8db6886b0f2266b1af59eee21b281d3bd3a71183684bb81d" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (4)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (4)/data.bin new file mode 100644 index 0000000..5cd4b76 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (4)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (4)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (4)/resource.json new file mode 100644 index 0000000..797ba9a --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (4)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "9581c4ac1046aa08ec13290a270b0d58b8ea9de6b0b0f095dccb036233800f90" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (5)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (5)/data.bin new file mode 100644 index 0000000..7e46d4d Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (5)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (5)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (5)/resource.json new file mode 100644 index 0000000..38e556c --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (5)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "2a6b6f0ecfad0f633622a551e457216e590a0a61ffe7fc50f26d7b018a50de8f" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (6)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (6)/data.bin new file mode 100644 index 0000000..df41668 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (6)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (6)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (6)/resource.json new file mode 100644 index 0000000..0291272 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (6)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "88208d83e646cbf384b0cd6e79d8b6debde66e05d7e3fb8a8d026cccbbfaa53d" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (7)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (7)/data.bin new file mode 100644 index 0000000..27baa71 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (7)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (7)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (7)/resource.json new file mode 100644 index 0000000..a76bccf --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (7)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "21c1d29742bb1faa2ff0548f9b87a284ef508ea1e7d00524149e056b65a184ca" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (8)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (8)/data.bin new file mode 100644 index 0000000..666ee48 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (8)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (8)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (8)/resource.json new file mode 100644 index 0000000..02f45ee --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (8)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "3f426e6789f86b48223c18e9532a533e356b72f18c51d9d49f41ab159c3dd227" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (9)/data.bin b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (9)/data.bin new file mode 100644 index 0000000..af771f9 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (9)/data.bin differ diff --git a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (9)/resource.json b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (9)/resource.json new file mode 100644 index 0000000..07c5ba9 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/ParcelData (9)/resource.json @@ -0,0 +1,16 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "data.bin" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T17:28:09Z" + }, + "lastModificationSignature": "6755e9deaf870b763df3df378cda2cb02986f006a742003f185afcf784900a4e" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Alarms/Alarm History/query.sql b/MTN6_SCADA/ignition/named-query/Alarms/Alarm History/query.sql new file mode 100644 index 0000000..5f598c6 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Alarms/Alarm History/query.sql @@ -0,0 +1,23 @@ +SELECT * +FROM +( +SELECT + Active.id As NumberID, + Active.eventtime As 'Start Timestamp', + IFNULL(Clear.eventtime,'') as 'End Timestamp', + IFNULL(CONVERT(SEC_TO_TIME(Clear.eventtime - Active.eventtime),VARCHAR(20)),(SEC_TO_TIME(NOW()-Active.eventtime))) as Duration, + Class.strvalue As Class, + Location.strvalue As Area, + Description.strvalue As Description, + Tag.strvalue As Tag, + alarm_events.eventtype as eventtype +FROM alarm_events +LEFT OUTER JOIN alarm_events as Active ON alarm_events.eventid = Active.eventid AND (Active.eventtype = 0) +LEFT OUTER JOIN alarm_events as Clear ON alarm_events.eventid = Clear.eventid AND (Clear.eventtype = 1) +LEFT OUTER JOIN alarm_event_data as Class ON alarm_events.id = Class.id AND (Class.propname = "Class") +LEFT OUTER JOIN alarm_event_data as Location ON alarm_events.id = Location.id AND (Location.propname = "Area") +LEFT OUTER JOIN alarm_event_data as Description ON alarm_events.id = Description.id AND (Description.propname = "Description") +LEFT OUTER JOIN alarm_event_data as Tag ON alarm_events.id = Tag.id AND (Tag.propname = "Tag") +WHERE (alarm_events.eventtime BETWEEN :starttime AND :endtime) +) t1 +WHERE t1.eventtype = 0 and t1.Class = 'Error' or t1.Class = :warning or t1.Class = :message \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Alarms/Alarm History/resource.json b/MTN6_SCADA/ignition/named-query/Alarms/Alarm History/resource.json new file mode 100644 index 0000000..c9241d2 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Alarms/Alarm History/resource.json @@ -0,0 +1,55 @@ +{ + "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": "0eab2cae9c471121ba1a8bd99e8ec874c8bfdb40e7293ac0a9c2d8bc7f7625bd", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "parameters": [ + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "message", + "sqlType": 7 + }, + { + "type": "Parameter", + "identifier": "warning", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Count/query.sql b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Count/query.sql new file mode 100644 index 0000000..3d6f87e --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Count/query.sql @@ -0,0 +1,9 @@ +SELECT concat(date(dumper_cycles.t_stamp), ' ', hour(dumper_cycles.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(dumper_cycles.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + SUM (dumper_cycles.ulgl1 = 1) as ULGL1, + SUM (dumper_cycles.ulgl2 = 1) as ULGL2, + SUM (dumper_cycles.ulgl3 = 1) as ULGL3 + +FROM dumper_cycles +Where (dumper_cycles.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(dumper_cycles.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Count/resource.json b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Count/resource.json new file mode 100644 index 0000000..f190e75 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Count/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "ec936d4ec12ab310de89c91f6fd5f1d0a7a7c35983aecb38207ace38bd9eae00", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "dumper", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Percent/query.sql b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Percent/query.sql new file mode 100644 index 0000000..20328b7 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Percent/query.sql @@ -0,0 +1,13 @@ +SELECT concat(date(dumper_cycles.t_stamp), ' ', hour(dumper_cycles.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(dumper_cycles.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + + concat(round(SUM(dumper_cycles.ulgl1 = 1)/COUNT(*) * 100*2,2),'%') AS ULGL1, + concat(round(SUM(dumper_cycles.ulgl2 = 1)/COUNT(*) * 100*2,2),'%') AS ULGL2, + concat(round(SUM(dumper_cycles.ulgl3 = 1)/COUNT(*) * 100*2,2),'%') AS ULGL3 + +FROM dumper_cycles +Where (dumper_cycles.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(dumper_cycles.t_stamp) + + + diff --git a/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Percent/resource.json b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Percent/resource.json new file mode 100644 index 0000000..c525197 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Percent/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "e9da7b4da59dc78ecd792bae3c3cad98895db6a5e96b95438f4feae9cf0371f2", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "dumper", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Rate/query.sql b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Rate/query.sql new file mode 100644 index 0000000..243f20a --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Rate/query.sql @@ -0,0 +1,10 @@ +SELECT concat(date(dumper_cycles.t_stamp), ' ', hour(dumper_cycles.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(dumper_cycles.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + + concat(cast(SUM(dumper_cycles.ulgl1 = 1) as char),' cph') AS ULGL1, + concat(cast(SUM(dumper_cycles.ulgl2 = 1) as char),' cph') AS ULGL2, + concat(cast(SUM(dumper_cycles.ulgl3 = 1) as char),' cph') AS ULGL3 + +FROM dumper_cycles +Where (dumper_cycles.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(dumper_cycles.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Rate/resource.json b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Rate/resource.json new file mode 100644 index 0000000..24e9a1b --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Dumper/Dumper Lane Rate/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "8c5fa8e3fabd8b186a889f98090a3dc16376b448f604980d5c39ca79399490c3", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "dumper", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Jam_Area/Jam/query.sql b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam/query.sql new file mode 100644 index 0000000..530d724 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam/query.sql @@ -0,0 +1,26 @@ +Select +Total_Jam,Dumpers_jam,Inbound_jam,Runout_jam,Sorter_Recirc_jam,Startstamp,Endtstamp,Sorter_jam, + +1 as Total_perc, +Dumpers_jam/Total_Jam as Dumpers_perc, +Inbound_jam/Total_Jam as Inbound_perc, +Runout_jam/Total_Jam as Runout_perc, +Sorter_Recirc_jam/Total_Jam as Sorter_Recirc_perc, +Sorter_jam/Total_Jam as Sorter_perc + + +FROM + + (SELECT + + MIN(jam_area.t_stamp) AS Startstamp, + Max(jam_area.t_stamp) AS Endtstamp, + SUM (IFNULL(`jam_ulgl`,0) + IFNULL(`Inbound_jam`, 0)+ IFNULL(`Runout_jam`, 0) + IFNULL(`Sorter_recirc`,0)+ IFNULL(`Sorter_jam`,0)) AS Total_Jam, + SUM(jam_area.jam_ulgl = 1) AS Dumpers_jam, + SUM(jam_area.Inbound_jam = 1) AS Inbound_jam, + SUM(jam_area.Runout_jam = 1) AS Runout_jam, + SUM(jam_area.Sorter_recirc = 1) AS Sorter_Recirc_jam, + SUM(jam_area.Sorter_jam = 1) AS Sorter_jam + + FROM jam_area + Where (jam_area.t_stamp BETWEEN :starttime AND :endtime)) basajam \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Jam_Area/Jam/resource.json b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam/resource.json new file mode 100644 index 0000000..3e53388 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "63fd2b9d4386f3627bbeceb8f16e15bfd5c5038c5e2c4c3fb6934f6336f9a2ab", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Jam_Area/Jam_graph/query.sql b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam_graph/query.sql new file mode 100644 index 0000000..4708990 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam_graph/query.sql @@ -0,0 +1,20 @@ + Select + roundtime,Dumpers_jam,Inbound_jam,Runout_jam,Sorter_Recirc_jam,Sorter_jam + + FROM + + (Select + + SUM(jam_area.jam_ulgl = 1) AS Dumpers_jam, + SUM(jam_area.Inbound_jam = 1) AS Inbound_jam, + SUM(jam_area.Runout_jam = 1) AS Runout_jam, + SUM(jam_area.Sorter_recirc = 1) AS Sorter_Recirc_jam, + SUM(jam_area.Sorter_jam = 1) AS Sorter_jam, + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(jam_area.t_stamp) / 600) * 600) roundtime + + FROM jam_area + Where (jam_area.t_stamp BETWEEN :starttime AND :endtime) + + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(jam_area.t_stamp) / 600) * 600) + Order By jam_area.t_stamp ASC + ) okeyjam \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Jam_Area/Jam_graph/resource.json b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam_graph/resource.json new file mode 100644 index 0000000..40fc7ef --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Jam_Area/Jam_graph/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "79fb42e78dffa878114e1a166dfbbffc1c590bdf4171ce0d29177a2a21890a92", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Count/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Count/query.sql new file mode 100644 index 0000000..f222656 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Count/query.sql @@ -0,0 +1,8 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + COUNT(*) AS Total_count, + SUM(alltable.ParcelHistory_TupelLength = 1) AS SingleCarrier, + SUM(alltable.ParcelHistory_TupelLength = 2) AS DoubleCarrier +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY date(alltable.t_stamp),hour(alltable.t_stamp) diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Count/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Count/resource.json new file mode 100644 index 0000000..0c0063b --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Count/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "8d37185411d8b0132fddf3ef848a08ea7406736bab9aaeba9a35acb8d46ecd35", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Percent/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Percent/query.sql new file mode 100644 index 0000000..df0487e --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Percent/query.sql @@ -0,0 +1,8 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Total_count, + concat(round(SUM(alltable.ParcelHistory_TupelLength = 1)/COUNT(*) * 100,2),'%') AS SingleCarrier, + concat(round(SUM(alltable.ParcelHistory_TupelLength = 2)/COUNT(*) * 100,2),'%') AS DoubleCarrier +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Percent/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Percent/resource.json new file mode 100644 index 0000000..5d8e028 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Percent/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "29dcb2a097bc0adfc4350e291023472170d8984dda12160bab9fdb359ece663c", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Rate/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Rate/query.sql new file mode 100644 index 0000000..136fa53 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Rate/query.sql @@ -0,0 +1,8 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(cast(COUNT(*) as char),' pph') AS Total_count, + concat(cast(SUM(alltable.ParcelHistory_TupelLength = 1) as char),' pph') AS SingleCarrier, + concat(cast(SUM(alltable.ParcelHistory_TupelLength = 2) as char),' pph') AS DoubleCarrier +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Rate/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Rate/resource.json new file mode 100644 index 0000000..e162908 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Induct Rate/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "d9360d5c2c09d0d389d251b52c3f3eb25ed7aa9ff53d1b713f5113158e474824", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Count/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Count/query.sql new file mode 100644 index 0000000..c84362c --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Count/query.sql @@ -0,0 +1,17 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + COUNT(*) AS Total_count, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS Diverted, + SUM(alltable.DivertStatus = 14) AS DivertFail, + SUM(alltable.DivertStatus = 5) AS DestinationFull, + SUM(alltable.DivertStatus = 6) AS DestinationJam, + SUM(alltable.DivertStatus = 12) AS DestinationDisabled, + SUM(alltable.DivertStatus = 6) as DestinationFault, + SUM(alltable.DivertStatus = 17) as Lost, + SUM(alltable.DivertStatus = 21) as Unsafe, + SUM(alltable.DivertStatus = 18) as DimError, + SUM(alltable.DivertStatus = 4) as GapError, + SUM(alltable.DivertStatus = 1) as Unknown +FROM alltable +Where (alltable.DEST_REQ = :lane AND alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Count/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Count/resource.json new file mode 100644 index 0000000..fdfe13a --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Count/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "4e6ce5ec0ee8bdaeba7e7ee360b6833f0a22c89bfd72efbeafb40993612663c1", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "lane", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Percent/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Percent/query.sql new file mode 100644 index 0000000..a5a05f1 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Percent/query.sql @@ -0,0 +1,17 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Total_count, + concat(round(SUM(alltable.ACTUAL_DEST <> 'S03999')/COUNT(*) * 100,2),'%') AS Diverted, + concat(round(SUM(alltable.DivertStatus = 14)/COUNT(*) * 100,2),'%') AS DivertFail, + concat(round(SUM(alltable.DivertStatus = 5)/COUNT(*) * 100,2),'%') AS DestinationFull, + concat(round(SUM(alltable.DivertStatus = 6)/COUNT(*) * 100,2),'%') AS DestinationJam, + concat(round(SUM(alltable.DivertStatus = 12)/COUNT(*) * 100,2),'%') AS DestinationDisabled, + concat(round(SUM(alltable.DivertStatus = 6)/COUNT(*) * 100,2),'%') as DestinationFault, + concat(round(SUM(alltable.DivertStatus = 17)/COUNT(*) * 100,2),'%') as Lost, + concat(round(SUM(alltable.DivertStatus = 21)/COUNT(*) * 100,2),'%') as Unsafe, + concat(round(SUM(alltable.DivertStatus = 18)/COUNT(*) * 100,2),'%') as DimError, + concat(round(SUM(alltable.DivertStatus = 4)/COUNT(*) * 100,2),'%') as GapError, + concat(round(SUM(alltable.DivertStatus = 1)/COUNT(*) * 100,2),'%') as Unknown +FROM alltable +Where (alltable.DEST_REQ = :lane AND alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Percent/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Percent/resource.json new file mode 100644 index 0000000..1dd3f5c --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Percent/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "c2b7c005a568aef81d4cd9e81dd1f05b4bd5fb743f224767c919c1407b3d9929", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "lane", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Rate/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Rate/query.sql new file mode 100644 index 0000000..a4af096 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Rate/query.sql @@ -0,0 +1,17 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(cast(COUNT(*) as char),' pph') AS Total_count, + concat(cast(SUM(alltable.ACTUAL_DEST <> 'S03999') as char),' pph') AS Diverted, + concat(cast(SUM(alltable.DivertStatus = 14) as char),' pph') AS DivertFail, + concat(cast(SUM(alltable.DivertStatus = 5) as char),' pph') AS DestinationFull, + concat(cast(SUM(alltable.DivertStatus = 6) as char),' pph') AS DestinationJam, + concat(cast(SUM(alltable.DivertStatus = 12) as char),' pph') AS DestinationDisabled, + concat(cast(SUM(alltable.DivertStatus = 6) as char),' pph') as DestinationFault, + concat(cast(SUM(alltable.DivertStatus = 17) as char),' pph') as Lost, + concat(cast(SUM(alltable.DivertStatus = 21) as char),' pph') as Unsafe, + concat(cast(SUM(alltable.DivertStatus = 18) as char),' pph') as DimError, + concat(cast(SUM(alltable.DivertStatus = 4) as char),' pph') as GapError, + concat(cast(SUM(alltable.DivertStatus = 1) as char),' pph') as Unknown +FROM alltable +Where (alltable.DEST_REQ = :lane AND alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Rate/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Rate/resource.json new file mode 100644 index 0000000..0a6d842 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Lane Rate/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "15fc1fd4be8fb542900491dff710cac9384c96be5b7e085757073bd98f1a7174", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "lane", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Count/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Count/query.sql new file mode 100644 index 0000000..0d92370 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Count/query.sql @@ -0,0 +1,12 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + COUNT(*) AS Total, + SUM(SUBSTRING(alltable.ScanLabel,1,1) <> '?' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '9' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '0') AS GoodRead, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '?') AS NoRead, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '9') AS MultiRead, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '0') AS NoCode +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Count/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Count/resource.json new file mode 100644 index 0000000..ba1566c --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Count/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "9c502ffedd7aa1a2e1c1537c6caef86e7d74fbf70d4c2e320815d6ac029a24c7", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Percent/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Percent/query.sql new file mode 100644 index 0000000..20b407e --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Percent/query.sql @@ -0,0 +1,12 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Total, + concat(round(SUM(SUBSTRING(alltable.ScanLabel,1,1) <> '?' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '9' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '0')/COUNT(*) * 100,2),'%') AS GoodRead, + concat(round(SUM(SUBSTRING(alltable.ScanLabel,1,1) = '?')/COUNT(*) * 100,2),'%') AS NoRead, + concat(round(SUM(SUBSTRING(alltable.ScanLabel,1,1) = '9')/COUNT(*) * 100,2),'%') AS MultiRead, + concat(round(SUM(SUBSTRING(alltable.ScanLabel,1,1) = '0')/COUNT(*) * 100,2),'%') AS NoCode +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Percent/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Percent/resource.json new file mode 100644 index 0000000..c3f9fb1 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Percent/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "a102952e52bf5babab8ca13fd221c10be68d2d93ffb46d96d351f9a8b3e8cb31", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Rate/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Rate/query.sql new file mode 100644 index 0000000..5034fd6 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Rate/query.sql @@ -0,0 +1,12 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(cast(COUNT(*) as char),' pph') AS Total, + concat(cast(SUM(SUBSTRING(alltable.ScanLabel,1,1) <> '?' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '9' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '0') as char),' pph') AS GoodRead, + concat(cast(SUM(SUBSTRING(alltable.ScanLabel,1,1) = '?') as char),' pph') AS NoRead, + concat(cast(SUM(SUBSTRING(alltable.ScanLabel,1,1) = '9') as char),' pph') AS MultiRead, + concat(cast(SUM(SUBSTRING(alltable.ScanLabel,1,1) = '0') as char),' pph') AS NoCode +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Rate/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Rate/resource.json new file mode 100644 index 0000000..d3b6cb1 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Scanner Rate/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "9ea802edaa0366d00a1f40eafc3e146c16ff6d92c8bf7b37797426562cb7c042", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Count/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Count/query.sql new file mode 100644 index 0000000..ab9f5a7 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Count/query.sql @@ -0,0 +1,19 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + COUNT(*) AS Inducted, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS Sorted, + SUM(alltable.DivertStatus = 7) AS DestinationInvalid, + SUM(alltable.DivertStatus = 16) AS DestinationNone, + SUM(alltable.DivertStatus = 12) AS DestinationDisabled, + SUM(alltable.DivertStatus = 5) AS DestinationFull, + SUM(alltable.DivertStatus = 2) AS Unexpected, + SUM(alltable.DivertStatus = 6) AS DestinationFault, + SUM(alltable.DivertStatus = 14) AS DivertFail, + SUM(alltable.DivertStatus = 4) AS GapError, + SUM(alltable.DivertStatus = 17) AS Lost, + SUM(alltable.DivertStatus = 3) AS TrackingError, + SUM(alltable.DivertStatus = 1) AS Unknown, + SUM(alltable.DivertStatus = 21) AS Unsafe +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Count/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Count/resource.json new file mode 100644 index 0000000..b6ee013 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Count/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "f938bf13907c538dd812a947c54fd245af409a2bb9690f8f1b75cd8f1e1ece21", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Percent/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Percent/query.sql new file mode 100644 index 0000000..3a468ce --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Percent/query.sql @@ -0,0 +1,19 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Inducted, + concat(round(SUM(alltable.ACTUAL_DEST <> 'S03999')/COUNT(*) * 100,2),'%') AS Sorted, + concat(round(SUM(alltable.DivertStatus = 7)/COUNT(*) * 100,2),'%') AS DestinationInvalid, + concat(round(SUM(alltable.DivertStatus = 16)/COUNT(*) * 100,2),'%') AS DestinationNone, + concat(round(SUM(alltable.DivertStatus = 12)/COUNT(*) * 100,2),'%') AS DestinationDisabled, + concat(round(SUM(alltable.DivertStatus = 5)/COUNT(*) * 100,2),'%') AS DestinationFull, + concat(round(SUM(alltable.DivertStatus = 2)/COUNT(*) * 100,2),'%') AS Unexpected, + concat(round(SUM(alltable.DivertStatus = 6)/COUNT(*) * 100,2),'%') AS DestinationFault, + concat(round(SUM(alltable.DivertStatus = 14)/COUNT(*) * 100,2),'%') AS DivertFail, + concat(round(SUM(alltable.DivertStatus = 4)/COUNT(*) * 100,2),'%') AS GapError, + concat(round(SUM(alltable.DivertStatus = 17)/COUNT(*) * 100,2),'%') AS Lost, + concat(round(SUM(alltable.DivertStatus = 3)/COUNT(*) * 100,2),'%') AS TrackingError, + concat(round(SUM(alltable.DivertStatus = 1)/COUNT(*) * 100,2),'%') AS Unknown, + concat(round(SUM(alltable.DivertStatus = 21)/COUNT(*) * 100,2),'%') AS Unsafe +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Percent/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Percent/resource.json new file mode 100644 index 0000000..06649a6 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Percent/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "85f43c617cfbe453a4b1ff944ff2c1268d56cd33b34e32eb94ecd4b482ee1cc1", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Rate/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Rate/query.sql new file mode 100644 index 0000000..766d7d6 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Rate/query.sql @@ -0,0 +1,19 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(cast(COUNT(*) as char),' pph') AS Inducted, + concat(cast(SUM(alltable.ACTUAL_DEST <> 'S03999') as char),' pph') AS Sorted, + concat(cast(SUM(alltable.DivertStatus = 7) as char),' pph') AS DestinationInvalid, + concat(cast(SUM(alltable.DivertStatus = 16) as char),' pph') AS DestinationNone, + concat(cast(SUM(alltable.DivertStatus = 12) as char),' pph') AS DestinationDisabled, + concat(cast(SUM(alltable.DivertStatus = 5) as char),' pph') AS DestinationFull, + concat(cast(SUM(alltable.DivertStatus = 2) as char),' pph') AS Unexpected, + concat(cast(SUM(alltable.DivertStatus = 6) as char),' pph') AS DestinationFault, + concat(cast(SUM(alltable.DivertStatus = 14) as char),' pph') AS DivertFail, + concat(cast(SUM(alltable.DivertStatus = 4) as char),' pph') AS GapError, + concat(cast(SUM(alltable.DivertStatus = 17) as char),' pph') AS Lost, + concat(cast(SUM(alltable.DivertStatus = 3) as char),' pph') AS TrackingError, + concat(cast(SUM(alltable.DivertStatus = 1) as char),' pph') AS Unknown, + concat(cast(SUM(alltable.DivertStatus = 21) as char),' pph') AS Unsafe +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Rate/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Rate/resource.json new file mode 100644 index 0000000..65de1f6 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Details Rate/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "3425c984965c962dcf35c6b5582591e3ce88b81f669dcda0b5fbff204b606d1b", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Count/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Count/query.sql new file mode 100644 index 0000000..b10e686 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Count/query.sql @@ -0,0 +1,10 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + COUNT(*) AS Inducted, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS Sorted, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 7 OR alltable.DivertStatus = 8 OR alltable.DivertStatus = 9 OR alltable.DivertStatus = 10 OR alltable.DivertStatus = 12 OR alltable.DivertStatus = 16)) AS AwcsRecirc, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 2 OR alltable.DivertStatus = 5 OR alltable.DivertStatus = 18 OR alltable.DivertStatus = 19 or alltable.DivertStatus = 20)) AS OperationalRecirc, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 1 OR alltable.DivertStatus = 3 OR alltable.DivertStatus = 4 OR alltable.DivertStatus = 6 OR alltable.DivertStatus = 13 OR alltable.DivertStatus = 14 OR alltable.DivertStatus = 17 OR alltable.DivertStatus = 21)) AS MachineRecirc +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Count/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Count/resource.json new file mode 100644 index 0000000..29cdb84 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Count/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "2401eeaa7a5b460ab28d0467694cb1a0fa275ea2aae440f714c8150e74a97222", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Percent/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Percent/query.sql new file mode 100644 index 0000000..c6296f8 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Percent/query.sql @@ -0,0 +1,10 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Inducted, + concat(round(SUM(alltable.ACTUAL_DEST <> 'S03999')/COUNT(*) * 100,2),'%') AS Sorted, + concat(round(SUM((alltable.ACTUAL_DEST = 'S03999') AND (alltable.DivertStatus = 7 OR alltable.DivertStatus = 8 OR alltable.DivertStatus = 9 OR alltable.DivertStatus = 10 OR alltable.DivertStatus = 12 OR alltable.DivertStatus = 16))/COUNT(*) * 100,2),'%') AS AwcsRecirc, + concat(round(SUM((alltable.ACTUAL_DEST = 'S03999') AND (alltable.DivertStatus = 2 OR alltable.DivertStatus = 5 OR alltable.DivertStatus = 18 OR alltable.DivertStatus = 19 or alltable.DivertStatus = 20))/COUNT(*) * 100,2),'%') AS OperationalRecirc, + concat(round(SUM((alltable.ACTUAL_DEST = 'S03999') AND (alltable.DivertStatus = 1 OR alltable.DivertStatus = 3 OR alltable.DivertStatus = 4 OR alltable.DivertStatus = 6 OR alltable.DivertStatus = 13 OR alltable.DivertStatus = 14 OR alltable.DivertStatus = 17 OR alltable.DivertStatus = 21))/COUNT(*) * 100,2),'%') AS MachineRecirc +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Percent/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Percent/resource.json new file mode 100644 index 0000000..3090852 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Percent/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "7e47068569dfab27de42582391a6948245d9dd20a9275bb50ec44274d2d36910", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Rate/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Rate/query.sql new file mode 100644 index 0000000..5a14527 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Rate/query.sql @@ -0,0 +1,10 @@ +SELECT concat(date(alltable.t_stamp), ' ', hour(alltable.t_stamp), ':00') as StartTimestamp, + concat('H',TIMESTAMPDIFF(HOUR,DATE_FORMAT(alltable.t_stamp,"%Y-%m-%d %H:00:00"),DATE_FORMAT(now(),"%Y-%m-%d %H:00:00"))) as Hour, + COUNT(*) AS Inducted, + concat(cast(SUM(alltable.ACTUAL_DEST <> 'S03999') as char),' pph') AS Sorted, + concat(cast(SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 7 OR alltable.DivertStatus = 8 OR alltable.DivertStatus = 9 OR alltable.DivertStatus = 10 OR alltable.DivertStatus = 12 OR alltable.DivertStatus = 16)) as char),' pph') AS AwcsRecirc, + concat(cast(SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 2 OR alltable.DivertStatus = 5 OR alltable.DivertStatus = 18 OR alltable.DivertStatus = 19 or alltable.DivertStatus = 20)) as char),' pph') AS OperationalRecirc, + concat(cast(SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 1 OR alltable.DivertStatus = 3 OR alltable.DivertStatus = 4 OR alltable.DivertStatus = 6 OR alltable.DivertStatus = 13 OR alltable.DivertStatus = 14 OR alltable.DivertStatus = 17 OR alltable.DivertStatus = 21)) as char),' pph') AS MachineRecirc +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY hour(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Rate/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Rate/resource.json new file mode 100644 index 0000000..85d8ccb --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Hourly Sorter Summary Rate/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "5cae9beff912f7ce9f1408abbb3341c7a76baacd8c13e00e0392ae1cf53da5b8", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Induct Details/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details/query.sql new file mode 100644 index 0000000..5fd8616 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details/query.sql @@ -0,0 +1,21 @@ +Select + SorterName,InductName,Total_count,singlecarrier_count,doublecarrier_count,Startstamp,Endtstamp, + Total_count/Total_count as Total_perc, + singlecarrier_count/Total_count as SingleCarrier_perc, + doublecarrier_count/Total_count as DoubleCarrier_perc, + Total_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Total_rate, + singlecarrier_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as SingleCarrier_rate, + doublecarrier_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as DoubleCarrier_rate +FROM + (SELECT + 'S03' as SorterName, + 'Induct 1' as InductName, + COUNT(*) AS Total_count, + SUM(alltable.ParcelHistory_TupelLength = 1) AS singlecarrier_count, + SUM(alltable.ParcelHistory_TupelLength = 2) AS doublecarrier_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp + +FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) + Group BY 'Induct 1' ) basa \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Induct Details/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details/resource.json new file mode 100644 index 0000000..2997a42 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB", + "fallbackEnabled": false, + "lastModificationSignature": "463213b05df1aecbc8d4f3a90f06abf13e2b005e5ff5496165873718e638dffd", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:10:32Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Induct Details_graph/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details_graph/query.sql new file mode 100644 index 0000000..63fa707 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details_graph/query.sql @@ -0,0 +1,25 @@ + Select + roundtime, + Total_count,singlecarrier_count,doublecarrier_count, + Total_count/Total_count as Total_perc, + singlecarrier_count/Total_count as SingleCarrier_perc, + doublecarrier_count/Total_count as DoubleCarrier_perc, + Total_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as Total_rate, + singlecarrier_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as SingleCarrier_rate, + doublecarrier_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as DoubleCarrier_rate + + FROM + + (Select + COUNT(*) AS Total_count, + SUM(alltable.ParcelHistory_TupelLength = 1) AS singlecarrier_count, + SUM(alltable.ParcelHistory_TupelLength = 2) AS doublecarrier_count, + + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) roundtime + + FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) and ('Induct 1' = :Induct) + + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) + /***Order By alltable.t_stamp ASC ***/ + ) okey \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Induct Details_graph/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details_graph/resource.json new file mode 100644 index 0000000..40519cb --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Induct Details_graph/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "7fceb9314e66eb9ac69343264d219a78720c7e6f46b93937709493030975347b", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "Induct", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Details/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details/query.sql new file mode 100644 index 0000000..e46abe4 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details/query.sql @@ -0,0 +1,73 @@ +Select + SorterName,Lane,Startstamp,Endtstamp, + Total_count, DivertFail_count,Diverted_count, + DestFull_count,DestJam_count,DestDis_count, + DestFault_count,Lost_count,Unsafe_count,Dim_count,GapErr_count,Unknown_count, + + Total_count/Total_count as total_perc, + DivertFail_count/Total_count as DivertFail_perc, + Diverted_count/Total_count as Diverted_perc, + DestFull_count/Total_count as destfull_perc, + DestJam_count/Total_count as destjam_perc, + DestDis_count/Total_count as destdisabled_perc, + DestFault_count/Total_count as destfault_perc, + Lost_count/Total_count as lost_perc, + Unsafe_count/Total_count as unsafe_perc, + Dim_count/Total_count as dim_perc, + GapErr_count/Total_count as gaperr_perc, + Unknown_count/Total_count as unknown_perc, + + Total_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as total_rate, + DivertFail_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as DivertFail_rate, + Diverted_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as Diverted_rate, + DestFull_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destfull_rate, + DestJam_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destjam_rate, + DestDis_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destdisabled_rate, + DestFault_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destfault_rate, + Lost_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as lost_rate, + Unsafe_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unsafe_rate, + Dim_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as dim_rate, + GapErr_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as gaperr_rate, + Unknown_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unknown_rate +FROM + (Select + 'S03' AS SorterName, + alltable.DEST_REQ as Lane, + COUNT(*) AS Total_count, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS Diverted_count, + SUM(alltable.DivertStatus = 14) AS DivertFail_count, + SUM(alltable.DivertStatus = 5) AS DestFull_count, + SUM(alltable.DivertStatus = 6) AS DestJam_count, + SUM(alltable.DivertStatus = 12) AS DestDis_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp, + SUM(alltable.DivertStatus = 6) as DestFault_count, + SUM(alltable.DivertStatus = 17) as Lost_count, + SUM(alltable.DivertStatus = 21) as Unsafe_count, + SUM(alltable.DivertStatus = 18) as Dim_count, + SUM(alltable.DivertStatus = 4) as GapErr_count, + SUM(alltable.DivertStatus = 1) as Unknown_count + FROM alltable + Where (alltable.DEST_REQ <> 'S03999' AND alltable.t_stamp BETWEEN :starttime AND :endtime) + Group BY alltable.DEST_REQ + Union + Select + 'S03' AS SorterName, + alltable.ACTUAL_DEST as Lane, + COUNT(*) AS Total_count, + COUNT(*) AS Diverted_count, + 0 AS DivertFail_count, + 0 AS DestFull_count, + 0 AS DestJam_count, + 0 AS DestDis_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp, + 0 as DestFault_count, + 0 as Lost_count, + 0 as Unsafe_count, + 0 as Dim_count, + 0 as GapErr_count, + 0 as Unknown_count + FROM alltable + Where (alltable.ACTUAL_DEST = 'S03999' AND alltable.t_stamp BETWEEN :starttime AND :endtime)) basa + \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Details/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details/resource.json new file mode 100644 index 0000000..25ee6cb --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "fdd46151db7fd2008fe4b1f24669dc21837796f1680d9008eadef7095f74bfe9", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Details_graph/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details_graph/query.sql new file mode 100644 index 0000000..721f6ab --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details_graph/query.sql @@ -0,0 +1,54 @@ +Select + roundtime, + Total_count,DivertFail_count,Diverted_count, DestFull_count,DestJam_count,DestDis_count, + DestFault_count,Lost_count,Unsafe_count,Dim_count,GapErr_count,Unknown_count, + + Total_count/Total_count as total_perc, + DivertFail_count/Total_count as DivertFail_perc, + Diverted_count/Total_count as Diverted_perc, + DestFull_count/Total_count as destfull_perc, + DestJam_count/Total_count as destjam_perc, + DestDis_count/Total_count as destdisabled_perc, + DestFault_count/Total_count as destfault_perc, + Lost_count/Total_count as lost_perc, + Unsafe_count/Total_count as unsafe_perc, + Dim_count/Total_count as dim_perc, + GapErr_count/Total_count as gaperr_perc, + Unknown_count/Total_count as unknown_perc, + + Total_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as total_rate, + DivertFail_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as DivertFail_rate, + Diverted_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as Diverted_rate, + DestFull_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destfull_rate, + DestJam_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destjam_rate, + DestDis_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destdisabled_rate, + DestFault_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destfault_rate, + Lost_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as lost_rate, + Unsafe_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unsafe_rate, + Dim_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as dim_rate, + GapErr_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as gaperr_rate, + Unknown_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unknown_rate + +From + (Select + COUNT(*) AS Total_count, + SUM(alltable.ACTUAL_DEST <> 'S0199') AS Diverted_count, + SUM(alltable.DivertStatus = 14) AS DivertFail_count, + SUM(alltable.DivertStatus = 5) AS DestFull_count, + SUM(alltable.DivertStatus = 6) AS DestJam_count, + SUM(alltable.DivertStatus = 12) AS DestDis_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp, + SUM(alltable.DivertStatus = 6) as DestFault_count, + SUM(alltable.DivertStatus = 17) as Lost_count, + SUM(alltable.DivertStatus = 21) as Unsafe_count, + SUM(alltable.DivertStatus = 18) as Dim_count, + SUM(alltable.DivertStatus = 4) as GapErr_count, + SUM(alltable.DivertStatus = 1) as Unknown_count, + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) roundtime + + FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) and (alltable.DEST_REQ = :Lane) + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) + Order By alltable.t_stamp ASC + ) okey \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Details_graph/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details_graph/resource.json new file mode 100644 index 0000000..685ace8 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Details_graph/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "fbdd20eafb4f607dad8f40e5da0823d840a375c77faad36baaa00e5e86a9fcff", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "Lane", + "sqlType": 7 + }, + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Divert vs Full Report/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Lane Divert vs Full Report/query.sql new file mode 100644 index 0000000..b01ca94 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Divert vs Full Report/query.sql @@ -0,0 +1,14 @@ +SELECT + alltable.DEST_REQ as Lane, + SUM(alltable.ACTUAL_DEST <> 'S0199') AS Diverted, + SUM(alltable.DivertStatus = 5) AS Full +FROM alltable +Where (alltable.DEST_REQ <> 'S0199' and alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY alltable.DEST_REQ +Union +Select + 'S0199' as Lane, + COUNT(*) AS Diverted, + 0 as Full +From alltable +Where (alltable.ACTUAL_DEST = 'S0199' and alltable.t_stamp BETWEEN :starttime AND :endtime) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Divert vs Full Report/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Lane Divert vs Full Report/resource.json new file mode 100644 index 0000000..5a74152 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Divert vs Full Report/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "ed46176b8a6adc083d6196155e6166ad5964d861a544012a11394118a5cb617b", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Full Recirc Jackpot Report/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Lane Full Recirc Jackpot Report/query.sql new file mode 100644 index 0000000..84a2b1e --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Full Recirc Jackpot Report/query.sql @@ -0,0 +1,9 @@ +SELECT + date(alltable.t_stamp) as Day, + COUNT(*) AS Total, + SUM(alltable.DivertStatus = 5)/COUNT(*)*100 As Full, + SUM(alltable.ACTUAL_DEST = 'S0168')/COUNT(*)*100 AS Jackpot, + SUM(alltable.ACTUAL_DEST = 'S0199')/COUNT(*)*100 AS Recirc +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY day(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Lane Full Recirc Jackpot Report/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Lane Full Recirc Jackpot Report/resource.json new file mode 100644 index 0000000..ab0b3b9 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Lane Full Recirc Jackpot Report/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "b8158fea82a46f3f1fdccfc39488a423ac065b4a9c1fae58557ec35d8c0d38a5", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Max PPH 5 Min/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Max PPH 5 Min/query.sql new file mode 100644 index 0000000..aae76e1 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Max PPH 5 Min/query.sql @@ -0,0 +1,6 @@ +SELECT IFNULL(max(total_count*12),0) as max_pph FROM ( +SELECT + Round(SUM(alltable.ACTUAL_DEST <> 'S0199' and alltable.ACTUAL_DEST <> 'S0168')) AS total_count +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY UNIX_TIMESTAMP(alltable.t_stamp) DIV 300) basa \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Max PPH 5 Min/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Max PPH 5 Min/resource.json new file mode 100644 index 0000000..487c9df --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Max PPH 5 Min/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "849a8410704302571e1012488415c998305d59501031772ff31e51c1fb9bde1c", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details/query.sql new file mode 100644 index 0000000..75e68b7 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details/query.sql @@ -0,0 +1,30 @@ +Select +SorterName,ScannerName,Total_count, +GoodRead_count,NoRead_count,MultiLabelRead_count,NoCode_count,Startstamp,Endtstamp, +1 as Total_perc, +GoodRead_count/Total_count as GoodRead_perc, +NoRead_count/Total_count as NoRead_perc, +MultiLabelRead_count/Total_count as MultiLabelRead_perc, +NoCode_count/Total_count as NoCode_perc, +Total_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Total_rate, +GoodRead_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as GoodRead_rate, +NoRead_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as NoRead_rate, +MultiLabelRead_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as MultiLabelRead_rate, +NoCode_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as NoCode_rate +FROM + + (SELECT + 'S03' as SorterName, + 'S03aa' as ScannerName, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp, + COUNT(*) AS Total_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) <> '?' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '9' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '0') AS GoodRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '?') AS NoRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '9') AS MultiLabelRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '0') AS NoCode_count + + FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime)) basa \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details/resource.json new file mode 100644 index 0000000..98afaad --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB", + "fallbackEnabled": false, + "lastModificationSignature": "536466d99ffb72e62c5c8265bd6078c8a532cbabb8b1a483609b62fdb5c86ce6", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:09:25Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details_graph/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details_graph/query.sql new file mode 100644 index 0000000..1707131 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details_graph/query.sql @@ -0,0 +1,35 @@ +Select + + roundtime,Total_count,GoodRead_count,NoRead_count,MultiRead_count,NoCode_count, + + Total_count/Total_count as Total_perc, + GoodRead_count/Total_count as GoodRead_perc, + NoRead_count/Total_count as NoRead_perc, + MultiRead_count/Total_count as MultiLabelRead_perc, + NoCode_count/Total_count as NoCode_perc, + + Total_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as Total_rate, + GoodRead_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as GoodRead_rate, + NoRead_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as NoRead_rate, + MultiRead_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as MultiLabelRead_rate, + NoCode_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as NoCode_rate + +FROM + (Select + alltable.t_stamp AS t_stamp, + COUNT(*) AS Total_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) <> '?' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '9' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '0') AS GoodRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '?') AS NoRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '9') AS MultiRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '0') AS NoCode_count, + + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) roundtime + + FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) and ('S03aa' = :Scanner) + + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) + Order By alltable.t_stamp ASC + ) okey \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details_graph/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details_graph/resource.json new file mode 100644 index 0000000..8a841b8 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Details_graph/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "0fcc0041a58e329c5dfd8ff98cc0fa4781806f7091bbffe870c178e4b2c84314", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "Scanner", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Scanner Performance Report/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Performance Report/query.sql new file mode 100644 index 0000000..fcb5ff2 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Performance Report/query.sql @@ -0,0 +1,33 @@ +Select +day, +SorterName,ScannerName,Total_count, +GoodRead_count,NoRead_count,MultiLabelRead_count,NoCode_count,Startstamp,Endtstamp, +1 as Total_perc, +GoodRead_count/Total_count as GoodRead_perc, +NoRead_count/Total_count * 100 as NoRead_perc, +MultiLabelRead_count/Total_count * 100 as MultiLabelRead_perc, +NoCode_count/Total_count * 100 as NoCode_perc, +Total_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Total_rate, +GoodRead_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as GoodRead_rate, +NoRead_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as NoRead_rate, +MultiLabelRead_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as MultiLabelRead_rate, +NoCode_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as NoCode_rate +FROM + + (SELECT + date(alltable.t_stamp) as day, + 'S01' as SorterName, + 'S01aa' as ScannerName, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp, + COUNT(*) AS Total_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) <> '?' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '9' AND + SUBSTRING(alltable.ScanLabel,1,1) <> '0') AS GoodRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '?') AS NoRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '9') AS MultiLabelRead_count, + SUM(SUBSTRING(alltable.ScanLabel,1,1) = '0') AS NoCode_count + + FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) + GROUP BY day(alltable.t_stamp)) basa \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Scanner Performance Report/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Performance Report/resource.json new file mode 100644 index 0000000..56e7e52 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Scanner Performance Report/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "78b3e6de829d8f762e1a3a37d67fb509de821e62732823c6107b58e902d07dc6", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details/query.sql new file mode 100644 index 0000000..d9a7d83 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details/query.sql @@ -0,0 +1,52 @@ +Select + SorterName,inducted_count,sorted_count,destinv_count,destfull_count,unexpected_count,destfault_count,destfault_count,divfail_count,gaperr_count, + lost_count, trackerr_count, unknownn_count, unsafe_count,destdis_count, destnone_count, Startstamp,Endtstamp, + inducted_count/inducted_count as inducted_perc, + sorted_count/inducted_count as sorted_perc, + destinv_count/inducted_count as destinv_perc, + destfull_count/inducted_count as destfull_perc, + unexpected_count/inducted_count as unexpected_perc, + destfault_count/inducted_count as destfault_perc, + divfail_count/inducted_count as divfail_perc, + gaperr_count/inducted_count as gaperr_perc, + lost_count/inducted_count as lost_perc, + trackerr_count/inducted_count as trackerr_perc, + unknownn_count/inducted_count as unknown_perc, + unsafe_count/inducted_count as unsafe_perc, + destdis_count/inducted_count as destdis_perc, + destnone_count/inducted_count as destnone_perc, + inducted_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as inducted_rate, + sorted_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as sorted_rate, + destinv_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as destinv_rate, + destfull_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as destfull_rate, + unexpected_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as unexpected_rate, + destfault_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as destfault_rate, + divfail_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as divfail_rate, + gaperr_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as gaperr_rate, + lost_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as lost_rate, + trackerr_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as trackerr_rate, + unknownn_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as unknown_rate, + unsafe_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as unsafe_rate, + destdis_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as destdis_rate, + destnone_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as destnone_rate +FROM + (SELECT + 'S03' as SorterName, + COUNT(*) AS inducted_count, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS sorted_count, + SUM(alltable.DivertStatus = 7) AS destinv_count, + SUM(alltable.DivertStatus = 5) AS destfull_count, + SUM(alltable.DivertStatus = 2) AS unexpected_count, + SUM(alltable.DivertStatus = 6) AS destfault_count, + SUM(alltable.DivertStatus = 14) AS divfail_count, + SUM(alltable.DivertStatus = 4) AS gaperr_count, + SUM(alltable.DivertStatus = 17) AS lost_count, + SUM(alltable.DivertStatus = 3) AS trackerr_count, + SUM(alltable.DivertStatus = 1) AS unknownn_count, + SUM(alltable.DivertStatus = 21) AS unsafe_count, + SUM(alltable.DivertStatus = 12) AS destdis_count, + SUM(alltable.DivertStatus = 16) AS destnone_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp +FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime)) basa \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details/resource.json new file mode 100644 index 0000000..24bd497 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "f5e856d0484abeae11d103f475415002172eb6bbe8333747c926a42a89d01639", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details_graph/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details_graph/query.sql new file mode 100644 index 0000000..8b4688a --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details_graph/query.sql @@ -0,0 +1,60 @@ +Select + roundtime,inducted_count,sorted_count,destinv_count,destfull_count,unexpected_count,destfault_count,destfault_count,divfail_count,gaperr_count, + lost_count, trackerr_count, unknownn_count, unsafe_count,destdis_count, destnone_count, assigned_count, + + inducted_count/inducted_count as inducted_perc, + sorted_count/inducted_count as sorted_perc, + destinv_count/inducted_count as destinv_perc, + destfull_count/inducted_count as destfull_perc, + unexpected_count/inducted_count as unexpected_perc, + destfault_count/inducted_count as destfault_perc, + divfail_count/inducted_count as divfail_perc, + gaperr_count/inducted_count as gaperr_perc, + lost_count/inducted_count as lost_perc, + trackerr_count/inducted_count as trackerr_perc, + unknownn_count/inducted_count as unknown_perc, + unsafe_count/inducted_count as unsafe_perc, + destdis_count/inducted_count as destdis_perc, + destnone_count/inducted_count as destnone_perc, + assigned_count/inducted_count as assigned_perc, + + inducted_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as inducted_rate, + sorted_count*3600/TIMESTAMPDIFF(second,:starttime, :endtime) as sorted_rate, + destinv_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destinv_rate, + destfull_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destfull_rate, + unexpected_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unexpected_rate, + destfault_count*3600/TIMESTAMPDIFF(second,:starttime, :endtime) as destfault_rate, + divfail_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as divfail_rate, + gaperr_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as gaperr_rate, + lost_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as lost_rate, + trackerr_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as trackerr_rate, + unknownn_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unknown_rate, + unsafe_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as unsafe_rate, + destdis_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destdis_rate, + destnone_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destnone_rate, + assigned_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as assigned_rate +FROM + (SELECT + COUNT(*) AS inducted_count, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS sorted_count, + SUM(alltable.DivertStatus = 7) AS destinv_count, + SUM(alltable.DivertStatus = 5) AS destfull_count, + SUM(alltable.DivertStatus = 2) AS unexpected_count, + SUM(alltable.DivertStatus = 6) AS destfault_count, + SUM(alltable.DivertStatus = 14) AS divfail_count, + SUM(alltable.DivertStatus = 4) AS gaperr_count, + SUM(alltable.DivertStatus = 17) AS lost_count, + SUM(alltable.DivertStatus = 3) AS trackerr_count, + SUM(alltable.DivertStatus = 1) AS unknownn_count, + SUM(alltable.DivertStatus = 21) AS unsafe_count, + SUM(alltable.DivertStatus = 12) AS destdis_count, + SUM(alltable.DivertStatus = 16) AS destnone_count, + SUM(alltable.DEST_REQ ) AS assigned_count, + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) roundtime + + +FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) AND ('S03' = :Sorter) + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) + Order By alltable.t_stamp ASC + ) okey \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details_graph/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details_graph/resource.json new file mode 100644 index 0000000..7743997 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Details_graph/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "5968d7693a7a8f34053f47d002b4d790c7193e3c693f4d3a6e4dfbca9eff051b", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "Sorter", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary/query.sql new file mode 100644 index 0000000..c8a7d76 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary/query.sql @@ -0,0 +1,25 @@ +Select + SorterName,Induct_count,Sorted_count,OperRecirc_count,MachineRecirc_count,AWCSRecirc_count,Startstamp,Endtstamp, + Induct_count/Induct_count as Induct_perc, + Sorted_count/Induct_count as Sorted_perc, + OperRecirc_count/Induct_count as OperRecirc_perc, + MachineRecirc_count/Induct_count as MachineRecirc_perc, + AWCSRecirc_count/Induct_count as AWCSRecirc_perc, + Induct_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Induct_rate, + Sorted_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Sorted_rate, + OperRecirc_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as OperRecirc_rate, + MachineRecirc_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as MachineRecirc_rate, + AWCSRecirc_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as AWCSRecirc_rate +FROM + (SELECT + 'S03' as SorterName, + COUNT(*) AS Induct_count, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS Sorted_count, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 2 OR alltable.DivertStatus = 5 OR alltable.DivertStatus = 18 OR alltable.DivertStatus = 19 or alltable.DivertStatus = 20)) AS OperRecirc_count, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 1 OR alltable.DivertStatus = 3 OR alltable.DivertStatus = 4 OR alltable.DivertStatus = 6 OR alltable.DivertStatus = 13 OR alltable.DivertStatus = 14 OR alltable.DivertStatus = 17 OR alltable.DivertStatus = 21)) AS MachineRecirc_count, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 7 OR alltable.DivertStatus = 8 OR alltable.DivertStatus = 9 OR alltable.DivertStatus = 10 OR alltable.DivertStatus = 12 OR alltable.DivertStatus = 16)) AS AWCSRecirc_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp +FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) + Group BY 'S03') basa \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary/resource.json new file mode 100644 index 0000000..2dacd1d --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "55492879bc161833d6a2068f66308ca52f9487206c4865ec48afac79a700add4", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary_graph/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary_graph/query.sql new file mode 100644 index 0000000..aaa7daf --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary_graph/query.sql @@ -0,0 +1,33 @@ +Select + roundtime, + Induct_count,Sorted_count,OperRecirc_count,MachineRecirc_count,AWCSRecirc_count, + + Induct_count/Induct_count as Induct_perc, + Sorted_count/Induct_count as Sorted_perc, + OperRecirc_count/Induct_count as OperRecirc_perc, + MachineRecirc_count/Induct_count as MachineRecirc_perc, + AWCSRecirc_count/Induct_count as AWCSRecirc_perc, + + Induct_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as Induct_rate, + Sorted_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as Sorted_rate, + OperRecirc_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as OperRecirc_rate, + MachineRecirc_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as MachineRecirc_rate, + AWCSRecirc_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as AWCSRecirc_rate +FROM + (SELECT + + COUNT(*) AS Induct_count, + SUM(alltable.ACTUAL_DEST <> 'S03999') AS Sorted_count, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 2 OR alltable.DivertStatus = 5 OR alltable.DivertStatus = 18 OR alltable.DivertStatus = 19 or alltable.DivertStatus = 20)) AS OperRecirc_count, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 1 OR alltable.DivertStatus = 3 OR alltable.DivertStatus = 4 OR alltable.DivertStatus = 6 OR alltable.DivertStatus = 13 OR alltable.DivertStatus = 14 OR alltable.DivertStatus = 17 OR alltable.DivertStatus = 21)) AS MachineRecirc_count, + SUM(alltable.ACTUAL_DEST = 'S03999' AND (alltable.DivertStatus = 7 OR alltable.DivertStatus = 8 OR alltable.DivertStatus = 9 OR alltable.DivertStatus = 10 OR alltable.DivertStatus = 12 OR alltable.DivertStatus = 16)) AS AWCSRecirc_count, + + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) roundtime + +FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) AND ('S03' = :Sorter) + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(alltable.t_stamp) / 60) * 60) + Order By alltable.t_stamp ASC + ) okey + + diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary_graph/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary_graph/resource.json new file mode 100644 index 0000000..cbaf2d1 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Sorter Summary_graph/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "a6c46b374b65cd4285eedbc0c3cbe76418c79980624581f023f9d9e97256a720", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "Sorter", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/TestQ/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/TestQ/query.sql new file mode 100644 index 0000000..041a34b --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/TestQ/query.sql @@ -0,0 +1,53 @@ +/***Select + SorterName,Lane,Startstamp,Endtstamp, + Total_count, DestFull_count, + + Total_count/Total_count as total_perc, + DestFull_count/Total_count as destfull_perc, + + Total_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as total_rate, + DestFull_count*3600/TIMESTAMPDIFF(second, :starttime, :endtime) as destfull_rate +FROM + (Select + 'S01' AS SorterName, + alltable.DEST_REQ as Lane, + COUNT(*) AS Total_count, + SUM(alltable.DivertStatus = 5) AS DestFull_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp + + FROM alltable + Where (alltable.DEST_REQ <> 'S0199' AND alltable.t_stamp BETWEEN :starttime AND :endtime) + Group BY alltable.DEST_REQ + Union + Select + 'S01' AS SorterName, + alltable.ACTUAL_DEST as Lane, + COUNT(*) AS Total_count, + 0 AS DestFull_count, + MIN(alltable.t_stamp) AS Startstamp, + Max(alltable.t_stamp) AS Endtstamp + FROM alltable + Where (alltable.ACTUAL_DEST = 'S0199' AND alltable.t_stamp BETWEEN :starttime AND :endtime)) basa ***/ + +/***Select + SorterName,InductName,Total_count,singlecarrier_count,doublecarrier_count,Startstamp,Endtstamp, + Total_count/Total_count as Total_perc, + singlecarrier_count/Total_count as SingleCarrier_perc, + doublecarrier_count/Total_count as DoubleCarrier_perc, + Total_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as Total_rate, + singlecarrier_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as SingleCarrier_rate, + doublecarrier_count*3600/TIMESTAMPDIFF(second, Startstamp, Endtstamp) as DoubleCarrier_rate +FROM + (SELECT + 'S01' as SorterName, + 'Induct 1' as InductName, + COUNT(*) AS Total_count, + SUM(jam_area.ParcelHistory_TupelLength = 1) AS singlecarrier_count, + SUM(jam_area.ParcelHistory_TupelLength = 2) AS doublecarrier_count, + MIN(jam_area.t_stamp) AS Startstamp, + Max(jam_area.t_stamp) AS Endtstamp + +FROM alltable + Where (alltable.t_stamp BETWEEN :starttime AND :endtime) + Group BY 'Induct 1' ) basajam***/ \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/TestQ/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/TestQ/resource.json new file mode 100644 index 0000000..f1ddb4d --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/TestQ/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "048b3a46e4f1520c0fd3718b9d59862b4eb0e2ad71e50070516cf5393928e9e0", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/TestQ_graph/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/TestQ_graph/query.sql new file mode 100644 index 0000000..f7d009b --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/TestQ_graph/query.sql @@ -0,0 +1,17 @@ + Select + roundtime,uljl_jam,ps1_jam + + FROM + + (Select + + SUM(jam_area.jam_ulgl = 1) AS uljl_jam, + SUM(jam_area.jam_ps1 = 1) AS ps1_jam, + FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(jam_area.t_stamp) / 60) * 60) roundtime + + FROM jam_area + Where (jam_area.t_stamp BETWEEN :starttime AND :endtime) and ('Induct 1' = :Induct) + + Group BY FROM_UNIXTIME(CEIL(UNIX_TIMESTAMP(jam_area.t_stamp) / 1800) * 1800) + Order By jam_area.t_stamp ASC + ) okeyjam \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/TestQ_graph/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/TestQ_graph/resource.json new file mode 100644 index 0000000..4946f11 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/TestQ_graph/resource.json @@ -0,0 +1,51 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "2d68722cd85cbd20c0d693ea698cbb347330f26ea125108422a896c3423e3682", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "Induct", + "sqlType": 7 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Full Count/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Count/query.sql new file mode 100644 index 0000000..18f1ce6 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Count/query.sql @@ -0,0 +1,9 @@ +SELECT + + alltable.ACTUAL_DEST as Lane, + COUNT(*) AS Total_count, + SUM(alltable.DivertStatus = 5) AS DestFull_count + +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY date(alltable.t_stamp),(alltable.ACTUAL_DEST) diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Full Count/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Count/resource.json new file mode 100644 index 0000000..1c5a9e1 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Count/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "30aeb2118a43479c4cbd7e74230e74b1957f8b26b61462a0d61d02229de21a11", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Full Percent/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Percent/query.sql new file mode 100644 index 0000000..6f76cb8 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Percent/query.sql @@ -0,0 +1,7 @@ +SELECT + alltable.ACTUAL_DEST as Lane, + concat(round(COUNT(*)/COUNT(*) * 100,2),'%') AS Total_count, + concat(round(SUM(alltable.DivertStatus = 5)/COUNT(*) * 100,2),'%') AS DestFull_count +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY (alltable.ACTUAL_DEST) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Full Percent/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Percent/resource.json new file mode 100644 index 0000000..830cc10 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Percent/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "963e5f88d13322232b81496f3d8bae23a65218b61168226f41de2b2842e321d2", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Full Rate/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Rate/query.sql new file mode 100644 index 0000000..5a36cf9 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Rate/query.sql @@ -0,0 +1,7 @@ +SELECT + alltable.ACTUAL_DEST as Lane, + concat(cast(COUNT(*) as char),' pph') AS Total_count, + concat(cast(SUM(alltable.DivertStatus = 5) as char),' pph') AS DestFull_count +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY (alltable.ACTUAL_DEST) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Full Rate/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Rate/resource.json new file mode 100644 index 0000000..75e4678 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Full Rate/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "12274b67a9f6a1089036103a2e47402024f88dd01d2ebc276202ba9b99a0ac04", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Scans Report/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/Total Scans Report/query.sql new file mode 100644 index 0000000..45a6a3f --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Scans Report/query.sql @@ -0,0 +1,6 @@ +Select + DATE_FORMAT(date(alltable.t_stamp),'%m/%d/%Y') as Day, + COUNT(*) AS Scans +FROM alltable +Where (alltable.t_stamp BETWEEN :starttime AND :endtime) +GROUP BY day(alltable.t_stamp) \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/Total Scans Report/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/Total Scans Report/resource.json new file mode 100644 index 0000000..c5b02ff --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/Total Scans Report/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "ab64c807c29329aca54bfe140641372941a1b47ef127a4ec8facc815c7dd4b7d", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/tteee/query.sql b/MTN6_SCADA/ignition/named-query/Statistics/tteee/query.sql new file mode 100644 index 0000000..322dac4 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/tteee/query.sql @@ -0,0 +1,4 @@ +SELECT column_a, column_b +FROM my_table +WHERE column_x = :myValueX + AND column_y = :myValueY \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Statistics/tteee/resource.json b/MTN6_SCADA/ignition/named-query/Statistics/tteee/resource.json new file mode 100644 index 0000000..bb03c09 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Statistics/tteee/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "6a8e21fc5aac7f06201711e5e495ed35fe0dc919d662c3b0f34b480f39e2050b", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:38Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Status/Ethernet/query.sql b/MTN6_SCADA/ignition/named-query/Status/Ethernet/query.sql new file mode 100644 index 0000000..c48b065 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Status/Ethernet/query.sql @@ -0,0 +1,12 @@ +SELECT Status_Ethernet.status_ethernet_ndx, + Status_Ethernet.DeviceType, + Status_Ethernet.Device, + Status_Ethernet.IPAddress, + Status_Ethernet.Status1, + Status_Ethernet.CurrentAmps, + Status_Ethernet.SpeedFPM, + Status_Ethernet.StatusCode, + Status_Ethernet.row_id, + Status_Ethernet.LastStatusCode, + IF (Status_Ethernet.Status1 = "false","OK", "Fault") as Status + FROM Status_Ethernet diff --git a/MTN6_SCADA/ignition/named-query/Status/Ethernet/resource.json b/MTN6_SCADA/ignition/named-query/Status/Ethernet/resource.json new file mode 100644 index 0000000..eb0c54c --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Status/Ethernet/resource.json @@ -0,0 +1,34 @@ +{ + "scope": "DG", + "version": 2, + "restricted": false, + "overridable": true, + "files": [ + "query.sql" + ], + "attributes": { + "useMaxReturnSize": false, + "autoBatchEnabled": false, + "fallbackValue": "", + "maxReturnSize": 100, + "cacheUnit": "MIN", + "type": "Query", + "enabled": true, + "cacheAmount": 50000, + "cacheEnabled": false, + "database": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "6843ba4db5f20577433d191723fbf634d7b8141c9e95a026777b8d41bede2565", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:39Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Status/Scanner History/query.sql b/MTN6_SCADA/ignition/named-query/Status/Scanner History/query.sql new file mode 100644 index 0000000..3ea5fda --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Status/Scanner History/query.sql @@ -0,0 +1,16 @@ +SELECT alltable.t_stamp, + 'S03' AS SorterName, + alltable.ParcelID, + 'S03aa' AS ScannerName, + '0' AS IMGID, + alltable.ScanLabel, + alltable.ScanStatus, + alltable.Length, + alltable.Tray, + alltable.AssignmentScanHist, + alltable.DivertStatus, + alltable.DEST_REQ, + alltable.ACTUAL_DEST, + alltable.SortCode +FROM alltable +WHERE alltable.t_stamp BETWEEN :starttime AND :endtime \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Status/Scanner History/resource.json b/MTN6_SCADA/ignition/named-query/Status/Scanner History/resource.json new file mode 100644 index 0000000..934b9f4 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Status/Scanner History/resource.json @@ -0,0 +1,46 @@ +{ + "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": "MariaDB80", + "fallbackEnabled": false, + "lastModificationSignature": "45afff047b5091b80d357e6fe4a66832fb586313fb8a7e9279a8abdca4554f0c", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-07T09:08:39Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "endtime", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "starttime", + "sqlType": 8 + } + ] + } +} \ No newline at end of file