|
@ -501,31 +501,31 @@ export default { |
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1) |
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('error') !== -1) { |
|
|
if (this.data1[val].code.indexOf('error') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1) |
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 2) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('open_time') !== -1) { |
|
|
if (this.data1[val].code.indexOf('open_time') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 3) |
|
|
this.data1[val].db = beforeStr + '.' + 'String' + (parseInt(endNumber) + 3) + '.50' |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('standby_time') !== -1) { |
|
|
if (this.data1[val].code.indexOf('standby_time') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 7) |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 55) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('production_time') !== -1) { |
|
|
if (this.data1[val].code.indexOf('production_time') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 11) |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 59) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('error_time') !== -1) { |
|
|
if (this.data1[val].code.indexOf('error_time') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 15) |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 63) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('weight') !== -1) { |
|
|
if (this.data1[val].code.indexOf('weight') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 19) |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 67) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('order_No') !== -1) { |
|
|
if (this.data1[val].code.indexOf('order_No') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'STRING' + (parseInt(endNumber) + 23) + '.50' |
|
|
this.data1[val].db = beforeStr + '.' + 'STRING' + (parseInt(endNumber) + 71) + '.50' |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('mix_num') !== -1) { |
|
|
if (this.data1[val].code.indexOf('mix_num') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 73) |
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 123) |
|
|
} |
|
|
} |
|
|
if (this.data1[val].code.indexOf('material') !== -1) { |
|
|
if (this.data1[val].code.indexOf('material') !== -1) { |
|
|
this.data1[val].db = beforeStr + '.' + 'STRING' + (parseInt(endNumber) + 77) + '.50' |
|
|
this.data1[val].db = beforeStr + '.' + 'STRING' + (parseInt(endNumber) + 127) + '.50' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|