diff --git a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs
index b8863c3..1b98364 100644
--- a/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_labelsPrint.ascx.cs
@@ -304,80 +304,6 @@ namespace NKC_WF.WebUserControls
raiseEvent();
}
- ///
- /// Imposta il codice OtherItem sugli oggetti dipendenti
- ///
- ///
- ///
- private void setOtherItem(string rawData, int codeInt)
- {
-#if false
- cmp_KS_OtherItemsCart.OtherItemID = codeInt;
- cmp_KS_OtherItemsCart.OtherItemDtmx = rawData;
- cmp_KS_OtherItemsCart.doUpdate();
-#endif
- fixVisibility();
- }
-
- ///
- /// Imposta il bin sugli oggetti dipendenti
- ///
- ///
- ///
- private void setBin(string rawData, int codeInt)
- {
-#if false
- cmp_KS_BinCart.BinID = codeInt;
- cmp_KS_BinCart.BinDtmx = rawData;
- cmp_KS_BinCart.doUpdate();
-#endif
- fixVisibility();
- }
- ///
- /// Imposta il cart sugli oggetti dipendenti
- ///
- ///
- ///
- private void setCart(string rawData, int codeInt)
- {
-#if false
- cmp_KS_BinCart.CartID = codeInt;
- cmp_KS_BinCart.CartDtmx = rawData;
- cmp_KS_BinCart.doUpdate();
- cmp_KS_OtherItemsCart.CartID = codeInt;
- cmp_KS_OtherItemsCart.CartDtmx = rawData;
- cmp_KS_OtherItemsCart.doUpdate();
- cmp_KS_Cart.CartID = codeInt;
- cmp_KS_Cart.CartDtmx = rawData;
- cmp_KS_Cart.doUpdate();
-#endif
- fixVisibility();
- }
-
- private void resetBin()
- {
-#if false
- cmp_KS_BinCart.BinID = 0;
-#endif
- fixVisibility();
- }
-
- private void resetCart()
- {
-#if false
- cmp_KS_BinCart.CartID = 0;
- cmp_KS_OtherItemsCart.CartID = 0;
- cmp_KS_Cart.CartID = 0;
-#endif
- fixVisibility();
- }
- private void resetOtherItem()
- {
-#if false
- cmp_KS_OtherItemsCart.OtherItemID = 0;
-#endif
- fixVisibility();
- }
///
/// Mostra errore ed effettua reset vari...
@@ -440,39 +366,6 @@ namespace NKC_WF.WebUserControls
lblItemDesc.Text = itemRow.ItemDesc;
lblItemDtmx.Text = itemRow.ItemDtmx;
itemIdSelected = itemRow.ItemID;
- // CONTROLLO SIA in stato 1 --> worked, 2--> selected, 100--> parked...
- switch (itemRow.StatusID)
- {
- case 0:
- displError("ERROR: Item not ready", false);
- break;
- case 1:
- case 2:
- case 100:
- // salvo che รจ in STATO 2 (picked up)
- DataLayer.man.taIL.updateStatus(itemRow.ItemID, 2, PlaceId);
- doUpdate();
- break;
- case 3:
- displError("Item already on CART!", false);
- break;
- case 4:
- // fino a concorrenza qta richiesta sposto, POI do errori
- displError("ALL Item already scanned on BIN!", false);
- break;
- case 5:
- displError("Item already at KIT STATION!", false);
- break;
- case 990:
- displError("Item declared SCRAP!", false);
- break;
- case 991:
- displError("Item declared SCRAP with CNC program created!", false);
- break;
- default:
- displError("ERROR: Item status UNKNOWN!", false);
- break;
- }
}
lbtResetSel.Visible = (itemIdSelected != 0);
}
@@ -526,13 +419,6 @@ namespace NKC_WF.WebUserControls
private void fixVisibility()
{
- // reset grafico
-#if false
- cmp_KS_Cart.Visible = cmp_KS_Cart.CartID > 0 && (cmp_KS_BinCart.BinID + cmp_KS_OtherItemsCart.OtherItemID == 0);
- cmp_KS_BinCart.Visible = cmp_KS_BinCart.BinID > 0;
- cmp_KS_OtherItemsCart.Visible = cmp_KS_OtherItemsCart.OtherItemID > 0;
-#endif
-
// fix btn reset!
lbtResetSel.Visible = (itemIdSelected != 0);
}