|
@ -495,17 +495,203 @@ export default { |
|
|
if (isNaN(parseInt(endNumber))) { |
|
|
if (isNaN(parseInt(endNumber))) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
// for (const val in this.data1) { |
|
|
for (const val in this.data1) { |
|
|
// if (this.data1[val].code.indexOf('move') !== -1) { |
|
|
if (this.data1[val].code.indexOf('move') !== -1) { |
|
|
// 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('heartbeat') !== -1) { |
|
|
// this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 5) |
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) - 1) |
|
|
// } |
|
|
} |
|
|
// if (this.data1[val].code.indexOf('task') !== -1) { |
|
|
if (this.data1[val].code.indexOf('action') !== -1) { |
|
|
// this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 7) |
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 2) |
|
|
// } |
|
|
} |
|
|
// } |
|
|
if (this.data1[val].code.indexOf('ioaction') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 3) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('error') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 4) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('task') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 5) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('weight') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 9) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('material') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'STRING' + (parseInt(endNumber) + 13) + '.50' |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('barcode') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 65) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('encoder_qty') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 67) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('unqualified_qty') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 69) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('product_code') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 71) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('AlongSide') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 73) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('BshortSide') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 75) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('Htrapezoidal') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 77) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('Wthickness') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 79) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('tray_qty') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 81) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('tray_high') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 83) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('crib_category') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 85) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletX1_line') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 87) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletY1_row') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 89) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletA1_angle') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 91) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletX2_line') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 93) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletY2_row') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 95) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletA2_angle') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 97) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletX3_line') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 99) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletY3_row') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 101) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('palletA3_angle') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 103) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribX1_line') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 105) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribY1_row') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 107) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribA1_angle') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 109) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribX2_line') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 111) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribY2_row') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 113) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribA2_angle') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 115) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribX3_line') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 117) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribY3_row') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 119) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCribA3_angle') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 121) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('Zoffset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 123) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pallet_layerQty') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 125) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressCrib_layerQty') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 127) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerX1_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 129) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerY1_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 131) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerX2_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 133) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerY2_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 135) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerX3_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 137) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerY3_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 139) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerX1_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 141) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerY1_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 143) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerX2_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 145) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerY2_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 147) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerX3_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 149) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('codeLayerY3_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 151) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX1_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 153) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerY1_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 155) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX2_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 157) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerY2_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 159) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX3_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 161) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerY3_interval') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 163) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX1_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 165) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerY1_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 167) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX2_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 169) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX3_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 171) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerX3_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 173) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('pressLayerY3_offset') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 175) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data1[val].code.indexOf('tool_coordinate') !== -1) { |
|
|
|
|
|
this.data1[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 177) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
finishWriteEdit(data) { |
|
|
finishWriteEdit(data) { |
|
@ -522,14 +708,176 @@ export default { |
|
|
if (isNaN(parseInt(endNumber))) { |
|
|
if (isNaN(parseInt(endNumber))) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
// for (const val in this.data2) { |
|
|
for (const val in this.data2) { |
|
|
// if (this.data2[val].code.indexOf('to_target') !== -1) { |
|
|
if (this.data2[val].code.indexOf('to_target') !== -1) { |
|
|
// this.data2[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 2) |
|
|
this.data2[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber)) |
|
|
// } |
|
|
} |
|
|
// if (this.data2[val].code.indexOf('to_task') !== -1) { |
|
|
if (this.data2[val].code.indexOf('to_target') !== -1) { |
|
|
// this.data2[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 6) |
|
|
this.data2[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 2) |
|
|
// } |
|
|
} |
|
|
// } |
|
|
if (this.data2[val].code.indexOf('to_task') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 4) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_product_code') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 8) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_AlongSide') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 10) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_BshortSide') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 12) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_Htrapezoidal') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 14) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_Wthickness') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 16) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_tray_qty') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 18) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_tray_high') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) +20) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_crib_category') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 22) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletX1_line') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 24) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletY1_row') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 26) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletA1_angle') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 28) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletX2_line') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 30) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletY2_row') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 32) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletA2_angle') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 34) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletX3_line') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 36) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletY3_row') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 38) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_palletA3_angle') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 40) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribX1_line') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 42) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribY1_row') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 44) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribA1_angle') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 46) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribX2_line') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 48) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribY2_row') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 50) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribA2_angle') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 52) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribX3_line') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 54) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribY3_row') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 56) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCribA3_angle') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 60) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pallet_layerQty') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 62) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressCrib_layerQty') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 64) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerX1_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 66) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerY1_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 68) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerX2_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 70) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerY2_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 72) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerX3_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 74) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerY3_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 76) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerX1_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 78) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerY1_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 80) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerX2_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 82) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerY2_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 84) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerX3_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 86) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_codeLayerY3_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 88) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerX1_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 90) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerY1_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 92) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerX2_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 94) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerY2_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 96) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerX3_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 98) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerY3_interval') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 100) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerX1_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 102) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerY1_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 104) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerX2_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 106) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerY2_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 108) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerX3_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 110) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_pressLayerY3_offset') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 112) |
|
|
|
|
|
} |
|
|
|
|
|
if (this.data2[val].code.indexOf('to_tool_coordinate') !== -1) { |
|
|
|
|
|
this.data2[val].db = beforeStr + '.' + 'W' + (parseInt(endNumber) + 114) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
changeOpc(val) { |
|
|
changeOpc(val) { |
|
|