diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json index 214b1ed..d1863a8 100644 --- a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json @@ -1,10 +1,10 @@ { "custom": { - "currentTab": "Windows/Tabs/Enternet Windows/Enternet" + "currentTab": null }, "params": { - "Tab_ID": null, - "Table": null + "Tab_ID": 0, + "Table": "Status_tab" }, "propConfig": { "custom.currentTab": { @@ -40,288 +40,1618 @@ "props": { "defaultSize": { "height": 930, - "width": 1920 + "width": 1905 } }, "root": { "children": [ - { - "meta": { - "name": "Content" - }, - "position": { - "height": 0.9613, - "width": 1, - "y": 0.043 - }, - "propConfig": { - "meta.visible": { - "binding": { - "config": { - "expression": "!{session.custom.show_dpm_device_view}" - }, - "type": "expr" - } - }, - "props.path": { - "binding": { - "config": { - "expression": "if(\r\n {view.custom.currentTab} \u003d \"value\",\r\n \"Windows/Tabs/Enternet Windows/Enternet\",\r\n {view.custom.currentTab}\r\n)\r\n" - }, - "type": "expr" - } - } - }, - "type": "ia.display.view" - }, { "children": [ { "children": [ { + "custom": { + "mode": "1Past 30 Minvaluevalue" + }, "meta": { - "name": "Button" + "name": "Scanner History" }, "position": { - "basis": "80px", - "grow": 1 + "basis": "893.9px" }, - "props": { - "style": { - "backgroundColor": "#C4D0D5", - "borderStyle": "none" + "propConfig": { + "custom.mode": { + "binding": { + "config": { + "expression": "{..../Status_tab.props.currentTabIndex} + {..../Period_not_Global_0/Period.props.value} + {..../Period_not_Global_0/StartTime.custom.Selected} + {..../Period_not_Global_0/EndTime.custom.Selected}" + }, + "enabled": false, + "type": "expr" + }, + "onChange": { + "enabled": null, + "script": "\t\n\tself.refreshBinding(\"props.data\")" + } }, - "text": "Enternet", - "textStyle": { - "color": "#000000", - "fontSize": "1.5vmin", - "fontWeight": "lighter" + "props.data": { + "binding": { + "config": { + "parameters": { + "endtime": "{..../Period_not_Global_0.custom.EndDate}", + "starttime": "{..../Period_not_Global_0.custom.StartDate}" + }, + "queryPath": "Status/Scanner History", + "returnFormat": "dataset" + }, + "type": "query" + } } }, - "type": "ia.input.button" - } - ], - "events": { - "dom": { - "onClick": { - "config": { - "script": "\tif (self.parent.custom.currentTab !\u003d \"Windows/Tabs/Enternet Windows/Enternet\"):\n\t\t\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Enternet Windows/Enternet\"\n\tself.parent.parent.getChild(\"DPMs\").meta.visible \u003d False\n\tself.parent.parent.getChild(\"Content\").meta.visible \u003d True\n\t" - }, - "scope": "G", - "type": "script" - } - } - }, - "meta": { - "name": "Enternet" - }, - "position": { - "basis": "200px", - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" - }, - { - "children": [ - { - "meta": { - "name": "Button" - }, - "position": { - "basis": "80px", - "grow": 1 - }, "props": { - "style": { - "backgroundColor": "#C4D0D5", - "borderStyle": "none" + "columns": [ + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "t_stamp", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "", + "textAlign": "center" + }, + "title": "Date" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "date", + "resizable": true, + "sort": "descending", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 120 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "SorterName", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Sorter" + }, + "justify": "center", + "number": "value", + "numberFormat": "00:00:00", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 90 + }, + { + "align": "center", + "boolean": "value", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "ParcelID", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Parcel ID" + }, + "justify": "center", + "number": "value", + "numberFormat": "none", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 80 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "ScannerName", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Scanner" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 90 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "IMGID", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Img ID" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 50 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "ScanLabel", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Scan Label" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 150 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "ScanStatus", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Scan Status" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 100 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "Length", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Length (In)" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 70 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "Tray", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Trays (#)" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 60 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "AssignmentScanHist", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Assigment" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 70 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "DivertStatus", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Divert Status" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 50 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "DEST_REQ", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Req Dest" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 70 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "ACTUAL_DEST", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Actual Dest" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 70 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "SortCode", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Sort Code" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 150 + } + ], + "filter": { + "enabled": true }, - "text": "Lane Status", - "textStyle": { - "color": "#000000", - "fontSize": "1.5vmin", - "fontWeight": "lighter" - } + "rows": { + "style": { + "textAlign": "center" + } + }, + "sortOrder": [ + "t_stamp" + ], + "style": { + "overflow": "visible" + }, + "virtualized": false }, - "type": "ia.input.button" + "type": "ia.display.table" } ], - "events": { - "dom": { - "onClick": { - "config": { - "script": "\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Lane Status\"\n\tself.parent.parent.getChild(\"DPMs\").meta.visible \u003d False" - }, - "scope": "G", - "type": "script" - } - } - }, - "meta": { - "name": "Lane Status" - }, - "position": { - "basis": "200px", - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" - }, - { - "children": [ - { - "meta": { - "name": "Button" - }, - "position": { - "basis": "80px", - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5", - "borderStyle": "none" - }, - "text": "Scanner History", - "textStyle": { - "color": "#000000", - "fontSize": "1.5vmin", - "fontWeight": "lighter" - } - }, - "type": "ia.input.button" - } - ], - "events": { - "dom": { - "onClick": { - "config": { - "script": "\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Scanner History\"\n\tself.parent.parent.getChild(\"DPMs\").meta.visible \u003d False" - }, - "scope": "G", - "type": "script" - } - } - }, "meta": { "name": "Scanner History" }, "position": { - "basis": "200px", - "grow": 1 + "tabIndex": 2 }, "props": { + "direction": "column", "style": { - "backgroundColor": "#C4D0D5" + "overflow": "visible" } }, "type": "ia.container.flex" }, { + "children": [ + { + "custom": { + "test": 1649717949000 + }, + "meta": { + "name": "Lane Status" + }, + "position": { + "height": 894, + "width": 1902, + "x": -1 + }, + "propConfig": { + "props.data": { + "binding": { + "config": { + "parameters": { + "endDate": "{..../Period_not_Global_0.custom.EndDate}", + "startDate": "{..../Period_not_Global_0.custom.StartDate}" + }, + "queryPath": "Status/Lane Status" + }, + "type": "query" + } + } + }, + "props": { + "columns": [ + { + "align": "center", + "boolean": "value", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "Lane", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Lane" + }, + "justify": "center", + "number": "value", + "numberFormat": "none", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "FullCount", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Full (#)" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY", + "editable": false, + "field": "JamCount", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Jam (#)" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "none", + "editable": false, + "field": "FullDuration", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Full Duration" + }, + "justify": "center", + "number": "value", + "numberFormat": "none", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "value", + "dateFormat": "none", + "editable": false, + "field": "JamDuration", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Jam Duration" + }, + "justify": "center", + "number": "value", + "numberFormat": "00:00:00", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": true, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + } + ], + "filter": { + "enabled": true + }, + "pager": { + "activeOption": 5, + "bottom": false, + "initialOption": 20, + "options": [ + 5, + 10, + 23, + 50, + 100 + ] + }, + "rows": { + "style": { + "textAlign": "center" + } + }, + "virtualized": false + }, + "type": "ia.display.table" + } + ], "meta": { - "name": "Button5" + "name": "Lane Status" }, "position": { - "grow": 1 + "tabIndex": 1 }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" + "type": "ia.container.coord" }, { - "meta": { - "name": "Button6" - }, - "position": { - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" + "children": [ + { + "events": { + "dom": { + "onClick": { + "config": { + "script": "\tself.parent.custom.TabName \u003d \"DPMs\"" + }, + "scope": "G", + "type": "script" + } + } + }, + "meta": { + "name": "Content" + }, + "position": { + "height": 891, + "width": 1898, + "x": 2.89, + "y": 0.02 + }, + "propConfig": { + "meta.visible": { + "binding": { + "config": { + "expression": "!{session.custom.show_dpm_device_view} \u0026\u0026 !{session.custom.show_dpm_view}" + }, + "type": "expr" + } + } + }, + "props": { + "path": "Windows/Tabs/Enternet Windows/Enternet" + }, + "type": "ia.display.view" + }, + { + "events": { + "dom": { + "onClick": { + "config": { + "script": "\tself.parent.custom.TabName \u003d \"Devices\"" + }, + "scope": "G", + "type": "script" + } + } + }, + "meta": { + "name": "DPMs" + }, + "position": { + "height": 893, + "width": 1907, + "y": 0.44 + }, + "propConfig": { + "meta.visible": { + "binding": { + "config": { + "path": "session.custom.show_dpm_view" + }, + "type": "property" + } + }, + "props.path": { + "binding": { + "config": { + "path": "session.custom.dpm_view_path" + }, + "type": "property" + } + }, + "props.style.opacity": { + "binding": { + "config": { + "path": "this.meta.visible" + }, + "transforms": [ + { + "fallback": null, + "inputType": "scalar", + "mappings": [ + { + "input": true, + "output": 100 + }, + { + "input": false, + "output": 0 + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + } + } + }, + "type": "ia.display.view" + }, + { + "events": { + "component": { + "onActionPerformed": { + "config": { + "script": "\tif self.parent.custom.TabName \u003d\u003d \"DPMs\":\n\t\tself.session.custom.show_dpm_view \u003d False\n\t\tself.session.custom.show_dpm_device_view \u003d False\n\tif self.parent.custom.TabName \u003d\u003d \"Devices\":\n\t\tself.session.custom.show_dpm_device_view \u003d False\n\t\tself.session.custom.show_dpm_view \u003d False" + }, + "scope": "G", + "type": "script" + } + } + }, + "meta": { + "name": "BACK" + }, + "position": { + "height": 41, + "width": 142, + "x": 15.889999999999986, + "y": 836.02 + }, + "propConfig": { + "meta.visible": { + "binding": { + "config": { + "expression": "{session.custom.show_dpm_device_view} || {session.custom.show_dpm_view} " + }, + "type": "expr" + } + } + }, + "props": { + "style": { + "backgroundColor": "#D7D7D7", + "borderStyle": "solid", + "borderWidth": 1, + "color": "#000000" + }, + "text": "BACK" + }, + "type": "ia.input.button" } + ], + "custom": { + "TabName": "value" }, - "type": "ia.container.flex" - }, - { "meta": { - "name": "Button7" + "name": "Enternet" }, - "position": { - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" - }, - { - "meta": { - "name": "Button8" - }, - "position": { - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" - }, - { - "meta": { - "name": "Button9" - }, - "position": { - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" - }, - { - "meta": { - "name": "Button10" - }, - "position": { - "grow": 1 - }, - "props": { - "style": { - "backgroundColor": "#C4D0D5" - } - }, - "type": "ia.container.flex" + "type": "ia.container.coord" } ], - "custom": { - "currentTab": "Windows/Tabs/Enternet Windows/Enternet" - }, "meta": { - "name": "Header" + "name": "Status_tab" }, "position": { - "height": 0.043, - "width": 1 + "height": 1.0011, + "width": 1.0005, + "y": -0.0011 }, - "type": "ia.container.flex" + "props": { + "tabs": [ + "Enternet", + "Lane Status", + "Scanner History" + ] + }, + "type": "ia.container.tab" }, { "custom": { @@ -1789,10 +3119,10 @@ "name": "ExportToCSV" }, "position": { - "height": 0.0269, + "height": 0.0258, "width": 0.0625, "x": 0.8974, - "y": 0.0084 + "y": 0.004 }, "props": { "mode": "percent", @@ -1938,7 +3268,6 @@ "config": { "expression": "{../Period.props.value} \u003d \"Custom\"" }, - "enabled": false, "type": "expr" } }, @@ -1947,7 +3276,6 @@ "config": { "expression": "now()" }, - "enabled": false, "type": "expr" } }, @@ -1956,7 +3284,6 @@ "config": { "path": "../Period.props.value" }, - "enabled": false, "transforms": [ { "fallback": "todate(now())", @@ -2035,36 +3362,19 @@ }, "props": { "dismissOnSelect": false, - "enabled": false, - "formattedValue": "Apr 25, 2025 2:56 PM", + "formattedValue": "May 29, 2025 1:08 PM", "formattedValues": { "date": "Mar 26, 2021", "datetime": "Mar 26, 2021 12:00 AM", "time": "12:00 AM" }, - "maxDate": { - "$": [ - "ts", - 192, - 1745580359823 - ], - "$ts": 1745580359823 - }, - "startDate": { - "$": [ - "ts", - 201, - 1745580368842 - ], - "$ts": 1745578568000 - }, "value": { "$": [ "ts", 192, - 1745580368842 + 1748511500773 ], - "$ts": 1745578568000 + "$ts": 1748509700000 } }, "type": "ia.input.date-time-input" @@ -2120,7 +3430,6 @@ "config": { "expression": "{../Period.props.value} \u003d \"Custom\"" }, - "enabled": false, "type": "expr" } }, @@ -2129,7 +3438,6 @@ "config": { "path": "../Period.props.value" }, - "enabled": false, "transforms": [ { "fallback": "{this.props.value}", @@ -2200,7 +3508,6 @@ "config": { "expression": "if(dateDiff({../StartTime.props.value},now(),\"day\") \u003c 7, now(),dateArithmetic({../StartTime.props.value}, 7, \"days\"))" }, - "enabled": false, "type": "expr" } }, @@ -2209,83 +3516,38 @@ "config": { "expression": "{../StartTime.props.value}" }, - "enabled": false, "type": "expr" } } }, "props": { "dismissOnSelect": false, - "enabled": false, - "endDate": { - "$": [ - "ts", - 201, - 1745580379838 - ], - "$ts": 1745580379000 - }, - "formattedValue": "Apr 25, 2025 3:26 PM", + "formattedValue": "May 29, 2025 1:38 PM", "formattedValues": { "date": "Mar 29, 2021", "datetime": "Mar 29, 2021 1:37 PM", "time": "1:37 PM" }, - "maxDate": { - "$": [ - "ts", - 192, - 1745580390851 - ], - "$ts": 1745580390851 - }, - "minDate": { - "$": [ - "ts", - 192, - 1745580368842 - ], - "$ts": 1745578568000 - }, "value": { "$": [ "ts", 192, - 1745580379838 + 1748511500773 ], - "$ts": 1745580379000 + "$ts": 1748511500000 } }, "type": "ia.input.date-time-input" } ], - "custom": { - "EndDate": { - "$": [ - "ts", - 192, - 1745580348821 - ], - "$ts": 1745580348000 - }, - "StartDate": { - "$": [ - "ts", - 192, - 1745580344826 - ], - "$ts": 1745578544000 - } - }, "meta": { - "name": "Period_not_Global_0", - "visible": false + "name": "Period_not_Global_0" }, "position": { - "height": 0.0269, - "width": 0.413, - "x": 0.4821, - "y": 0.0067 + "height": 0.0226, + "width": 0.449, + "x": 0.4462, + "y": 0.0058 }, "propConfig": { "custom.EndDate": { @@ -2293,7 +3555,6 @@ "config": { "path": "./EndTime.props.value" }, - "enabled": false, "type": "property" } }, @@ -2302,14 +3563,13 @@ "config": { "path": "./StartTime.props.value" }, - "enabled": false, "type": "property" } }, "meta.visible": { "binding": { "config": { - "expression": "{../Status_tab.props.currentTabIndex} \u003d 1 | {../Status_tab.props.currentTabIndex} \u003d 2" + "expression": "{../Header.props.currentTabIndex}\u003d 1 | {../Header.props.currentTabIndex} \u003d 2" }, "enabled": false, "type": "expr" @@ -2317,61 +3577,6 @@ } }, "type": "ia.container.flex" - }, - { - "meta": { - "name": "DPMs" - }, - "position": { - "height": 0.9613, - "width": 1, - "y": 0.043 - }, - "propConfig": { - "meta.visible": { - "binding": { - "config": { - "path": "session.custom.show_dpm_view" - }, - "type": "property" - } - }, - "props.path": { - "binding": { - "config": { - "path": "session.custom.dpm_view_path" - }, - "type": "property" - } - }, - "props.style.opacity": { - "binding": { - "config": { - "path": "this.meta.visible" - }, - "transforms": [ - { - "fallback": null, - "inputType": "scalar", - "mappings": [ - { - "input": true, - "output": 100 - }, - { - "input": false, - "output": 0 - } - ], - "outputType": "scalar", - "type": "map" - } - ], - "type": "property" - } - } - }, - "type": "ia.display.view" } ], "meta": { diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Lane Status/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Lane Status/view.json deleted file mode 100644 index a6dc86a..0000000 --- a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Lane Status/view.json +++ /dev/null @@ -1,1794 +0,0 @@ -{ - "custom": {}, - "params": {}, - "props": { - "defaultSize": { - "height": 500, - "width": 1920 - } - }, - "root": { - "children": [ - { - "custom": { - "test": 1649717949000 - }, - "meta": { - "name": "Lane Status" - }, - "propConfig": { - "props.query": { - "binding": { - "config": { - "expression": "now(1000)" - }, - "enabled": false, - "type": "expr" - }, - "onChange": { - "enabled": null, - "script": "\t\n\tfrom system import date\n\t\n\tfrom java.lang import System\n\t\n\tfrom com.inductiveautomation.ignition.common.config import BasicProperty\n\t\n\tfrom com.inductiveautomation.ignition.common.alarming.config import CommonAlarmProperties\n\t\n\tp_tag \u003d BasicProperty(\"Tag\", BasicProperty().getType())\n\tp_jam \u003d BasicProperty(\"Jam\", BasicProperty().getType())\n\tp_full \u003d BasicProperty(\"Full\", BasicProperty().getType())\n\t\n\tdef testRow2(startTime,endTime,lane,count,duration,type):\n\t return {\n\t \"value\":{\n\t\t \"StartTimestamp\": startTime, \n\t\t \"EndTimestamp\": endTime,\n\t\t \"Lane\": lane,\n\t\t \"Count\": count,\n\t\t \"Duration\": duration,\n\t\t \"Type\": type\n\t\t }\n\t } \n\t\n\tdef testRow(startTime,endTime,lane,fullCount,jamCount,fullDuration,jamDuration):\n\t\t return {\n\t\t \"value\":{\n\t\t\t \"StartTimestamp\": startTime, \n\t\t\t \"EndTimestamp\": endTime,\n\t\t\t \"Lane\": lane,\n\t\t\t \"FullCount\": fullCount,\n\t\t\t \"JamCount\": jamCount,\n\t\t\t \"FullDuration\": fullDuration,\n\t\t\t \"JamDuration\": jamDuration\n\t\t\t }\n\t\t } \n \t\t \n\tdata \u003d []\n\t\n\tpar_class \u003d [(\"Jam\",\"\u003d\",\"1\"),(\"Full\",\"\u003d\",\"1\")]\n\t\n\tevents \u003d system.alarm.queryJournal(journalName\u003d\"Journal\", startDate\u003dself.parent.parent.parent.getChild(\"Period_not_Global_0\").custom.StartDate, \n\tendDate\u003dself.parent.parent.parent.getChild(\"Period_not_Global_0\").custom.EndDate,state\u003d[\u0027ActiveUnacked\u0027],any_properties\u003dpar_class, includeData\u003dTrue)\n\t\t\n\t# Get a dict where the key is alarm id and the value is a list of corresponding events.\n\talarms \u003d {}\n\tfor e in events:\n\t\tif e.source in alarms: alarms[e.source].append(e)\n\t\telse: alarms[e.source] \u003d [e]\n\t\t\n\t\n\t# Get the active duration for each alarm id\n\tfor id in alarms:\n\t\tactTime \u003d None\n\t\tclrTime \u003d None\n\t\talarmEvents \u003d alarms[id]\n\t\tcount \u003d 0\n\t\ttimes \u003d []\n\t\tstartCount \u003d 0\n\t\tfor e in alarmEvents:\n\t\t\t# Get active time\n\t\t\td \u003d e.activeData\n\t\t\tif d !\u003d None and d.get(p_tag) !\u003d None:\n\t\t\t\tactTime \u003d d.timestamp\n\t\t\t\tlane \u003d d.get(p_tag)\n\t\t\t\tif d.get(p_jam) !\u003d None:\n\t\t\t\t\ttype \u003d \"Jam\"\n\t\t\t\telse:\n\t\t\t\t\ttype \u003d \"Full\"\n\t\t\t\tlane \u003d lane.replace(\"[Interroll]\",\"\")\n\t\t\t\tfirst \u003d lane.find(\"[\")\n\t\t\t\tsecond \u003d lane.find(\"]\")\n\t\t\t\tlane \u003d \"S1-CH\" + lane[first + 1:second]\n\t\t\t\tcount \u003d count + 1\n\t\t\t\ttimes.append(d.timestamp)\n\t\t\t\tstartCount \u003d 1\t\t\n\t\t\t# Get cleared time\n\t\t\tfindOutsidePeriod \u003d system.db.runQuery(\"SELECT eventtime FROM alarm_events where eventid \u003d \" + \"\u0027\" + str(e.id) + \"\u0027 AND eventtype \u003d 1\",\"MariaDB80\")\n\t\t\tif len(findOutsidePeriod) \u003e 0:\n\t\t\t\tif startCount \u003d\u003d 1:\n\t\t\t\t\ttimes.append(date.toMillis(findOutsidePeriod[0][0]))\n\t\t\t\tclrTime \u003d date.toMillis(findOutsidePeriod[0][0])\n\t\t# Populate Table\n\t\tu \u003d 0\t\t\t\n\t\tduration \u003d 0\n\t\tendTime \u003d \"\"\n\t\tif len(times) \u003e 0:\n\t\t\tif len(times) % 2 \u003d\u003d 0:\n\t\t\t\twhile u \u003c len(times): \n\t\t\t\t\tduration \u003d duration + ((times[u+1] - times[u]) / 1000)\n\t\t\t\t\tu \u003d u + 2\n\t\t\t\tendTime \u003d times[-1]\n\t\t\telse:\n\t\t\t\twhile u \u003c len(times):\n\t\t\t\t\tif u !\u003d len(times) - 1:\n\t\t\t\t\t\tduration \u003d duration + ((times[u+1] - times[u]) / 1000)\n\t\t\t\t\telse:\n\t\t\t\t\t\tduration \u003d duration + ((date.toMillis(date.now()) - times[u]) / 1000)\n\t\t\t\t\tu \u003d u + 2\t\n\t\t\tif actTime !\u003d None:\t\n\t\t\t\tdata.append(testRow2(\n\t\t\t\t#Start Time\t \n\t\t\t\ttimes[0],\n\t\t\t\t#End Time\n\t\t\t\tendTime,\n\t\t\t\t#Lane\n\t\t\t\tlane,\n\t\t\t\t#Count\n\t\t\t\tcount,\n\t\t\t\t#Duration\n\t\t\t\tdate.format(date.addSeconds(date.midnight(date.now()),duration),\"HH:mm:ss\"),\n\t\t\t\t#Type\n\t\t\t\ttype))\n\t\t\n\tdata2 \u003d []\n\t\n\tfor i in range(110):\n\t\tstartTime \u003d \"\"\n\t\tendTime \u003d \"\"\n\t\tlane \u003d \"S3-CH\" + str(i + 1)\n\t\tfullCount \u003d 0\n\t\tjamCount \u003d 0\n\t\tfullDuration \u003d \"00:00:00\"\n\t\tjamDuration \u003d \"00:00:00\"\n\t\talarming \u003d 0\n\t\tjamEndStamp \u003d \"\"\n\t\tfullEndStamp \u003d \"\"\n\t\tjamStartStamp \u003d \"\"\n\t\tfullStartStamp \u003d \"\"\n\t\tfor d in data:\n\t\t\tif d[\"value\"][\"Lane\"] \u003d\u003d \"S1-CH\" + str(i + 1):\n\t\t\t\t\n\t\t\t\tif d[\"value\"][\"Type\"] \u003d\u003d \"Jam\":\n\t\t\t\t\tjamCount \u003d d[\"value\"][\"Count\"]\n\t\t\t\t\tjamDuration \u003d d[\"value\"][\"Duration\"]\n\t\t\t\t\tjamEndStamp \u003d d[\"value\"][\"EndTimestamp\"]\n\t\t\t\t\tjamStartStamp \u003d d[\"value\"][\"StartTimestamp\"]\n\t\t\t\telse:\n\t\t\t\t\tfullCount \u003d d[\"value\"][\"Count\"]\n\t\t\t\t\tfullDuration \u003d d[\"value\"][\"Duration\"]\n\t\t\t\t\tfullEndStamp \u003d d[\"value\"][\"EndTimestamp\"]\n\t\t\t\t\tfullStartStamp \u003d d[\"value\"][\"StartTimestamp\"]\n\t\t\t\tif (jamStartStamp !\u003d \"\" and jamEndStamp \u003d\u003d \"\") or (fullStartStamp !\u003d \"\" and fullEndStamp \u003d\u003d \"\"):\n\t\t\t\t\tendTime \u003d \"\"\n\t\t\t\telse:\n\t\t\t\t\tif (jamEndStamp \u003e fullEndStamp) and jamEndStamp !\u003d \"\":\n\t\t\t\t\t\tendTime \u003d jamEndStamp\n\t\t\t\t\t\tendTime \u003d date.format(date.fromMillis(endTime),\"yyyy-MM-dd HH:mm:ss\")\n\t\t\t\t\telif fullEndStamp !\u003d \"\":\t\t\t\n\t\t\t\t\t\tendTime \u003d fullEndStamp\n\t\t\t\t\t\tendTime \u003d date.format(date.fromMillis(endTime),\"yyyy-MM-dd HH:mm:ss\")\n\t\t\t\tif jamStartStamp \u003c fullStartStamp:\n\t\t\t\t\tstartTime \u003d jamStartStamp\n\t\t\t\t\tstartTime \u003d date.format(date.fromMillis(startTime),\"yyyy-MM-dd HH:mm:ss\")\n\t\t\t\telse:\n\t\t\t\t\tstartTime \u003d fullStartStamp\n\t\t\t\t\tstartTime \u003d date.format(date.fromMillis(startTime),\"yyyy-MM-dd HH:mm:ss\")\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\tdata2.append(testRow(\n\t\t\t#Start Time\n\t\t\tstartTime,\n\t\t\tendTime,\n\t\t\tlane,\n\t\t\tfullCount,\n\t\t\tjamCount,\n\t\t\tfullDuration,\n\t\t\tjamDuration))\n\t\t\t\t\t\n\t\t\t\t\n\tself.props.data \u003d data2" - } - } - }, - "props": { - "columns": [ - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "StartTimestamp", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Start Timestamp" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "EndTimestamp", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "End Timestamp" - }, - "justify": "center", - "number": "value", - "numberFormat": "00:00:00", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "date", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "value", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "Lane", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Lane" - }, - "justify": "center", - "number": "value", - "numberFormat": "none", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "FullCount", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Full (#)" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "JamCount", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Jam (#)" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "none", - "editable": false, - "field": "FullDuration", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Full Duration" - }, - "justify": "center", - "number": "value", - "numberFormat": "none", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - }, - { - "align": "center", - "boolean": "value", - "dateFormat": "none", - "editable": false, - "field": "JamDuration", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Jam Duration" - }, - "justify": "center", - "number": "value", - "numberFormat": "00:00:00", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": "" - } - ], - "data": [ - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH1", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH2", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH3", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH4", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH5", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH6", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH7", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH8", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH9", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH10", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH11", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH12", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH13", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH14", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH15", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH16", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH17", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH18", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH19", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH20", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH21", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH22", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH23", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH24", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH25", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH26", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH27", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH28", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH29", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH30", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH31", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH32", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH33", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH34", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH35", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH36", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH37", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH38", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH39", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH40", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH41", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH42", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH43", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH44", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH45", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH46", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH47", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH48", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH49", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH50", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH51", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH52", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH53", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH54", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH55", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH56", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH57", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH58", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH59", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH60", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH61", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH62", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH63", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH64", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH65", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH66", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH67", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH68", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH69", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH70", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH71", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH72", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH73", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH74", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH75", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH76", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH77", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH78", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH79", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH80", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH81", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH82", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH83", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH84", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH85", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH86", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH87", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH88", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH89", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH90", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH91", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH92", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH93", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH94", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH95", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH96", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH97", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH98", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH99", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH100", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH101", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH102", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH103", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH104", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 1, - "JamDuration": "00:07:19", - "Lane": "S3-CH105", - "StartTimestamp": "2023-11-06 11:29:53" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH106", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 1, - "JamDuration": "00:07:20", - "Lane": "S3-CH107", - "StartTimestamp": "2023-11-06 11:29:53" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH108", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH109", - "StartTimestamp": "" - } - }, - { - "value": { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH110", - "StartTimestamp": "" - } - } - ], - "filter": { - "enabled": true - }, - "headerGroups": [ - [ - { - "align": "center", - "justify": "left", - "span": 1, - "style": { - "classes": "" - }, - "title": "" - } - ] - ], - "pager": { - "activeOption": 5, - "bottom": false, - "initialOption": 20, - "options": [ - 5, - 10, - 23, - 50, - 100 - ] - }, - "query": { - "$": [ - "ts", - 192, - 1745580423847 - ], - "$ts": 1745580423847 - }, - "rows": { - "style": { - "textAlign": "center" - } - }, - "selection": { - "data": [ - { - "EndTimestamp": "", - "FullCount": 0, - "FullDuration": "00:00:00", - "JamCount": 0, - "JamDuration": "00:00:00", - "Lane": "S3-CH16", - "StartTimestamp": "" - } - ], - "selectedColumn": "FullCount", - "selectedRow": 15 - }, - "virtualized": false - }, - "type": "ia.display.table" - } - ], - "meta": { - "name": "root" - }, - "props": { - "direction": "column" - }, - "type": "ia.container.flex" - } -} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Scanner History/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Scanner History/view.json deleted file mode 100644 index 1d1399b..0000000 --- a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Scanner History/view.json +++ /dev/null @@ -1,1034 +0,0 @@ -{ - "custom": {}, - "params": {}, - "props": { - "defaultSize": { - "height": 500, - "width": 1920 - } - }, - "root": { - "children": [ - { - "custom": { - "mode": "1Past 30 Minvaluevalue" - }, - "meta": { - "name": "Scanner History" - }, - "propConfig": { - "custom.mode": { - "binding": { - "config": { - "expression": "{..../Status_tab.props.currentTabIndex} + {..../Period_not_Global_0/Period.props.value} + {..../Period_not_Global_0/StartTime.custom.Selected} + {..../Period_not_Global_0/EndTime.custom.Selected}" - }, - "enabled": false, - "type": "expr" - }, - "onChange": { - "enabled": null, - "script": "\t\n\tself.refreshBinding(\"props.data\")" - } - }, - "props.data": { - "binding": { - "config": { - "parameters": { - "endtime": "{..../Period_not_Global_0.custom.EndDate}", - "starttime": "{..../Period_not_Global_0.custom.StartDate}" - }, - "polling": { - "enabled": true, - "rate": "60" - }, - "queryPath": "Status/Scanner History", - "returnFormat": "dataset" - }, - "type": "query" - } - } - }, - "props": { - "columns": [ - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "t_stamp", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "", - "textAlign": "center" - }, - "title": "Date" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "date", - "resizable": true, - "sort": "descending", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 120 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "SorterName", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Sorter" - }, - "justify": "center", - "number": "value", - "numberFormat": "00:00:00", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 90 - }, - { - "align": "center", - "boolean": "value", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "ParcelID", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Parcel ID" - }, - "justify": "center", - "number": "value", - "numberFormat": "none", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 80 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "ScannerName", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Scanner" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 90 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "IMGID", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Img ID" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 50 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "ScanLabel", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Scan Label" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 150 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "ScanStatus", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Scan Status" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 100 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "Length", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Length (In)" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 70 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY HH:mm:ss", - "editable": false, - "field": "Tray", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Trays (#)" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 60 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "AssignmentScanHist", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Assigment" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 70 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "DivertStatus", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Divert Status" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 50 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "DEST_REQ", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Req Dest" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 70 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "ACTUAL_DEST", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Actual Dest" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 70 - }, - { - "align": "center", - "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", - "editable": false, - "field": "SortCode", - "footer": { - "align": "center", - "justify": "left", - "style": { - "classes": "" - }, - "title": "" - }, - "header": { - "align": "center", - "justify": "center", - "style": { - "classes": "" - }, - "title": "Sort Code" - }, - "justify": "center", - "number": "value", - "numberFormat": "0,0.##", - "progressBar": { - "bar": { - "color": "", - "style": { - "classes": "" - } - }, - "max": 100, - "min": 0, - "track": { - "color": "", - "style": { - "classes": "" - } - }, - "value": { - "enabled": true, - "format": "0,0.##", - "justify": "center", - "style": { - "classes": "" - } - } - }, - "render": "auto", - "resizable": true, - "sort": "none", - "sortable": true, - "strictWidth": false, - "style": { - "classes": "" - }, - "toggleSwitch": { - "color": { - "selected": "", - "unselected": "" - } - }, - "viewParams": {}, - "viewPath": "", - "visible": true, - "width": 150 - } - ], - "filter": { - "enabled": true - }, - "rows": { - "style": { - "textAlign": "center" - } - }, - "sortOrder": [ - "t_stamp" - ], - "style": { - "overflow": "visible" - }, - "virtualized": false - }, - "type": "ia.display.table" - } - ], - "meta": { - "name": "root" - }, - "props": { - "direction": "column" - }, - "type": "ia.container.flex" - } -} \ 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 index 4fa9b6c..cfb3fb6 100644 Binary files a/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/data.bin and b/MTN6_SCADA/com.inductiveautomation.sqlbridge/transaction-groups/Ethernet/data.bin differ diff --git a/MTN6_SCADA/ignition/named-query/Status/Lane Status/query.sql b/MTN6_SCADA/ignition/named-query/Status/Lane Status/query.sql new file mode 100644 index 0000000..56ae809 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Status/Lane Status/query.sql @@ -0,0 +1,137 @@ +WITH DesiredLanes AS ( + SELECT lane_number + FROM ( + SELECT 101 + n AS lane_number FROM ( + SELECT a.N + b.N * 10 AS n + FROM (SELECT 0 AS N UNION SELECT 1 UNION SELECT 2 UNION SELECT 3 UNION SELECT 4 UNION SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9) a, + (SELECT 0 AS N UNION SELECT 1 UNION SELECT 2 UNION SELECT 3) b + ) numbers WHERE n <= 29 -- 101 to 130 + UNION + SELECT 201 + n FROM ( + SELECT a.N + b.N * 10 AS n + FROM (SELECT 0 AS N UNION SELECT 1 UNION SELECT 2 UNION SELECT 3 UNION SELECT 4 UNION SELECT 5 UNION SELECT 6 UNION SELECT 7 UNION SELECT 8 UNION SELECT 9) a, + (SELECT 0 AS N UNION SELECT 1 UNION SELECT 2 UNION SELECT 3) b + ) numbers WHERE n <= 29 -- 201 to 230 + ) lanes +), +AlarmData AS ( + SELECT DISTINCT + ae.id AS record_id, + ae.eventid AS event_uuid, + ae.source, + ae.eventtime AS active_time, + (SELECT MIN(eventtime) + FROM alarm_events ae2 + WHERE ae2.eventid = ae.eventid + AND ae2.eventtype = 1 + AND ae2.eventtime >= ae.eventtime + ) AS clear_time + FROM alarm_events ae + WHERE + ae.eventtime BETWEEN :startDate AND :endDate + AND ae.eventtype = 0 + AND (ae.source LIKE '%Chute%' OR ae.source LIKE '%ChuteStatus%') +), +LaneMapping AS ( + SELECT + id AS record_id, + strvalue AS tag_value, + CASE + WHEN strvalue LIKE '%Chute[%' THEN + CAST(SUBSTRING(strvalue, LOCATE('Chute[', strvalue) + 6, + LOCATE(']', strvalue, LOCATE('Chute[', strvalue)) - LOCATE('Chute[', strvalue) - 6) AS UNSIGNED) + WHEN strvalue LIKE '%Chute[_%' THEN + CAST(SUBSTRING(strvalue, LOCATE('Chute_', strvalue) + 6) AS UNSIGNED) + WHEN strvalue LIKE '%Chute%' THEN + CAST(REGEXP_SUBSTR(strvalue, '[0-9]+') AS UNSIGNED) + ELSE NULL + END AS plc_index, + CASE + WHEN strvalue LIKE '%Chute[%' THEN + CASE + WHEN CAST(SUBSTRING(strvalue, LOCATE('Chute[', strvalue) + 6, + LOCATE(']', strvalue, LOCATE('Chute[', strvalue)) - LOCATE('Chute[', strvalue) - 6) AS UNSIGNED) BETWEEN 1 AND 30 + THEN 101 + (CAST(SUBSTRING(strvalue, LOCATE('Chute[', strvalue) + 6, + LOCATE(']', strvalue, LOCATE('Chute[', strvalue)) - LOCATE('Chute[', strvalue) - 6) AS UNSIGNED) - 1) + WHEN CAST(SUBSTRING(strvalue, LOCATE('Chute[', strvalue) + 6, + LOCATE(']', strvalue, LOCATE('Chute[', strvalue)) - LOCATE('Chute[', strvalue) - 6) AS UNSIGNED) BETWEEN 31 AND 60 + THEN 201 + (CAST(SUBSTRING(strvalue, LOCATE('Chute[', strvalue) + 6, + LOCATE(']', strvalue, LOCATE('Chute[', strvalue)) - LOCATE('Chute[', strvalue) - 6) AS UNSIGNED) - 31) + ELSE NULL + END + WHEN strvalue LIKE '%Chute[_%' THEN + CASE + WHEN CAST(SUBSTRING(strvalue, LOCATE('Chute_', strvalue) + 6) AS UNSIGNED) BETWEEN 1 AND 30 + THEN 101 + (CAST(SUBSTRING(strvalue, LOCATE('Chute_', strvalue) + 6) AS UNSIGNED) - 1) + WHEN CAST(SUBSTRING(strvalue, LOCATE('Chute_', strvalue) + 6) AS UNSIGNED) BETWEEN 31 AND 60 + THEN 201 + (CAST(SUBSTRING(strvalue, LOCATE('Chute_', strvalue) + 6) AS UNSIGNED) - 31) + ELSE NULL + END + WHEN strvalue LIKE '%Chute%' THEN + CASE + WHEN CAST(REGEXP_SUBSTR(strvalue, '[0-9]+') AS UNSIGNED) BETWEEN 1 AND 30 + THEN 101 + (CAST(REGEXP_SUBSTR(strvalue, '[0-9]+') AS UNSIGNED) - 1) + WHEN CAST(REGEXP_SUBSTR(strvalue, '[0-9]+') AS UNSIGNED) BETWEEN 31 AND 60 + THEN 201 + (CAST(REGEXP_SUBSTR(strvalue, '[0-9]+') AS UNSIGNED) - 31) + ELSE NULL + END + ELSE NULL + END AS lane_number + FROM alarm_event_data + WHERE propname = 'Tag' AND strvalue LIKE '%Chute%' +), +JamEvents AS ( + SELECT DISTINCT + lm.lane_number, + ad.event_uuid, + ad.active_time, + ad.clear_time + FROM LaneMapping lm + INNER JOIN AlarmData ad ON lm.record_id = ad.record_id + INNER JOIN alarm_event_data aed ON ad.record_id = aed.id + WHERE aed.propname = 'Jam' AND aed.strvalue = '1' +), +FullEvents AS ( + SELECT DISTINCT + lm.lane_number, + ad.event_uuid, + ad.active_time, + ad.clear_time + FROM LaneMapping lm + INNER JOIN AlarmData ad ON lm.record_id = ad.record_id + INNER JOIN alarm_event_data aed ON ad.record_id = aed.id + WHERE aed.propname = 'Full' AND aed.strvalue = '1' +), +Aggregated AS ( + SELECT + CONCAT('S02_', dl.lane_number, 'CH') AS lane, + COALESCE(j.jam_count, 0) AS jam_count, + COALESCE(f.full_count, 0) AS full_count, + COALESCE(j.jam_duration_seconds, 0) AS jam_duration_seconds, + COALESCE(f.full_duration_seconds, 0) AS full_duration_seconds + FROM DesiredLanes dl + LEFT JOIN ( + SELECT + lane_number, + COUNT(DISTINCT event_uuid) AS jam_count, + SUM(TIMESTAMPDIFF(SECOND, active_time, COALESCE(clear_time, NOW()))) AS jam_duration_seconds + FROM JamEvents + GROUP BY lane_number + ) j ON dl.lane_number = j.lane_number + LEFT JOIN ( + SELECT + lane_number, + COUNT(DISTINCT event_uuid) AS full_count, + SUM(TIMESTAMPDIFF(SECOND, active_time, COALESCE(clear_time, NOW()))) AS full_duration_seconds + FROM FullEvents + GROUP BY lane_number + ) f ON dl.lane_number = f.lane_number +) +SELECT + lane AS Lane, + jam_count AS JamCount, + full_count AS FullCount, + COALESCE(SEC_TO_TIME(jam_duration_seconds), '00:00:00') AS JamDuration, + COALESCE(SEC_TO_TIME(full_duration_seconds), '00:00:00') AS FullDuration +FROM Aggregated +ORDER BY lane; \ No newline at end of file diff --git a/MTN6_SCADA/ignition/named-query/Status/Lane Status/resource.json b/MTN6_SCADA/ignition/named-query/Status/Lane Status/resource.json new file mode 100644 index 0000000..90bab96 --- /dev/null +++ b/MTN6_SCADA/ignition/named-query/Status/Lane Status/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": "85e4db79c801fef9b6b254b5156b0eac5a3f6c66ca2fea85c0616ce67592448a", + "permissions": [ + { + "zone": "", + "role": "" + } + ], + "lastModification": { + "actor": "admin", + "timestamp": "2025-05-28T13:42:10Z" + }, + "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", + "parameters": [ + { + "type": "Parameter", + "identifier": "startDate", + "sqlType": 8 + }, + { + "type": "Parameter", + "identifier": "endDate", + "sqlType": 8 + } + ] + } +} \ 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 index 934b9f4..a8adf72 100644 --- a/MTN6_SCADA/ignition/named-query/Status/Scanner History/resource.json +++ b/MTN6_SCADA/ignition/named-query/Status/Scanner History/resource.json @@ -16,9 +16,9 @@ "enabled": true, "cacheAmount": 1, "cacheEnabled": false, - "database": "MariaDB80", + "database": "MariaDB", "fallbackEnabled": false, - "lastModificationSignature": "45afff047b5091b80d357e6fe4a66832fb586313fb8a7e9279a8abdca4554f0c", + "lastModificationSignature": "c941696fa901991fce5bb94e718b1b082b251b741007a1f5c8973fa52d3fa45c", "permissions": [ { "zone": "", @@ -27,7 +27,7 @@ ], "lastModification": { "actor": "admin", - "timestamp": "2025-05-07T09:08:39Z" + "timestamp": "2025-05-29T10:13:07Z" }, "syntaxProvider": "class com.adbs.syntax.MySQLSyntaxProvider", "parameters": [