correzioni warnings, di nuovo ricompilo tutto

This commit is contained in:
Samuele E. Locatelli
2019-06-10 17:23:52 +02:00
parent bbbc7c69dc
commit 9f32637225
47 changed files with 3830 additions and 4025 deletions
+3 -6
View File
@@ -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;
}