diff --git a/Client.Utils/Constants.cs b/Client.Utils/Constants.cs index 588b0ef2..1f05a7a1 100644 --- a/Client.Utils/Constants.cs +++ b/Client.Utils/Constants.cs @@ -20,11 +20,13 @@ namespace Client.Utils public static String CEF_LOCALES_PATH = BASE_PATH + "CEF\\Resources\\locales"; public static String CEF_EXCEPTIONLOG_PATH = BASE_PATH + "ExceptionLog"; public static String errorPageFile = BASE_PATH + "error.pg"; - - public static String JOB_OPENING_PATH = "C:\\CMS\\ACTIVE\\TMP\\clientTmpJob\\"; - - - //Config Names +<<<<<<< HEAD + public static String JOB_OPENING_PATH = "C:\\CMS\\ACTIVE\\TMP\\clientTmpJob\\"; +======= + public static String JOB_OPENING_PATH = "C:\\CMS\\Active\\TMP\\clientTmpJob\\"; +>>>>>>> feature/Scada + + //Config Names public const string CONFIG_KEY = "Config"; public const string CLIENT_CONFIG_KEY = "Client"; public const string CONNECTION_CONFIG_KEY = "Connection"; @@ -74,12 +76,14 @@ namespace Client.Utils public const string KEYB_EXE_NAME = "OSK.EXE"; public const string KEYB_PROC_NAME = "OSK"; - public const string StartingPage = "index.html"; + public const string StartingPage = "index.html"; public const string UPLOAD_PAGE = "/api/file_manager/upload"; - public const string UPLOAD_ADD_QUEUE = "/api/file_manager/queue/add"; + public const string UPLOAD_ADD_QUEUE = "/api/file_manager/queue/add"; public const string ConfigPage = "api/configuration/client"; - public const string errorPageUrl = @"error://error/"; - - public static string[] JOB_EXTENSIONS = { ".job", ".zip" }; + public const string errorPageUrl = @"error://error/"; + + public static string[] JOB_EXTENSIONS = { ".job", ".zip" }; } } + + public static String JOB_OPENING_PATH = "C:\\CMS\\ACTIVE\\TMP\\clientTmpJob\\"; \ No newline at end of file diff --git a/Libs/CMS_CORE_Library.dll b/Libs/CMS_CORE_Library.dll index 2af1c7cc..4ba7bc54 100644 Binary files a/Libs/CMS_CORE_Library.dll and b/Libs/CMS_CORE_Library.dll differ diff --git a/Step.Config/ServerConfigController.cs b/Step.Config/ServerConfigController.cs index 3141c076..ef93c97b 100644 --- a/Step.Config/ServerConfigController.cs +++ b/Step.Config/ServerConfigController.cs @@ -43,7 +43,10 @@ namespace Step.Config } catch (Exception ex) { - ExceptionManager.Manage(ERROR_LEVEL.FATAL, ex.Message); + var message = ex.Message; + if (ex.InnerException != null) + message += "\n"+ex.InnerException.Message; + ExceptionManager.Manage(ERROR_LEVEL.FATAL, message); } } diff --git a/Step.Utils/languages/IT.xml b/Step.Utils/languages/IT.xml index 782289d1..970ce28b 100644 --- a/Step.Utils/languages/IT.xml +++ b/Step.Utils/languages/IT.xml @@ -211,6 +211,7 @@ Id Offset Offset %d Crea una nuova famiglia + Spazio troppo piccolo per caricare questo utensile Caricamento Utensile diff --git a/Step.Utils/languages/en.xml b/Step.Utils/languages/en.xml index 74ed611a..acbeaa0d 100644 --- a/Step.Utils/languages/en.xml +++ b/Step.Utils/languages/en.xml @@ -210,6 +210,7 @@ Offset Id Offset %d Create new Family + The space to load this tools is not enough Loading Tool diff --git a/Step/wwwroot/assets/styles/base/alarms.less b/Step/wwwroot/assets/styles/base/alarms.less index 0400f213..e41c1edd 100644 --- a/Step/wwwroot/assets/styles/base/alarms.less +++ b/Step/wwwroot/assets/styles/base/alarms.less @@ -629,12 +629,24 @@ color: @color-warm-grey; } input{ - width: 288px; + width: 272px; height: 44px; border-radius: 2px; box-shadow: inset 0 1px 3px 0 @color-black-50; border: solid 1px @color-silver; font-size: 18px; + line-height: 1.11; + color: @color-greyish-brown; + padding-left: 16px; + } + input::placeholder{ + color: @color-silver; + } + input.mx-input{ + height: 48px; + width: 288px; + box-shadow: 0 1px 2px @color-black-40; + color: @color-greyish-brown; } } .filter-text{ @@ -661,6 +673,7 @@ button.btn{ padding: 0; width: 48px; + font-size: 23px; } } .multiselect{ @@ -683,7 +696,8 @@ font-size: 18px; line-height: 1.11; color: @color-greyish-brown; - cursor: pointer; + box-shadow: 0 1px 2px @color-black-40; + border-radius: 2px; option{ display: none; } @@ -700,7 +714,8 @@ font-size: 18px; line-height: 1.11; color: @color-greyish-brown; - cursor: pointer; + box-shadow: 0 1px 2px @color-black-40; + border-radius: 2px; option{ display: none; } diff --git a/Step/wwwroot/assets/styles/base/modals.less b/Step/wwwroot/assets/styles/base/modals.less index 18dfcd02..5e4877fb 100644 --- a/Step/wwwroot/assets/styles/base/modals.less +++ b/Step/wwwroot/assets/styles/base/modals.less @@ -894,6 +894,12 @@ color: @color-cyan-blue; margin-top: 20px; flex-flow: column; + .error{ + margin-top: 74px; + color: #a10518; + font-size: 22px; + font-weight: bold; + } .load-depot-box-select { margin-top: 15px; } diff --git a/Step/wwwroot/assets/styles/style.css b/Step/wwwroot/assets/styles/style.css index 466265e0..8f1d0def 100644 --- a/Step/wwwroot/assets/styles/style.css +++ b/Step/wwwroot/assets/styles/style.css @@ -845,6 +845,12 @@ margin-top: 20px; flex-flow: column; } +.modal.load-depot .load-depot-box .error { + margin-top: 74px; + color: #a10518; + font-size: 22px; + font-weight: bold; +} .modal.load-depot .load-depot-box .load-depot-box-select { margin-top: 15px; } @@ -4333,12 +4339,32 @@ footer .container button.big:before { .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-type input, .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-date-range input, .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-user input { - width: 288px; + width: 272px; height: 44px; border-radius: 2px; box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5); border: solid 1px #bbbcbc; font-size: 18px; + line-height: 1.11; + color: #4b4b4b; + padding-left: 16px; +} +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-text input::placeholder, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-state input::placeholder, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-type input::placeholder, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-date-range input::placeholder, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-user input::placeholder { + color: #bbbcbc; +} +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-text input.mx-input, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-state input.mx-input, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-type input.mx-input, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-date-range input.mx-input, +.alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-user input.mx-input { + height: 48px; + width: 288px; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); + color: #4b4b4b; } .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .filter-text { margin-left: 0; @@ -4368,6 +4394,7 @@ footer .container button.big:before { .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .group-button button.btn { padding: 0; width: 48px; + font-size: 23px; } .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .multiselect { z-index: 100; @@ -4384,11 +4411,13 @@ footer .container button.big:before { .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .selectBox select { width: 100%; padding: 8px; + cursor: pointer; height: 49px; font-size: 18px; line-height: 1.11; color: #4b4b4b; - cursor: pointer; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); + border-radius: 2px; } .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .selectBox select option { display: none; @@ -4400,11 +4429,13 @@ footer .container button.big:before { .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .selectBoxU select { width: 100%; padding: 8px; + cursor: pointer; height: 49px; font-size: 18px; line-height: 1.11; color: #4b4b4b; - cursor: pointer; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); + border-radius: 2px; } .alarm-history-container .alarm-history-body .alarm-history-body-left .alarm-history-left-filter .selectBoxU select option { display: none; diff --git a/Step/wwwroot/src/app_modules/alarms/components/alarm-history.ts b/Step/wwwroot/src/app_modules/alarms/components/alarm-history.ts index 4b784028..d45eca92 100644 --- a/Step/wwwroot/src/app_modules/alarms/components/alarm-history.ts +++ b/Step/wwwroot/src/app_modules/alarms/components/alarm-history.ts @@ -49,7 +49,8 @@ export default class AlarmHistory extends Vue { user: 1, title: "", sources: [this.$options.filters.localize("alarm_history_filter_nc", "NC"),this.$options.filters.localize("alarm_history_filter_plc", "PLC")], - multiUser: [this.$options.filters.localize("alarm_history_users_not_user", "Nessun utente")] + multiUser: [this.$options.filters.localize("alarm_history_users_not_user", "Nessun utente")], + interval: [new Date(new Date().setDate(new Date().getDate() - 6)),new Date(new Date().setDate(new Date().getDate() + 1))] }; //sources: Array = [ diff --git a/Step/wwwroot/src/app_modules/alarms/components/alarm-history.vue b/Step/wwwroot/src/app_modules/alarms/components/alarm-history.vue index 2eac2ae5..f54cff38 100644 --- a/Step/wwwroot/src/app_modules/alarms/components/alarm-history.vue +++ b/Step/wwwroot/src/app_modules/alarms/components/alarm-history.vue @@ -11,7 +11,7 @@ {{'alarm_history_body_filter' | localize("Filtro")}} - + + + {{'load_depot_error_fit' | localize('Spazio troppo piccolo per caricare questo utensile')}} + diff --git a/Step/wwwroot/src/modules/base-components/cards/detail-card.vue b/Step/wwwroot/src/modules/base-components/cards/detail-card.vue index 76c98b90..808fd528 100644 --- a/Step/wwwroot/src/modules/base-components/cards/detail-card.vue +++ b/Step/wwwroot/src/modules/base-components/cards/detail-card.vue @@ -9,7 +9,7 @@ - +