diff --git a/GMW/GMW.csproj b/GMW/GMW.csproj
index 526f6755..87bbd16a 100644
--- a/GMW/GMW.csproj
+++ b/GMW/GMW.csproj
@@ -132,7 +132,10 @@
False
..\packages\AjaxControlToolkit.4.1.60623\lib\35\AjaxControlToolkit.dll
-
+
+ False
+ ..\..\..\..\..\..\..\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WinForms.dll
+
..\packages\AjaxControlToolkit.4.1.60623\lib\35\SanitizerProviders\SanitizerProviders.dll
@@ -1440,6 +1443,7 @@
+
diff --git a/GMW/GMW.csproj.user b/GMW/GMW.csproj.user
index e51c1517..ef846881 100644
--- a/GMW/GMW.csproj.user
+++ b/GMW/GMW.csproj.user
@@ -2,7 +2,7 @@
ProjectFiles
- TK_test
+ SP_prod
diff --git a/GMW/Properties/PublishProfiles/SP_prod.pubxml b/GMW/Properties/PublishProfiles/SP_prod.pubxml
index bce1a21d..3bba1d18 100644
--- a/GMW/Properties/PublishProfiles/SP_prod.pubxml
+++ b/GMW/Properties/PublishProfiles/SP_prod.pubxml
@@ -9,12 +9,8 @@ by editing this MSBuild file. In order to learn more about this please visit htt
SP_prod
Any CPU
- True
- True
- False
- DonotMerge
True
- C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\GMW\ReleaseClienti\SP_prod\GMW.zip
+ C:\Users\samuele\Documents\Visual Studio 2012\Projects\GMW\ReleaseClienti\SP_prod\GMW.zip
true
Default Web Site/GMW
@@ -31,6 +27,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
+ True
+ True
+ False
+ DonotMerge
diff --git a/GMW/Properties/PublishProfiles/SP_test.pubxml b/GMW/Properties/PublishProfiles/SP_test.pubxml
index 1f0ef47d..477ad8f6 100644
--- a/GMW/Properties/PublishProfiles/SP_test.pubxml
+++ b/GMW/Properties/PublishProfiles/SP_test.pubxml
@@ -9,12 +9,8 @@ by editing this MSBuild file. In order to learn more about this please visit htt
SP_test
Any CPU
- True
- True
- False
- DonotMerge
True
- C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\GMW\ReleaseClienti\SP_test\GMW.zip
+ C:\Users\samuele\Documents\Visual Studio 2012\Projects\GMW\ReleaseClienti\SP_test\GMW.zip
true
Default Web Site/GMW_test
@@ -31,6 +27,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
+ True
+ True
+ False
+ DonotMerge
diff --git a/GMW/Properties/PublishProfiles/TK_prod.pubxml b/GMW/Properties/PublishProfiles/TK_prod.pubxml
index 6d7e8de1..c3aaea9f 100644
--- a/GMW/Properties/PublishProfiles/TK_prod.pubxml
+++ b/GMW/Properties/PublishProfiles/TK_prod.pubxml
@@ -9,12 +9,8 @@ by editing this MSBuild file. In order to learn more about this please visit htt
TK_prod
Any CPU
- True
- True
- False
- DonotMerge
True
- C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\GMW\ReleaseClienti\TK_prod\GMW.zip
+ C:\Users\samuele\Documents\Visual Studio 2012\Projects\GMW\ReleaseClienti\TK_prod\GMW.zip
true
Default Web Site/GMW
@@ -31,6 +27,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
+ True
+ True
+ False
+ DonotMerge
diff --git a/GMW/Properties/PublishProfiles/TK_test.pubxml b/GMW/Properties/PublishProfiles/TK_test.pubxml
index 812c5d87..b83e50ff 100644
--- a/GMW/Properties/PublishProfiles/TK_test.pubxml
+++ b/GMW/Properties/PublishProfiles/TK_test.pubxml
@@ -9,12 +9,8 @@ by editing this MSBuild file. In order to learn more about this please visit htt
TK_test
Any CPU
- True
- True
- False
- DonotMerge
True
- C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2010\Projects\GMW\ReleaseClienti\TK_test\GMW.zip
+ C:\Users\samuele\Documents\Visual Studio 2012\Projects\GMW\ReleaseClienti\TK_test\GMW.zip
true
Default Web Site/GMW_test
@@ -31,6 +27,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
+ True
+ True
+ False
+ DonotMerge
diff --git a/GMW/Web.config b/GMW/Web.config
index 50ea2600..b65f6182 100644
--- a/GMW/Web.config
+++ b/GMW/Web.config
@@ -1,310 +1,316 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GMW/WebUserControls/mod_manSAO.ascx.cs b/GMW/WebUserControls/mod_manSAO.ascx.cs
index 519e2318..43e05c3b 100644
--- a/GMW/WebUserControls/mod_manSAO.ascx.cs
+++ b/GMW/WebUserControls/mod_manSAO.ascx.cs
@@ -605,6 +605,22 @@ namespace GMW.WebUserControls
// indico num righe da controllo
grView.PageSize = numRigheGrView;
}
+ ///
+ /// permette di imposstare periodo analisi
+ ///
+ public intervalloDate intAnalisiSAO
+ {
+ get
+ {
+ return mod_periodoAnalisi1.intervalloAnalisi;
+ }
+ set
+ {
+ mod_periodoAnalisi1.intervalloAnalisi = value;
+ mod_periodoAnalisi1.doUpdate(false);
+ //updateFiltroUdc();
+ }
+ }
#endregion
diff --git a/GMW/WebUserControls/mod_odette.ascx b/GMW/WebUserControls/mod_odette.ascx
index 0f3e4860..e8410746 100644
--- a/GMW/WebUserControls/mod_odette.ascx
+++ b/GMW/WebUserControls/mod_odette.ascx
@@ -105,6 +105,7 @@
+
diff --git a/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs b/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs
index a2acebc1..bd53d39c 100644
--- a/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs
+++ b/GMW/WebUserControls/mod_periodoAnalisi.ascx.cs
@@ -278,6 +278,8 @@ public partial class mod_periodoAnalisi : System.Web.UI.UserControl
Session["_intervallo"] = interv;
Session["_inizio"] = interv.inizio;
Session["_fine"] = interv.fine;
+ _intervallo = interv;
+ aggiornaDateMostrate(false);
}
}
///
diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll
index 0c04eb08..a76fdca3 100644
Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ
diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll
index 48b5f3d5..83111d72 100644
Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ
diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll
index a5ace7f5..0350635a 100644
Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ
diff --git a/GMW/bin/SteamWare.xml b/GMW/bin/SteamWare.xml
index 5e815e35..b87884e1 100644
--- a/GMW/bin/SteamWare.xml
+++ b/GMW/bin/SteamWare.xml
@@ -4,299 +4,6 @@
SteamWare
-
-
- Represents a strongly typed in-memory cache of data.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- classe con funzioni specifiche di calcolo
-
-
-
-
- inizializzazione classe
-
-
-
-
- elenco dei caratteri base 36: 0..9A..Z
-
-
-
-
-
- converte da base di dimensione nBase a valore intero
-
- valore in formato nBase
- base, max 36 (0..9A..Z)
-
-
-
-
- metodo di accesso singleton
-
-
-
-
- classe gestione auth
-
-
-
-
- init dei table adapters
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- Singleton accesso a authProxy
-
-
-
-
- Tenta autologin con autoriconoscimento Dominio/username by cookie
-
-
-
-
-
-
- formatta il secret code
-
-
-
-
-
-
-
-
-
-
- crea un nuovo record device e salva un nuovo cookie su db x il dispositivo e l'utente richiesti
-
-
-
-
-
-
-
-
-
-
-
-
-
- rimuove device da DB e toglie il cookie
-
- secret associata al device
-
-
-
-
- rimuove device da DB e toglie il cookie
-
- Nome Device
-
-
-
-
- imuove device da DB e toglie il cookie
-
-
-
-
-
-
-
- Represents a strongly typed in-memory cache of data.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Row event argument class
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
-
-
-
-
- Update rows in top-down order.
-
-
-
-
- Insert rows in top-down order.
-
-
-
-
- Delete rows in bottom-up order.
-
-
-
-
- Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
-
-
-
-
- Update all changes to the dataset.
-
-
-
-
- Update Order Option
-
-
-
-
- Used to sort self-referenced table's rows
-
-
Pagina base applicazioni SteamWare da cui derivare le altre
@@ -335,818 +42,6 @@
-
-
- struttura che definisce i parametri di un turno di lavoro
-
-
-
-
- definisce un intervalo di 2 date
-
-
-
-
- data inizio
-
-
-
-
- data fine
-
-
-
-
- indica se sia valido il dato, ovvero inizio e fine > 0 e FINE >= INIZIO
-
-
-
-
- struttura orario ordinarie/strordinarie
-
-
-
-
- ore ordinarie
-
-
-
-
- ore straordinarie
-
-
-
-
- classe di funzioni inerenti le date
-
-
-
-
- inizializzazione empty
-
-
-
-
- calcola il turno di riferimento data una data di riferimento
-
-
-
-
-
-
- costruisce un oggetto intervallo date
-
-
-
-
-
-
-
- effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine
-
-
-
-
-
-
-
- oggetto mese precedente alla dataLilmite
-
-
-
-
-
- oggetto mese corrente fino alla dataLilmite
-
-
-
-
-
- confronta le date e restituisce true se le date sono nello stesso mese
-
-
-
-
-
-
-
- restituisce l'intervallo del giorno completo che comprende la data indicata
-
-
-
-
-
-
- restituisce l'intervallo di N giorni fino alla data indicata
-
-
-
-
-
-
-
- restituisce l'intervallo della settimana corrente per la data indicata
-
-
-
-
-
-
- restituisce l'intervallo del mese corrente per la data indicata (dal giorno 1 all'indomani delal data indicata)
-
-
-
-
-
-
- restituisce l'intervallo del mese che comprende la data indicata (dal primo all'ultimo giorno)
-
-
-
-
-
-
- restituisce l'intervallo dell'anno corrente per la data indicata
-
-
-
-
-
-
- oggetto singleton
-
-
-
-
- classe di gestione delle email
-
-
-
-
- stringa del nome DNS o dell'ip del server SMTP
-
-
-
-
- stringa username x server SMTP
-
-
-
-
- stringa pwd x server SMTP
-
-
-
-
- metodo static per la gestione delle email
-
-
-
-
-
- metodo static per la gestione delle email
-
-
-
-
-
-
-
- metodo static per la gestione delle email
-
-
-
-
-
-
- procedura invio email
-
- email mittente
- email destinatario
- oggetto dell'email
- corpo del messaggio
-
-
-
- procedura invio email + scrittura in log!
-
- email mittente
- email destinatario
- oggetto dell'email
- corpo del messaggio
-
-
-
- metodo singleton gestione email...
-
-
-
-
- metodo singleton gestione email CON AUTH utente...
-
-
-
-
- Tipo di comparazione, Binary == CaseSensitive, Text = insensitive
-
-
-
-
- tipo controllo : binario
-
-
-
-
- tipo controllo : text
-
-
-
-
- Funzione di splitting compatibile con multi-character e multi-line
-
-
-
-
- stringa da splittare
-
-
-
-
- Delimiter con cui splittare
-
-
-
-
- Costruttore dello Splitter
-
-
-
-
- comparatore case sensitive
-
-
-
-
-
-
-
- comparatore case insensitive
-
-
-
-
-
-
-
- parte principale dello splitter
-
- stringa da splittare
- delimitatore ricercato
- true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base)
-
- 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive
-
-
-
-
- elimina dal nome file il tipo (desinenza)
-
-
-
-
-
-
- Classe di metodi che estendono quelli base applicati alle string
-
-
-
-
- Trasforma in MAIUSCOLo il primo carattere della stringa
-
- stringa da processare
- stringa processata
-
-
-
- restituisce la stringa completa e corretta del filepath del server (anche con vDir)
-
- path relativo alla cartella iis dell'applicativo
- path fisico tradotto
-
-
-
- effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi
-
-
-
-
-
-
- restituisce una stringa uguale all'originale + terminazione newline
-
-
-
-
-
-
- formatta un titolo
-
- Titolo da scrivere
- carattere x padding titolo
- larghezza caratteri (x pad)
-
-
-
-
- formatta una riga di caratteri
-
- carattere da utilizzare
- larghezza caratteri (x pad)
-
-
-
-
- fornisce dati di base per l'utente
-
-
-
-
- fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE
-
-
-
-
-
-
- restituisce la riga completa dall'username richiesto
-
-
-
-
-
-
-
- calcola il nome del computer dato l'IP
-
-
-
-
-
-
- scarica una pagina da URL e fornisce testo string
-
- Indirizzo pagina (completo)
- username (se necessario)
- password (se necessaria)
-
-
-
-
- manda pacchetto ARP
-
-
-
-
-
-
-
-
-
- fornisce mac address dato nome/IP
-
-
-
-
-
-
- utils x cifrature e Crypto
-
-
-
-
- cifra un messaggio con una password
-
-
-
-
-
-
-
- decifra un messaggio con una password
-
-
-
-
-
-
-
- classe di gestione dei db x creazione/update alla versione richiesta
-
-
-
-
- oggetto connessione
-
-
-
-
- stringa di connessione
-
-
-
-
- dir che contiene gli script da eseguire...
-
-
-
-
- formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql)
-
-
-
-
- avvio protected della classe
-
-
-
-
- esegue gli script di sql di update dal file richiesto
-
-
-
-
-
-
-
- Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo
-
- NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default
-
- nome DB di cui cercare script
- revisione di partenza
- revisione di arrivo
- timeout max per ogni operazione
-
-
-
-
- verifica se il db indicato esiste o meno...
-
-
-
-
-
-
-
- crea il db indicato con i parametri di connessione specificati
-
-
-
-
-
-
-
- tipo di chart (2D/3D)
-
-
-
-
- 2D
-
-
-
-
- 3D
-
-
-
-
- web control che disegna un grafico a torta
-
-
-
-
- altezza di default
-
-
-
-
- larghezza di default
-
-
-
-
- padding di default
-
-
-
-
- legenda visibile di default
-
-
-
-
- soglia minima 5% per mostrare il dato
-
-
-
-
- renderizza il contenuto
-
-
-
-
-
- disegna la leggenda html laterale...
-
-
-
-
-
- disegna piechart 2-dim
-
-
-
-
-
- disegna piechart 3d ellittica
-
-
-
-
-
- traduce la stringa colore in oggetto colore
-
-
-
-
-
-
- converte intero a stringa esadecimale
-
-
-
-
-
-
- converte stringa esadecimale a intero
-
-
-
-
-
-
- tipo di grafico (2D/3D)
-
-
-
-
- ampiezza del grafico
-
-
-
-
- altezza del grafico
-
-
-
-
- padding grafico/container
-
-
-
-
- boolean se si debba mostrale la legenda
-
-
-
-
- percentuale minima da mostrare
-
-
-
-
- serie di dati (tipizzata) ma mostrare
-
-
-
-
- testo associato al controllo
-
-
-
-
- layer gestione vari tipi di memoria: cache, session...
-
-
-
-
- lettore file configurazione
-
-
-
-
- oggetto singleton x accesso al layer di memoria
-
-
-
-
- classe gestione accessi a Session, cache, viewstate, configuration...
-
-
-
-
- legge dalla config un valore bool
-
-
-
-
-
-
- legge dalla config un valore string
-
-
-
-
-
-
- legge dalla config un valore int
-
-
-
-
-
-
- carica dalla sessione un dato di tipo object generico
-
-
-
-
-
-
- carica dalla sessione un dato di tipo boolean (se vuoto false)
-
-
-
-
-
-
- carica dalla sessione un dato di tipo string
-
-
-
-
-
-
- carica dalla sessione un dato di tipo long
-
-
-
-
-
-
- carica dalla sessione un dato di tipo int
-
-
-
-
-
-
- inserisce in session un valore
-
-
-
-
-
-
- inserisce in session un valore
-
- nome della variabile
- valore associato
- indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd)
-
-
-
-
- svuota una variabile dalla session
-
-
-
-
-
- restituisce true se è presente in session l'oggetto richiesto
-
-
-
-
-
-
- restituisco un valore da cookie
-
-
-
-
-
-
- salvo un valore come cookie
-
-
-
-
-
-
-
- salvo un valore come cookie con expiry date esplicita
-
-
-
-
-
-
-
-
- elimina un cookie
-
-
-
-
-
- carica dalla Cache un dato di tipo object generico
-
-
-
-
-
-
- carica dalla Cachee un dato di tipo boolean (se vuoto false)
-
-
-
-
-
-
- carica dalla Cachee un dato di tipo string
-
-
-
-
-
-
- inserisce in Cache un valore
-
- nome della variabile
- valore
-
-
-
- inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update..
-
- nome della variabile
- valore
- da registrare come tabella da svuotare on update?
-
-
-
-
- svuota una variabile dalla Cache
-
-
-
-
-
- restituisce true se è presente in cache l'oggetto richiesto
-
-
-
-
-
-
- aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
-
-
-
-
-
- aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
-
-
-
-
-
-
- forza lo svuotamento delel tabelle indicate come in cache...
-
-
-
-
- elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
-
-
-
-
- elenco dictionary dei valori in session da NON aggiornare con update...
-
-
Base class for every user control in the application, containing some common
@@ -1688,54 +583,1261 @@
tipo di vista del modulo
-
+
- struttura di comando da input utente (es: via barcode)
+ classe gestione auth
-
+
- definisce se il comando sia valido o no
+ init dei table adapters
-
+
- testo da mostrare dato il comando
+ effettua setup dei connection strings da web.config delal singola applicazione
-
+
- comando registrato
+ Singleton accesso a authProxy
-
+
- comando precedentemente inserito
+ Tenta autologin con autoriconoscimento Dominio/username by cookie
+
+
+
+
+
+
+ formatta il secret code
+
+
+
+
+
+
+
+
+
+
+ crea un nuovo record device e salva un nuovo cookie su db x il dispositivo e l'utente richiesti
+
+
+
+
+
+
+
+
+
+
+
+
+
+ rimuove device da DB e toglie il cookie
+
+ secret associata al device
+
+
+
+
+ rimuove device da DB e toglie il cookie
+
+ Nome Device
+
+
+
+
+ imuove device da DB e toglie il cookie
+
+
+
+
+
+
+
+ classe con funzioni specifiche di calcolo
-
+
- descrizione del comando
+ inizializzazione classe
-
+
- descrizione del comando precedente
+ elenco dei caratteri base 36: 0..9A..Z
-
+
+
- valore del comando
+ converte da base di dimensione nBase a valore intero
+
+ valore in formato nBase
+ base, max 36 (0..9A..Z)
+
+
+
+
+ metodo di accesso singleton
-
+
- valore tradotto del comando
+ classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali
-
+
- costruttore del metodo...
+ valore originale
+
+
+
+
+ nuovo valore
+
+
+
+
+ dictionary dei parametri vecchi
+
+
+
+
+ dictionary dei parametri nuovi
+
+
+
+
+ inizializzazione classe
+
+
+
+
+ valorizza i diff dei valori old e new
+
+
+
+
+ calcola solo il vettore dei valori old (x delete)
+
+
+
+
+ oggetto statico per il confronto valori
+
+
+
+
+ stringa diff dei valori originali modificati
+
+
+
+
+ stringa diff dei valori nuovi modificati
+
+
+
+
+ dictionary dei parametri old
+
+
+
+
+ dictionary dei parametri new
+
+
+
+
+ classe di gestione lettura
+
+
+
+
+ esegue parsing fornendo dati ed headers
+
+
+
+
+
+
+
+ esegue parsing fornendo dati
+
+
+
+
+
+
+ esegue parsing fornendo dati come stream
+
+
+
+
+
+
+ esegue parsing fornendo dati come stream ed headers
+
+
+
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ classe di wrap verso i TableAdapter impiegati
+
+
+
+
+ metodo protected di avvio della classe
+
+
+
+
+ procedura di avvio dei tableAdapter
+
+
+
+
+ procedura di avvio dei tableAdapter
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ setup delle tabelle vocabolario
+
+
+
+
+ prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary
+
+
+
+
+
+ tableAdapter diritti
+
+
+
+
+ tableAdapter permessi
+
+
+
+
+ tableAdapter funzione
+
+
+
+
+ tableAdapter permessi2funzione
+
+
+
+
+ tableAdapter CdC
+
+
+
+
+ tableAdapter utenti
+
+
+
+
+ tableAdapter userData (user/pwd)
+
+
+
+
+ tableAdapter userDataExt (user/pwd)
+
+
+
+
+ table adapter lingue
+
+
+
+
+ table adapter vocabolario
+
+
+
+
+ table adapter versione vocabolario
+
+
+
+
+ table adapter versione anagrafica
+
+
+
+
+ table adapter Devices utente
+
+
+
+
+ oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione
+
+
+
+
+ resetta il vocabolario rileggendo i dati...
+
+
+
+
+ crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--"
+
+
+
+
+
+
+ classe singleton x la gestione dei tableadapters
+
+
+
+
+ elenco lingue ammesse da vocabolario...
+
+
+
+
+ classe di gestione dei db x creazione/update alla versione richiesta
+
+
+
+
+ oggetto connessione
+
+
+
+
+ stringa di connessione
+
+
+
+
+ dir che contiene gli script da eseguire...
+
+
+
+
+ formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql)
+
+
+
+
+ avvio protected della classe
+
+
+
+
+ esegue gli script di sql di update dal file richiesto
+
+
+
+
+
+
+
+ Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo
+
+ NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default
+
+ nome DB di cui cercare script
+ revisione di partenza
+ revisione di arrivo
+ timeout max per ogni operazione
+
+
+
+
+ verifica se il db indicato esiste o meno...
+
+
+
+
+
+
+
+ crea il db indicato con i parametri di connessione specificati
+
+
+
+
+
+
+
+ classe gestione parametri deviceper stampa
+
+
+
+
+ creazione oggetto parametri per stampa
+
+
+
+
+
+
+
+
+
+
+
+ formato output
+
+
+
+
+ altezza
+
+
+
+
+ larghezza
+
+
+
+
+ margine Sx
+
+
+
+
+ margine Dx
+
+
+
+
+ margine Top
+
+
+
+
+ margine Bottom
+
+
+
+
+ helper x raccolta dati di diagnostica
+
+
+
+
+ calcolo uptime in formato timespan
+
+
+
+
+
+ elenco devices USB
+
+
+
+
+
+ registra esito ping ad un dato IP/hostname
+
+ IPaddress / host name.
+
+
+
+ restituisce contenuto di una pagina web (per testing)
+
+
+
+
+
+
+ uptime macchina (formattato)
+
+
+
+
+ restituisce elenco dischi con utilizzo (formattato)
+
+
+
+
+
+ mostra elenco interfacce di rete e loro conf
+
+
+
+
+ fornisce elenco dispositivi USB collegati
+
+
+
+
+
+
+ elenco porte seriali
+
+
+
+
+ classe definizione info oggetti USB
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+
+
+
+
+ Update rows in top-down order.
+
+
+
+
+ Insert rows in top-down order.
+
+
+
+
+ Delete rows in bottom-up order.
+
+
+
+
+ Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
+
+
+
+
+ Update all changes to the dataset.
+
+
+
+
+ Update Order Option
+
+
+
+
+ Used to sort self-referenced table's rows
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ enumeratore modalità login
+
+
+
+
+ login AD normale
+
+
+
+
+ forza utente fornendo password
+
+
+
+
+ forza ad un utente standard scelto dall'elenco
+
+
+
+
+ enumeratore modalità scrittura tag siteMap
+
+
+
+
+ nodo di tipo iniziale - apertura
+
+
+
+
+ nodo di tipo foglia
+
+
+
+
+ nodo di tipo finale - chiusura
+
+
+
+
+ enumeratore tipi di anagrafica
+
+
+
+
+ tipo di anagrafica Brembo
+
+
+
+
+ tipo di anagrafica generica
+
+
+
+
+ tipo di vista del modulo
+
+
+
+
+ modalità selezione
+
+
+
+
+ modalità editing
+
+
+
+
+ modalità inserting nuovo valore
+
+
+
+
+ tipologia di file immagine
+
+
+
+
+ formato gif (no alpha channel)
+
+
+
+
+ formato jpeg
+
+
+
+
+ formato png
+
+
+
+
+ tipo di immagini usate per le icone di comando in web applications
+
+
+
+
+ icona annulla (croce rossa)
+
+
+
+
+ icona approva (simbolo coccarda)
+
+
+
+
+ icona barcode in campo bianco
+
+
+
+
+ icona barcode in campo arancio
+
+
+
+
+ icona clona (magic wand)
+
+
+
+
+ icona converma (spunta verde)
+
+
+
+
+ icona elimina (cestino)
+
+
+
+
+ icona modifica (matita)
+
+
+
+
+ icona notepad (blocco note)
+
+
+
+
+ icona notepad + pdf (blocco note)
+
+
+
+
+ icona nuovo (segno +)
+
+
+
+
+ icona seleziona (lente)
+
+
+
+
+ icona semaforo giallo
+
+
+
+
+ icona semaforo rosso
+
+
+
+
+ icona semaforo verde
+
+
+
+
+ icona stampa (printer)
+
+
+
+
+ dimensione immagini usate per le icone di comando in web applications
+
+
+
+
+ formato piccolo
+
+
+
+
+ formato medio
+
+
+
+
+ formato grande
+
+
+
+
+ modalità di esecuzione applicativi
+
+
+
+
+ modalità normale
+
+
+
+
+ modalità debug
+
+
+
+
+ salvataggio di tutti i lemmi tradotti
@@ -2060,131 +2162,830 @@
versione statica (singleton) del'oggetto fileMover
-
-
- Represents a strongly typed in-memory cache of data.
+
+
+ struttura di comando da input utente (es: via barcode)
-
-
- Represents the strongly named DataTable class.
+
+
+ definisce se il comando sia valido o no
-
-
- Represents the strongly named DataTable class.
+
+
+ testo da mostrare dato il comando
-
-
- Represents the strongly named DataTable class.
+
+
+ comando registrato
-
-
- Represents the strongly named DataTable class.
+
+
+ comando precedentemente inserito
-
-
- Represents the strongly named DataTable class.
+
+
+ descrizione del comando
-
-
- Represents the strongly named DataTable class.
+
+
+ descrizione del comando precedente
-
-
- Represents strongly named DataRow class.
+
+
+ valore del comando
-
-
- Represents strongly named DataRow class.
+
+
+ valore tradotto del comando
-
-
- Represents strongly named DataRow class.
+
+
+ costruttore del metodo...
-
-
- Represents strongly named DataRow class.
+
+
+ gestione licenze applicativi
-
-
- Represents strongly named DataRow class.
+
+
+ numero di licenze attive per cliente/applicativo
+
+
+
+
+
+
+
+ Fornisce chiave MD5 x un cliente/applicativo/expiryDate
+
+
+
+
+
+
+
+
+
+ restituisce data decodificata da authKey + applicazione + cliente...
+
+
+
+
+
+
+
+
+
+ classe gestione logging esteso di eventi e note utente (correlabili)
-
-
- Represents strongly named DataRow class.
+
+
+ TableAdapter di accesso alla tabella anagrafica filtraggi
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla tabella anagrafica record
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla tabella logging record di eventi
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla tabella logging utente
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla vista logging eventi
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla vista logging utente
-
-
- Row event argument class
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ avvio i tari tableAdapters
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ avvio della classe istanziando db e
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ oggetto statico di accesso ai metodi della classe...
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ tabella eventi
+
+
+
+
+
+ tabella note
+
+
+
+
+
+ tabella eventi secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ tabella note secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+
+ tabella note secondo filtro e condizione ulteriore WHERE esplicitata
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+
+ tabella note secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ inserisce l'evento indicato dai parametri
+
+ user che ha generato l'evento
+ pagina/form applicaizone in cui l'evento si è generato
+ valore originale(se c'è)
+ valore nuovo/modificato
+ descrizione evento (poi gestita con anagrafica interna)
+ filtro logico evento (poi gestita con anagrafica interna)
+
+
+
+ inserisce la nota utente indicata dai parametri, restituisce idx della nota creata...
+
+ user che ha inserito la nota
+ testo della nota
+ valore ulteriore da associare alla nota (es: label, codice, versione, ...)
+ filtro logico evento (poi gestita con anagrafica interna)
+ intero dell'idx della nota creata
+
+
+
+ associa l'evento e la nota indicati
+
+ idx del record da associare
+ idx chiave della nota da associare
+
+
+
+ associa l'ultimo evento del filtro indicato alla nota
+
+ filtro associato all'ultimo evento...
+ idx chiave della nota da associare
+
+
+
+ segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
+
+ utente generatore dell'evento
+
+
+
+ segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
+
+ utente generatore dell'evento
+
+
+
+ Elimina gli eventi cestinati generati dall'utente indicato
+
+ utente generatore dell'evento
+
+
+
+ Elimina gli eventi cestinati anteriori alla data selezionata
+
+ dataOra dell'evento
+
+
+
+ effettua la registrazione dell'evento in session
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ metodo di comportamento del controllo di logging
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ nasconde pannello log
+
+
+ memorizza log inserito
+
+
+
+
+ mostra pannello log
+
+
+
+
+ metodo di comportamento del controllo di logging
+
+
+
+
+ indica il primo step del doppio livello di approvazione (completamento)
+
+
+
+
+ SOLO con incremento indice di revisione dell'oggetto approvato
+
+
+
+
+ SOLO mantenendo indice di revisione corrente
+
+
+
+
+ permette SIA con revisione che senza (e anche rev -1)
+
+
+
+
+ classe gesione log files applicazioni
+
+
+
+
+ directory base x logs
+
+
+
+
+ nome del file corrente
+
+
+
+
+ max mb di log da accumulare
+
+
+
+
+ controlla se si debba mantenere sotto controllo la dimensioen della cartella logs
+
+
+
+
+ singleton del logger
+
+
+
+
+ avvio del logger nella dir desiderata
+
+
+
+
+ avvio del logger nella dir desiderata
+
+
+
+
+ avvio del logger nella dir desiderata con il max di dati indicato
+
+
+
+
+ resetta il logfile odierno
+
+
+
+
+ scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?)
+
+ testo iniziale del log
+
+
+
+
+ scrive un messaggio di log con etichetta pre
+
+ testo messaggio
+ tipo di log da registrare (etichetta [...])
+
+
+
+
+ scrive su log un dump di diagnostica
+
+ Causale diagnostica
+ target per test PING
+ target x download www page
+
+
+
+ formatta un blococ di diagnostica (titolo, contenuto / eccezione)
+
+
+
+
+
+
+
+ fornisce il nome del file in cui loggare (ed eventualmente crea...)
+
+
+
+
+ provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb
+
+
+
+
+ fornisce il file + vecchio
+
+
+
+
+
+
+ livello di log applicazione (da web.config, chiave '_logLevel')
+
+
+
+
+ tipo di log ammesso
+
+
+
+
+ informazioni di debug
+
+
+
+
+ dump diagnostica
+
+
+
+
+ errori
+
+
+
+
+ eccezioni nell'esecuzione try/catch
+
+
+
+
+ errori fatali
+
+
+
+
+ informazioni opzionali
+
+
+
+
+ log dei lemmi invocati per traduzione da vocabolario
+
+
+
+
+ fase di avvio componente
+
+
+
+
+ avvisi
+
+
+
+
+ layer gestione vari tipi di memoria: cache, session...
+
+
+
+
+ lettore file configurazione
+
+
+
+
+ oggetto singleton x accesso al layer di memoria
+
+
+
+
+ classe gestione accessi a Session, cache, viewstate, configuration...
+
+
+
+
+ legge dalla config un valore bool
+
+
+
+
+
+
+ legge dalla config un valore string
+
+
+
+
+
+
+ legge dalla config un valore int
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo object generico
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo boolean (se vuoto false)
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo string
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo long
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo int
+
+
+
+
+
+
+ inserisce in session un valore
+
+
+
+
+
+
+ inserisce in session un valore
+
+ nome della variabile
+ valore associato
+ indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd)
+
+
+
+
+ svuota una variabile dalla session
+
+
+
+
+
+ restituisce true se è presente in session l'oggetto richiesto
+
+
+
+
+
+
+ restituisco un valore da cookie
+
+
+
+
+
+
+ salvo un valore come cookie
+
+
+
+
+
+
+
+ salvo un valore come cookie con expiry date esplicita
+
+
+
+
+
+
+
+
+ elimina un cookie
+
+
+
+
+
+ carica dalla Cache un dato di tipo object generico
+
+
+
+
+
+
+ carica dalla Cachee un dato di tipo boolean (se vuoto false)
+
+
+
+
+
+
+ carica dalla Cachee un dato di tipo string
+
+
+
+
+
+
+ inserisce in Cache un valore
+
+ nome della variabile
+ valore
+
+
+
+ inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update..
+
+ nome della variabile
+ valore
+ da registrare come tabella da svuotare on update?
+
+
+
+
+ svuota una variabile dalla Cache
+
+
+
+
+
+ restituisce true se è presente in cache l'oggetto richiesto
+
+
+
+
+
+
+ aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
+
+
+
+
+
+ aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
+
+
+
+
+
+
+ forza lo svuotamento delel tabelle indicate come in cache...
+
+
+
+
+ elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+
+
+
+
+ elenco dictionary dei valori in session da NON aggiornare con update...
+
+
+
+
+ tipo di chart (2D/3D)
+
+
+
+
+ 2D
+
+
+
+
+ 3D
+
+
+
+
+ web control che disegna un grafico a torta
+
+
+
+
+ altezza di default
+
+
+
+
+ larghezza di default
+
+
+
+
+ padding di default
+
+
+
+
+ legenda visibile di default
+
+
+
+
+ soglia minima 5% per mostrare il dato
+
+
+
+
+ renderizza il contenuto
+
+
+
+
+
+ disegna la leggenda html laterale...
+
+
+
+
+
+ disegna piechart 2-dim
+
+
+
+
+
+ disegna piechart 3d ellittica
+
+
+
+
+
+ traduce la stringa colore in oggetto colore
+
+
+
+
+
+
+ converte intero a stringa esadecimale
+
+
+
+
+
+
+ converte stringa esadecimale a intero
+
+
+
+
+
+
+ tipo di grafico (2D/3D)
+
+
+
+
+ ampiezza del grafico
+
+
+
+
+ altezza del grafico
+
+
+
+
+ padding grafico/container
+
+
+
+
+ boolean se si debba mostrale la legenda
+
+
+
+
+ percentuale minima da mostrare
+
+
+
+
+ serie di dati (tipizzata) ma mostrare
+
+
+
+
+ testo associato al controllo
+
+
+
+
+ Summary description for selettori
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ carica i dati CdC se in cache o da TableAdapter
+
+
+
+
+ restituisce l'elenco di tutti i cdc
+
+
+
+
+
+ restituisce l'elenco di tutti i cdc della gerarchia dell'utente
+
+
+
classe gestione utente: auth e permission/ruoli - versione GENERICA
@@ -2580,1209 +3381,408 @@
è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
-
+
- gestione licenze applicativi
+ struttura che definisce i parametri di un turno di lavoro
-
+
- numero di licenze attive per cliente/applicativo
+ definisce un intervalo di 2 date
-
-
+
+
+
+ data inizio
+
+
+
+
+ data fine
+
+
+
+
+ indica se sia valido il dato, ovvero inizio e fine > 0 e FINE >= INIZIO
+
+
+
+
+ struttura orario ordinarie/strordinarie
+
+
+
+
+ ore ordinarie
+
+
+
+
+ ore straordinarie
+
+
+
+
+ classe di funzioni inerenti le date
+
+
+
+
+ inizializzazione empty
+
+
+
+
+ calcola il turno di riferimento data una data di riferimento
+
+
-
+
- Fornisce chiave MD5 x un cliente/applicativo/expiryDate
+ costruisce un oggetto intervallo date
-
-
-
-
+
+
-
+
- restituisce data decodificata da authKey + applicazione + cliente...
+ effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine
-
-
-
-
+
+
-
+
- classe gesione log files applicazioni
+ oggetto mese precedente alla dataLilmite
+
-
+
- directory base x logs
+ oggetto mese corrente fino alla dataLilmite
+
-
+
- nome del file corrente
+ confronta le date e restituisce true se le date sono nello stesso mese
-
-
-
- max mb di log da accumulare
-
-
-
-
- controlla se si debba mantenere sotto controllo la dimensioen della cartella logs
-
-
-
-
- singleton del logger
-
-
-
-
- avvio del logger nella dir desiderata
-
-
-
-
- avvio del logger nella dir desiderata
-
-
-
-
- avvio del logger nella dir desiderata con il max di dati indicato
-
-
-
-
- resetta il logfile odierno
-
-
-
-
- scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?)
-
- testo iniziale del log
+
+
-
+
- scrive un messaggio di log con etichetta pre
-
- testo messaggio
- tipo di log da registrare (etichetta [...])
-
-
-
-
- scrive su log un dump di diagnostica
-
- Causale diagnostica
- target per test PING
- target x download www page
-
-
-
- formatta un blococ di diagnostica (titolo, contenuto / eccezione)
-
-
-
-
-
-
-
- fornisce il nome del file in cui loggare (ed eventualmente crea...)
-
-
-
-
- provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb
-
-
-
-
- fornisce il file + vecchio
-
-
-
-
-
-
- livello di log applicazione (da web.config, chiave '_logLevel')
-
-
-
-
- tipo di log ammesso
-
-
-
-
- informazioni di debug
-
-
-
-
- dump diagnostica
-
-
-
-
- errori
-
-
-
-
- eccezioni nell'esecuzione try/catch
-
-
-
-
- errori fatali
-
-
-
-
- informazioni opzionali
-
-
-
-
- log dei lemmi invocati per traduzione da vocabolario
-
-
-
-
- fase di avvio componente
-
-
-
-
- avvisi
-
-
-
-
- Represents a strongly typed in-memory cache of data.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- classe di gestione lettura
-
-
-
-
- esegue parsing fornendo dati ed headers
-
-
-
-
-
-
-
- esegue parsing fornendo dati
+ restituisce l'intervallo del giorno completo che comprende la data indicata
-
+
- esegue parsing fornendo dati come stream
+ restituisce l'intervallo di N giorni fino alla data indicata
-
+
+
-
+
- esegue parsing fornendo dati come stream ed headers
+ restituisce l'intervallo della settimana corrente per la data indicata
-
-
+
-
+
- Summary description for selettori
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- carica i dati CdC se in cache o da TableAdapter
-
-
-
-
- restituisce l'elenco di tutti i cdc
+ restituisce l'intervallo del mese corrente per la data indicata (dal giorno 1 all'indomani delal data indicata)
+
-
+
- restituisce l'elenco di tutti i cdc della gerarchia dell'utente
+ restituisce l'intervallo del mese che comprende la data indicata (dal primo all'ultimo giorno)
+
-
+
- classe gestione parametri deviceper stampa
-
-
-
-
- creazione oggetto parametri per stampa
-
-
-
-
-
-
-
-
-
-
-
- formato output
-
-
-
-
- altezza
-
-
-
-
- larghezza
-
-
-
-
- margine Sx
-
-
-
-
- margine Dx
-
-
-
-
- margine Top
-
-
-
-
- margine Bottom
-
-
-
-
- classe gestione logging esteso di eventi e note utente (correlabili)
-
-
-
-
- TableAdapter di accesso alla tabella anagrafica filtraggi
-
-
-
-
- TableAdapter di accesso alla tabella anagrafica record
-
-
-
-
- TableAdapter di accesso alla tabella logging record di eventi
-
-
-
-
- TableAdapter di accesso alla tabella logging utente
-
-
-
-
- TableAdapter di accesso alla vista logging eventi
-
-
-
-
- TableAdapter di accesso alla vista logging utente
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- avvio i tari tableAdapters
-
-
-
-
- avvio della classe istanziando db e
-
-
-
-
- oggetto statico di accesso ai metodi della classe...
-
-
-
-
- tabella eventi
+ restituisce l'intervallo dell'anno corrente per la data indicata
+
-
+
- tabella note
+ oggetto singleton
+
+
+
+ classe di gestione delle email
+
+
+
+
+ stringa del nome DNS o dell'ip del server SMTP
+
+
+
+
+ stringa username x server SMTP
+
+
+
+
+ stringa pwd x server SMTP
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+
+ procedura invio email
+
+ email mittente
+ email destinatario
+ oggetto dell'email
+ corpo del messaggio
+
+
+
+ procedura invio email + scrittura in log!
+
+ email mittente
+ email destinatario
+ oggetto dell'email
+ corpo del messaggio
+
+
+
+ metodo singleton gestione email...
+
+
+
+
+ metodo singleton gestione email CON AUTH utente...
+
+
+
+
+ Tipo di comparazione, Binary == CaseSensitive, Text = insensitive
+
+
+
+
+ tipo controllo : binario
+
+
+
+
+ tipo controllo : text
+
+
+
+
+ Funzione di splitting compatibile con multi-character e multi-line
+
+
+
+
+ stringa da splittare
+
+
+
+
+ Delimiter con cui splittare
+
+
+
+
+ Costruttore dello Splitter
+
+
+
+
+ comparatore case sensitive
+
+
+
-
+
- tabella eventi secondo filtro
+ comparatore case insensitive
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
-
+
- tabella note secondo filtro
+ parte principale dello splitter
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ stringa da splittare
+ delimitatore ricercato
+ true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base)
+
+ 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive
-
+
- tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata
+ elimina dal nome file il tipo (desinenza)
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
- ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
-
+
- tabella note secondo filtro e condizione ulteriore WHERE esplicitata
+ Classe di metodi che estendono quelli base applicati alle string
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
- ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+ Trasforma in MAIUSCOLo il primo carattere della stringa
+
+ stringa da processare
+ stringa processata
+
+
+
+ restituisce la stringa completa e corretta del filepath del server (anche con vDir)
+
+ path relativo alla cartella iis dell'applicativo
+ path fisico tradotto
+
+
+
+ effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi
+
+
-
+
- tabella note secondo filtro
+ restituisce una stringa uguale all'originale + terminazione newline
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
-
+
- inserisce l'evento indicato dai parametri
-
- user che ha generato l'evento
- pagina/form applicaizone in cui l'evento si è generato
- valore originale(se c'è)
- valore nuovo/modificato
- descrizione evento (poi gestita con anagrafica interna)
- filtro logico evento (poi gestita con anagrafica interna)
-
-
-
- inserisce la nota utente indicata dai parametri, restituisce idx della nota creata...
-
- user che ha inserito la nota
- testo della nota
- valore ulteriore da associare alla nota (es: label, codice, versione, ...)
- filtro logico evento (poi gestita con anagrafica interna)
- intero dell'idx della nota creata
-
-
-
- associa l'evento e la nota indicati
-
- idx del record da associare
- idx chiave della nota da associare
-
-
-
- associa l'ultimo evento del filtro indicato alla nota
-
- filtro associato all'ultimo evento...
- idx chiave della nota da associare
-
-
-
- segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
-
- utente generatore dell'evento
-
-
-
- segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
-
- utente generatore dell'evento
-
-
-
- Elimina gli eventi cestinati generati dall'utente indicato
-
- utente generatore dell'evento
-
-
-
- Elimina gli eventi cestinati anteriori alla data selezionata
-
- dataOra dell'evento
-
-
-
- effettua la registrazione dell'evento in session
-
-
-
-
- metodo di comportamento del controllo di logging
-
-
-
-
- nasconde pannello log
-
-
-
-
- memorizza log inserito
-
-
-
-
- mostra pannello log
-
-
-
-
- metodo di comportamento del controllo di logging
-
-
-
-
- indica il primo step del doppio livello di approvazione (completamento)
-
-
-
-
- SOLO con incremento indice di revisione dell'oggetto approvato
-
-
-
-
- SOLO mantenendo indice di revisione corrente
-
-
-
-
- permette SIA con revisione che senza (e anche rev -1)
-
-
-
-
- enumeratore modalità login
-
-
-
-
- login AD normale
-
-
-
-
- forza utente fornendo password
-
-
-
-
- forza ad un utente standard scelto dall'elenco
-
-
-
-
- enumeratore modalità scrittura tag siteMap
-
-
-
-
- nodo di tipo iniziale - apertura
-
-
-
-
- nodo di tipo foglia
-
-
-
-
- nodo di tipo finale - chiusura
-
-
-
-
- enumeratore tipi di anagrafica
-
-
-
-
- tipo di anagrafica Brembo
-
-
-
-
- tipo di anagrafica generica
-
-
-
-
- tipo di vista del modulo
-
-
-
-
- modalità selezione
-
-
-
-
- modalità editing
-
-
-
-
- modalità inserting nuovo valore
-
-
-
-
- tipologia di file immagine
-
-
-
-
- formato gif (no alpha channel)
-
-
-
-
- formato jpeg
-
-
-
-
- formato png
-
-
-
-
- tipo di immagini usate per le icone di comando in web applications
-
-
-
-
- icona annulla (croce rossa)
-
-
-
-
- icona approva (simbolo coccarda)
-
-
-
-
- icona barcode in campo bianco
-
-
-
-
- icona barcode in campo arancio
-
-
-
-
- icona clona (magic wand)
-
-
-
-
- icona converma (spunta verde)
-
-
-
-
- icona elimina (cestino)
-
-
-
-
- icona modifica (matita)
-
-
-
-
- icona notepad (blocco note)
-
-
-
-
- icona notepad + pdf (blocco note)
-
-
-
-
- icona nuovo (segno +)
-
-
-
-
- icona seleziona (lente)
-
-
-
-
- icona semaforo giallo
-
-
-
-
- icona semaforo rosso
-
-
-
-
- icona semaforo verde
-
-
-
-
- icona stampa (printer)
-
-
-
-
- dimensione immagini usate per le icone di comando in web applications
-
-
-
-
- formato piccolo
-
-
-
-
- formato medio
-
-
-
-
- formato grande
-
-
-
-
- modalità di esecuzione applicativi
-
-
-
-
- modalità normale
-
-
-
-
- modalità debug
-
-
-
-
- salvataggio di tutti i lemmi tradotti
-
-
-
-
- helper x raccolta dati di diagnostica
-
-
-
-
- calcolo uptime in formato timespan
+ formatta un titolo
+ Titolo da scrivere
+ carattere x padding titolo
+ larghezza caratteri (x pad)
-
+
- elenco devices USB
+ formatta una riga di caratteri
+ carattere da utilizzare
+ larghezza caratteri (x pad)
-
+
- registra esito ping ad un dato IP/hostname
+ fornisce dati di base per l'utente
- IPaddress / host name.
-
+
- restituisce contenuto di una pagina web (per testing)
+ fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE
-
+
-
+
- uptime macchina (formattato)
-
-
-
-
- restituisce elenco dischi con utilizzo (formattato)
+ restituisce la riga completa dall'username richiesto
+
-
+
+
- mostra elenco interfacce di rete e loro conf
+ calcola il nome del computer dato l'IP
-
-
-
- fornisce elenco dispositivi USB collegati
-
-
+
-
+
- elenco porte seriali
-
-
-
-
- classe definizione info oggetti USB
-
-
-
-
- classe di wrap verso i TableAdapter impiegati
-
-
-
-
- metodo protected di avvio della classe
-
-
-
-
- procedura di avvio dei tableAdapter
-
-
-
-
- procedura di avvio dei tableAdapter
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- setup delle tabelle vocabolario
-
-
-
-
- prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary
+ scarica una pagina da URL e fornisce testo string
+ Indirizzo pagina (completo)
+ username (se necessario)
+ password (se necessaria)
-
+
- tableAdapter diritti
+ manda pacchetto ARP
-
-
-
- tableAdapter permessi
-
-
-
-
- tableAdapter funzione
-
-
-
-
- tableAdapter permessi2funzione
-
-
-
-
- tableAdapter CdC
-
-
-
-
- tableAdapter utenti
-
-
-
-
- tableAdapter userData (user/pwd)
-
-
-
-
- tableAdapter userDataExt (user/pwd)
-
-
-
-
- table adapter lingue
-
-
-
-
- table adapter vocabolario
-
-
-
-
- table adapter versione vocabolario
-
-
-
-
- table adapter versione anagrafica
-
-
-
-
- table adapter Devices utente
-
-
-
-
- oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione
-
-
-
-
- resetta il vocabolario rileggendo i dati...
-
-
-
-
- crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--"
-
-
+
+
+
+
-
+
- classe singleton x la gestione dei tableadapters
+ fornisce mac address dato nome/IP
+
+
+
+
+
+
+ utils x cifrature e Crypto
-
+
- elenco lingue ammesse da vocabolario...
+ cifra un messaggio con una password
+
+
+
-
+
- classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali
-
-
-
-
- valore originale
-
-
-
-
- nuovo valore
-
-
-
-
- dictionary dei parametri vecchi
-
-
-
-
- dictionary dei parametri nuovi
-
-
-
-
- inizializzazione classe
-
-
-
-
- valorizza i diff dei valori old e new
-
-
-
-
- calcola solo il vettore dei valori old (x delete)
-
-
-
-
- oggetto statico per il confronto valori
-
-
-
-
- stringa diff dei valori originali modificati
-
-
-
-
- stringa diff dei valori nuovi modificati
-
-
-
-
- dictionary dei parametri old
-
-
-
-
- dictionary dei parametri new
+ decifra un messaggio con una password
+
+
+
diff --git a/GMW/managerSAO.aspx.cs b/GMW/managerSAO.aspx.cs
index c2302610..9aadd719 100644
--- a/GMW/managerSAO.aspx.cs
+++ b/GMW/managerSAO.aspx.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
+using SteamWare;
namespace GMW
{
@@ -11,6 +12,15 @@ namespace GMW
{
protected void Page_Load(object sender, EventArgs e)
{
+ if (!Page.IsPostBack)
+ {
+ // imposto periodo a ultimi 7 gg...
+ intervalloDate periodoSett = new intervalloDate();
+ periodoSett.fine = DateTime.Now.Date.AddDays(1);
+ periodoSett.inizio = periodoSett.fine.AddDays(-7);
+ mod_manSAO1.intAnalisiSAO = periodoSett;
+ }
+ // determina che può scegliere le postazioni...
mod_manSAO1.canSelPost = true;
}
}
diff --git a/GMW_Term/Web.config b/GMW_Term/Web.config
index a917c70f..55512685 100644
--- a/GMW_Term/Web.config
+++ b/GMW_Term/Web.config
@@ -58,7 +58,7 @@
-
+
diff --git a/GMW_Term/WebUserControls/mod_listePrelievo.ascx b/GMW_Term/WebUserControls/mod_listePrelievo.ascx
index 42f629b1..d0554f6d 100644
--- a/GMW_Term/WebUserControls/mod_listePrelievo.ascx
+++ b/GMW_Term/WebUserControls/mod_listePrelievo.ascx
@@ -93,6 +93,7 @@
+
diff --git a/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs b/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs
index 30747363..ed5d7dc1 100644
--- a/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs
+++ b/GMW_Term/WebUserControls/mod_listePrelievo.ascx.designer.cs
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:2.0.50727.4963
//
// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// the code is regenerated.
//
//------------------------------------------------------------------------------
diff --git a/GMW_Term/WebUserControls/mod_smartList.ascx.cs b/GMW_Term/WebUserControls/mod_smartList.ascx.cs
index 3359e7d8..99f0a103 100644
--- a/GMW_Term/WebUserControls/mod_smartList.ascx.cs
+++ b/GMW_Term/WebUserControls/mod_smartList.ascx.cs
@@ -40,8 +40,10 @@ namespace GMW_Term.WebUserControls
string barcode = memLayer.ML.StringSessionObj("UDC_sel");
string particolare = "";
bool barcodeOk = MagClass.magazzino.checkUDC(barcode);
+ bool checkUDC_mov = MagClass.magazzino.checkUDC_mov(barcode); //2013.07.24 aggiunto controllo x movimentabile poiché NON in LDP scaricata
+ bool udcIsConsumabile = MagClass.magazzino.idxPosizioneUdc(barcode) >= 0; //2013.07.24 aggiunto controllo x sapere se sia consumabile (idxPosizione > 0)
bool udcPrelevabile = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count == 0);
- if (barcodeOk && udcPrelevabile)
+ if (barcodeOk && checkUDC_mov && udcIsConsumabile && udcPrelevabile)
{
try
{
@@ -99,9 +101,20 @@ namespace GMW_Term.WebUserControls
{
if (barcode != "")
{
- // indico barcode già caricato
lblErrore.Visible = true;
- lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcGiaPrelevato"));
+ if (!udcIsConsumabile)
+ {
+ lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcConsumato"));
+ }
+ else if (!checkUDC_mov)
+ {
+ lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcInLdpScaricata"));
+ }
+ else
+ {
+ // indico barcode già caricato
+ lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcGiaPrelevato"));
+ }
}
}
/* ***************************************************
@@ -114,7 +127,7 @@ namespace GMW_Term.WebUserControls
lblTotColli.Text = traduci("lblTotColli");
lblNumColli.Text = string.Format("{0} UDC", MagClass.magazzino.taRigheListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count);
lblParticolari.Text = traduci("lblParticolari");
- lblNumPart.Text = string.Format("{0} {1}", MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count, traduci("Particolari"));
+ lblNumPart.Text = string.Format("{0} {1}", MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count, traduci("Particolari"));
}
///
/// Generazione delle liste di prelievo
diff --git a/GMW_Term/bin/GMW_Term.dll b/GMW_Term/bin/GMW_Term.dll
index 03d7aee3..9c807759 100644
Binary files a/GMW_Term/bin/GMW_Term.dll and b/GMW_Term/bin/GMW_Term.dll differ
diff --git a/GMW_Term/bin/GMW_data.dll b/GMW_Term/bin/GMW_data.dll
index 0c319f0b..547c46a1 100644
Binary files a/GMW_Term/bin/GMW_data.dll and b/GMW_Term/bin/GMW_data.dll differ
diff --git a/GMW_Term/bin/SteamWare.dll b/GMW_Term/bin/SteamWare.dll
index a5ace7f5..d6920ce8 100644
Binary files a/GMW_Term/bin/SteamWare.dll and b/GMW_Term/bin/SteamWare.dll differ
diff --git a/GMW_data/DS_cartellini.Designer.cs b/GMW_data/DS_cartellini.Designer.cs
index 55c94275..ff10d139 100644
--- a/GMW_data/DS_cartellini.Designer.cs
+++ b/GMW_data/DS_cartellini.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.18033
+// Runtime Version:4.0.30319.33440
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -38,6 +38,8 @@ namespace GMW_data {
private stp_prtCartFinitiByUDCDataTable tablestp_prtCartFinitiByUDC;
+ private PrintJobQueueDataTable tablePrintJobQueue;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -87,6 +89,9 @@ namespace GMW_data {
if ((ds.Tables["stp_prtCartFinitiByUDC"] != null)) {
base.Tables.Add(new stp_prtCartFinitiByUDCDataTable(ds.Tables["stp_prtCartFinitiByUDC"]));
}
+ if ((ds.Tables["PrintJobQueue"] != null)) {
+ base.Tables.Add(new PrintJobQueueDataTable(ds.Tables["PrintJobQueue"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -175,6 +180,16 @@ namespace GMW_data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public PrintJobQueueDataTable PrintJobQueue {
+ get {
+ return this.tablePrintJobQueue;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -263,6 +278,9 @@ namespace GMW_data {
if ((ds.Tables["stp_prtCartFinitiByUDC"] != null)) {
base.Tables.Add(new stp_prtCartFinitiByUDCDataTable(ds.Tables["stp_prtCartFinitiByUDC"]));
}
+ if ((ds.Tables["PrintJobQueue"] != null)) {
+ base.Tables.Add(new PrintJobQueueDataTable(ds.Tables["PrintJobQueue"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -338,6 +356,12 @@ namespace GMW_data {
this.tablestp_prtCartFinitiByUDC.InitVars();
}
}
+ this.tablePrintJobQueue = ((PrintJobQueueDataTable)(base.Tables["PrintJobQueue"]));
+ if ((initTable == true)) {
+ if ((this.tablePrintJobQueue != null)) {
+ this.tablePrintJobQueue.InitVars();
+ }
+ }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -362,6 +386,8 @@ namespace GMW_data {
base.Tables.Add(this.tablestp_prtCartFusiByUDC);
this.tablestp_prtCartFinitiByUDC = new stp_prtCartFinitiByUDCDataTable();
base.Tables.Add(this.tablestp_prtCartFinitiByUDC);
+ this.tablePrintJobQueue = new PrintJobQueueDataTable();
+ base.Tables.Add(this.tablePrintJobQueue);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -406,6 +432,12 @@ namespace GMW_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializePrintJobQueue() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -482,6 +514,9 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void stp_prtCartFinitiByUDCRowChangeEventHandler(object sender, stp_prtCartFinitiByUDCRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void PrintJobQueueRowChangeEventHandler(object sender, PrintJobQueueRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -5715,6 +5750,374 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class PrintJobQueueDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxPrintJob;
+
+ private global::System.Data.DataColumn columnTipoCart;
+
+ private global::System.Data.DataColumn columnUDC;
+
+ private global::System.Data.DataColumn columnprtName;
+
+ private global::System.Data.DataColumn columndtStart;
+
+ private global::System.Data.DataColumn columndtEnd;
+
+ private global::System.Data.DataColumn columnstato;
+
+ private global::System.Data.DataColumn columndtLastTry;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueDataTable() {
+ this.TableName = "PrintJobQueue";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal PrintJobQueueDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected PrintJobQueueDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxPrintJobColumn {
+ get {
+ return this.columnIdxPrintJob;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TipoCartColumn {
+ get {
+ return this.columnTipoCart;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UDCColumn {
+ get {
+ return this.columnUDC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn prtNameColumn {
+ get {
+ return this.columnprtName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn dtStartColumn {
+ get {
+ return this.columndtStart;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn dtEndColumn {
+ get {
+ return this.columndtEnd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn statoColumn {
+ get {
+ return this.columnstato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn dtLastTryColumn {
+ get {
+ return this.columndtLastTry;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueRow this[int index] {
+ get {
+ return ((PrintJobQueueRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event PrintJobQueueRowChangeEventHandler PrintJobQueueRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event PrintJobQueueRowChangeEventHandler PrintJobQueueRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event PrintJobQueueRowChangeEventHandler PrintJobQueueRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event PrintJobQueueRowChangeEventHandler PrintJobQueueRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddPrintJobQueueRow(PrintJobQueueRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueRow AddPrintJobQueueRow(string TipoCart, string UDC, string prtName, System.DateTime dtStart, System.DateTime dtEnd, int stato, System.DateTime dtLastTry) {
+ PrintJobQueueRow rowPrintJobQueueRow = ((PrintJobQueueRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ TipoCart,
+ UDC,
+ prtName,
+ dtStart,
+ dtEnd,
+ stato,
+ dtLastTry};
+ rowPrintJobQueueRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowPrintJobQueueRow);
+ return rowPrintJobQueueRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueRow FindByIdxPrintJob(int IdxPrintJob) {
+ return ((PrintJobQueueRow)(this.Rows.Find(new object[] {
+ IdxPrintJob})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ PrintJobQueueDataTable cln = ((PrintJobQueueDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new PrintJobQueueDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxPrintJob = base.Columns["IdxPrintJob"];
+ this.columnTipoCart = base.Columns["TipoCart"];
+ this.columnUDC = base.Columns["UDC"];
+ this.columnprtName = base.Columns["prtName"];
+ this.columndtStart = base.Columns["dtStart"];
+ this.columndtEnd = base.Columns["dtEnd"];
+ this.columnstato = base.Columns["stato"];
+ this.columndtLastTry = base.Columns["dtLastTry"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxPrintJob = new global::System.Data.DataColumn("IdxPrintJob", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxPrintJob);
+ this.columnTipoCart = new global::System.Data.DataColumn("TipoCart", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTipoCart);
+ this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUDC);
+ this.columnprtName = new global::System.Data.DataColumn("prtName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnprtName);
+ this.columndtStart = new global::System.Data.DataColumn("dtStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndtStart);
+ this.columndtEnd = new global::System.Data.DataColumn("dtEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndtEnd);
+ this.columnstato = new global::System.Data.DataColumn("stato", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnstato);
+ this.columndtLastTry = new global::System.Data.DataColumn("dtLastTry", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndtLastTry);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxPrintJob}, true));
+ this.columnIdxPrintJob.AutoIncrement = true;
+ this.columnIdxPrintJob.AutoIncrementSeed = -1;
+ this.columnIdxPrintJob.AutoIncrementStep = -1;
+ this.columnIdxPrintJob.AllowDBNull = false;
+ this.columnIdxPrintJob.ReadOnly = true;
+ this.columnIdxPrintJob.Unique = true;
+ this.columnTipoCart.AllowDBNull = false;
+ this.columnTipoCart.MaxLength = 250;
+ this.columnUDC.AllowDBNull = false;
+ this.columnUDC.MaxLength = 50;
+ this.columnprtName.AllowDBNull = false;
+ this.columnprtName.MaxLength = 500;
+ this.columndtStart.AllowDBNull = false;
+ this.columnstato.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueRow NewPrintJobQueueRow() {
+ return ((PrintJobQueueRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new PrintJobQueueRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(PrintJobQueueRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.PrintJobQueueRowChanged != null)) {
+ this.PrintJobQueueRowChanged(this, new PrintJobQueueRowChangeEvent(((PrintJobQueueRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.PrintJobQueueRowChanging != null)) {
+ this.PrintJobQueueRowChanging(this, new PrintJobQueueRowChangeEvent(((PrintJobQueueRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.PrintJobQueueRowDeleted != null)) {
+ this.PrintJobQueueRowDeleted(this, new PrintJobQueueRowChangeEvent(((PrintJobQueueRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.PrintJobQueueRowDeleting != null)) {
+ this.PrintJobQueueRowDeleting(this, new PrintJobQueueRowChangeEvent(((PrintJobQueueRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemovePrintJobQueueRow(PrintJobQueueRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_cartellini ds = new DS_cartellini();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "PrintJobQueueDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -11781,6 +12184,143 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class PrintJobQueueRow : global::System.Data.DataRow {
+
+ private PrintJobQueueDataTable tablePrintJobQueue;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal PrintJobQueueRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablePrintJobQueue = ((PrintJobQueueDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxPrintJob {
+ get {
+ return ((int)(this[this.tablePrintJobQueue.IdxPrintJobColumn]));
+ }
+ set {
+ this[this.tablePrintJobQueue.IdxPrintJobColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TipoCart {
+ get {
+ return ((string)(this[this.tablePrintJobQueue.TipoCartColumn]));
+ }
+ set {
+ this[this.tablePrintJobQueue.TipoCartColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UDC {
+ get {
+ return ((string)(this[this.tablePrintJobQueue.UDCColumn]));
+ }
+ set {
+ this[this.tablePrintJobQueue.UDCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string prtName {
+ get {
+ return ((string)(this[this.tablePrintJobQueue.prtNameColumn]));
+ }
+ set {
+ this[this.tablePrintJobQueue.prtNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime dtStart {
+ get {
+ return ((global::System.DateTime)(this[this.tablePrintJobQueue.dtStartColumn]));
+ }
+ set {
+ this[this.tablePrintJobQueue.dtStartColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime dtEnd {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablePrintJobQueue.dtEndColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'dtEnd\' in table \'PrintJobQueue\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePrintJobQueue.dtEndColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int stato {
+ get {
+ return ((int)(this[this.tablePrintJobQueue.statoColumn]));
+ }
+ set {
+ this[this.tablePrintJobQueue.statoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime dtLastTry {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablePrintJobQueue.dtLastTryColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'dtLastTry\' in table \'PrintJobQueue\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablePrintJobQueue.dtLastTryColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdtEndNull() {
+ return this.IsNull(this.tablePrintJobQueue.dtEndColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdtEndNull() {
+ this[this.tablePrintJobQueue.dtEndColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsdtLastTryNull() {
+ return this.IsNull(this.tablePrintJobQueue.dtLastTryColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetdtLastTryNull() {
+ this[this.tablePrintJobQueue.dtLastTryColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -12018,6 +12558,40 @@ namespace GMW_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class PrintJobQueueRowChangeEvent : global::System.EventArgs {
+
+ private PrintJobQueueRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueRowChangeEvent(PrintJobQueueRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace GMW_data.DS_cartelliniTableAdapters {
@@ -13499,6 +14073,657 @@ namespace GMW_data.DS_cartelliniTableAdapters {
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class PrintJobQueueTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public PrintJobQueueTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "PrintJobQueue";
+ tableMapping.ColumnMappings.Add("IdxPrintJob", "IdxPrintJob");
+ tableMapping.ColumnMappings.Add("TipoCart", "TipoCart");
+ tableMapping.ColumnMappings.Add("UDC", "UDC");
+ tableMapping.ColumnMappings.Add("prtName", "prtName");
+ tableMapping.ColumnMappings.Add("dtStart", "dtStart");
+ tableMapping.ColumnMappings.Add("dtEnd", "dtEnd");
+ tableMapping.ColumnMappings.Add("stato", "stato");
+ tableMapping.ColumnMappings.Add("dtLastTry", "dtLastTry");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[PrintJobQueue] WHERE (([IdxPrintJob] = @Original_IdxPrintJob) AND ([TipoCart] = @Original_TipoCart) AND ([UDC] = @Original_UDC) AND ([prtName] = @Original_prtName) AND ([dtStart] = @Original_dtStart) AND ((@IsNull_dtEnd = 1 AND [dtEnd] IS NULL) OR ([dtEnd] = @Original_dtEnd)) AND ([stato] = @Original_stato) AND ((@IsNull_dtLastTry = 1 AND [dtLastTry] IS NULL) OR ([dtLastTry] = @Original_dtLastTry)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPrintJob", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPrintJob", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoCart", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoCart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_prtName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prtName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtStart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dtEnd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtEnd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtEnd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dtLastTry", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtLastTry", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtLastTry", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtLastTry", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[PrintJobQueue] ([TipoCart], [UDC], [prtName], [dtStart], [dtEnd], [stato], [dtLastTry]) VALUES (@TipoCart, @UDC, @prtName, @dtStart, @dtEnd, @stato, @dtLastTry);
+SELECT IdxPrintJob, TipoCart, UDC, prtName, dtStart, dtEnd, stato, dtLastTry FROM PrintJobQueue WHERE (IdxPrintJob = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoCart", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoCart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prtName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prtName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtStart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtEnd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtLastTry", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtLastTry", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[PrintJobQueue] SET [TipoCart] = @TipoCart, [UDC] = @UDC, [prtName] = @prtName, [dtStart] = @dtStart, [dtEnd] = @dtEnd, [stato] = @stato, [dtLastTry] = @dtLastTry WHERE (([IdxPrintJob] = @Original_IdxPrintJob) AND ([TipoCart] = @Original_TipoCart) AND ([UDC] = @Original_UDC) AND ([prtName] = @Original_prtName) AND ([dtStart] = @Original_dtStart) AND ((@IsNull_dtEnd = 1 AND [dtEnd] IS NULL) OR ([dtEnd] = @Original_dtEnd)) AND ([stato] = @Original_stato) AND ((@IsNull_dtLastTry = 1 AND [dtLastTry] IS NULL) OR ([dtLastTry] = @Original_dtLastTry)));
+SELECT IdxPrintJob, TipoCart, UDC, prtName, dtStart, dtEnd, stato, dtLastTry FROM PrintJobQueue WHERE (IdxPrintJob = @IdxPrintJob)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoCart", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoCart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prtName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prtName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtStart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtEnd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtLastTry", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtLastTry", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPrintJob", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPrintJob", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoCart", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoCart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_prtName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "prtName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtStart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dtEnd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtEnd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtEnd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dtLastTry", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtLastTry", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtLastTry", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtLastTry", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPrintJob", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPrintJob", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT * FROM dbo.PrintJobQueue";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_PJQ_chiudiZoombie";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtLastTryMax", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_PJQ_getNext";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_PJQ_insert";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoCart", global::System.Data.SqlDbType.VarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prtName", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_PJQ_updateLastTry";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_PJQ_updateStato";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPrintJob", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_cartellini.PrintJobQueueDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_cartellini.PrintJobQueueDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_cartellini.PrintJobQueueDataTable dataTable = new DS_cartellini.PrintJobQueueDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_cartellini.PrintJobQueueDataTable getNext() {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ DS_cartellini.PrintJobQueueDataTable dataTable = new DS_cartellini.PrintJobQueueDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_cartellini.PrintJobQueueDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_cartellini dataSet) {
+ return this.Adapter.Update(dataSet, "PrintJobQueue");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_IdxPrintJob, string Original_TipoCart, string Original_UDC, string Original_prtName, System.DateTime Original_dtStart, global::System.Nullable Original_dtEnd, int Original_stato, global::System.Nullable Original_dtLastTry) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxPrintJob));
+ if ((Original_TipoCart == null)) {
+ throw new global::System.ArgumentNullException("Original_TipoCart");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_TipoCart));
+ }
+ if ((Original_UDC == null)) {
+ throw new global::System.ArgumentNullException("Original_UDC");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_UDC));
+ }
+ if ((Original_prtName == null)) {
+ throw new global::System.ArgumentNullException("Original_prtName");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_prtName));
+ }
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_dtStart));
+ if ((Original_dtEnd.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_dtEnd.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_stato));
+ if ((Original_dtLastTry.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_dtLastTry.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string TipoCart, string UDC, string prtName, System.DateTime dtStart, global::System.Nullable dtEnd, int stato, global::System.Nullable dtLastTry) {
+ if ((TipoCart == null)) {
+ throw new global::System.ArgumentNullException("TipoCart");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(TipoCart));
+ }
+ if ((UDC == null)) {
+ throw new global::System.ArgumentNullException("UDC");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UDC));
+ }
+ if ((prtName == null)) {
+ throw new global::System.ArgumentNullException("prtName");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(prtName));
+ }
+ this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(dtStart));
+ if ((dtEnd.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(dtEnd.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.InsertCommand.Parameters[5].Value = ((int)(stato));
+ if ((dtLastTry.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(dtLastTry.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string TipoCart,
+ string UDC,
+ string prtName,
+ System.DateTime dtStart,
+ global::System.Nullable dtEnd,
+ int stato,
+ global::System.Nullable dtLastTry,
+ int Original_IdxPrintJob,
+ string Original_TipoCart,
+ string Original_UDC,
+ string Original_prtName,
+ System.DateTime Original_dtStart,
+ global::System.Nullable Original_dtEnd,
+ int Original_stato,
+ global::System.Nullable Original_dtLastTry,
+ int IdxPrintJob) {
+ if ((TipoCart == null)) {
+ throw new global::System.ArgumentNullException("TipoCart");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(TipoCart));
+ }
+ if ((UDC == null)) {
+ throw new global::System.ArgumentNullException("UDC");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UDC));
+ }
+ if ((prtName == null)) {
+ throw new global::System.ArgumentNullException("prtName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(prtName));
+ }
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(dtStart));
+ if ((dtEnd.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(dtEnd.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(stato));
+ if ((dtLastTry.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(dtLastTry.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxPrintJob));
+ if ((Original_TipoCart == null)) {
+ throw new global::System.ArgumentNullException("Original_TipoCart");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_TipoCart));
+ }
+ if ((Original_UDC == null)) {
+ throw new global::System.ArgumentNullException("Original_UDC");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_UDC));
+ }
+ if ((Original_prtName == null)) {
+ throw new global::System.ArgumentNullException("Original_prtName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_prtName));
+ }
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(Original_dtStart));
+ if ((Original_dtEnd.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_dtEnd.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_stato));
+ if ((Original_dtLastTry.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(Original_dtLastTry.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(IdxPrintJob));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string TipoCart, string UDC, string prtName, System.DateTime dtStart, global::System.Nullable dtEnd, int stato, global::System.Nullable dtLastTry, int Original_IdxPrintJob, string Original_TipoCart, string Original_UDC, string Original_prtName, System.DateTime Original_dtStart, global::System.Nullable Original_dtEnd, int Original_stato, global::System.Nullable Original_dtLastTry) {
+ return this.Update(TipoCart, UDC, prtName, dtStart, dtEnd, stato, dtLastTry, Original_IdxPrintJob, Original_TipoCart, Original_UDC, Original_prtName, Original_dtStart, Original_dtEnd, Original_stato, Original_dtLastTry, Original_IdxPrintJob);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int chiudiZoombie(global::System.Nullable dtLastTryMax) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((dtLastTryMax.HasValue == true)) {
+ command.Parameters[1].Value = ((System.DateTime)(dtLastTryMax.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int insertQuery(string TipoCart, string UDC, string prtName) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((TipoCart == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(TipoCart));
+ }
+ if ((UDC == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(UDC));
+ }
+ if ((prtName == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(prtName));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updateLastTry(string UDC) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
+ if ((UDC == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(UDC));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updateStato(global::System.Nullable IdxPrintJob, global::System.Nullable stato) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
+ if ((IdxPrintJob.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxPrintJob.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((stato.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(stato.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -13511,6 +14736,8 @@ namespace GMW_data.DS_cartelliniTableAdapters {
private UpdateOrderOption _updateOrder;
+ private PrintJobQueueTableAdapter _printJobQueueTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -13526,6 +14753,20 @@ namespace GMW_data.DS_cartelliniTableAdapters {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public PrintJobQueueTableAdapter PrintJobQueueTableAdapter {
+ get {
+ return this._printJobQueueTableAdapter;
+ }
+ set {
+ this._printJobQueueTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -13545,6 +14786,10 @@ namespace GMW_data.DS_cartelliniTableAdapters {
if ((this._connection != null)) {
return this._connection;
}
+ if (((this._printJobQueueTableAdapter != null)
+ && (this._printJobQueueTableAdapter.Connection != null))) {
+ return this._printJobQueueTableAdapter.Connection;
+ }
return null;
}
set {
@@ -13558,6 +14803,9 @@ namespace GMW_data.DS_cartelliniTableAdapters {
public int TableAdapterInstanceCount {
get {
int count = 0;
+ if ((this._printJobQueueTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -13569,6 +14817,15 @@ namespace GMW_data.DS_cartelliniTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateUpdatedRows(DS_cartellini dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
+ if ((this._printJobQueueTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.PrintJobQueue.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._printJobQueueTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -13579,6 +14836,14 @@ namespace GMW_data.DS_cartelliniTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateInsertedRows(DS_cartellini dataSet, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
+ if ((this._printJobQueueTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.PrintJobQueue.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._printJobQueueTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -13589,6 +14854,14 @@ namespace GMW_data.DS_cartelliniTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_cartellini dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._printJobQueueTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.PrintJobQueue.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._printJobQueueTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
return result;
}
@@ -13628,6 +14901,11 @@ namespace GMW_data.DS_cartelliniTableAdapters {
if ((dataSet.HasChanges() == false)) {
return 0;
}
+ if (((this._printJobQueueTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._printJobQueueTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
@@ -13660,6 +14938,15 @@ namespace GMW_data.DS_cartelliniTableAdapters {
try {
// ---- Prepare for update -----------
//
+ if ((this._printJobQueueTableAdapter != null)) {
+ revertConnections.Add(this._printJobQueueTableAdapter, this._printJobQueueTableAdapter.Connection);
+ this._printJobQueueTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._printJobQueueTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._printJobQueueTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._printJobQueueTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._printJobQueueTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -13718,6 +15005,10 @@ namespace GMW_data.DS_cartelliniTableAdapters {
if (workConnOpened) {
workConnection.Close();
}
+ if ((this._printJobQueueTableAdapter != null)) {
+ this._printJobQueueTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._printJobQueueTableAdapter]));
+ this._printJobQueueTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/GMW_data/DS_cartellini.xsd b/GMW_data/DS_cartellini.xsd
index 5ba6bb75..13632059 100644
--- a/GMW_data/DS_cartellini.xsd
+++ b/GMW_data/DS_cartellini.xsd
@@ -350,6 +350,145 @@
+
+
+
+
+
+ DELETE FROM [dbo].[PrintJobQueue] WHERE (([IdxPrintJob] = @Original_IdxPrintJob) AND ([TipoCart] = @Original_TipoCart) AND ([UDC] = @Original_UDC) AND ([prtName] = @Original_prtName) AND ([dtStart] = @Original_dtStart) AND ((@IsNull_dtEnd = 1 AND [dtEnd] IS NULL) OR ([dtEnd] = @Original_dtEnd)) AND ([stato] = @Original_stato) AND ((@IsNull_dtLastTry = 1 AND [dtLastTry] IS NULL) OR ([dtLastTry] = @Original_dtLastTry)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[PrintJobQueue] ([TipoCart], [UDC], [prtName], [dtStart], [dtEnd], [stato], [dtLastTry]) VALUES (@TipoCart, @UDC, @prtName, @dtStart, @dtEnd, @stato, @dtLastTry);
+SELECT IdxPrintJob, TipoCart, UDC, prtName, dtStart, dtEnd, stato, dtLastTry FROM PrintJobQueue WHERE (IdxPrintJob = SCOPE_IDENTITY())
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT * FROM dbo.PrintJobQueue
+
+
+
+
+
+ UPDATE [dbo].[PrintJobQueue] SET [TipoCart] = @TipoCart, [UDC] = @UDC, [prtName] = @prtName, [dtStart] = @dtStart, [dtEnd] = @dtEnd, [stato] = @stato, [dtLastTry] = @dtLastTry WHERE (([IdxPrintJob] = @Original_IdxPrintJob) AND ([TipoCart] = @Original_TipoCart) AND ([UDC] = @Original_UDC) AND ([prtName] = @Original_prtName) AND ([dtStart] = @Original_dtStart) AND ((@IsNull_dtEnd = 1 AND [dtEnd] IS NULL) OR ([dtEnd] = @Original_dtEnd)) AND ([stato] = @Original_stato) AND ((@IsNull_dtLastTry = 1 AND [dtLastTry] IS NULL) OR ([dtLastTry] = @Original_dtLastTry)));
+SELECT IdxPrintJob, TipoCart, UDC, prtName, dtStart, dtEnd, stato, dtLastTry FROM PrintJobQueue WHERE (IdxPrintJob = @IdxPrintJob)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_PJQ_chiudiZoombie
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_PJQ_getNext
+
+
+
+
+
+
+
+
+
+ dbo.stp_PJQ_insert
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_PJQ_updateLastTry
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_PJQ_updateStato
+
+
+
+
+
+
+
+
+
+
@@ -1528,6 +1667,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1546,5 +1717,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/GMW_data/DS_cartellini.xss b/GMW_data/DS_cartellini.xss
index abc59003..809a884d 100644
--- a/GMW_data/DS_cartellini.xss
+++ b/GMW_data/DS_cartellini.xss
@@ -6,13 +6,14 @@
-->
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GMW_data/DataProxy.cs b/GMW_data/DataProxy.cs
index 0d14aaae..5275f8f8 100644
--- a/GMW_data/DataProxy.cs
+++ b/GMW_data/DataProxy.cs
@@ -38,6 +38,7 @@ namespace GMW_data
public DS_cartelliniTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter taPrtCartMP;
public DS_cartelliniTableAdapters.stp_prtCartLiquidi_F10ByUDCTableAdapter taPrtCartLiqF10;
public DS_cartelliniTableAdapters.stp_prtCartLiquidi_F18ByUDCTableAdapter taPrtCartLiqF18;
+ public DS_cartelliniTableAdapters.PrintJobQueueTableAdapter taPJQ;
///
@@ -70,6 +71,7 @@ namespace GMW_data
taPrtCartMP = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter();
taPrtCartLiqF10 = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartLiquidi_F10ByUDCTableAdapter();
taPrtCartLiqF18 = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartLiquidi_F18ByUDCTableAdapter();
+ taPJQ = new DS_cartelliniTableAdapters.PrintJobQueueTableAdapter();
}
///
/// effettua setup dei connection strings da web.config delal singola applicazione
@@ -103,6 +105,7 @@ namespace GMW_data
taPrtCartMP.Connection.ConnectionString = connString;
taPrtCartLiqF10.Connection.ConnectionString = connString;
taPrtCartLiqF18.Connection.ConnectionString = connString;
+ taPJQ.Connection.ConnectionString = connString;
}
#endregion
diff --git a/GMW_data/GMW_data.csproj b/GMW_data/GMW_data.csproj
index 80250862..05cbff4e 100644
--- a/GMW_data/GMW_data.csproj
+++ b/GMW_data/GMW_data.csproj
@@ -423,6 +423,8 @@
+
+
diff --git a/GMW_data/SqlScripts/V2.2_TK/GMW_00569.sql b/GMW_data/SqlScripts/V2.2_TK/GMW_00569.sql
new file mode 100644
index 00000000..01df352f
--- /dev/null
+++ b/GMW_data/SqlScripts/V2.2_TK/GMW_00569.sql
@@ -0,0 +1,130 @@
+set xact_abort on;
+go
+
+begin transaction;
+go
+
+create table PrintJobQueue(
+ IdxPrintJob int not null identity constraint PK_printJobQueue primary key,
+ TipoCart nvarchar(250) not null,
+ UDC nvarchar(50) not null,
+ prtName nvarchar(500) not null,
+ dtStart datetime not null,
+ dtEnd datetime,
+ stato int not null constraint DF_printJobQueue_stato default ((0))
+);
+go
+
+create index i_awaitingPrint on PrintJobQueue(stato)
+ where ([stato]=(0));
+go
+
+exec sp_addextendedproperty 'MS_Description', 'chiave con ordinamento FIFO', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'IdxPrintJob';
+go
+
+exec sp_addextendedproperty 'MS_Description', 'tipo di cartellino', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'TipoCart';
+go
+
+exec sp_addextendedproperty 'MS_Description', 'cod UDC da stampare', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'UDC';
+go
+
+exec sp_addextendedproperty 'MS_Description', 'printer name (nome completo stampante)', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'prtName';
+go
+
+exec sp_addextendedproperty 'MS_Description', 'dataora richiesta', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'dtStart';
+go
+
+exec sp_addextendedproperty 'MS_Description', 'data/ora evento stampa/annullamento', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'dtEnd';
+go
+
+exec sp_addextendedproperty 'MS_Description', 'stato: 0=wait, 1=fatto, -1=annullato', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'stato';
+go
+
+commit;
+go
+
+
+set xact_abort on;
+go
+
+begin transaction;
+go
+
+set ANSI_NULLS on;
+go
+
+/***************************************
+* STORED stp_PJQ_getNext
+*
+* restituisce riga del primo job da processare dalla tabella gestione coda
+*
+* Steamware, S.E.L.
+* mod: 2013.07.23
+*
+****************************************/
+create PROCEDURE stp_PJQ_getNext
+
+AS
+
+SELECT TOP 1 *
+FROM PrintJobQueue
+WHERE stato = 0
+ORDER BY IdxPrintJob ASC
+go
+
+/***************************************
+* STORED stp_PJQ_insert
+*
+* inserisce un job di stampa in tabella gestioen coda
+*
+* Steamware, S.E.L.
+* mod: 2013.07.23
+*
+****************************************/
+create PROCEDURE stp_PJQ_insert
+(
+ @TipoCart VARCHAR(250),
+ @UDC VARCHAR(50),
+ @prtName VARCHAR(500)
+)
+AS
+
+INSERT INTO PrintJobQueue(TipoCart, UDC, prtName, dtStart, stato)
+VALUES (@TipoCart, @UDC, @prtName, GETDATE(), 0)
+go
+
+/***************************************
+* STORED stp_PJQ_updateStato
+*
+* aggiorna stato di un job di stampa in tabella gestione coda
+*
+* Steamware, S.E.L.
+* mod: 2013.07.23
+*
+****************************************/
+create PROCEDURE stp_PJQ_updateStato
+(
+ @IdxPrintJob INT,
+ @stato INT
+)
+AS
+
+UPDATE PrintJobQueue
+SET stato = @stato,
+ dtEnd = GETDATE()
+WHERE IdxPrintJob = @IdxPrintJob
+go
+
+commit;
+go
+
+
+
+
+
+
+-- registro versione...
+INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(569, GETDATE())
+GO
+SELECT TOP 5 * FROM LogUpdateDb ORDER BY Versione DESC
+GO
diff --git a/GMW_data/SqlScripts/V2.2_TK/GMW_00570.sql b/GMW_data/SqlScripts/V2.2_TK/GMW_00570.sql
new file mode 100644
index 00000000..1bc2ebc5
--- /dev/null
+++ b/GMW_data/SqlScripts/V2.2_TK/GMW_00570.sql
@@ -0,0 +1,172 @@
+set xact_abort on;
+go
+
+begin transaction;
+go
+
+alter table PrintJobQueue add
+ dtLastTry datetime;
+go
+
+exec sp_addextendedproperty 'MS_Description', 'data/ora ultimo tentativo di stampa (x check se zombie process)', 'SCHEMA', 'dbo', 'TABLE', 'PrintJobQueue', 'COLUMN', 'dtLastTry';
+go
+
+set ANSI_NULLS on;
+go
+
+/***************************************
+* STORED stp_PJQ_chiudiZombie
+*
+* aggiorna la tabella indicando come zoombie processi che abbiano dtLastTry antecedente a @dtLastTryMax e stato=0
+*
+* Steamware, S.E.L.
+* mod: 2013.10.03
+*
+****************************************/
+create PROCEDURE stp_PJQ_chiudiZoombie
+(
+ @dtLastTryMax DATETIME
+)
+AS
+
+UPDATE PrintJobQueue
+SET stato = -1
+WHERE stato = 0 AND dtLastTry < @dtLastTryMax
+go
+
+/***************************************
+* STORED stp_PJQ_updateStato
+*
+* aggiorna stato di un job di stampa in tabella gestione coda (stato = 0) x un dato UDC
+* indicando che ho tentato di stamparlo (x sapere che non è un processo zombie)
+*
+* Steamware, S.E.L.
+* mod: 2013.10.03
+*
+****************************************/
+create PROCEDURE stp_PJQ_updateLastTry
+(
+ @UDC VARCHAR(50)
+)
+AS
+
+UPDATE PrintJobQueue
+SET dtLastTry = GETDATE()
+WHERE stato = 0 AND UDC = @UDC
+go
+
+/***************************************
+* STORED stp_PJQ_insert
+*
+* inserisce un job di stampa in tabella gestioen coda
+*
+* Steamware, S.E.L.
+* mod: 2013.07.23
+*
+****************************************/
+alter PROCEDURE stp_PJQ_insert
+(
+ @TipoCart VARCHAR(250),
+ @UDC VARCHAR(50),
+ @prtName VARCHAR(500)
+)
+AS
+
+INSERT INTO PrintJobQueue(TipoCart, UDC, prtName, dtStart, dtLastTry, stato)
+VALUES (@TipoCart, @UDC, @prtName, GETDATE(), GETDATE(), 0)
+go
+
+commit;
+go
+
+
+set xact_abort on;
+go
+
+begin transaction;
+go
+
+set ANSI_NULLS on;
+go
+
+/***************************************
+* STORED stp_PJQ_chiudiZombie
+*
+* aggiorna la tabella indicando come zoombie processi che abbiano dtLastTry antecedente a @dtLastTryMax e stato=0
+*
+* Steamware, S.E.L.
+* mod: 2013.10.03
+*
+****************************************/
+alter PROCEDURE stp_PJQ_chiudiZoombie
+(
+ @dtLastTryMax DATETIME
+)
+AS
+
+UPDATE PrintJobQueue
+SET stato = -1
+WHERE stato = 0 AND dtLastTry < @dtLastTryMax
+go
+
+/***************************************
+* STORED stp_PJQ_insert
+*
+* inserisce un job di stampa in tabella gestioen coda
+*
+* Steamware, S.E.L.
+* mod: 2013.07.23
+*
+****************************************/
+alter PROCEDURE stp_PJQ_insert
+(
+ @TipoCart VARCHAR(250),
+ @UDC VARCHAR(50),
+ @prtName VARCHAR(500)
+)
+AS
+
+INSERT INTO PrintJobQueue(TipoCart, UDC, prtName, dtStart, dtLastTry, stato)
+VALUES (@TipoCart, @UDC, @prtName, GETDATE(), GETDATE(), 0)
+go
+
+/***************************************
+* STORED stp_PJQ_updateStato
+*
+* aggiorna stato di un job di stampa in tabella gestione coda (stato = 0) x un dato UDC
+* indicando che ho tentato di stamparlo (x sapere che non è un processo zombie)
+*
+* Steamware, S.E.L.
+* mod: 2013.10.03
+*
+****************************************/
+alter PROCEDURE stp_PJQ_updateLastTry
+(
+ @UDC VARCHAR(50)
+)
+AS
+
+UPDATE PrintJobQueue
+SET dtLastTry = GETDATE()
+WHERE stato = 0 AND UDC = @UDC
+go
+
+commit;
+go
+
+
+
+
+
+update PrintJobQueue
+set dtLastTry = dtStart
+where dtLastTry IS NULL
+
+SELECT * FROM PrintJobQueue
+GO
+
+-- registro versione...
+INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(570, GETDATE())
+GO
+SELECT TOP 5 * FROM LogUpdateDb ORDER BY Versione DESC
+GO
diff --git a/GMW_data/bin/Debug/SteamWare.xml b/GMW_data/bin/Debug/SteamWare.xml
index 30a34a24..d76d5b03 100644
--- a/GMW_data/bin/Debug/SteamWare.xml
+++ b/GMW_data/bin/Debug/SteamWare.xml
@@ -4,299 +4,6 @@
SteamWare
-
-
- Represents a strongly typed in-memory cache of data.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- classe con funzioni specifiche di calcolo
-
-
-
-
- inizializzazione classe
-
-
-
-
- elenco dei caratteri base 36: 0..9A..Z
-
-
-
-
-
- converte da base di dimensione nBase a valore intero
-
- valore in formato nBase
- base, max 36 (0..9A..Z)
-
-
-
-
- metodo di accesso singleton
-
-
-
-
- classe gestione auth
-
-
-
-
- init dei table adapters
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- Singleton accesso a authProxy
-
-
-
-
- Tenta autologin con autoriconoscimento Dominio/username by cookie
-
-
-
-
-
-
- formatta il secret code
-
-
-
-
-
-
-
-
-
-
- crea un nuovo record device e salva un nuovo cookie su db x il dispositivo e l'utente richiesti
-
-
-
-
-
-
-
-
-
-
-
-
-
- rimuove device da DB e toglie il cookie
-
- secret associata al device
-
-
-
-
- rimuove device da DB e toglie il cookie
-
- Nome Device
-
-
-
-
- imuove device da DB e toglie il cookie
-
-
-
-
-
-
-
- Represents a strongly typed in-memory cache of data.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Row event argument class
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
-
-
-
-
- Update rows in top-down order.
-
-
-
-
- Insert rows in top-down order.
-
-
-
-
- Delete rows in bottom-up order.
-
-
-
-
- Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
-
-
-
-
- Update all changes to the dataset.
-
-
-
-
- Update Order Option
-
-
-
-
- Used to sort self-referenced table's rows
-
-
Pagina base applicazioni SteamWare da cui derivare le altre
@@ -335,818 +42,6 @@
-
-
- struttura che definisce i parametri di un turno di lavoro
-
-
-
-
- definisce un intervalo di 2 date
-
-
-
-
- data inizio
-
-
-
-
- data fine
-
-
-
-
- indica se sia valido il dato, ovvero inizio e fine > 0 e FINE >= INIZIO
-
-
-
-
- struttura orario ordinarie/strordinarie
-
-
-
-
- ore ordinarie
-
-
-
-
- ore straordinarie
-
-
-
-
- classe di funzioni inerenti le date
-
-
-
-
- inizializzazione empty
-
-
-
-
- calcola il turno di riferimento data una data di riferimento
-
-
-
-
-
-
- costruisce un oggetto intervallo date
-
-
-
-
-
-
-
- effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine
-
-
-
-
-
-
-
- oggetto mese precedente alla dataLilmite
-
-
-
-
-
- oggetto mese corrente fino alla dataLilmite
-
-
-
-
-
- confronta le date e restituisce true se le date sono nello stesso mese
-
-
-
-
-
-
-
- restituisce l'intervallo del giorno completo che comprende la data indicata
-
-
-
-
-
-
- restituisce l'intervallo di N giorni fino alla data indicata
-
-
-
-
-
-
-
- restituisce l'intervallo della settimana corrente per la data indicata
-
-
-
-
-
-
- restituisce l'intervallo del mese corrente per la data indicata (dal giorno 1 all'indomani delal data indicata)
-
-
-
-
-
-
- restituisce l'intervallo del mese che comprende la data indicata (dal primo all'ultimo giorno)
-
-
-
-
-
-
- restituisce l'intervallo dell'anno corrente per la data indicata
-
-
-
-
-
-
- oggetto singleton
-
-
-
-
- classe di gestione delle email
-
-
-
-
- stringa del nome DNS o dell'ip del server SMTP
-
-
-
-
- stringa username x server SMTP
-
-
-
-
- stringa pwd x server SMTP
-
-
-
-
- metodo static per la gestione delle email
-
-
-
-
-
- metodo static per la gestione delle email
-
-
-
-
-
-
-
- metodo static per la gestione delle email
-
-
-
-
-
-
- procedura invio email
-
- email mittente
- email destinatario
- oggetto dell'email
- corpo del messaggio
-
-
-
- procedura invio email + scrittura in log!
-
- email mittente
- email destinatario
- oggetto dell'email
- corpo del messaggio
-
-
-
- metodo singleton gestione email...
-
-
-
-
- metodo singleton gestione email CON AUTH utente...
-
-
-
-
- Tipo di comparazione, Binary == CaseSensitive, Text = insensitive
-
-
-
-
- tipo controllo : binario
-
-
-
-
- tipo controllo : text
-
-
-
-
- Funzione di splitting compatibile con multi-character e multi-line
-
-
-
-
- stringa da splittare
-
-
-
-
- Delimiter con cui splittare
-
-
-
-
- Costruttore dello Splitter
-
-
-
-
- comparatore case sensitive
-
-
-
-
-
-
-
- comparatore case insensitive
-
-
-
-
-
-
-
- parte principale dello splitter
-
- stringa da splittare
- delimitatore ricercato
- true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base)
-
- 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive
-
-
-
-
- elimina dal nome file il tipo (desinenza)
-
-
-
-
-
-
- Classe di metodi che estendono quelli base applicati alle string
-
-
-
-
- Trasforma in MAIUSCOLo il primo carattere della stringa
-
- stringa da processare
- stringa processata
-
-
-
- restituisce la stringa completa e corretta del filepath del server (anche con vDir)
-
- path relativo alla cartella iis dell'applicativo
- path fisico tradotto
-
-
-
- effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi
-
-
-
-
-
-
- restituisce una stringa uguale all'originale + terminazione newline
-
-
-
-
-
-
- formatta un titolo
-
- Titolo da scrivere
- carattere x padding titolo
- larghezza caratteri (x pad)
-
-
-
-
- formatta una riga di caratteri
-
- carattere da utilizzare
- larghezza caratteri (x pad)
-
-
-
-
- fornisce dati di base per l'utente
-
-
-
-
- fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE
-
-
-
-
-
-
- restituisce la riga completa dall'username richiesto
-
-
-
-
-
-
-
- calcola il nome del computer dato l'IP
-
-
-
-
-
-
- scarica una pagina da URL e fornisce testo string
-
- Indirizzo pagina (completo)
- username (se necessario)
- password (se necessaria)
-
-
-
-
- manda pacchetto ARP
-
-
-
-
-
-
-
-
-
- fornisce mac address dato nome/IP
-
-
-
-
-
-
- utils x cifrature e Crypto
-
-
-
-
- cifra un messaggio con una password
-
-
-
-
-
-
-
- decifra un messaggio con una password
-
-
-
-
-
-
-
- classe di gestione dei db x creazione/update alla versione richiesta
-
-
-
-
- oggetto connessione
-
-
-
-
- stringa di connessione
-
-
-
-
- dir che contiene gli script da eseguire...
-
-
-
-
- formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql)
-
-
-
-
- avvio protected della classe
-
-
-
-
- esegue gli script di sql di update dal file richiesto
-
-
-
-
-
-
-
- Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo
-
- NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default
-
- nome DB di cui cercare script
- revisione di partenza
- revisione di arrivo
- timeout max per ogni operazione
-
-
-
-
- verifica se il db indicato esiste o meno...
-
-
-
-
-
-
-
- crea il db indicato con i parametri di connessione specificati
-
-
-
-
-
-
-
- tipo di chart (2D/3D)
-
-
-
-
- 2D
-
-
-
-
- 3D
-
-
-
-
- web control che disegna un grafico a torta
-
-
-
-
- altezza di default
-
-
-
-
- larghezza di default
-
-
-
-
- padding di default
-
-
-
-
- legenda visibile di default
-
-
-
-
- soglia minima 5% per mostrare il dato
-
-
-
-
- renderizza il contenuto
-
-
-
-
-
- disegna la leggenda html laterale...
-
-
-
-
-
- disegna piechart 2-dim
-
-
-
-
-
- disegna piechart 3d ellittica
-
-
-
-
-
- traduce la stringa colore in oggetto colore
-
-
-
-
-
-
- converte intero a stringa esadecimale
-
-
-
-
-
-
- converte stringa esadecimale a intero
-
-
-
-
-
-
- tipo di grafico (2D/3D)
-
-
-
-
- ampiezza del grafico
-
-
-
-
- altezza del grafico
-
-
-
-
- padding grafico/container
-
-
-
-
- boolean se si debba mostrale la legenda
-
-
-
-
- percentuale minima da mostrare
-
-
-
-
- serie di dati (tipizzata) ma mostrare
-
-
-
-
- testo associato al controllo
-
-
-
-
- layer gestione vari tipi di memoria: cache, session...
-
-
-
-
- lettore file configurazione
-
-
-
-
- oggetto singleton x accesso al layer di memoria
-
-
-
-
- classe gestione accessi a Session, cache, viewstate, configuration...
-
-
-
-
- legge dalla config un valore bool
-
-
-
-
-
-
- legge dalla config un valore string
-
-
-
-
-
-
- legge dalla config un valore int
-
-
-
-
-
-
- carica dalla sessione un dato di tipo object generico
-
-
-
-
-
-
- carica dalla sessione un dato di tipo boolean (se vuoto false)
-
-
-
-
-
-
- carica dalla sessione un dato di tipo string
-
-
-
-
-
-
- carica dalla sessione un dato di tipo long
-
-
-
-
-
-
- carica dalla sessione un dato di tipo int
-
-
-
-
-
-
- inserisce in session un valore
-
-
-
-
-
-
- inserisce in session un valore
-
- nome della variabile
- valore associato
- indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd)
-
-
-
-
- svuota una variabile dalla session
-
-
-
-
-
- restituisce true se è presente in session l'oggetto richiesto
-
-
-
-
-
-
- restituisco un valore da cookie
-
-
-
-
-
-
- salvo un valore come cookie
-
-
-
-
-
-
-
- salvo un valore come cookie con expiry date esplicita
-
-
-
-
-
-
-
-
- elimina un cookie
-
-
-
-
-
- carica dalla Cache un dato di tipo object generico
-
-
-
-
-
-
- carica dalla Cachee un dato di tipo boolean (se vuoto false)
-
-
-
-
-
-
- carica dalla Cachee un dato di tipo string
-
-
-
-
-
-
- inserisce in Cache un valore
-
- nome della variabile
- valore
-
-
-
- inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update..
-
- nome della variabile
- valore
- da registrare come tabella da svuotare on update?
-
-
-
-
- svuota una variabile dalla Cache
-
-
-
-
-
- restituisce true se è presente in cache l'oggetto richiesto
-
-
-
-
-
-
- aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
-
-
-
-
-
- aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
-
-
-
-
-
-
- forza lo svuotamento delel tabelle indicate come in cache...
-
-
-
-
- elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
-
-
-
-
- elenco dictionary dei valori in session da NON aggiornare con update...
-
-
Base class for every user control in the application, containing some common
@@ -1688,54 +583,1261 @@
tipo di vista del modulo
-
+
- struttura di comando da input utente (es: via barcode)
+ classe gestione auth
-
+
- definisce se il comando sia valido o no
+ init dei table adapters
-
+
- testo da mostrare dato il comando
+ effettua setup dei connection strings da web.config delal singola applicazione
-
+
- comando registrato
+ Singleton accesso a authProxy
-
+
- comando precedentemente inserito
+ Tenta autologin con autoriconoscimento Dominio/username by cookie
+
+
+
+
+
+
+ formatta il secret code
+
+
+
+
+
+
+
+
+
+
+ crea un nuovo record device e salva un nuovo cookie su db x il dispositivo e l'utente richiesti
+
+
+
+
+
+
+
+
+
+
+
+
+
+ rimuove device da DB e toglie il cookie
+
+ secret associata al device
+
+
+
+
+ rimuove device da DB e toglie il cookie
+
+ Nome Device
+
+
+
+
+ imuove device da DB e toglie il cookie
+
+
+
+
+
+
+
+ classe con funzioni specifiche di calcolo
-
+
- descrizione del comando
+ inizializzazione classe
-
+
- descrizione del comando precedente
+ elenco dei caratteri base 36: 0..9A..Z
-
+
+
- valore del comando
+ converte da base di dimensione nBase a valore intero
+
+ valore in formato nBase
+ base, max 36 (0..9A..Z)
+
+
+
+
+ metodo di accesso singleton
-
+
- valore tradotto del comando
+ classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali
-
+
- costruttore del metodo...
+ valore originale
+
+
+
+
+ nuovo valore
+
+
+
+
+ dictionary dei parametri vecchi
+
+
+
+
+ dictionary dei parametri nuovi
+
+
+
+
+ inizializzazione classe
+
+
+
+
+ valorizza i diff dei valori old e new
+
+
+
+
+ calcola solo il vettore dei valori old (x delete)
+
+
+
+
+ oggetto statico per il confronto valori
+
+
+
+
+ stringa diff dei valori originali modificati
+
+
+
+
+ stringa diff dei valori nuovi modificati
+
+
+
+
+ dictionary dei parametri old
+
+
+
+
+ dictionary dei parametri new
+
+
+
+
+ classe di gestione lettura
+
+
+
+
+ esegue parsing fornendo dati ed headers
+
+
+
+
+
+
+
+ esegue parsing fornendo dati
+
+
+
+
+
+
+ esegue parsing fornendo dati come stream
+
+
+
+
+
+
+ esegue parsing fornendo dati come stream ed headers
+
+
+
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ classe di wrap verso i TableAdapter impiegati
+
+
+
+
+ metodo protected di avvio della classe
+
+
+
+
+ procedura di avvio dei tableAdapter
+
+
+
+
+ procedura di avvio dei tableAdapter
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ setup delle tabelle vocabolario
+
+
+
+
+ prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary
+
+
+
+
+
+ tableAdapter diritti
+
+
+
+
+ tableAdapter permessi
+
+
+
+
+ tableAdapter funzione
+
+
+
+
+ tableAdapter permessi2funzione
+
+
+
+
+ tableAdapter CdC
+
+
+
+
+ tableAdapter utenti
+
+
+
+
+ tableAdapter userData (user/pwd)
+
+
+
+
+ tableAdapter userDataExt (user/pwd)
+
+
+
+
+ table adapter lingue
+
+
+
+
+ table adapter vocabolario
+
+
+
+
+ table adapter versione vocabolario
+
+
+
+
+ table adapter versione anagrafica
+
+
+
+
+ table adapter Devices utente
+
+
+
+
+ oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione
+
+
+
+
+ resetta il vocabolario rileggendo i dati...
+
+
+
+
+ crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--"
+
+
+
+
+
+
+ classe singleton x la gestione dei tableadapters
+
+
+
+
+ elenco lingue ammesse da vocabolario...
+
+
+
+
+ classe di gestione dei db x creazione/update alla versione richiesta
+
+
+
+
+ oggetto connessione
+
+
+
+
+ stringa di connessione
+
+
+
+
+ dir che contiene gli script da eseguire...
+
+
+
+
+ formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql)
+
+
+
+
+ avvio protected della classe
+
+
+
+
+ esegue gli script di sql di update dal file richiesto
+
+
+
+
+
+
+
+ Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo
+
+ NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default
+
+ nome DB di cui cercare script
+ revisione di partenza
+ revisione di arrivo
+ timeout max per ogni operazione
+
+
+
+
+ verifica se il db indicato esiste o meno...
+
+
+
+
+
+
+
+ crea il db indicato con i parametri di connessione specificati
+
+
+
+
+
+
+
+ classe gestione parametri deviceper stampa
+
+
+
+
+ creazione oggetto parametri per stampa
+
+
+
+
+
+
+
+
+
+
+
+ formato output
+
+
+
+
+ altezza
+
+
+
+
+ larghezza
+
+
+
+
+ margine Sx
+
+
+
+
+ margine Dx
+
+
+
+
+ margine Top
+
+
+
+
+ margine Bottom
+
+
+
+
+ helper x raccolta dati di diagnostica
+
+
+
+
+ calcolo uptime in formato timespan
+
+
+
+
+
+ elenco devices USB
+
+
+
+
+
+ registra esito ping ad un dato IP/hostname
+
+ IPaddress / host name.
+
+
+
+ restituisce contenuto di una pagina web (per testing)
+
+
+
+
+
+
+ uptime macchina (formattato)
+
+
+
+
+ restituisce elenco dischi con utilizzo (formattato)
+
+
+
+
+
+ mostra elenco interfacce di rete e loro conf
+
+
+
+
+ fornisce elenco dispositivi USB collegati
+
+
+
+
+
+
+ elenco porte seriali
+
+
+
+
+ classe definizione info oggetti USB
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+
+
+
+
+ Update rows in top-down order.
+
+
+
+
+ Insert rows in top-down order.
+
+
+
+
+ Delete rows in bottom-up order.
+
+
+
+
+ Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
+
+
+
+
+ Update all changes to the dataset.
+
+
+
+
+ Update Order Option
+
+
+
+
+ Used to sort self-referenced table's rows
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ enumeratore modalità login
+
+
+
+
+ login AD normale
+
+
+
+
+ forza utente fornendo password
+
+
+
+
+ forza ad un utente standard scelto dall'elenco
+
+
+
+
+ enumeratore modalità scrittura tag siteMap
+
+
+
+
+ nodo di tipo iniziale - apertura
+
+
+
+
+ nodo di tipo foglia
+
+
+
+
+ nodo di tipo finale - chiusura
+
+
+
+
+ enumeratore tipi di anagrafica
+
+
+
+
+ tipo di anagrafica Brembo
+
+
+
+
+ tipo di anagrafica generica
+
+
+
+
+ tipo di vista del modulo
+
+
+
+
+ modalità selezione
+
+
+
+
+ modalità editing
+
+
+
+
+ modalità inserting nuovo valore
+
+
+
+
+ tipologia di file immagine
+
+
+
+
+ formato gif (no alpha channel)
+
+
+
+
+ formato jpeg
+
+
+
+
+ formato png
+
+
+
+
+ tipo di immagini usate per le icone di comando in web applications
+
+
+
+
+ icona annulla (croce rossa)
+
+
+
+
+ icona approva (simbolo coccarda)
+
+
+
+
+ icona barcode in campo bianco
+
+
+
+
+ icona barcode in campo arancio
+
+
+
+
+ icona clona (magic wand)
+
+
+
+
+ icona converma (spunta verde)
+
+
+
+
+ icona elimina (cestino)
+
+
+
+
+ icona modifica (matita)
+
+
+
+
+ icona notepad (blocco note)
+
+
+
+
+ icona notepad + pdf (blocco note)
+
+
+
+
+ icona nuovo (segno +)
+
+
+
+
+ icona seleziona (lente)
+
+
+
+
+ icona semaforo giallo
+
+
+
+
+ icona semaforo rosso
+
+
+
+
+ icona semaforo verde
+
+
+
+
+ icona stampa (printer)
+
+
+
+
+ dimensione immagini usate per le icone di comando in web applications
+
+
+
+
+ formato piccolo
+
+
+
+
+ formato medio
+
+
+
+
+ formato grande
+
+
+
+
+ modalità di esecuzione applicativi
+
+
+
+
+ modalità normale
+
+
+
+
+ modalità debug
+
+
+
+
+ salvataggio di tutti i lemmi tradotti
@@ -2060,131 +2162,830 @@
versione statica (singleton) del'oggetto fileMover
-
-
- Represents a strongly typed in-memory cache of data.
+
+
+ struttura di comando da input utente (es: via barcode)
-
-
- Represents the strongly named DataTable class.
+
+
+ definisce se il comando sia valido o no
-
-
- Represents the strongly named DataTable class.
+
+
+ testo da mostrare dato il comando
-
-
- Represents the strongly named DataTable class.
+
+
+ comando registrato
-
-
- Represents the strongly named DataTable class.
+
+
+ comando precedentemente inserito
-
-
- Represents the strongly named DataTable class.
+
+
+ descrizione del comando
-
-
- Represents the strongly named DataTable class.
+
+
+ descrizione del comando precedente
-
-
- Represents strongly named DataRow class.
+
+
+ valore del comando
-
-
- Represents strongly named DataRow class.
+
+
+ valore tradotto del comando
-
-
- Represents strongly named DataRow class.
+
+
+ costruttore del metodo...
-
-
- Represents strongly named DataRow class.
+
+
+ gestione licenze applicativi
-
-
- Represents strongly named DataRow class.
+
+
+ numero di licenze attive per cliente/applicativo
+
+
+
+
+
+
+
+ Fornisce chiave MD5 x un cliente/applicativo/expiryDate
+
+
+
+
+
+
+
+
+
+ restituisce data decodificata da authKey + applicazione + cliente...
+
+
+
+
+
+
+
+
+
+ classe gestione logging esteso di eventi e note utente (correlabili)
-
-
- Represents strongly named DataRow class.
+
+
+ TableAdapter di accesso alla tabella anagrafica filtraggi
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla tabella anagrafica record
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla tabella logging record di eventi
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla tabella logging utente
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla vista logging eventi
-
-
- Row event argument class
+
+
+ TableAdapter di accesso alla vista logging utente
-
-
- Row event argument class
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ avvio i tari tableAdapters
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ avvio della classe istanziando db e
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ oggetto statico di accesso ai metodi della classe...
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ tabella eventi
+
+
+
+
+
+ tabella note
+
+
+
+
+
+ tabella eventi secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ tabella note secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+
+ tabella note secondo filtro e condizione ulteriore WHERE esplicitata
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+
+ tabella note secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ inserisce l'evento indicato dai parametri
+
+ user che ha generato l'evento
+ pagina/form applicaizone in cui l'evento si è generato
+ valore originale(se c'è)
+ valore nuovo/modificato
+ descrizione evento (poi gestita con anagrafica interna)
+ filtro logico evento (poi gestita con anagrafica interna)
+
+
+
+ inserisce la nota utente indicata dai parametri, restituisce idx della nota creata...
+
+ user che ha inserito la nota
+ testo della nota
+ valore ulteriore da associare alla nota (es: label, codice, versione, ...)
+ filtro logico evento (poi gestita con anagrafica interna)
+ intero dell'idx della nota creata
+
+
+
+ associa l'evento e la nota indicati
+
+ idx del record da associare
+ idx chiave della nota da associare
+
+
+
+ associa l'ultimo evento del filtro indicato alla nota
+
+ filtro associato all'ultimo evento...
+ idx chiave della nota da associare
+
+
+
+ segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
+
+ utente generatore dell'evento
+
+
+
+ segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
+
+ utente generatore dell'evento
+
+
+
+ Elimina gli eventi cestinati generati dall'utente indicato
+
+ utente generatore dell'evento
+
+
+
+ Elimina gli eventi cestinati anteriori alla data selezionata
+
+ dataOra dell'evento
+
+
+
+ effettua la registrazione dell'evento in session
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ metodo di comportamento del controllo di logging
-
-
- Represents the connection and commands used to retrieve and save data.
+
+
+ nasconde pannello log
+
+
+ memorizza log inserito
+
+
+
+
+ mostra pannello log
+
+
+
+
+ metodo di comportamento del controllo di logging
+
+
+
+
+ indica il primo step del doppio livello di approvazione (completamento)
+
+
+
+
+ SOLO con incremento indice di revisione dell'oggetto approvato
+
+
+
+
+ SOLO mantenendo indice di revisione corrente
+
+
+
+
+ permette SIA con revisione che senza (e anche rev -1)
+
+
+
+
+ classe gesione log files applicazioni
+
+
+
+
+ directory base x logs
+
+
+
+
+ nome del file corrente
+
+
+
+
+ max mb di log da accumulare
+
+
+
+
+ controlla se si debba mantenere sotto controllo la dimensioen della cartella logs
+
+
+
+
+ singleton del logger
+
+
+
+
+ avvio del logger nella dir desiderata
+
+
+
+
+ avvio del logger nella dir desiderata
+
+
+
+
+ avvio del logger nella dir desiderata con il max di dati indicato
+
+
+
+
+ resetta il logfile odierno
+
+
+
+
+ scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?)
+
+ testo iniziale del log
+
+
+
+
+ scrive un messaggio di log con etichetta pre
+
+ testo messaggio
+ tipo di log da registrare (etichetta [...])
+
+
+
+
+ scrive su log un dump di diagnostica
+
+ Causale diagnostica
+ target per test PING
+ target x download www page
+
+
+
+ formatta un blococ di diagnostica (titolo, contenuto / eccezione)
+
+
+
+
+
+
+
+ fornisce il nome del file in cui loggare (ed eventualmente crea...)
+
+
+
+
+ provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb
+
+
+
+
+ fornisce il file + vecchio
+
+
+
+
+
+
+ livello di log applicazione (da web.config, chiave '_logLevel')
+
+
+
+
+ tipo di log ammesso
+
+
+
+
+ informazioni di debug
+
+
+
+
+ dump diagnostica
+
+
+
+
+ errori
+
+
+
+
+ eccezioni nell'esecuzione try/catch
+
+
+
+
+ errori fatali
+
+
+
+
+ informazioni opzionali
+
+
+
+
+ log dei lemmi invocati per traduzione da vocabolario
+
+
+
+
+ fase di avvio componente
+
+
+
+
+ avvisi
+
+
+
+
+ layer gestione vari tipi di memoria: cache, session...
+
+
+
+
+ lettore file configurazione
+
+
+
+
+ oggetto singleton x accesso al layer di memoria
+
+
+
+
+ classe gestione accessi a Session, cache, viewstate, configuration...
+
+
+
+
+ legge dalla config un valore bool
+
+
+
+
+
+
+ legge dalla config un valore string
+
+
+
+
+
+
+ legge dalla config un valore int
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo object generico
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo boolean (se vuoto false)
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo string
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo long
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo int
+
+
+
+
+
+
+ inserisce in session un valore
+
+
+
+
+
+
+ inserisce in session un valore
+
+ nome della variabile
+ valore associato
+ indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd)
+
+
+
+
+ svuota una variabile dalla session
+
+
+
+
+
+ restituisce true se è presente in session l'oggetto richiesto
+
+
+
+
+
+
+ restituisco un valore da cookie
+
+
+
+
+
+
+ salvo un valore come cookie
+
+
+
+
+
+
+
+ salvo un valore come cookie con expiry date esplicita
+
+
+
+
+
+
+
+
+ elimina un cookie
+
+
+
+
+
+ carica dalla Cache un dato di tipo object generico
+
+
+
+
+
+
+ carica dalla Cachee un dato di tipo boolean (se vuoto false)
+
+
+
+
+
+
+ carica dalla Cachee un dato di tipo string
+
+
+
+
+
+
+ inserisce in Cache un valore
+
+ nome della variabile
+ valore
+
+
+
+ inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update..
+
+ nome della variabile
+ valore
+ da registrare come tabella da svuotare on update?
+
+
+
+
+ svuota una variabile dalla Cache
+
+
+
+
+
+ restituisce true se è presente in cache l'oggetto richiesto
+
+
+
+
+
+
+ aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
+
+
+
+
+
+ aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
+
+
+
+
+
+
+ forza lo svuotamento delel tabelle indicate come in cache...
+
+
+
+
+ elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+
+
+
+
+ elenco dictionary dei valori in session da NON aggiornare con update...
+
+
+
+
+ tipo di chart (2D/3D)
+
+
+
+
+ 2D
+
+
+
+
+ 3D
+
+
+
+
+ web control che disegna un grafico a torta
+
+
+
+
+ altezza di default
+
+
+
+
+ larghezza di default
+
+
+
+
+ padding di default
+
+
+
+
+ legenda visibile di default
+
+
+
+
+ soglia minima 5% per mostrare il dato
+
+
+
+
+ renderizza il contenuto
+
+
+
+
+
+ disegna la leggenda html laterale...
+
+
+
+
+
+ disegna piechart 2-dim
+
+
+
+
+
+ disegna piechart 3d ellittica
+
+
+
+
+
+ traduce la stringa colore in oggetto colore
+
+
+
+
+
+
+ converte intero a stringa esadecimale
+
+
+
+
+
+
+ converte stringa esadecimale a intero
+
+
+
+
+
+
+ tipo di grafico (2D/3D)
+
+
+
+
+ ampiezza del grafico
+
+
+
+
+ altezza del grafico
+
+
+
+
+ padding grafico/container
+
+
+
+
+ boolean se si debba mostrale la legenda
+
+
+
+
+ percentuale minima da mostrare
+
+
+
+
+ serie di dati (tipizzata) ma mostrare
+
+
+
+
+ testo associato al controllo
+
+
+
+
+ Summary description for selettori
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ carica i dati CdC se in cache o da TableAdapter
+
+
+
+
+ restituisce l'elenco di tutti i cdc
+
+
+
+
+
+ restituisce l'elenco di tutti i cdc della gerarchia dell'utente
+
+
+
classe gestione utente: auth e permission/ruoli - versione GENERICA
@@ -2580,1209 +3381,408 @@
è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
-
+
- gestione licenze applicativi
+ struttura che definisce i parametri di un turno di lavoro
-
+
- numero di licenze attive per cliente/applicativo
+ definisce un intervalo di 2 date
-
-
+
+
+
+ data inizio
+
+
+
+
+ data fine
+
+
+
+
+ indica se sia valido il dato, ovvero inizio e fine > 0 e FINE >= INIZIO
+
+
+
+
+ struttura orario ordinarie/strordinarie
+
+
+
+
+ ore ordinarie
+
+
+
+
+ ore straordinarie
+
+
+
+
+ classe di funzioni inerenti le date
+
+
+
+
+ inizializzazione empty
+
+
+
+
+ calcola il turno di riferimento data una data di riferimento
+
+
-
+
- Fornisce chiave MD5 x un cliente/applicativo/expiryDate
+ costruisce un oggetto intervallo date
-
-
-
-
+
+
-
+
- restituisce data decodificata da authKey + applicazione + cliente...
+ effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine
-
-
-
-
+
+
-
+
- classe gesione log files applicazioni
+ oggetto mese precedente alla dataLilmite
+
-
+
- directory base x logs
+ oggetto mese corrente fino alla dataLilmite
+
-
+
- nome del file corrente
+ confronta le date e restituisce true se le date sono nello stesso mese
-
-
-
- max mb di log da accumulare
-
-
-
-
- controlla se si debba mantenere sotto controllo la dimensioen della cartella logs
-
-
-
-
- singleton del logger
-
-
-
-
- avvio del logger nella dir desiderata
-
-
-
-
- avvio del logger nella dir desiderata
-
-
-
-
- avvio del logger nella dir desiderata con il max di dati indicato
-
-
-
-
- resetta il logfile odierno
-
-
-
-
- scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?)
-
- testo iniziale del log
+
+
-
+
- scrive un messaggio di log con etichetta pre
-
- testo messaggio
- tipo di log da registrare (etichetta [...])
-
-
-
-
- scrive su log un dump di diagnostica
-
- Causale diagnostica
- target per test PING
- target x download www page
-
-
-
- formatta un blococ di diagnostica (titolo, contenuto / eccezione)
-
-
-
-
-
-
-
- fornisce il nome del file in cui loggare (ed eventualmente crea...)
-
-
-
-
- provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb
-
-
-
-
- fornisce il file + vecchio
-
-
-
-
-
-
- livello di log applicazione (da web.config, chiave '_logLevel')
-
-
-
-
- tipo di log ammesso
-
-
-
-
- informazioni di debug
-
-
-
-
- dump diagnostica
-
-
-
-
- errori
-
-
-
-
- eccezioni nell'esecuzione try/catch
-
-
-
-
- errori fatali
-
-
-
-
- informazioni opzionali
-
-
-
-
- log dei lemmi invocati per traduzione da vocabolario
-
-
-
-
- fase di avvio componente
-
-
-
-
- avvisi
-
-
-
-
- Represents a strongly typed in-memory cache of data.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents the strongly named DataTable class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Represents strongly named DataRow class.
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Row event argument class
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- Represents the connection and commands used to retrieve and save data.
-
-
-
-
- classe di gestione lettura
-
-
-
-
- esegue parsing fornendo dati ed headers
-
-
-
-
-
-
-
- esegue parsing fornendo dati
+ restituisce l'intervallo del giorno completo che comprende la data indicata
-
+
- esegue parsing fornendo dati come stream
+ restituisce l'intervallo di N giorni fino alla data indicata
-
+
+
-
+
- esegue parsing fornendo dati come stream ed headers
+ restituisce l'intervallo della settimana corrente per la data indicata
-
-
+
-
+
- Summary description for selettori
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- carica i dati CdC se in cache o da TableAdapter
-
-
-
-
- restituisce l'elenco di tutti i cdc
+ restituisce l'intervallo del mese corrente per la data indicata (dal giorno 1 all'indomani delal data indicata)
+
-
+
- restituisce l'elenco di tutti i cdc della gerarchia dell'utente
+ restituisce l'intervallo del mese che comprende la data indicata (dal primo all'ultimo giorno)
+
-
+
- classe gestione parametri deviceper stampa
-
-
-
-
- creazione oggetto parametri per stampa
-
-
-
-
-
-
-
-
-
-
-
- formato output
-
-
-
-
- altezza
-
-
-
-
- larghezza
-
-
-
-
- margine Sx
-
-
-
-
- margine Dx
-
-
-
-
- margine Top
-
-
-
-
- margine Bottom
-
-
-
-
- classe gestione logging esteso di eventi e note utente (correlabili)
-
-
-
-
- TableAdapter di accesso alla tabella anagrafica filtraggi
-
-
-
-
- TableAdapter di accesso alla tabella anagrafica record
-
-
-
-
- TableAdapter di accesso alla tabella logging record di eventi
-
-
-
-
- TableAdapter di accesso alla tabella logging utente
-
-
-
-
- TableAdapter di accesso alla vista logging eventi
-
-
-
-
- TableAdapter di accesso alla vista logging utente
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- avvio i tari tableAdapters
-
-
-
-
- avvio della classe istanziando db e
-
-
-
-
- oggetto statico di accesso ai metodi della classe...
-
-
-
-
- tabella eventi
+ restituisce l'intervallo dell'anno corrente per la data indicata
+
-
+
- tabella note
+ oggetto singleton
+
+
+
+ classe di gestione delle email
+
+
+
+
+ stringa del nome DNS o dell'ip del server SMTP
+
+
+
+
+ stringa username x server SMTP
+
+
+
+
+ stringa pwd x server SMTP
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+
+ procedura invio email
+
+ email mittente
+ email destinatario
+ oggetto dell'email
+ corpo del messaggio
+
+
+
+ procedura invio email + scrittura in log!
+
+ email mittente
+ email destinatario
+ oggetto dell'email
+ corpo del messaggio
+
+
+
+ metodo singleton gestione email...
+
+
+
+
+ metodo singleton gestione email CON AUTH utente...
+
+
+
+
+ Tipo di comparazione, Binary == CaseSensitive, Text = insensitive
+
+
+
+
+ tipo controllo : binario
+
+
+
+
+ tipo controllo : text
+
+
+
+
+ Funzione di splitting compatibile con multi-character e multi-line
+
+
+
+
+ stringa da splittare
+
+
+
+
+ Delimiter con cui splittare
+
+
+
+
+ Costruttore dello Splitter
+
+
+
+
+ comparatore case sensitive
+
+
+
-
+
- tabella eventi secondo filtro
+ comparatore case insensitive
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
-
+
- tabella note secondo filtro
+ parte principale dello splitter
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ stringa da splittare
+ delimitatore ricercato
+ true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base)
+
+ 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive
-
+
- tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata
+ elimina dal nome file il tipo (desinenza)
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
- ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
-
+
- tabella note secondo filtro e condizione ulteriore WHERE esplicitata
+ Classe di metodi che estendono quelli base applicati alle string
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
- ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+ Trasforma in MAIUSCOLo il primo carattere della stringa
+
+ stringa da processare
+ stringa processata
+
+
+
+ restituisce la stringa completa e corretta del filepath del server (anche con vDir)
+
+ path relativo alla cartella iis dell'applicativo
+ path fisico tradotto
+
+
+
+ effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi
+
+
-
+
- tabella note secondo filtro
+ restituisce una stringa uguale all'originale + terminazione newline
- filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
-
+
- inserisce l'evento indicato dai parametri
-
- user che ha generato l'evento
- pagina/form applicaizone in cui l'evento si è generato
- valore originale(se c'è)
- valore nuovo/modificato
- descrizione evento (poi gestita con anagrafica interna)
- filtro logico evento (poi gestita con anagrafica interna)
-
-
-
- inserisce la nota utente indicata dai parametri, restituisce idx della nota creata...
-
- user che ha inserito la nota
- testo della nota
- valore ulteriore da associare alla nota (es: label, codice, versione, ...)
- filtro logico evento (poi gestita con anagrafica interna)
- intero dell'idx della nota creata
-
-
-
- associa l'evento e la nota indicati
-
- idx del record da associare
- idx chiave della nota da associare
-
-
-
- associa l'ultimo evento del filtro indicato alla nota
-
- filtro associato all'ultimo evento...
- idx chiave della nota da associare
-
-
-
- segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
-
- utente generatore dell'evento
-
-
-
- segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
-
- utente generatore dell'evento
-
-
-
- Elimina gli eventi cestinati generati dall'utente indicato
-
- utente generatore dell'evento
-
-
-
- Elimina gli eventi cestinati anteriori alla data selezionata
-
- dataOra dell'evento
-
-
-
- effettua la registrazione dell'evento in session
-
-
-
-
- metodo di comportamento del controllo di logging
-
-
-
-
- nasconde pannello log
-
-
-
-
- memorizza log inserito
-
-
-
-
- mostra pannello log
-
-
-
-
- metodo di comportamento del controllo di logging
-
-
-
-
- indica il primo step del doppio livello di approvazione (completamento)
-
-
-
-
- SOLO con incremento indice di revisione dell'oggetto approvato
-
-
-
-
- SOLO mantenendo indice di revisione corrente
-
-
-
-
- permette SIA con revisione che senza (e anche rev -1)
-
-
-
-
- enumeratore modalità login
-
-
-
-
- login AD normale
-
-
-
-
- forza utente fornendo password
-
-
-
-
- forza ad un utente standard scelto dall'elenco
-
-
-
-
- enumeratore modalità scrittura tag siteMap
-
-
-
-
- nodo di tipo iniziale - apertura
-
-
-
-
- nodo di tipo foglia
-
-
-
-
- nodo di tipo finale - chiusura
-
-
-
-
- enumeratore tipi di anagrafica
-
-
-
-
- tipo di anagrafica Brembo
-
-
-
-
- tipo di anagrafica generica
-
-
-
-
- tipo di vista del modulo
-
-
-
-
- modalità selezione
-
-
-
-
- modalità editing
-
-
-
-
- modalità inserting nuovo valore
-
-
-
-
- tipologia di file immagine
-
-
-
-
- formato gif (no alpha channel)
-
-
-
-
- formato jpeg
-
-
-
-
- formato png
-
-
-
-
- tipo di immagini usate per le icone di comando in web applications
-
-
-
-
- icona annulla (croce rossa)
-
-
-
-
- icona approva (simbolo coccarda)
-
-
-
-
- icona barcode in campo bianco
-
-
-
-
- icona barcode in campo arancio
-
-
-
-
- icona clona (magic wand)
-
-
-
-
- icona converma (spunta verde)
-
-
-
-
- icona elimina (cestino)
-
-
-
-
- icona modifica (matita)
-
-
-
-
- icona notepad (blocco note)
-
-
-
-
- icona notepad + pdf (blocco note)
-
-
-
-
- icona nuovo (segno +)
-
-
-
-
- icona seleziona (lente)
-
-
-
-
- icona semaforo giallo
-
-
-
-
- icona semaforo rosso
-
-
-
-
- icona semaforo verde
-
-
-
-
- icona stampa (printer)
-
-
-
-
- dimensione immagini usate per le icone di comando in web applications
-
-
-
-
- formato piccolo
-
-
-
-
- formato medio
-
-
-
-
- formato grande
-
-
-
-
- modalità di esecuzione applicativi
-
-
-
-
- modalità normale
-
-
-
-
- modalità debug
-
-
-
-
- salvataggio di tutti i lemmi tradotti
-
-
-
-
- helper x raccolta dati di diagnostica
-
-
-
-
- calcolo uptime in formato timespan
+ formatta un titolo
+ Titolo da scrivere
+ carattere x padding titolo
+ larghezza caratteri (x pad)
-
+
- elenco devices USB
+ formatta una riga di caratteri
+ carattere da utilizzare
+ larghezza caratteri (x pad)
-
+
- registra esito ping ad un dato IP/hostname
+ fornisce dati di base per l'utente
- IPaddress / host name.
-
+
- restituisce contenuto di una pagina web (per testing)
+ fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE
-
+
-
+
- uptime macchina (formattato)
-
-
-
-
- restituisce elenco dischi con utilizzo (formattato)
+ restituisce la riga completa dall'username richiesto
+
-
+
+
- mostra elenco interfacce di rete e loro conf
+ calcola il nome del computer dato l'IP
-
-
-
- fornisce elenco dispositivi USB collegati
-
-
+
-
+
- elenco porte seriali
-
-
-
-
- classe definizione info oggetti USB
-
-
-
-
- classe di wrap verso i TableAdapter impiegati
-
-
-
-
- metodo protected di avvio della classe
-
-
-
-
- procedura di avvio dei tableAdapter
-
-
-
-
- procedura di avvio dei tableAdapter
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- effettua setup dei connection strings da web.config delal singola applicazione
-
-
-
-
- setup delle tabelle vocabolario
-
-
-
-
- prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary
+ scarica una pagina da URL e fornisce testo string
+ Indirizzo pagina (completo)
+ username (se necessario)
+ password (se necessaria)
-
+
- tableAdapter diritti
+ manda pacchetto ARP
-
-
-
- tableAdapter permessi
-
-
-
-
- tableAdapter funzione
-
-
-
-
- tableAdapter permessi2funzione
-
-
-
-
- tableAdapter CdC
-
-
-
-
- tableAdapter utenti
-
-
-
-
- tableAdapter userData (user/pwd)
-
-
-
-
- tableAdapter userDataExt (user/pwd)
-
-
-
-
- table adapter lingue
-
-
-
-
- table adapter vocabolario
-
-
-
-
- table adapter versione vocabolario
-
-
-
-
- table adapter versione anagrafica
-
-
-
-
- table adapter Devices utente
-
-
-
-
- oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione
-
-
-
-
- resetta il vocabolario rileggendo i dati...
-
-
-
-
- crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--"
-
-
+
+
+
+
-
+
- classe singleton x la gestione dei tableadapters
+ fornisce mac address dato nome/IP
+
+
+
+
+
+
+ utils x cifrature e Crypto
-
+
- elenco lingue ammesse da vocabolario...
+ cifra un messaggio con una password
+
+
+
-
+
- classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali
-
-
-
-
- valore originale
-
-
-
-
- nuovo valore
-
-
-
-
- dictionary dei parametri vecchi
-
-
-
-
- dictionary dei parametri nuovi
-
-
-
-
- inizializzazione classe
-
-
-
-
- valorizza i diff dei valori old e new
-
-
-
-
- calcola solo il vettore dei valori old (x delete)
-
-
-
-
- oggetto statico per il confronto valori
-
-
-
-
- stringa diff dei valori originali modificati
-
-
-
-
- stringa diff dei valori nuovi modificati
-
-
-
-
- dictionary dei parametri old
-
-
-
-
- dictionary dei parametri new
+ decifra un messaggio con una password
+
+
+
diff --git a/GMW_data/bin/SP_prod/GMW_data.dll b/GMW_data/bin/SP_prod/GMW_data.dll
index 48b5f3d5..83111d72 100644
Binary files a/GMW_data/bin/SP_prod/GMW_data.dll and b/GMW_data/bin/SP_prod/GMW_data.dll differ
diff --git a/GMW_data/bin/SP_prod/SteamWare.dll b/GMW_data/bin/SP_prod/SteamWare.dll
index a5ace7f5..0350635a 100644
Binary files a/GMW_data/bin/SP_prod/SteamWare.dll and b/GMW_data/bin/SP_prod/SteamWare.dll differ
diff --git a/GMW_data/bin/SP_test/GMW_data.dll b/GMW_data/bin/SP_test/GMW_data.dll
index db158a37..ec2db4eb 100644
Binary files a/GMW_data/bin/SP_test/GMW_data.dll and b/GMW_data/bin/SP_test/GMW_data.dll differ
diff --git a/GMW_data/bin/SP_test/SteamWare.dll b/GMW_data/bin/SP_test/SteamWare.dll
index a5ace7f5..0350635a 100644
Binary files a/GMW_data/bin/SP_test/SteamWare.dll and b/GMW_data/bin/SP_test/SteamWare.dll differ
diff --git a/GMW_data/bin/TK_prod/GMW_data.dll b/GMW_data/bin/TK_prod/GMW_data.dll
index c60230d0..1ef661d0 100644
Binary files a/GMW_data/bin/TK_prod/GMW_data.dll and b/GMW_data/bin/TK_prod/GMW_data.dll differ
diff --git a/GMW_data/bin/TK_prod/SteamWare.dll b/GMW_data/bin/TK_prod/SteamWare.dll
index a5ace7f5..0350635a 100644
Binary files a/GMW_data/bin/TK_prod/SteamWare.dll and b/GMW_data/bin/TK_prod/SteamWare.dll differ
diff --git a/GMW_data/reportPrinter.cs b/GMW_data/reportPrinter.cs
index 3b59ab2f..f6eca755 100644
--- a/GMW_data/reportPrinter.cs
+++ b/GMW_data/reportPrinter.cs
@@ -276,6 +276,40 @@ public class reportPrinter
public bool stampaCartellino(tipoCartellino cartellino, string UDC, string printerName)
{
bool answ = false;
+ int idxPrintJob = 0;
+ // gestione coda: SE abilitata...
+ if (memLayer.ML.confReadBool("enableQueue"))
+ {
+ // incomincio con gestione della coda di stampa... inserisco in tab la richiesta di stampa...
+ DataProxy.obj.taPJQ.insertQuery(cartellino.ToString(), UDC, printerName);
+ // faccio un ciclo while... finchè non sono "in testa" alla coda delle esecuzioni aspetto...
+ string nextUdc = "ND";
+ try
+ {
+ nextUdc = DataProxy.obj.taPJQ.getNext()[0].UDC;
+ }
+ catch
+ {
+ nextUdc = "ND";
+ }
+ // verifico eventuali processi zombie: quelli in stato 0 con LastTry superiore a data attuale meno zombieMsTime
+ DataProxy.obj.taPJQ.chiudiZoombie(DateTime.Now.AddMilliseconds(-memLayer.ML.confReadInt("zombieMsTime")));
+ // ora inizio a fare le mie stampe...
+ Random rand = new Random();
+ int msWait = 200;
+ while (nextUdc != UDC)
+ {
+ // indico che ho fatto un tentativo di stampa aggiornando dtLastTry
+ DataProxy.obj.taPJQ.updateLastTry(UDC);
+ // aspetto...
+ msWait = rand.Next(memLayer.ML.confReadInt("minWait"), memLayer.ML.confReadInt("maxWait"));
+ System.Threading.Thread.Sleep(msWait);
+ // leggo prox record da coda
+ nextUdc = DataProxy.obj.taPJQ.getNext()[0].UDC;
+ }
+ // salvo idx job...
+ idxPrintJob = DataProxy.obj.taPJQ.getNext()[0].IdxPrintJob;
+ }
string outForm = "";
string pagWidth = "";
string pagHeigth = "";
@@ -334,7 +368,21 @@ public class reportPrinter
margin = memLayer.ML.confReadString(string.Format("Margin{0}", tipo));
// compongo parametri stampa
devInfoParam deviceInfo = new devInfoParam(outForm, pagHeigth, pagWidth, margin, margin, margin, margin);
- answ = printAndLog(UDC, printerName, answ, report, deviceInfo);
+ answ = printAndLog(UDC, printerName, answ, report, deviceInfo);
+ // gestione coda: SE abilitata...
+ if (memLayer.ML.confReadBool("enableQueue"))
+ {
+ if (answ)
+ {
+ // registro stampato in tabella queue...
+ DataProxy.obj.taPJQ.updateStato(idxPrintJob, 1);
+ }
+ else
+ {
+ // registro annullato in tab queue...
+ DataProxy.obj.taPJQ.updateStato(idxPrintJob, -1);
+ }
+ }
return answ;
}
///
diff --git a/ReleaseClienti/SP_prod/GMW.SourceManifest.xml b/ReleaseClienti/SP_prod/GMW.SourceManifest.xml
index 06683bdd..054c0ed5 100644
--- a/ReleaseClienti/SP_prod/GMW.SourceManifest.xml
+++ b/ReleaseClienti/SP_prod/GMW.SourceManifest.xml
@@ -1,6 +1,6 @@

-
-
-
+
+
+
\ No newline at end of file
diff --git a/ReleaseClienti/SP_prod/GMW.deploy.cmd b/ReleaseClienti/SP_prod/GMW.deploy.cmd
index c9e0d21f..16516ee4 100644
--- a/ReleaseClienti/SP_prod/GMW.deploy.cmd
+++ b/ReleaseClienti/SP_prod/GMW.deploy.cmd
@@ -177,9 +177,9 @@ call :CheckParameterFile
echo. Start executing msdeploy.exe
echo -------------------------------------------------------
if not exist "%_DeploySetParametersFile%" (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$'
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW\\App_Data$'
) else (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
)
if "%_HaveArgMSDeployAdditonalFlags%" == "" (
diff --git a/ReleaseClienti/SP_prod/GMW.zip b/ReleaseClienti/SP_prod/GMW.zip
index bb4f7773..23c8f75a 100644
Binary files a/ReleaseClienti/SP_prod/GMW.zip and b/ReleaseClienti/SP_prod/GMW.zip differ
diff --git a/ReleaseClienti/SP_prod/SP_GMW_Term.zip b/ReleaseClienti/SP_prod/SP_GMW_Term.zip
index a63f7b23..3762a45c 100644
Binary files a/ReleaseClienti/SP_prod/SP_GMW_Term.zip and b/ReleaseClienti/SP_prod/SP_GMW_Term.zip differ
diff --git a/ReleaseClienti/SP_test/GMW.SourceManifest.xml b/ReleaseClienti/SP_test/GMW.SourceManifest.xml
index 98e69cdc..1d4fc9ba 100644
--- a/ReleaseClienti/SP_test/GMW.SourceManifest.xml
+++ b/ReleaseClienti/SP_test/GMW.SourceManifest.xml
@@ -1,6 +1,6 @@

-
-
-
+
+
+
\ No newline at end of file
diff --git a/ReleaseClienti/SP_test/GMW.deploy.cmd b/ReleaseClienti/SP_test/GMW.deploy.cmd
index 5cf109f2..f25e6871 100644
--- a/ReleaseClienti/SP_test/GMW.deploy.cmd
+++ b/ReleaseClienti/SP_test/GMW.deploy.cmd
@@ -177,9 +177,9 @@ call :CheckParameterFile
echo. Start executing msdeploy.exe
echo -------------------------------------------------------
if not exist "%_DeploySetParametersFile%" (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$'
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW_test\\App_Data$'
) else (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
)
if "%_HaveArgMSDeployAdditonalFlags%" == "" (
diff --git a/ReleaseClienti/SP_test/GMW.zip b/ReleaseClienti/SP_test/GMW.zip
index 6e9a9627..497e8569 100644
Binary files a/ReleaseClienti/SP_test/GMW.zip and b/ReleaseClienti/SP_test/GMW.zip differ
diff --git a/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip b/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip
index 9229fe30..bbaed43c 100644
Binary files a/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip and b/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip differ
diff --git a/ReleaseClienti/TK_prod/GMW.SourceManifest.xml b/ReleaseClienti/TK_prod/GMW.SourceManifest.xml
index 81133499..b3725719 100644
--- a/ReleaseClienti/TK_prod/GMW.SourceManifest.xml
+++ b/ReleaseClienti/TK_prod/GMW.SourceManifest.xml
@@ -1,6 +1,6 @@

-
-
-
+
+
+
\ No newline at end of file
diff --git a/ReleaseClienti/TK_prod/GMW.deploy.cmd b/ReleaseClienti/TK_prod/GMW.deploy.cmd
index 2b152b4c..a8a4a008 100644
--- a/ReleaseClienti/TK_prod/GMW.deploy.cmd
+++ b/ReleaseClienti/TK_prod/GMW.deploy.cmd
@@ -177,9 +177,9 @@ call :CheckParameterFile
echo. Start executing msdeploy.exe
echo -------------------------------------------------------
if not exist "%_DeploySetParametersFile%" (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$'
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW\\App_Data$'
) else (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
)
if "%_HaveArgMSDeployAdditonalFlags%" == "" (
diff --git a/ReleaseClienti/TK_prod/GMW.zip b/ReleaseClienti/TK_prod/GMW.zip
index 3a06b0f8..6eeb5719 100644
Binary files a/ReleaseClienti/TK_prod/GMW.zip and b/ReleaseClienti/TK_prod/GMW.zip differ
diff --git a/ReleaseClienti/TK_prod/TK_GMW_Term.zip b/ReleaseClienti/TK_prod/TK_GMW_Term.zip
index b1870be0..5dd97126 100644
Binary files a/ReleaseClienti/TK_prod/TK_GMW_Term.zip and b/ReleaseClienti/TK_prod/TK_GMW_Term.zip differ
diff --git a/ReleaseClienti/TK_test/GMW.SourceManifest.xml b/ReleaseClienti/TK_test/GMW.SourceManifest.xml
index f1c6aaaa..05be667f 100644
--- a/ReleaseClienti/TK_test/GMW.SourceManifest.xml
+++ b/ReleaseClienti/TK_test/GMW.SourceManifest.xml
@@ -1,6 +1,6 @@

-
-
-
+
+
+
\ No newline at end of file
diff --git a/ReleaseClienti/TK_test/GMW.deploy.cmd b/ReleaseClienti/TK_test/GMW.deploy.cmd
index ddd4199a..d6230f49 100644
--- a/ReleaseClienti/TK_test/GMW.deploy.cmd
+++ b/ReleaseClienti/TK_test/GMW.deploy.cmd
@@ -177,9 +177,9 @@ call :CheckParameterFile
echo. Start executing msdeploy.exe
echo -------------------------------------------------------
if not exist "%_DeploySetParametersFile%" (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$'
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW_test\\App_Data$'
) else (
-set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
+set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%"
)
if "%_HaveArgMSDeployAdditonalFlags%" == "" (
diff --git a/ReleaseClienti/TK_test/GMW.zip b/ReleaseClienti/TK_test/GMW.zip
index 7029dfa4..f9b5acbf 100644
Binary files a/ReleaseClienti/TK_test/GMW.zip and b/ReleaseClienti/TK_test/GMW.zip differ
diff --git a/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip b/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip
index d8319d27..7226562c 100644
Binary files a/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip and b/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip differ