You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.errorMessages+="Missing waveforms for winding "+this.masStore.mas.magnetic.coil.functionalDescription[windingIndex].name+" in operating point "+this.masStore.mas.inputs.operatingPoints[operatingPointIndex].name+".\n"
110
-
allSet =false;
111
-
}
112
-
}
113
-
}
114
-
return allSet;
115
-
}
116
-
},
117
-
created () {
118
-
74
+
canContinue() {
75
+
var allSet =true;
76
+
77
+
if (this.$stateStore.hasCurrentApplicationMirroredWindings()) {
78
+
for (var operatingPointIndex =0; operatingPointIndex <this.masStore.mas.inputs.operatingPoints.length; operatingPointIndex++) {
79
+
for (var windingIndex =0; windingIndex <this.masStore.mas.magnetic.coil.functionalDescription.length; windingIndex++) {
this.errorMessages+="Missing waveforms for winding "+this.masStore.mas.magnetic.coil.functionalDescription[windingIndex].name+" in operating point "+this.masStore.mas.inputs.operatingPoints[operatingPointIndex].name+".\n"
110
+
allSet =false;
111
+
}
112
+
}
113
+
}
114
+
return allSet;
115
+
}
119
116
},
120
-
mounted () {
121
-
122
-
if (this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding.length>0) {
123
-
if (this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].current.processed==null||Object.keys(this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].current.processed).length===0){
if (this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].voltage.processed==null||Object.keys(this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].voltage.processed).length===0){
if (this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding.length>0) {
123
+
if (this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].current.processed==null||Object.keys(this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].current.processed).length===0){
if (this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].voltage.processed==null||Object.keys(this.masStore.mas.inputs.operatingPoints[this.currentOperatingPointIndex].excitationsPerWinding[this.currentWindingIndex].voltage.processed).length===0){
0 commit comments