spostamento su COnfig (DB) x prefComandi, prefDateTime, prefBCode
This commit is contained in:
@@ -265,9 +265,6 @@
|
||||
<add key="ReportDatasourceALRX" value="GMWDataSet_stp_prtCartAL" />
|
||||
<add key="ReportDatasourceALTT" value="GMWDataSet_stp_prtCartAL" />
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="CMD" />
|
||||
<add key="prefDateTime" value="DT" />
|
||||
<add key="prefBCode" value="BCD" />
|
||||
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
|
||||
<add key="cmdEsci" value="CMDESCI" />
|
||||
<add key="cmdFast" value="CMDFAST" />
|
||||
|
||||
@@ -264,9 +264,6 @@
|
||||
<add key="ReportDatasourceALRX" value="GMWDataSet_stp_prtCartAL" />
|
||||
<add key="ReportDatasourceALTT" value="GMWDataSet_stp_prtCartAL" />
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="CMD" />
|
||||
<add key="prefDateTime" value="DT" />
|
||||
<add key="prefBCode" value="BCD" />
|
||||
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
|
||||
<add key="cmdEsci" value="CMDESCI" />
|
||||
<add key="cmdFast" value="CMDFAST" />
|
||||
|
||||
@@ -264,9 +264,6 @@
|
||||
<add key="ReportDatasourceALRX" value="GMWDataSet_stp_prtCartAL" />
|
||||
<add key="ReportDatasourceALTT" value="GMWDataSet_stp_prtCartAL" />
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="CMD" />
|
||||
<add key="prefDateTime" value="DT" />
|
||||
<add key="prefBCode" value="BCD" />
|
||||
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
|
||||
<add key="cmdEsci" value="CMDESCI" />
|
||||
<add key="cmdFast" value="CMDFAST" />
|
||||
|
||||
@@ -323,7 +323,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -282,7 +282,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -564,7 +564,7 @@ namespace GMW.WebUserControls
|
||||
// tento di recuperare e verifico validità dei 2 valori separatamente...
|
||||
try
|
||||
{
|
||||
newData = val2decode.Replace(memLayer.ML.confReadString("prefDateTime"), "").Substring(0, 10);
|
||||
newData = val2decode.Replace(memLayer.ML.cdv("prefDateTime"), "").Substring(0, 10);
|
||||
if (newData != "")
|
||||
{
|
||||
dataFus = DateTime.ParseExact(newData, "yyMMddHHmm", CultureInfo.InvariantCulture);
|
||||
@@ -581,7 +581,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
try
|
||||
{
|
||||
newLinea = val2decode.Replace(memLayer.ML.confReadString("prefDateTime"), "").Substring(10, val2decode.Length - 10 - memLayer.ML.confReadString("prefDateTime").Length);
|
||||
newLinea = val2decode.Replace(memLayer.ML.cdv("prefDateTime"), "").Substring(10, val2decode.Length - 10 - memLayer.ML.cdv("prefDateTime").Length);
|
||||
if ((newLinea != "") && (DataProxy.obj.taElPost.getByCod(newLinea).Rows.Count > 0))
|
||||
{
|
||||
lineaFus = newLinea;
|
||||
|
||||
@@ -339,7 +339,7 @@ namespace GMW.WebUserControls
|
||||
// tento di recuperare e verifico validità dei 2 valori separatamente...
|
||||
try
|
||||
{
|
||||
newData = barcodeIn.Replace(memLayer.ML.confReadString("prefDateTime"), "").Substring(0, 10);
|
||||
newData = barcodeIn.Replace(memLayer.ML.cdv("prefDateTime"), "").Substring(0, 10);
|
||||
if (newData != "")
|
||||
{
|
||||
dataFus = DateTime.ParseExact(newData, "yyMMddHHmm", CultureInfo.InvariantCulture);
|
||||
@@ -356,7 +356,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
try
|
||||
{
|
||||
newLinea = barcodeIn.Replace(memLayer.ML.confReadString("prefDateTime"), "").Substring(10, barcodeIn.Length - 10 - memLayer.ML.confReadString("prefDateTime").Length);
|
||||
newLinea = barcodeIn.Replace(memLayer.ML.cdv("prefDateTime"), "").Substring(10, barcodeIn.Length - 10 - memLayer.ML.cdv("prefDateTime").Length);
|
||||
if ((newLinea != "") && (DataProxy.obj.taElPost.getByCod(newLinea).Rows.Count > 0))
|
||||
{
|
||||
lineaFus = newLinea;
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -273,7 +273,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -228,7 +228,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
int matricola = -1;
|
||||
// provo a convertire in intero barcode x verifica eventuale matricola...
|
||||
try
|
||||
|
||||
@@ -219,7 +219,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -180,7 +180,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -260,7 +260,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -321,7 +321,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace GMW.WebUserControls
|
||||
/// <summary>
|
||||
/// codice evento dell'UDC che si crea
|
||||
/// </summary>
|
||||
protected string codEventoUdc = "UDC_RX_DT";
|
||||
protected string codEventoUdc = "UDC_RX_DTE";
|
||||
public event EventHandler eh_reqUpdate;
|
||||
/// <summary>
|
||||
/// stringa UID univoca
|
||||
@@ -533,7 +533,7 @@ namespace GMW.WebUserControls
|
||||
// tento di recuperare e verifico validità dei 2 valori separatamente...
|
||||
try
|
||||
{
|
||||
newData = val2decode.Replace(memLayer.ML.confReadString("prefDateTime"), "").Substring(0, 10);
|
||||
newData = val2decode.Replace(memLayer.ML.cdv("prefDateTime"), "").Substring(0, 10);
|
||||
if (newData != "")
|
||||
{
|
||||
dataFus = DateTime.ParseExact(newData, "yyMMddHHmm", CultureInfo.InvariantCulture);
|
||||
@@ -550,7 +550,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
try
|
||||
{
|
||||
newLinea = val2decode.Replace(memLayer.ML.confReadString("prefDateTime"), "").Substring(10, val2decode.Length - 10 - memLayer.ML.confReadString("prefDateTime").Length);
|
||||
newLinea = val2decode.Replace(memLayer.ML.cdv("prefDateTime"), "").Substring(10, val2decode.Length - 10 - memLayer.ML.cdv("prefDateTime").Length);
|
||||
if ((newLinea != "") && (DataProxy.obj.taElPost.getByCod(newLinea).Rows.Count > 0))
|
||||
{
|
||||
lineaFus = newLinea;
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
case tipoCodiceBarcode.Comando:
|
||||
// verifico se contenga uno dei 3 tipi di selezione operativa...
|
||||
string RNC_Mode = barcodeIn.Replace(memLayer.ML.confReadString("prefComandi"), "");
|
||||
string RNC_Mode = barcodeIn.Replace(memLayer.ML.cdv("prefComandi"), "");
|
||||
if (RNC_Mode != "")
|
||||
{
|
||||
Postazione.CssClass = "stileComandoOk";
|
||||
|
||||
@@ -201,7 +201,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -190,7 +190,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -235,7 +235,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -304,7 +304,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -231,7 +231,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -291,7 +291,7 @@ namespace GMW.WebUserControls
|
||||
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
|
||||
int trovati = 0;
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -324,7 +324,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
@@ -322,7 +322,7 @@ namespace GMW.WebUserControls
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
if (barcodeIn.StartsWith(preCmd))
|
||||
{
|
||||
answ = tipoCodiceBarcode.Comando;
|
||||
|
||||
Binary file not shown.
@@ -265,9 +265,6 @@
|
||||
<add key="ReportDatasourceALRX" value="GMWDataSet_stp_prtCartAL" />
|
||||
<add key="ReportDatasourceALTT" value="GMWDataSet_stp_prtCartAL" />
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="CMD" />
|
||||
<add key="prefDateTime" value="DT" />
|
||||
<add key="prefBCode" value="BCD" />
|
||||
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
|
||||
<add key="cmdEsci" value="CMDESCI" />
|
||||
<add key="cmdFast" value="CMDFAST" />
|
||||
|
||||
Binary file not shown.
@@ -265,9 +265,6 @@
|
||||
<add key="ReportDatasourceALRX" value="GMWDataSet_stp_prtCartAL" />
|
||||
<add key="ReportDatasourceALTT" value="GMWDataSet_stp_prtCartAL" />
|
||||
<!--setup comandi barcode-->
|
||||
<add key="prefComandi" value="CMD" />
|
||||
<add key="prefDateTime" value="DT" />
|
||||
<add key="prefBCode" value="BCD" />
|
||||
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
|
||||
<add key="cmdEsci" value="CMDESCI" />
|
||||
<add key="cmdFast" value="CMDFAST" />
|
||||
|
||||
@@ -3035,9 +3035,9 @@ namespace GMW_data
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preDT = memLayer.ML.confReadString("prefDateTime");
|
||||
string preBCD = memLayer.ML.confReadString("prefBCode");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
string preDT = memLayer.ML.cdv("prefDateTime");
|
||||
string preBCD = memLayer.ML.cdv("prefBCode");
|
||||
string preCodSogg = memLayer.ML.confReadString("prefCodSogg");
|
||||
string statoDtx = "";
|
||||
string formatoDtx = "";
|
||||
@@ -3150,9 +3150,9 @@ namespace GMW_data
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preDT = memLayer.ML.confReadString("prefDateTime");
|
||||
string preBCD = memLayer.ML.confReadString("prefBCode");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
string preDT = memLayer.ML.cdv("prefDateTime");
|
||||
string preBCD = memLayer.ML.cdv("prefBCode");
|
||||
string preCodSogg = memLayer.ML.confReadString("prefCodSogg");
|
||||
if (valore.StartsWith(preCmd))
|
||||
{
|
||||
@@ -3246,9 +3246,9 @@ namespace GMW_data
|
||||
catch
|
||||
{ }
|
||||
// controllo non si tratti di un comando...
|
||||
string preCmd = memLayer.ML.confReadString("prefComandi");
|
||||
string preDT = memLayer.ML.confReadString("prefDateTime");
|
||||
string preBCD = memLayer.ML.confReadString("prefBCode");
|
||||
string preCmd = memLayer.ML.cdv("prefComandi");
|
||||
string preDT = memLayer.ML.cdv("prefDateTime");
|
||||
string preBCD = memLayer.ML.cdv("prefBCode");
|
||||
string preCodSogg = memLayer.ML.confReadString("prefCodSogg");
|
||||
if (valore.StartsWith(preCmd))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user