fix conferma ricetta
This commit is contained in:
+4
-3
@@ -83,9 +83,10 @@ export default class ShowCicloInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -98,9 +98,10 @@ export default class ShowControstampoInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -70,9 +70,10 @@ export default class ShowEstrazioneInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -97,9 +97,10 @@ export default class ShowFormatoInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -79,9 +79,10 @@ export default class ShowImbutituraInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
@@ -42,25 +42,25 @@ export default class ShowOpzioniInfo extends Vue {
|
||||
this.debouncedRecipeSave()
|
||||
};
|
||||
|
||||
thermoregolatoriAreVisible(){
|
||||
for(var i = 1; i<= 10; i++){
|
||||
if(this.recipe['options_thermoregulator_'+i+'_enabled'] && this.recipe['options_thermoregulator_'+i+'_enabled'].status.visible)
|
||||
thermoregolatoriAreVisible() {
|
||||
for (var i = 1; i <= 10; i++) {
|
||||
if (this.recipe['options_thermoregulator_' + i + '_enabled'] && this.recipe['options_thermoregulator_' + i + '_enabled'].status.visible)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
sottosquadraStampoAreVisible(){
|
||||
for(var i = 1; i<= 10; i++){
|
||||
if(this.recipe['options_undercutmould_'+i+'_mode'] && this.recipe['options_undercutmould_'+i+'_mode'].status.visible)
|
||||
sottosquadraStampoAreVisible() {
|
||||
for (var i = 1; i <= 10; i++) {
|
||||
if (this.recipe['options_undercutmould_' + i + '_mode'] && this.recipe['options_undercutmould_' + i + '_mode'].status.visible)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
sottosquadraControstampoAreVisible(){
|
||||
for(var i = 1; i<= 10; i++){
|
||||
if(this.recipe['options_undercutupperplate_'+i+'_mode'] && this.recipe['options_undercutupperplate_'+i+'_mode'].status.visible)
|
||||
sottosquadraControstampoAreVisible() {
|
||||
for (var i = 1; i <= 10; i++) {
|
||||
if (this.recipe['options_undercutupperplate_' + i + '_mode'] && this.recipe['options_undercutupperplate_' + i + '_mode'].status.visible)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -186,9 +186,10 @@ export default class ShowOpzioniInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -79,9 +79,10 @@ export default class ShowPirometroInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -93,9 +93,10 @@ export default class ShowQuoteVelocitaInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -102,9 +102,10 @@ export default class Raffreddamento extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
+4
-3
@@ -76,9 +76,10 @@ export default class ShowRiscaldamentoSuperioreInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
@@ -96,9 +96,10 @@ export default class ShowVuotoInfo extends Vue {
|
||||
|
||||
hasChanges() {
|
||||
let result = false;
|
||||
for (const key in this.payload) {
|
||||
const el = this.payload[key] as Recipe.IValue;
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
for (const key in this.recipe) {
|
||||
const el = this.recipe[key] as Recipe.IValue;
|
||||
if (el.status.visible && el.status.enabled)
|
||||
if (el.setpointHMI != el.setpointPLC) result = true;
|
||||
}
|
||||
for (const key in store.state.warmers.channels) {
|
||||
const el = store.state.warmers.channels[key];
|
||||
|
||||
Reference in New Issue
Block a user