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+
+
+
+
+
+
+
+
diff --git a/CMS-SC-Data/bin/Release/CMS-SC-Data.dll b/CMS-SC-Data/bin/Release/CMS-SC-Data.dll
index e1325ba..53e2dd1 100644
Binary files a/CMS-SC-Data/bin/Release/CMS-SC-Data.dll and b/CMS-SC-Data/bin/Release/CMS-SC-Data.dll differ
diff --git a/CMS-SC-Data/bin/Release/SteamWare.dll b/CMS-SC-Data/bin/Release/SteamWare.dll
index 5398641..538fd75 100644
Binary files a/CMS-SC-Data/bin/Release/SteamWare.dll and b/CMS-SC-Data/bin/Release/SteamWare.dll differ
diff --git a/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt b/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt
index b7f6b27..b48295c 100644
--- a/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt
+++ b/CMS-SC-Data/obj/Release/CMS-SC-Data.csproj.FileListAbsolute.txt
@@ -8,3 +8,13 @@ C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\bin\Re
C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\bin\Release\SteamWare.dll
C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\bin\Release\Flesk.ViewState.dll
C:\Users\samuele\Documents\Visual Studio 2012\Projects\CMS-SC\CMS-SC-Data\bin\Release\ICSharpCode.SharpZipLib.dll
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\NLog.config
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\CMS-SC-Data.dll.config
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\CMS-SC-Data.dll
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\CMS-SC-Data.pdb
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\SteamWare.dll
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\Flesk.ViewState.dll
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\bin\Release\ICSharpCode.SharpZipLib.dll
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.csprojResolveAssemblyReference.cache
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.dll
+C:\Users\samuele\Documents\Visual Studio 2015\Projects\CMS-SC\CMS-SC-Data\obj\Release\CMS-SC-Data.pdb
diff --git a/CMS-SC-Data/obj/Release/CMS-SC-Data.dll b/CMS-SC-Data/obj/Release/CMS-SC-Data.dll
index e1325ba..53e2dd1 100644
Binary files a/CMS-SC-Data/obj/Release/CMS-SC-Data.dll and b/CMS-SC-Data/obj/Release/CMS-SC-Data.dll differ
diff --git a/CMS_SC/CMS_SC.csproj b/CMS_SC/CMS_SC.csproj
index 883c3f3..17b4a70 100644
--- a/CMS_SC/CMS_SC.csproj
+++ b/CMS_SC/CMS_SC.csproj
@@ -15,10 +15,11 @@
CMS_SC
v4.5
true
-
+ 44300
+
true
diff --git a/CMS_SC/ToDo.txt b/CMS_SC/ToDo.txt
index e01de5c..52e1804 100644
--- a/CMS_SC/ToDo.txt
+++ b/CMS_SC/ToDo.txt
@@ -1,7 +1,11 @@
-TODO's
+----------------------------------------------------------------------------------------------------------------
+- TODO's
+-
+- dalla riunione del 13 / VII - 2015 con Marco Malaguti, Mario Volpi, Rudy, Samuele e Carlo
+----------------------------------------------------------------------------------------------------------------
-- fare schema funzioni/utenti
-- aggiunta SC a dossier: se c'è già deve creare #2, #3, ...
+- export excel "in bianco" (da compilare) da verificare
+- fare schema funzioni/utenti da far compilare
- SC in dossier: cancellabile (con btn come aggiungi, x SuperUser) SE non ci sono istanze misurazioni
- Misurazioni in collaudi: eliminabile in blocco x intera SC SE NON CI SONO MISURAZIONI
- pulsanti delete dossier: condizionare a presenza items child
@@ -11,5 +15,37 @@
- NON SERVE GESTIONE STATO --> bastano FASI
- gestione template fasi da tabellone?
-- allegati FILE
+- allegati FILE (db? fs?)
- check stato DRAFT/in corso/chiuso
+
+
+
+- Possibilità di cancellare una scheda già compilata e approvata ( solo da parte superuser )
+
+- Campo note NEL DOSSIER per ciascuna fase (montaggio, avviamento, collaudo, .. ) per poter indicare alcune segnalazioni (rifatto perchè sbattuto, aggiunta scheda XXXX perchè ....); (campo a commento libero).
+
+- In fase di definizione delle famiglie, poter dire per ciascuna scheda, in quale fase deve finire. In questo modo quando creo nuova scheda macchina, indicandone il modello nelle varie fasi mi trovo già le schede di collaudo previste. Struttura come FCS; ovvero campo testo; separatore da web.config, x cui 001#002#003 --> fasi 001, 002, 003 (magari cambiare fasia 2 digit..)
+
+- Potrebbero servire schede speciali in cui i valori di Minimo e Massimo sono variabili (tolleranze variabili a FDO) -> si è deciso con Carlo di costruire delle schede con 2 valori TESTUALI + un file allegato, x cui misura 1 = valori massimi da ORDINE, misura 2 valori massimi rilevati, misura 3 OK / KO (con deroga...), misura 4 = allegato file
+
+- Fare in modo che l'applicativo permetta anche la consultazione delle schede DT,( ed in generale di tutta la documentazione a corredo che non sia schede) --> creazione di FASE 000 = allegati tecnici, che contiene link a documenti da consultare
+
+- in generale F1 = help del significato delle varie Icone. --> TOOLTIP
+- selezione multipla delle schede ( es. cancellazione dal dossier ) --> inserire selezione con checkbox
+- ( draft in creazione dovrebbe sparire )
+
+- chiusura parziale della fase ???? alla partenza si chiude certamente una fase, poi la macchina passa in carico ad altro ente ( installazione, assistenza )
+ fasi curate da Mario Volpi : -montaggio meccanico
+ - avviamento
+
+----------------------------------------------------------------------------------------------------------------
+
+
+................................................................................................................
+- DONE
+................................................................................................................
+
+- aggiunta SC a dossier: se c'è già deve creare #2, #3, ...
+- Il SW funziona solo Online. E' possibile fare export excel della scheda "bianca" da compilare (su carta o in excel) e poi riportare (a mano) in sede nell'applicativo
+
+................................................................................................................
\ No newline at end of file
diff --git a/CMS_SC/bin/CMS-SC-Data.dll b/CMS_SC/bin/CMS-SC-Data.dll
index e1325ba..53e2dd1 100644
Binary files a/CMS_SC/bin/CMS-SC-Data.dll and b/CMS_SC/bin/CMS-SC-Data.dll differ
diff --git a/CMS_SC/bin/CMS_SC.dll b/CMS_SC/bin/CMS_SC.dll
index 015c4d8..77028b4 100644
Binary files a/CMS_SC/bin/CMS_SC.dll and b/CMS_SC/bin/CMS_SC.dll differ
diff --git a/CMS_SC/bin/CMS_SC.dll.config b/CMS_SC/bin/CMS_SC.dll.config
new file mode 100644
index 0000000..0f5cb62
--- /dev/null
+++ b/CMS_SC/bin/CMS_SC.dll.config
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/CMS_SC/bin/Microsoft.ReportViewer.WebForms.dll b/CMS_SC/bin/Microsoft.ReportViewer.WebForms.dll
new file mode 100644
index 0000000..2ca9b6a
Binary files /dev/null and b/CMS_SC/bin/Microsoft.ReportViewer.WebForms.dll differ
diff --git a/CMS_SC/bin/Microsoft.ReportViewer.WinForms.dll b/CMS_SC/bin/Microsoft.ReportViewer.WinForms.dll
new file mode 100644
index 0000000..6100478
Binary files /dev/null and b/CMS_SC/bin/Microsoft.ReportViewer.WinForms.dll differ
diff --git a/CMS_SC/bin/Microsoft.SqlServer.Types.dll b/CMS_SC/bin/Microsoft.SqlServer.Types.dll
new file mode 100644
index 0000000..677a268
Binary files /dev/null and b/CMS_SC/bin/Microsoft.SqlServer.Types.dll differ
diff --git a/CMS_SC/bin/SteamWare.dll b/CMS_SC/bin/SteamWare.dll
index 5398641..538fd75 100644
Binary files a/CMS_SC/bin/SteamWare.dll and b/CMS_SC/bin/SteamWare.dll differ
diff --git a/CMS_SC/bin/System.Data.SqlServerCe.dll b/CMS_SC/bin/System.Data.SqlServerCe.dll
new file mode 100644
index 0000000..8d16c2a
Binary files /dev/null and b/CMS_SC/bin/System.Data.SqlServerCe.dll differ
diff --git a/CMS_SC/bin/de/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/de/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..fb62470
Binary files /dev/null and b/CMS_SC/bin/de/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/de/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/de/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..1819a68
Binary files /dev/null and b/CMS_SC/bin/de/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/es/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/es/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..eefb3e6
Binary files /dev/null and b/CMS_SC/bin/es/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/es/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/es/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..79e4994
Binary files /dev/null and b/CMS_SC/bin/es/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/fr/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/fr/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..775e881
Binary files /dev/null and b/CMS_SC/bin/fr/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/fr/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/fr/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..7304b76
Binary files /dev/null and b/CMS_SC/bin/fr/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/it/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/it/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..949d382
Binary files /dev/null and b/CMS_SC/bin/it/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/it/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/it/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..8a2ccb2
Binary files /dev/null and b/CMS_SC/bin/it/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/ja/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/ja/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..c351af7
Binary files /dev/null and b/CMS_SC/bin/ja/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/ja/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/ja/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..d17bdc4
Binary files /dev/null and b/CMS_SC/bin/ja/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/ko/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/ko/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..b9f4c70
Binary files /dev/null and b/CMS_SC/bin/ko/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/ko/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/ko/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..14cf6f3
Binary files /dev/null and b/CMS_SC/bin/ko/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/pt/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/pt/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..9eba7e1
Binary files /dev/null and b/CMS_SC/bin/pt/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/pt/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/pt/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..dd9afc9
Binary files /dev/null and b/CMS_SC/bin/pt/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/ru/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/ru/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..3e3e532
Binary files /dev/null and b/CMS_SC/bin/ru/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/ru/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/ru/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..5b3104f
Binary files /dev/null and b/CMS_SC/bin/ru/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/zh-CHS/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/zh-CHS/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..209acc9
Binary files /dev/null and b/CMS_SC/bin/zh-CHS/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/zh-CHS/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/zh-CHS/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..30d38e2
Binary files /dev/null and b/CMS_SC/bin/zh-CHS/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/CMS_SC/bin/zh-CHT/Microsoft.ReportViewer.WebForms.resources.dll b/CMS_SC/bin/zh-CHT/Microsoft.ReportViewer.WebForms.resources.dll
new file mode 100644
index 0000000..c431404
Binary files /dev/null and b/CMS_SC/bin/zh-CHT/Microsoft.ReportViewer.WebForms.resources.dll differ
diff --git a/CMS_SC/bin/zh-CHT/Microsoft.ReportViewer.WinForms.resources.dll b/CMS_SC/bin/zh-CHT/Microsoft.ReportViewer.WinForms.resources.dll
new file mode 100644
index 0000000..b5e4610
Binary files /dev/null and b/CMS_SC/bin/zh-CHT/Microsoft.ReportViewer.WinForms.resources.dll differ
diff --git a/VersGen/bin/Release/VersGen.dll b/VersGen/bin/Release/VersGen.dll
index 4097be8..a1cf7fb 100644
Binary files a/VersGen/bin/Release/VersGen.dll and b/VersGen/bin/Release/VersGen.dll differ