setCurrentScanType method
Implementation
void setCurrentScanType(ScanType scanType) {
currentScan = scanType;
switch (scanType) {
case ScanType.collectStock:
title = "collectStock";
break;
case ScanType.sellThru:
title = "stockDelivery";
break;
case ScanType.spotSellThru:
title = "spotSellThru";
break;
case ScanType.grn:
title = "grn";
break;
default:
title = "collectStock";
break;
}
}