diff --git a/Client/View/MainForm.cs b/Client/View/MainForm.cs
index 3bf81407..d0554b96 100644
--- a/Client/View/MainForm.cs
+++ b/Client/View/MainForm.cs
@@ -588,7 +588,7 @@ namespace CMS_Client.View
public void keyPressedHandler(bool altPressed, bool ctrlPressed, bool shiftPressed, int key)
{
//Work only if is a Developer mode
- if (Config.ClientConfig.DeveloperMode)
+ if (Config.ClientConfig.DeveloperMode && altPressed)
{
if (key == (int)Keys.F1)
Browser.GoBack();
diff --git a/Client/View/NcWindow.cs b/Client/View/NcWindow.cs
index 224e40e2..e644b21c 100644
--- a/Client/View/NcWindow.cs
+++ b/Client/View/NcWindow.cs
@@ -837,7 +837,7 @@ namespace CMS_Client.View
if (KeybPID == MainProcessPID || KeybPID == NcProcessPID)
{
//Filter if is keydown
- if (wParam == HWND_KEYUP)
+ if (wParam == HWND_SYSKEYDOWN)
mainFrm.keyPressedHandler(altPressed, ctrlPressed, shiftPressed, Key);
}
diff --git a/Step.Utils/languages/IT.xml b/Step.Utils/languages/IT.xml
index 1001dbd9..286c483f 100644
--- a/Step.Utils/languages/IT.xml
+++ b/Step.Utils/languages/IT.xml
@@ -98,12 +98,12 @@
Utensili
- Machine
- Parameter
- Program
+ Macchina
+ Parametri
+ Programma
Prog. Manager
- Diagnostics
- Setup
+ Diagnostica
+ Messa in serv.
Pos
diff --git a/Step/wwwroot/src/modules/under-the-hood/nc-hmi-menu.vue b/Step/wwwroot/src/modules/under-the-hood/nc-hmi-menu.vue
index cb9aeecd..88da675a 100644
--- a/Step/wwwroot/src/modules/under-the-hood/nc-hmi-menu.vue
+++ b/Step/wwwroot/src/modules/under-the-hood/nc-hmi-menu.vue
@@ -1,9 +1,9 @@
-
+
-
@@ -15,31 +15,33 @@
export default {
data: function() {
return {
- commandCount:0,
- ncname : 'demo'
};
},
mounted: function() {
-
- //Setup Number of Commands
- if (typeof cmsClient != "undefined")
- this.commandCount = cmsClient.getHMICommandCount();
- else
- this.commandCount = 0;
-
- //Setup Nc Name
- if(this.$store.state.machineInfo.isOsai)
- ncname : 'osai'
- else if(this.$store.state.machineInfo.isFanuc)
- ncname : 'fanuc'
- else if(this.$store.state.machineInfo.isSiemens)
- ncname : 'siemens'
},
methods: {
sendCommands: function(id){
if (typeof cmsClient != "undefined")
cmsClient.sendHMICommand(id);
- }
+ },
+ getNumofCommands: function(){
+ //get Number of Commands
+ if (typeof cmsClient != "undefined")
+ return cmsClient.getHMICommandCount();
+ else
+ return 0;
+ },
+ getNcName: function(){
+ //get Nc Name
+ if(this.$store.state.machineInfo.isOsai)
+ return 'osai';
+ else if(this.$store.state.machineInfo.isFanuc)
+ return 'fanuc';
+ else if(this.$store.state.machineInfo.isSiemens)
+ return 'siemens';
+ else
+ return 'demo';
+ },
}
};