Fix classi gestione Datamatrix.mgr x evitare singleton che si pianta...
This commit is contained in:
@@ -5,7 +5,10 @@ namespace GMW_data
|
||||
{
|
||||
public class UserControlBCodeMan : GMW_data.UserControl
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto locale gestione classe datamatrix...
|
||||
/// </summary>
|
||||
protected DataMatrix DataMatrix_mgr = new DataMatrix();
|
||||
#region Conf stili css
|
||||
|
||||
/// <summary>
|
||||
@@ -283,7 +286,7 @@ namespace GMW_data
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = DataMatrix.mgr.taVerifica.GetData(datamatrix)[0].FormatoDtmx;
|
||||
answ = DataMatrix_mgr.taVerifica.GetData(datamatrix)[0].FormatoDtmx;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -297,7 +300,7 @@ namespace GMW_data
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = DataMatrix.mgr.taTDtmx.getByParticolare(Particolare)[0].FormatoDtmx;
|
||||
answ = DataMatrix_mgr.taTDtmx.getByParticolare(Particolare)[0].FormatoDtmx;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -315,11 +318,11 @@ namespace GMW_data
|
||||
string answ = "";
|
||||
if (byTable)
|
||||
{
|
||||
answ = DataMatrix.mgr.taDtxAcquisiti.getByKey(barcodeIn)[0].Particolare;
|
||||
answ = DataMatrix_mgr.taDtxAcquisiti.getByKey(barcodeIn)[0].Particolare;
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = DataMatrix.mgr.taDecode.GetData(barcodeIn, FormatoDtmxLinea)[0].Particolare;
|
||||
answ = DataMatrix_mgr.taDecode.GetData(barcodeIn, FormatoDtmxLinea)[0].Particolare;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user