1238 lines
42 KiB
Plaintext
1238 lines
42 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"Tab_ID": 0,
|
|
"Table": "Reports"
|
|
},
|
|
"propConfig": {
|
|
"params.Tab_ID": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "/root/Reports.props.currentTabIndex"
|
|
},
|
|
"type": "property"
|
|
},
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
},
|
|
"params.Table": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "/root/Reports.meta.name"
|
|
},
|
|
"type": "property"
|
|
},
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 930,
|
|
"width": 1920
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Scanner Performance"
|
|
},
|
|
"position": {
|
|
"tabIndex": 1
|
|
},
|
|
"propConfig": {
|
|
"custom.mode": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{parent.props.currentTabIndex}+{.../Period_not_Global/Period.props.value} + {.../Period_not_Global/EndTime.custom.Selected}+{.../Period_not_Global/StartTime.custom.Selected} + {this.custom.time}"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\t\t\t\n\tself.props.params[\u0027StartDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"StartTime\").props.value \n\tself.props.params[\u0027EndDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"EndTime\").props.value "
|
|
}
|
|
},
|
|
"custom.time": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({.../Period_not_Global/Period.props.value} \u003d \"Custom\",0,now(60000))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"page": 1,
|
|
"pageCount": 1,
|
|
"params": {
|
|
"EndDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568024
|
|
],
|
|
"$ts": 1688824321000
|
|
},
|
|
"StartDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568021
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"source": "Statistics/Scanner Performance",
|
|
"zoomLevel": 50
|
|
},
|
|
"type": "ia.reporting.report-viewer"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Shipping Sorter Statistics"
|
|
},
|
|
"propConfig": {
|
|
"custom.mode": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{parent.props.currentTabIndex}+{.../Period_not_Global/Period.props.value}+{.../Period_not_Global/EndTime.custom.Selected}+{.../Period_not_Global/StartTime.custom.Selected}+{this.custom.time}"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\t\n\tself.props.params[\u0027StartDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"StartTime\").props.value \n\tself.props.params[\u0027EndDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"EndTime\").props.value "
|
|
}
|
|
},
|
|
"custom.time": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({.../Period_not_Global/Period.props.value} \u003d \"Custom\",0,now(60000))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"page": 1,
|
|
"pageCount": 1,
|
|
"params": {
|
|
"EndDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568024
|
|
],
|
|
"$ts": 1688824321000
|
|
},
|
|
"StartDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568023
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"source": "Statistics/Shipping Sorter Statistics",
|
|
"zoomLevel": 50
|
|
},
|
|
"type": "ia.reporting.report-viewer"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Lane Full Recirc Jackpot"
|
|
},
|
|
"position": {
|
|
"tabIndex": 2
|
|
},
|
|
"propConfig": {
|
|
"custom.mode": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{parent.props.currentTabIndex}+{.../Period_not_Global/Period.props.value} + {.../Period_not_Global/EndTime.custom.Selected}+{.../Period_not_Global/StartTime.custom.Selected} + {this.custom.time}"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\t\t\t\n\tself.props.params[\u0027StartDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"StartTime\").props.value \n\tself.props.params[\u0027EndDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"EndTime\").props.value "
|
|
}
|
|
},
|
|
"custom.time": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({.../Period_not_Global/Period.props.value} \u003d \"Custom\",0,now(60000))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"page": 1,
|
|
"pageCount": 1,
|
|
"params": {
|
|
"EndDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568023
|
|
],
|
|
"$ts": 1688824321000
|
|
},
|
|
"StartDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568021
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"source": "Statistics/Lane Full Recirc Jackpot",
|
|
"zoomLevel": 50
|
|
},
|
|
"type": "ia.reporting.report-viewer"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Total Scans"
|
|
},
|
|
"position": {
|
|
"tabIndex": 3
|
|
},
|
|
"propConfig": {
|
|
"custom.mode": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{parent.props.currentTabIndex}+{.../Period_not_Global/Period.props.value} + {.../Period_not_Global/EndTime.custom.Selected}+{.../Period_not_Global/StartTime.custom.Selected} + {this.custom.time}"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\t\n\t\t\t\t\t\t\n\tself.props.params[\u0027StartDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"StartTime\").props.value \n\tself.props.params[\u0027EndDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"EndTime\").props.value "
|
|
}
|
|
},
|
|
"custom.time": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({.../Period_not_Global/Period.props.value} \u003d \"Custom\",0,now(60000))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"page": 1,
|
|
"pageCount": 1,
|
|
"params": {
|
|
"EndDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568024
|
|
],
|
|
"$ts": 1688824321000
|
|
},
|
|
"StartDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568023
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"source": "Statistics/Total Scans",
|
|
"zoomLevel": 50
|
|
},
|
|
"type": "ia.reporting.report-viewer"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Top Jams"
|
|
},
|
|
"position": {
|
|
"tabIndex": 4
|
|
},
|
|
"propConfig": {
|
|
"custom.mode": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{parent.props.currentTabIndex}+{.../Period_not_Global/Period.props.value} + {.../Period_not_Global/EndTime.custom.Selected}+{.../Period_not_Global/StartTime.custom.Selected} + {this.custom.time}"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\t\t\t\n\t\t\t\t\t\t\n\tself.props.params[\u0027StartDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"StartTime\").props.value \n\tself.props.params[\u0027EndDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"EndTime\").props.value "
|
|
}
|
|
},
|
|
"custom.time": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({.../Period_not_Global/Period.props.value} \u003d \"Custom\",0,now(60000))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"page": 1,
|
|
"pageCount": 1,
|
|
"params": {
|
|
"EndDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568023
|
|
],
|
|
"$ts": 1688824321000
|
|
},
|
|
"StartDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568021
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"source": "Statistics/Top Jams",
|
|
"zoomLevel": 50
|
|
},
|
|
"type": "ia.reporting.report-viewer"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Lane Divert vs Full"
|
|
},
|
|
"position": {
|
|
"tabIndex": 5
|
|
},
|
|
"propConfig": {
|
|
"custom.mode": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{parent.props.currentTabIndex}+{.../Period_not_Global/Period.props.value} + {.../Period_not_Global/EndTime.custom.Selected}+{.../Period_not_Global/StartTime.custom.Selected} + {this.custom.time}"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\t\t\t\t\t\t\t\n\t\n\tself.props.params[\u0027StartDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"StartTime\").props.value \n\tself.props.params[\u0027EndDate\u0027] \u003d self.parent.parent.getChild(\"Period_not_Global\").getChild(\"EndTime\").props.value "
|
|
}
|
|
},
|
|
"custom.time": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({.../Period_not_Global/Period.props.value} \u003d \"Custom\",0,now(60000))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"page": 1,
|
|
"pageCount": 1,
|
|
"params": {
|
|
"EndDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568024
|
|
],
|
|
"$ts": 1688824321000
|
|
},
|
|
"StartDate": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1689062568023
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"source": "Statistics/Lane Divert vs Full",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.reporting.report-viewer"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Reports"
|
|
},
|
|
"position": {
|
|
"height": 0.96,
|
|
"width": 1,
|
|
"y": 0.04
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontFamily": "Arial"
|
|
},
|
|
"tabSize": {
|
|
"width": 140
|
|
},
|
|
"tabs": [
|
|
"Sorter Statistics",
|
|
"Scan Performance",
|
|
"Full/Recirc/Jackpot",
|
|
"Total Scans",
|
|
"Top Jams",
|
|
"Divert vs Full"
|
|
]
|
|
},
|
|
"type": "ia.container.tab"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "LPeriod"
|
|
},
|
|
"position": {
|
|
"basis": "60px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "#000000"
|
|
},
|
|
"text": "Period:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Period"
|
|
},
|
|
"position": {
|
|
"basis": "160px"
|
|
},
|
|
"props": {
|
|
"options": [
|
|
{
|
|
"label": "Past 30 Min",
|
|
"value": "Past 30 Min"
|
|
},
|
|
{
|
|
"label": "Past Hour",
|
|
"value": "Past Hour"
|
|
},
|
|
{
|
|
"label": "Past 2 Hour",
|
|
"value": "Past 2 Hour"
|
|
},
|
|
{
|
|
"label": "Past 4 Hour",
|
|
"value": "Past 4 Hour"
|
|
},
|
|
{
|
|
"label": "Past 8 Hour",
|
|
"value": "Past 8 Hour"
|
|
},
|
|
{
|
|
"label": "Current Day",
|
|
"value": "Current Day"
|
|
},
|
|
{
|
|
"label": "Morning",
|
|
"value": "Morning"
|
|
},
|
|
{
|
|
"label": "Daylight",
|
|
"value": "Daylight"
|
|
},
|
|
{
|
|
"label": "Twilight",
|
|
"value": "Twilight"
|
|
},
|
|
{
|
|
"label": "Night",
|
|
"value": "Night"
|
|
},
|
|
{
|
|
"label": "Wrap Down",
|
|
"value": "Wrap Down"
|
|
},
|
|
{
|
|
"label": "Current Sort",
|
|
"value": "Current Sort"
|
|
},
|
|
{
|
|
"label": "Custom",
|
|
"value": "Custom"
|
|
}
|
|
],
|
|
"value": "Custom"
|
|
},
|
|
"type": "ia.input.dropdown"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Spare_0"
|
|
},
|
|
"position": {
|
|
"basis": "18.1px"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Start Date"
|
|
},
|
|
"position": {
|
|
"basis": "85px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "#000000"
|
|
},
|
|
"text": "Start Date:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"Selected": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1688824324389
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\t\n\tself.custom.Selected \u003d self.props.value"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "StartTime"
|
|
},
|
|
"position": {
|
|
"basis": "195px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{../Period.props.value} \u003d \"Custom\""
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.maxDate": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "now()"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.startDate": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "../Period.props.value"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "todate(now())",
|
|
"inputType": "expression",
|
|
"mappings": [
|
|
{
|
|
"input": "\"Past 30 Min\"",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),-30, \"Minute\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "\"Past Hour\"",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),-1, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "\"Past 2 Hour\"",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),-2, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "\"Past 4 Hour\"",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),-4, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "\"Past 8 Hour\"",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),-8, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "\"Current Day\"",
|
|
"output": "todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 00:00:00\"))"
|
|
},
|
|
{
|
|
"input": "\"Morning\"",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\",\r dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 2:30:00\"),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\")))"
|
|
},
|
|
{
|
|
"input": "\"Daylight\"",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 7:30:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 7:30:00\")))"
|
|
},
|
|
{
|
|
"input": "\"Twilight\"",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Hours\"), \"HH:mm:ss\")\u003c\"13:00:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 13:00:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 13:00:00\")))"
|
|
},
|
|
{
|
|
"input": "\"Night\"",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 18:30:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 18:30:00\")))"
|
|
},
|
|
{
|
|
"input": "\"Wrap Down\"",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\", todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 23:30:00\")),todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 23:30:00\")))"
|
|
},
|
|
{
|
|
"input": "\"Current Sort\"",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\", todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\")), \r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"13:00:00\",todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 7:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\",todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 13:00:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\",todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 18:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\", todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 23:30:00\")),\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")))))))"
|
|
},
|
|
{
|
|
"input": "\"Custom\"",
|
|
"output": "{this.props.value}"
|
|
}
|
|
],
|
|
"outputType": "expression",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\n\tif self.getSibling(\"Period\").props.value !\u003d \"Custom\":\n\t\tself.props.value \u003d self.props.startDate"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\n\tif system.date.secondsBetween(self.props.value,self.getSibling(\"EndTime\").props.value) \u003e 604800 or system.date.secondsBetween(self.props.value,self.getSibling(\"EndTime\").props.value) \u003c 0:\n\t if system.date.secondsBetween(system.date.addSeconds(self.props.value,604800),system.date.now()) \u003c 0: \n\t self.getSibling(\"EndTime\").props.value \u003d system.date.now()\n\t else:\n\t self.getSibling(\"EndTime\").props.value \u003d system.date.addSeconds(self.props.value,604800)"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"dismissOnSelect": false,
|
|
"formattedValue": "Jul 4, 2023 12:52 PM",
|
|
"formattedValues": {
|
|
"date": "Mar 26, 2021",
|
|
"datetime": "Mar 26, 2021 12:00 AM",
|
|
"time": "12:00 AM"
|
|
},
|
|
"value": {
|
|
"$": [
|
|
"ts",
|
|
0,
|
|
1688824324376
|
|
],
|
|
"$ts": 1688464320000
|
|
}
|
|
},
|
|
"type": "ia.input.date-time-input"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Spare"
|
|
},
|
|
"position": {
|
|
"basis": "18.1px"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "End Date"
|
|
},
|
|
"position": {
|
|
"basis": "81px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "#000000"
|
|
},
|
|
"text": "End Date:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"Selected": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1649557269035
|
|
],
|
|
"$ts": 1649374500000
|
|
}
|
|
},
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\t\n\tself.custom.Selected \u003d self.props.value"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "EndTime"
|
|
},
|
|
"position": {
|
|
"basis": "195px"
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{../Period.props.value} \u003d \"Custom\""
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.endDate": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "../Period.props.value"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "{this.props.value}",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": "Past 30 Min",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"Hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "Past Hour",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "Past 2 Hour",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "Past 4 Hour",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "Past 8 Hour",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "Current Day",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
},
|
|
{
|
|
"input": "Morning",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 7:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 7:30:00\"))))"
|
|
},
|
|
{
|
|
"input": "Daylight",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"7:30:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 13:00:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"13:00:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 13:00:00\"))))"
|
|
},
|
|
{
|
|
"input": "Twilight",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"13:00:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 18:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 18:30:00\"))))"
|
|
},
|
|
{
|
|
"input": "Night",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"18:30:00\",\r todate(dateFormat(dateArithmetic(now(0),-1, \"Day\"), \"yyyy-MM-dd 23:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 23:30:00\"))))"
|
|
},
|
|
{
|
|
"input": "Wrap Down",
|
|
"output": "if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"23:30:00\",\r todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\")),\r if (dateFormat(dateArithmetic(now(),0, \"Day\"), \"HH:mm:ss\")\u003c\"2:30:00\",\r todate(dateFormat(dateArithmetic(now(),0, \"Day\"), \"yyyy-MM-dd HH:mm:ss\")), todate(dateFormat(dateArithmetic(now(0),0, \"Day\"), \"yyyy-MM-dd 2:30:00\"))))"
|
|
},
|
|
{
|
|
"input": "Current Sort",
|
|
"output": "todate(dateFormat(dateArithmetic(now(),0, \"hour\"), \"yyyy-MM-dd HH:mm:ss\"))"
|
|
}
|
|
],
|
|
"outputType": "expression",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\t\n\tif self.getSibling(\"Period\").props.value !\u003d \"Custom\":\n\t\tself.props.value \u003d self.props.endDate"
|
|
}
|
|
},
|
|
"props.maxDate": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if(dateDiff({../StartTime.props.value},now(),\"day\") \u003c 7, now(),dateArithmetic({../StartTime.props.value}, 7, \"days\"))"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.minDate": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "{../StartTime.props.value}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"dismissOnSelect": false,
|
|
"formattedValue": "Jul 8, 2023 4:52 PM",
|
|
"formattedValues": {
|
|
"date": "Mar 29, 2021",
|
|
"datetime": "Mar 29, 2021 1:37 PM",
|
|
"time": "1:37 PM"
|
|
},
|
|
"value": {
|
|
"$": [
|
|
"ts",
|
|
192,
|
|
1688824321660
|
|
],
|
|
"$ts": 1688824321000
|
|
}
|
|
},
|
|
"type": "ia.input.date-time-input"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Period_not_Global"
|
|
},
|
|
"position": {
|
|
"height": 0.0269,
|
|
"width": 0.4307,
|
|
"x": 0.0024,
|
|
"y": 0.0065
|
|
},
|
|
"propConfig": {
|
|
"custom.EndDate": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "./EndTime.props.value"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.StartDate": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "./StartTime.props.value"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontFamily": "Arial"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label_Lane"
|
|
},
|
|
"position": {
|
|
"basis": "70px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "#000000"
|
|
},
|
|
"text": "Lane:"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Lane"
|
|
},
|
|
"position": {
|
|
"basis": "175px"
|
|
},
|
|
"props": {
|
|
"options": [
|
|
{
|
|
"label": "S0101",
|
|
"value": "S0101"
|
|
},
|
|
{
|
|
"label": "S0102",
|
|
"value": "S0102"
|
|
},
|
|
{
|
|
"label": "S0103",
|
|
"value": "S0103"
|
|
},
|
|
{
|
|
"label": "S0104",
|
|
"value": "S0104"
|
|
},
|
|
{
|
|
"label": "S0105",
|
|
"value": "S0105"
|
|
},
|
|
{
|
|
"label": "S0106",
|
|
"value": "S0106"
|
|
},
|
|
{
|
|
"label": "S0107",
|
|
"value": "S0107"
|
|
},
|
|
{
|
|
"label": "S0108",
|
|
"value": "S0108"
|
|
},
|
|
{
|
|
"label": "S0109",
|
|
"value": "S0109"
|
|
},
|
|
{
|
|
"label": "S0110",
|
|
"value": "S0110"
|
|
},
|
|
{
|
|
"label": "S0111",
|
|
"value": "S0111"
|
|
},
|
|
{
|
|
"label": "S0112",
|
|
"value": "S0112"
|
|
},
|
|
{
|
|
"label": "S0113",
|
|
"value": "S0113"
|
|
},
|
|
{
|
|
"label": "S0114",
|
|
"value": "S0114"
|
|
},
|
|
{
|
|
"label": "S0115",
|
|
"value": "S0115"
|
|
},
|
|
{
|
|
"label": "S0116",
|
|
"value": "S0116"
|
|
},
|
|
{
|
|
"label": "S0117",
|
|
"value": "S0117"
|
|
},
|
|
{
|
|
"label": "S0118",
|
|
"value": "S0118"
|
|
},
|
|
{
|
|
"label": "S0119",
|
|
"value": "S0119"
|
|
},
|
|
{
|
|
"label": "S0120",
|
|
"value": "S0120"
|
|
},
|
|
{
|
|
"label": "S0121",
|
|
"value": "S0121"
|
|
},
|
|
{
|
|
"label": "S0122",
|
|
"value": "S0122"
|
|
},
|
|
{
|
|
"label": "S0123",
|
|
"value": "S0123"
|
|
},
|
|
{
|
|
"label": "S0124",
|
|
"value": "S0124"
|
|
},
|
|
{
|
|
"label": "S0125",
|
|
"value": "S0125"
|
|
},
|
|
{
|
|
"label": "S0126",
|
|
"value": "S0126"
|
|
},
|
|
{
|
|
"label": "S0127",
|
|
"value": "S0127"
|
|
},
|
|
{
|
|
"label": "S0128",
|
|
"value": "S0128"
|
|
},
|
|
{
|
|
"label": "S0129",
|
|
"value": "S0129"
|
|
},
|
|
{
|
|
"label": "S0130",
|
|
"value": "S0130"
|
|
},
|
|
{
|
|
"label": "S0131",
|
|
"value": "S0131"
|
|
},
|
|
{
|
|
"label": "S0132",
|
|
"value": "S0132"
|
|
},
|
|
{
|
|
"label": "S0133",
|
|
"value": "S0133"
|
|
},
|
|
{
|
|
"label": "S0134",
|
|
"value": "S0134"
|
|
},
|
|
{
|
|
"label": "S0135",
|
|
"value": "S0135"
|
|
},
|
|
{
|
|
"label": "S0136",
|
|
"value": "S0136"
|
|
},
|
|
{
|
|
"label": "S0137",
|
|
"value": "S0137"
|
|
},
|
|
{
|
|
"label": "S0138",
|
|
"value": "S0138"
|
|
},
|
|
{
|
|
"label": "S0139",
|
|
"value": "S0139"
|
|
},
|
|
{
|
|
"label": "S0140",
|
|
"value": "S0140"
|
|
},
|
|
{
|
|
"label": "S0141",
|
|
"value": "S0141"
|
|
},
|
|
{
|
|
"label": "S0142",
|
|
"value": "S0142"
|
|
},
|
|
{
|
|
"label": "S0143",
|
|
"value": "S0143"
|
|
},
|
|
{
|
|
"label": "S0144",
|
|
"value": "S0144"
|
|
},
|
|
{
|
|
"label": "S0145",
|
|
"value": "S0145"
|
|
},
|
|
{
|
|
"label": "S0146",
|
|
"value": "S0146"
|
|
},
|
|
{
|
|
"label": "S0147",
|
|
"value": "S0147"
|
|
},
|
|
{
|
|
"label": "S0148",
|
|
"value": "S0148"
|
|
},
|
|
{
|
|
"label": "S0149",
|
|
"value": "S0149"
|
|
},
|
|
{
|
|
"label": "S0150",
|
|
"value": "S0150"
|
|
},
|
|
{
|
|
"label": "S0151",
|
|
"value": "S0151"
|
|
},
|
|
{
|
|
"label": "S0152",
|
|
"value": "S0152"
|
|
},
|
|
{
|
|
"label": "S0153",
|
|
"value": "S0153"
|
|
},
|
|
{
|
|
"label": "S0154",
|
|
"value": "S0154"
|
|
},
|
|
{
|
|
"label": "S0155",
|
|
"value": "S0155"
|
|
},
|
|
{
|
|
"label": "S0156",
|
|
"value": "S0156"
|
|
},
|
|
{
|
|
"label": "S0157",
|
|
"value": "S0157"
|
|
},
|
|
{
|
|
"label": "S0158",
|
|
"value": "S0158"
|
|
},
|
|
{
|
|
"label": "S0159",
|
|
"value": "S0159"
|
|
},
|
|
{
|
|
"label": "S0160",
|
|
"value": "S0160"
|
|
},
|
|
{
|
|
"label": "S0161",
|
|
"value": "S0161"
|
|
},
|
|
{
|
|
"label": "S0162",
|
|
"value": "S0162"
|
|
},
|
|
{
|
|
"label": "S0163",
|
|
"value": "S0163"
|
|
},
|
|
{
|
|
"label": "S0164",
|
|
"value": "S0164"
|
|
},
|
|
{
|
|
"label": "S0165",
|
|
"value": "S0165"
|
|
},
|
|
{
|
|
"label": "S0166",
|
|
"value": "S0166"
|
|
},
|
|
{
|
|
"label": "S0167",
|
|
"value": "S0167"
|
|
},
|
|
{
|
|
"label": "S0168",
|
|
"value": "S0168"
|
|
},
|
|
{
|
|
"label": "S0169",
|
|
"value": "S0169"
|
|
},
|
|
{
|
|
"label": "S0170",
|
|
"value": "S0170"
|
|
}
|
|
],
|
|
"value": "S0101"
|
|
},
|
|
"type": "ia.input.dropdown"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Lane Drop Down"
|
|
},
|
|
"position": {
|
|
"height": 0.0269,
|
|
"width": 0.1307,
|
|
"x": 0.8679,
|
|
"y": 0.0065
|
|
},
|
|
"propConfig": {
|
|
"meta.visible": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({../Reports.props.currentTabIndex} \u003d 12 ,\r\ntrue,\r\nfalse)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontFamily": "Arial"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Info",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"style": {
|
|
"backgroundColor": "#2B2B2BBF",
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"textAlign": "left",
|
|
"white-space": "pre"
|
|
}
|
|
}
|
|
},
|
|
"position": {
|
|
"height": 0.043,
|
|
"width": 0.0208,
|
|
"x": 0.9775,
|
|
"y": 0.0341
|
|
},
|
|
"propConfig": {
|
|
"meta.tooltip.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if ({view.params.Table} \u003d \"Reports\",\r\n\t\t\"Instruction:\"+ \r\n\t\t\"\\n\"+\r\n\t\t\"\\n\"+\"1. To export in PDF, you need to click on the icons that are on the bottom pane of the window.\"+\r\n\t\t\"\\n\"+\"2. Buttons for turning pages are located in the center on the bottom pane of the window.\"+\r\n\t\t\"\\n\"+\"3. To change the scale of the page, you can use the selection button on the left on the bottom pane of the window.\"+\r\n\t\t\"\\n\"+\"4. If you want to print an hourly report, you must select a time in Start Date equal to 00 minutes\",\r\n\"not response\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"fit": {
|
|
"mode": "fill"
|
|
},
|
|
"source": "/system/images/MyIcon/question64x64.png",
|
|
"style": {
|
|
"cursor": "pointer"
|
|
}
|
|
},
|
|
"type": "ia.display.image"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"mode": "percent"
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |