MTN6-124 #71

Merged
GigiMamaladze merged 3 commits from nk-branch-5 into main 2025-04-28 12:30:46 +00:00
3 changed files with 139 additions and 1 deletions

View File

@ -81,6 +81,14 @@
"/Tools": { "/Tools": {
"title": "Tools", "title": "Tools",
"viewPath": "Main-Views/ToolBox" "viewPath": "Main-Views/ToolBox"
},
"/Windows/Statistics": {
"title": "Statistics",
"viewPath": "Windows/Statistics"
},
"/Windows/Status": {
"title": "Status",
"viewPath": "Windows/Status"
} }
}, },
"sharedDocks": { "sharedDocks": {

View File

@ -44,6 +44,14 @@
"title": "Tools", "title": "Tools",
"viewPath": "Main-Views/ToolBox" "viewPath": "Main-Views/ToolBox"
}, },
"/Windows/Statistics": {
"title": "",
"viewPath": ""
},
"/Windows/Status": {
"title": "",
"viewPath": ""
},
"/config": { "/config": {
"title": "", "title": "",
"viewPath": "CommissioningTool/PageConfig" "viewPath": "CommissioningTool/PageConfig"

View File

@ -195,6 +195,9 @@
"type": "ia.container.flex" "type": "ia.container.flex"
}, },
{ {
"custom": {
"show": false
},
"events": { "events": {
"component": { "component": {
"onActionPerformed": { "onActionPerformed": {
@ -631,6 +634,125 @@
"type": "ia.input.button" "type": "ia.input.button"
}, },
{ {
"custom": {
"show": false
},
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tsystem.perspective.navigate(\"/Windows/Statistics\")"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Statistic",
"tooltip": {
"enabled": true,
"text": "Notifications"
}
},
"position": {
"basis": "70px"
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": "if(isNull({session.custom.download_url}), False, True)"
},
"enabled": false,
"type": "expr"
}
}
},
"props": {
"image": {
"height": 32,
"icon": {
"color": "#FCFFFC",
"path": "material/leaderboard"
},
"position": "top",
"width": 32
},
"style": {
"classes": "Buttons/Button-Menu",
"color": "#FFFFFF",
"margin": 1
},
"text": "Statistic",
"textStyle": {
"classes": "Text-Styles/Docked-Buttons"
}
},
"type": "ia.input.button"
},
{
"custom": {
"show": false
},
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tsystem.perspective.navigate(\"/Windows/Status\")"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Status",
"tooltip": {
"enabled": true,
"text": "Notifications"
}
},
"position": {
"basis": "70px"
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"expression": ""
},
"enabled": false,
"type": "expr"
}
}
},
"props": {
"image": {
"height": 32,
"icon": {
"color": "#FFFFFD",
"path": "material/done"
},
"position": "top",
"width": 32
},
"style": {
"classes": "Buttons/Button-Menu",
"color": "#FFFFFF",
"margin": 1
},
"text": "Status",
"textStyle": {
"classes": "Text-Styles/Docked-Buttons"
}
},
"type": "ia.input.button"
},
{
"custom": {
"show": false
},
"events": { "events": {
"component": { "component": {
"onActionPerformed": { "onActionPerformed": {
@ -782,7 +904,7 @@
"image": { "image": {
"height": 32, "height": 32,
"icon": { "icon": {
"color": "#FF8C00", "color": "#FFFAF1",
"path": "material/cloud_download" "path": "material/cloud_download"
}, },
"position": "top", "position": "top",