correzioni warnings, di nuovo ricompilo tutto
This commit is contained in:
@@ -218,9 +218,6 @@ namespace GMW_data
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
// tolto 2015.06.25 redirect a pagina default
|
||||
//// se avesse perso codice cella rimando a pagina default...
|
||||
//if (Postazione.currCodCella == "") Response.Redirect("Default.aspx");
|
||||
answ = string.Format("ALF00{0}", Postazione.currCodCella);
|
||||
// controllo se esista AL sennò lo creo...
|
||||
if (MagClass.magazzino.taEA.getByAL(answ).Rows.Count == 0)
|
||||
@@ -992,7 +989,7 @@ namespace GMW_data
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lastBarcodeIn == "")
|
||||
if (string.IsNullOrEmpty(lastBarcodeIn))
|
||||
{
|
||||
Postazione.messaggiText = traduci("AttesaBCode");
|
||||
Postazione.warningText = "";
|
||||
@@ -1263,7 +1260,7 @@ namespace GMW_data
|
||||
}
|
||||
if (createUdcOut && checkDone)
|
||||
{
|
||||
if (udcDest == "")
|
||||
if (string.IsNullOrEmpty(udcDest))
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -1361,7 +1358,7 @@ namespace GMW_data
|
||||
codImballo = CodImballoStd;
|
||||
}
|
||||
// se NON HA selezionato prendo default...
|
||||
if (codImballo == "" || codImballo == "-")
|
||||
if (string.IsNullOrEmpty(codImballo) || codImballo == "-")
|
||||
{
|
||||
codImballo = CodImballoStd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user