diff --git a/.vs/WebSCR/v14/.suo b/.vs/WebSCR/v14/.suo index 19d99e3..6c4e230 100644 Binary files a/.vs/WebSCR/v14/.suo and b/.vs/WebSCR/v14/.suo differ diff --git a/DataUploader/FullSync.aspx.cs b/DataUploader/FullSync.aspx.cs index 3a9d9f3..ef1fdca 100644 --- a/DataUploader/FullSync.aspx.cs +++ b/DataUploader/FullSync.aspx.cs @@ -66,10 +66,18 @@ namespace DataUploader { try { - logger.Info("Chiamata [{0}]", i); + if (ConfigurationManager.AppSettings["logFull"] == "true") + { + logger.Info("Chiamata [{0}]", i); + } + // versione SYNC content = client.DownloadString(urlsUpdate[i]); - logger.Info("Risposta [{0}] - {1}", content, urlsUpdate[i]); + + if (ConfigurationManager.AppSettings["logFull"] == "true") + { + logger.Info("Risposta [{0}] - {1}", content, urlsUpdate[i]); + } } catch { } diff --git a/DataUploader/Properties/PublishProfiles/Zip.pubxml.user b/DataUploader/Properties/PublishProfiles/Zip.pubxml.user index 3b194ee..b4ea48d 100644 --- a/DataUploader/Properties/PublishProfiles/Zip.pubxml.user +++ b/DataUploader/Properties/PublishProfiles/Zip.pubxml.user @@ -10,7 +10,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt - 09/17/2015 16:56:34 + 10/01/2015 19:37:03 09/03/2015 11:38:11 @@ -22,7 +22,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt 09/03/2015 11:38:15 - 09/17/2015 16:35:39 + 09/18/2015 10:37:41 09/03/2015 11:38:11 @@ -43,13 +43,13 @@ by editing this MSBuild file. In order to learn more about this please visit htt 09/03/2015 11:38:11 - 09/17/2015 16:59:40 + 10/01/2015 19:37:04 - 09/17/2015 16:31:09 + 09/18/2015 10:37:41 - 09/17/2015 16:57:21 + 10/01/2015 19:37:03 \ No newline at end of file diff --git a/DataUploader/Web.config b/DataUploader/Web.config index 38734b9..9c93831 100644 --- a/DataUploader/Web.config +++ b/DataUploader/Web.config @@ -2,10 +2,12 @@ - + + + diff --git a/DataUploader/bin/DataUploader.dll b/DataUploader/bin/DataUploader.dll index a056d4b..02c7366 100644 Binary files a/DataUploader/bin/DataUploader.dll and b/DataUploader/bin/DataUploader.dll differ diff --git a/DataUploader/bin/DataUploader.dll.config b/DataUploader/bin/DataUploader.dll.config index 38734b9..9c93831 100644 --- a/DataUploader/bin/DataUploader.dll.config +++ b/DataUploader/bin/DataUploader.dll.config @@ -2,10 +2,12 @@ - + + + diff --git a/ReleaseClienti/DataUploader.zip b/ReleaseClienti/DataUploader.zip index 97cafa3..3f6c3c4 100644 Binary files a/ReleaseClienti/DataUploader.zip and b/ReleaseClienti/DataUploader.zip differ diff --git a/ReleaseClienti/DataUploader/Web.config b/ReleaseClienti/DataUploader/Web.config index 7cead59..d1b2529 100644 --- a/ReleaseClienti/DataUploader/Web.config +++ b/ReleaseClienti/DataUploader/Web.config @@ -2,10 +2,11 @@ - + + diff --git a/ReleaseClienti/DataUploader/bin/DataUploader.dll b/ReleaseClienti/DataUploader/bin/DataUploader.dll index a056d4b..9e73dce 100644 Binary files a/ReleaseClienti/DataUploader/bin/DataUploader.dll and b/ReleaseClienti/DataUploader/bin/DataUploader.dll differ diff --git a/VersGen/WebSC.cs b/VersGen/WebSC.cs index 1eda281..a4b33df 100644 --- a/VersGen/WebSC.cs +++ b/VersGen/WebSC.cs @@ -5,7 +5,7 @@ using System.Reflection; -[assembly: AssemblyVersion("1.6.057.170")] -[assembly: AssemblyFileVersion("1.6.057.170")] -[assembly: AssemblyCopyright("Steamware © 2015-2015")] +[assembly: AssemblyVersion("2.0.093.307")] +[assembly: AssemblyFileVersion("2.0.093.307")] +[assembly: AssemblyCopyright("Steamware © 2015-2016")] [assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/WebSC.tt b/VersGen/WebSC.tt index 0b7bb3a..08755d2 100644 --- a/VersGen/WebSC.tt +++ b/VersGen/WebSC.tt @@ -6,8 +6,8 @@ using System.Reflection; -[assembly: AssemblyVersion("1.6.057.<#= this.RevisionNumber #>")] -[assembly: AssemblyFileVersion("1.6.057.<#= this.RevisionNumber #>")] +[assembly: AssemblyVersion("2.0.093.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("2.0.093.<#= this.RevisionNumber #>")] [assembly: AssemblyCopyright("Steamware © 2015-<#= DateTime.Now.Year #>")] [assembly: AssemblyCompany("Steamware")] <#+ diff --git a/VersGen/bin/Debug/VersGen.dll b/VersGen/bin/Debug/VersGen.dll index c753d73..dc34672 100644 Binary files a/VersGen/bin/Debug/VersGen.dll and b/VersGen/bin/Debug/VersGen.dll differ diff --git a/VersGen/bin/Release/VersGen.dll b/VersGen/bin/Release/VersGen.dll index a40e634..73ca49a 100644 Binary files a/VersGen/bin/Release/VersGen.dll and b/VersGen/bin/Release/VersGen.dll differ diff --git a/VersGen/obj/Debug/TempPE/WebSC.cs.dll b/VersGen/obj/Debug/TempPE/WebSC.cs.dll index e50f848..8ff44f2 100644 Binary files a/VersGen/obj/Debug/TempPE/WebSC.cs.dll and b/VersGen/obj/Debug/TempPE/WebSC.cs.dll differ diff --git a/VersGen/obj/Debug/VersGen.csprojResolveAssemblyReference.cache b/VersGen/obj/Debug/VersGen.csprojResolveAssemblyReference.cache index 3bca980..6a3ff77 100644 Binary files a/VersGen/obj/Debug/VersGen.csprojResolveAssemblyReference.cache and b/VersGen/obj/Debug/VersGen.csprojResolveAssemblyReference.cache differ diff --git a/VersGen/obj/Debug/VersGen.dll b/VersGen/obj/Debug/VersGen.dll index c753d73..dc34672 100644 Binary files a/VersGen/obj/Debug/VersGen.dll and b/VersGen/obj/Debug/VersGen.dll differ diff --git a/VersGen/obj/Release/TempPE/WebSC.cs.dll b/VersGen/obj/Release/TempPE/WebSC.cs.dll index b362495..166adc8 100644 Binary files a/VersGen/obj/Release/TempPE/WebSC.cs.dll and b/VersGen/obj/Release/TempPE/WebSC.cs.dll differ diff --git a/VersGen/obj/Release/VersGen.csprojResolveAssemblyReference.cache b/VersGen/obj/Release/VersGen.csprojResolveAssemblyReference.cache index 3bca980..6a3ff77 100644 Binary files a/VersGen/obj/Release/VersGen.csprojResolveAssemblyReference.cache and b/VersGen/obj/Release/VersGen.csprojResolveAssemblyReference.cache differ diff --git a/VersGen/obj/Release/VersGen.dll b/VersGen/obj/Release/VersGen.dll index a40e634..73ca49a 100644 Binary files a/VersGen/obj/Release/VersGen.dll and b/VersGen/obj/Release/VersGen.dll differ diff --git a/WebSCR/Content/Style.css b/WebSCR/Content/Style.css index 52057e3..7a53bf7 100644 --- a/WebSCR/Content/Style.css +++ b/WebSCR/Content/Style.css @@ -5,25 +5,25 @@ background-color: #FFF; } .editRow { - background-color: #2461bf; + background-color: #2461BF; } .selectedRow { - background-color: #d1ddf1; + background-color: #D1DDF1; font-weight: 600; - color: #333333; + color: #333; } .headerRow { - background-color: #507cd1; + background-color: #507CD1; font-weight: 600; color: white; } .footerRow { - background-color: #507cd1; + background-color: #507CD1; font-weight: 600; color: white; } .pagerRow { - background-color: #2461bf; + background-color: #2461BF; color: white; text-align: center; margin: auto; @@ -73,6 +73,9 @@ } } @media all and (max-width: 767px) { + div.ui-mini { + font-size: 9px; + } #textWrapper { font-size: 0.8em; } @@ -95,4 +98,4 @@ #headData { margin-top: 18px; } -} +} \ No newline at end of file diff --git a/WebSCR/Content/Style.less b/WebSCR/Content/Style.less index 9313611..21432c2 100644 --- a/WebSCR/Content/Style.less +++ b/WebSCR/Content/Style.less @@ -101,6 +101,11 @@ } @media all and (max-width: 767px) { + + div.ui-mini { + font-size: 9px; + } + #textWrapper { font-size: 0.8em; } diff --git a/WebSCR/Content/Style.min.css b/WebSCR/Content/Style.min.css index c71b7dd..d4d94f3 100644 --- a/WebSCR/Content/Style.min.css +++ b/WebSCR/Content/Style.min.css @@ -1 +1 @@ -.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerRow{background-color:#507cd1;font-weight:600;color:#fff}.footerRow{background-color:#507cd1;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}}@media all and (min-width:1024px){#textWrapper{font-size:1.1em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.3em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}}@media all and (max-width:480px){#textWrapper{font-size:.6em}#headData{margin-top:14px}}@media all and (max-width:320px){#textWrapper{font-size:.5em}#headData{margin-top:18px}} \ No newline at end of file +.baseRow{background-color:#eff3fb}.altRow{background-color:#fff}.editRow{background-color:#2461bf}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333}.headerRow{background-color:#507cd1;font-weight:600;color:#fff}.footerRow{background-color:#507cd1;font-weight:600;color:#fff}.pagerRow{background-color:#2461bf;color:#fff;text-align:center;margin:auto}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}}@media all and (min-width:1024px){#textWrapper{font-size:1.1em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.3em}#headData{margin-top:0}}@media all and (max-width:767px){div.ui-mini{font-size:9px}#textWrapper{font-size:.8em}#headData{margin-top:6px}}@media all and (max-width:480px){#textWrapper{font-size:.6em}#headData{margin-top:14px}}@media all and (max-width:320px){#textWrapper{font-size:.5em}#headData{margin-top:18px}} \ No newline at end of file diff --git a/WebSCR/Content/WebSCR.css b/WebSCR/Content/WebSCR.css index 3f6b68f..916b05c 100644 --- a/WebSCR/Content/WebSCR.css +++ b/WebSCR/Content/WebSCR.css @@ -1,32 +1,44 @@ .greenBox { background-color: #c3ffc3; border: 1px solid #00a400; - color: #333333; + color: #333; } .yellowBox { background-color: #ffffb6; border: 1px solid #b1b100; - color: #333333; + color: #333; } .orangeBox { background-color: #ffa05b; border: 1px solid #be5100; - color: #333333; + color: #333; } .redBox { background-color: #ff9c9c; border: 1px solid #cb0000; - color: #333333; + color: #333; } .grayBox { background-color: #d6d6d6; border: 1px solid #707070; - color: #333333; + color: #333; } .text-center { text-align: center; margin: auto; } +.Rosso { + color: #FF0000; +} +.Verde { + color: #00FF00; +} +.Giallo { + color: #fffF00; +} +.Arancio { + color: #ff6a00; +} .tStrong { font-weight: bold; font-size: 1.3em; @@ -54,8 +66,8 @@ .calendar_white_alldayheader_inner { color: #666; background: #eee; - background: -moz-linear-gradient(top, #eeeeee 0%, #dddddd); - background: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd)); + background: -moz-linear-gradient(top, #eee 0%, #ddd); + background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd)); filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#eeeeee", endColorStr="#dddddd"); } .calendar_white_cornerright_inner { @@ -136,8 +148,8 @@ .calendar_white_event_inner { color: #666; background: #fff; - background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee); - background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee)); + background: -moz-linear-gradient(top, #ffffff 0%, #eee); + background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eee)); filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee"); border: 1px solid #999; -moz-border-radius: 5px; @@ -174,7 +186,9 @@ left: 2px; right: 0px; padding: 2px; - font-size: 9px; + font-size: 10px; + font-weight: bold; + color: black; } .calendar_white_shadow_inner { background-color: #666666; @@ -185,6 +199,9 @@ -webkit-border-radius: 5px; border-radius: 5px; } +.noShadows { + text-shadow: none; +} /* divisione schermo */ .div_1_3 { width: 33%; @@ -212,4 +229,4 @@ } .div_4_5 { width: 80%; -} +} \ No newline at end of file diff --git a/WebSCR/Content/WebSCR.less b/WebSCR/Content/WebSCR.less index 92ffdae..a975e87 100644 --- a/WebSCR/Content/WebSCR.less +++ b/WebSCR/Content/WebSCR.less @@ -61,6 +61,22 @@ margin: auto; } +.Rosso{ + color: @rosso; +} + +.Verde{ + color: @verde; +} + +.Giallo{ + color: @giallo; +} + +.Arancio{ + color: @arancio; +} + .tStrong { font-weight: bold; font-size: 1.3em; @@ -280,7 +296,9 @@ padding: 2px; - font-size: 9px; + font-size: 10px; + font-weight: bold; + color: black; } .calendar_white_shadow_inner @@ -294,6 +312,9 @@ border-radius: 5px; } +.noShadows { + text-shadow: none; +} /* divisione schermo */ .div_1_3{ diff --git a/WebSCR/Content/WebSCR.min.css b/WebSCR/Content/WebSCR.min.css index bc0eaac..33e14ca 100644 --- a/WebSCR/Content/WebSCR.min.css +++ b/WebSCR/Content/WebSCR.min.css @@ -1 +1 @@ -.greenBox{background-color:#c3ffc3;border:1px solid #00a400;color:#333}.yellowBox{background-color:#ffffb6;border:1px solid #b1b100;color:#333}.orangeBox{background-color:#ffa05b;border:1px solid #be5100;color:#333}.redBox{background-color:#ff9c9c;border:1px solid #cb0000;color:#333}.grayBox{background-color:#d6d6d6;border:1px solid #707070;color:#333}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.flLeft{float:left}.calendar_white_main{border:1px solid #999}.calendar_white_scroll_up{background:url(calendar_white/up.png)}.calendar_white_scroll_down{background:url(calendar_white/down.png)}.calendar_white_rowheader_inner,.calendar_white_cornerright_inner,.calendar_white_corner_inner,.calendar_white_colheader_inner,.calendar_white_alldayheader_inner{color:#666;background:#eee;background:-moz-linear-gradient(top,#eee 0%,#ddd);background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#eeeeee",endColorStr="#dddddd")}.calendar_white_cornerright_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-bottom:1px solid #999}.calendar_white_rowheader_inner{font-size:16pt;text-align:right;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_corner_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_rowheader_minutes{font-size:10px;vertical-align:super;padding-left:2px;padding-right:2px}.calendar_white_colheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_cell_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background-color:#fff}.calendar_white_alldayheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_message{opacity:.9;filter:alpha(opacity=90);padding:10px;color:#fff;background:#ffa216;background:-moz-linear-gradient(top,#ffa216 0%,#ff8400);background:-webkit-gradient(linear,left top,left bottom,from(#ffa216),to(#ff8400));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffa216",endColorStr="#ff8400")}.calendar_white_alldayevent_inner,.calendar_white_event_inner{color:#666;background:#fff;background:-moz-linear-gradient(top,#fff 0%,#eee);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#eee));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff",endColorStr="#eeeeee");border:1px solid #999;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8)}.calendar_white_selected .calendar_white_event_inner{background:#ddd}.calendar_white_alldayevent_inner{position:absolute;top:2px;bottom:2px;left:2px;right:1px;padding:2px;margin-right:1px;font-size:12px}.calendar_white_event_withheader .calendar_white_event_inner{padding-top:15px}.calendar_white_event{cursor:default}.calendar_white_event_inner{position:absolute;overflow:hidden;top:0;bottom:2px;left:2px;right:0;padding:2px;font-size:9px}.calendar_white_shadow_inner{background-color:#666;opacity:.5;filter:alpha(opacity=70);height:100%;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.div_1_3{width:33%}.div_2_3{width:66%}.div_1_2{width:50%}.div_1_4{width:25%}.div_3_4{width:75%}.div_1_5{width:20%}.div_2_5{width:40%}.div_3_5{width:60%}.div_4_5{width:80%} \ No newline at end of file +.greenBox{background-color:#c3ffc3;border:1px solid #00a400;color:#333}.yellowBox{background-color:#ffffb6;border:1px solid #b1b100;color:#333}.orangeBox{background-color:#ffa05b;border:1px solid #be5100;color:#333}.redBox{background-color:#ff9c9c;border:1px solid #cb0000;color:#333}.grayBox{background-color:#d6d6d6;border:1px solid #707070;color:#333}.text-center{text-align:center;margin:auto}.Rosso{color:#f00}.Verde{color:#0f0}.Giallo{color:#ff0}.Arancio{color:#ff6a00}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.flLeft{float:left}.calendar_white_main{border:1px solid #999}.calendar_white_scroll_up{background:url(calendar_white/up.png)}.calendar_white_scroll_down{background:url(calendar_white/down.png)}.calendar_white_rowheader_inner,.calendar_white_cornerright_inner,.calendar_white_corner_inner,.calendar_white_colheader_inner,.calendar_white_alldayheader_inner{color:#666;background:#eee;background:-moz-linear-gradient(top,#eee 0%,#ddd);background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#eeeeee",endColorStr="#dddddd")}.calendar_white_cornerright_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-bottom:1px solid #999}.calendar_white_rowheader_inner{font-size:16pt;text-align:right;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_corner_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_rowheader_minutes{font-size:10px;vertical-align:super;padding-left:2px;padding-right:2px}.calendar_white_colheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_cell_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background-color:#fff}.calendar_white_alldayheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_message{opacity:.9;filter:alpha(opacity=90);padding:10px;color:#fff;background:#ffa216;background:-moz-linear-gradient(top,#ffa216 0%,#ff8400);background:-webkit-gradient(linear,left top,left bottom,from(#ffa216),to(#ff8400));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffa216",endColorStr="#ff8400")}.calendar_white_alldayevent_inner,.calendar_white_event_inner{color:#666;background:#fff;background:-moz-linear-gradient(top,#fff 0%,#eee);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#eee));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff",endColorStr="#eeeeee");border:1px solid #999;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8)}.calendar_white_selected .calendar_white_event_inner{background:#ddd}.calendar_white_alldayevent_inner{position:absolute;top:2px;bottom:2px;left:2px;right:1px;padding:2px;margin-right:1px;font-size:12px}.calendar_white_event_withheader .calendar_white_event_inner{padding-top:15px}.calendar_white_event{cursor:default}.calendar_white_event_inner{position:absolute;overflow:hidden;top:0;bottom:2px;left:2px;right:0;padding:2px;font-size:10px;font-weight:bold;color:#000}.calendar_white_shadow_inner{background-color:#666;opacity:.5;filter:alpha(opacity=70);height:100%;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.noShadows{text-shadow:none}.div_1_3{width:33%}.div_2_3{width:66%}.div_1_2{width:50%}.div_1_4{width:25%}.div_3_4{width:75%}.div_1_5{width:20%}.div_2_5{width:40%}.div_3_5{width:60%}.div_4_5{width:80%} \ No newline at end of file diff --git a/WebSCR/IntSquadre.aspx b/WebSCR/IntSquadre.aspx new file mode 100644 index 0000000..3445049 --- /dev/null +++ b/WebSCR/IntSquadre.aspx @@ -0,0 +1,9 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="IntSquadre.aspx.cs" Inherits="WebSCR.IntSquadre" %> + +<%@ Register Src="~/WebUserControls/mod_Interventi.ascx" TagPrefix="uc1" TagName="mod_Interventi" %> + + + + + + diff --git a/WebSCR/IntSquadre.aspx.cs b/WebSCR/IntSquadre.aspx.cs new file mode 100644 index 0000000..91dae5d --- /dev/null +++ b/WebSCR/IntSquadre.aspx.cs @@ -0,0 +1,27 @@ +using SteamWare; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebSCR +{ + public partial class IntSquadre : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + // imposto a filtro suadre la squadra selezionata... + + string squadra = memLayer.ML.getCookieVal("CodSquadra"); + if (squadra != "") + { + memLayer.ML.setSessionVal("elencoSquadre", squadra); + } + } + } + } +} \ No newline at end of file diff --git a/WebSCR/IntSquadre.aspx.designer.cs b/WebSCR/IntSquadre.aspx.designer.cs new file mode 100644 index 0000000..38157e2 --- /dev/null +++ b/WebSCR/IntSquadre.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebSCR { + + + public partial class IntSquadre { + + /// + /// mod_Interventi control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebSCR.WebUserControls.mod_Interventi mod_Interventi; + } +} diff --git a/WebSCR/Interventi.aspx b/WebSCR/Interventi.aspx index c17fe70..3715f17 100644 --- a/WebSCR/Interventi.aspx +++ b/WebSCR/Interventi.aspx @@ -5,7 +5,7 @@ - +
diff --git a/WebSCR/JQMob.Master b/WebSCR/JQMob.Master index d50b22f..c20d43e 100644 --- a/WebSCR/JQMob.Master +++ b/WebSCR/JQMob.Master @@ -26,8 +26,8 @@ - - + + diff --git a/WebSCR/Pianificazione.aspx.cs b/WebSCR/Pianificazione.aspx.cs index e506577..67f3982 100644 --- a/WebSCR/Pianificazione.aspx.cs +++ b/WebSCR/Pianificazione.aspx.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.Linq; using System.Web; using System.Web.UI; @@ -11,7 +12,6 @@ namespace WebSCR { protected void Page_Load(object sender, EventArgs e) { - } } } \ No newline at end of file diff --git a/WebSCR/Properties/PublishProfiles/IIS02.pubxml b/WebSCR/Properties/PublishProfiles/IIS02.pubxml index f7b4693..0e78377 100644 --- a/WebSCR/Properties/PublishProfiles/IIS02.pubxml +++ b/WebSCR/Properties/PublishProfiles/IIS02.pubxml @@ -17,42 +17,43 @@ by editing this MSBuild file. In order to learn more about this please visit htt False WMSVC True - steamwarewin\administrator + steamw\administrator <_SavePWD>True - + - + - + - + - + - + + False True True False @@ -60,5 +61,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt + + \ No newline at end of file diff --git a/WebSCR/Properties/PublishProfiles/IIS02.pubxml.user b/WebSCR/Properties/PublishProfiles/IIS02.pubxml.user index f2acb18..fdf9202 100644 --- a/WebSCR/Properties/PublishProfiles/IIS02.pubxml.user +++ b/WebSCR/Properties/PublishProfiles/IIS02.pubxml.user @@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWrMOGKZ5+kG5PChtPELSKAAAAAACAAAAAAADZgAAwAAAABAAAADQqGyYdt8WVYiVevOHwQtrAAAAAASAAACgAAAAEAAAADa0EE6ZGibAVouh3p25mB4YAAAAM64tMTOGJ0cuNUUqtsZ6MStSH4RpeVk5FAAAALyd/yM2g5QR/onffXHWuHMCs+5/ + AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA7gr2JUxpGk+kgETgdPCX3gAAAAACAAAAAAADZgAAwAAAABAAAAAcaNv8rWW21TzVz3OKj8mnAAAAAASAAACgAAAAEAAAAHItJ+1D4HCNvqgCJspNTsEYAAAAUyPc3cR2ToKbCtgrZjIBLAg3zdpVrG0bFAAAANcahGf6d97F5Y5s2y/xPrj2qcEa \ No newline at end of file diff --git a/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml b/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml index 5fc84b2..48a3724 100644 --- a/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml +++ b/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml @@ -24,35 +24,36 @@ by editing this MSBuild file. In order to learn more about this please visit htt - + - + - + - + - + - + + False True True False diff --git a/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml.user b/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml.user index 74edbcd..372698e 100644 --- a/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml.user +++ b/WebSCR/Properties/PublishProfiles/WinLab-Rigamonti.pubxml.user @@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAARBxIIZk0hEq8Sf3uyTVbWAAAAAACAAAAAAADZgAAwAAAABAAAAABdIMYkwqSMSUrl9iJVdhxAAAAAASAAACgAAAAEAAAAMlRnm13Y7soZCGStDQNOF0YAAAAZJIXG8ZMVFKXkUiCvEms1YzSHLuccMsUFAAAAByGO3TqE0VIoySM3KtFyKVzH41y + AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA7gr2JUxpGk+kgETgdPCX3gAAAAACAAAAAAADZgAAwAAAABAAAAADMX/d3WjG//Hg0D9NUkXPAAAAAASAAACgAAAAEAAAAOW2zAdbLYWuvFYyySKk3kUYAAAAPf5o5d7xBvep0BKjp2XUa6Rx6JIwRdeQFAAAAOp8voSFxoe6628Wc/LXtgVAVd7o \ No newline at end of file diff --git a/WebSCR/Setup.aspx b/WebSCR/Setup.aspx index 73d89d7..c47b7fa 100644 --- a/WebSCR/Setup.aspx +++ b/WebSCR/Setup.aspx @@ -5,7 +5,9 @@ <%@ Register Src="~/WebUserControls/mod_elencoTipoInt.ascx" TagPrefix="uc1" TagName="mod_elencoTipoInt" %> <%@ Register Src="~/WebUserControls/mod_elencoZone.ascx" TagPrefix="uc1" TagName="mod_elencoZone" %> <%@ Register Src="~/WebUserControls/mod_listValues.ascx" TagPrefix="uc1" TagName="mod_listValues" %> -<%@ Register Src="~/WebUserControls/mod_AssSquadra.ascx" TagPrefix="uc1" TagName="mod_AssSquadra" %> +<%--<%@ Register Src="~/WebUserControls/mod_AssSquadra.ascx" TagPrefix="uc1" TagName="mod_AssSquadra" %>--%> +<%@ Register Src="~/WebUserControls/mod_schemaSettASSD.ascx" TagPrefix="uc1" TagName="mod_schemaSettASSD" %> + @@ -27,7 +29,8 @@ - + <%----%> +
diff --git a/WebSCR/Setup.aspx.cs b/WebSCR/Setup.aspx.cs index b856eb4..55d79e5 100644 --- a/WebSCR/Setup.aspx.cs +++ b/WebSCR/Setup.aspx.cs @@ -17,12 +17,12 @@ namespace WebSCR } } /// - /// sistemazione visualizzaizone dettagli (moduli) secondo richiesta + /// sistemazione visualizzazione dettagli (moduli) secondo richiesta /// /// private void showDetail(string dettaglio) { - mod_AssSquadra.Visible = false; + mod_schemaSettASSD.Visible = false; mod_elencoDisp.Visible = false; mod_elencoSquadre.Visible = false; mod_elencoTipoInt.Visible = false; @@ -36,7 +36,7 @@ namespace WebSCR mod_elencoDisp.selezionaAttive(); break; case "compSquadre": - mod_AssSquadra.Visible = true; + mod_schemaSettASSD.Visible = true; break; case "squadre": mod_elencoSquadre.Visible = true; diff --git a/WebSCR/Setup.aspx.designer.cs b/WebSCR/Setup.aspx.designer.cs index b7f5475..363d40e 100644 --- a/WebSCR/Setup.aspx.designer.cs +++ b/WebSCR/Setup.aspx.designer.cs @@ -58,13 +58,13 @@ namespace WebSCR { protected global::WebSCR.WebUserControls.mod_elencoSquadre mod_elencoSquadre; /// - /// mod_AssSquadra control. + /// mod_schemaSettASSD control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::WebSCR.WebUserControls.mod_AssSquadra mod_AssSquadra; + protected global::WebSCR.WebUserControls.mod_schemaSettASSD mod_schemaSettASSD; /// /// mod_listValues control. diff --git a/WebSCR/Squadra.aspx b/WebSCR/Squadra.aspx index 109b1d9..5ea254e 100644 --- a/WebSCR/Squadra.aspx +++ b/WebSCR/Squadra.aspx @@ -3,7 +3,7 @@ <%@ Register Src="~/WebUserControls/mod_consegne.ascx" TagPrefix="uc1" TagName="mod_consegne" %> <%@ Register Src="~/WebUserControls/mod_dettInt.ascx" TagPrefix="uc1" TagName="mod_dettInt" %> <%@ Register Src="~/WebUserControls/mod_ImpegnoSmall.ascx" TagPrefix="uc1" TagName="mod_ImpegnoSmall" %> -<%@ Register Src="~/WebUserControls/mod_gestIntSquadra.ascx" TagPrefix="uc1" TagName="mod_gestIntSquadra" %> +<%@ Register Src="~/WebUserControls/mod_gestIntSquadre.ascx" TagPrefix="uc1" TagName="mod_gestIntSquadre" %> <%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %> <%@ Register Src="~/WebUserControls/mod_selData.ascx" TagPrefix="uc1" TagName="mod_selData" %> @@ -15,10 +15,10 @@
- +
- +
diff --git a/WebSCR/Squadra.aspx.cs b/WebSCR/Squadra.aspx.cs index 51fd024..8d70290 100644 --- a/WebSCR/Squadra.aspx.cs +++ b/WebSCR/Squadra.aspx.cs @@ -13,7 +13,7 @@ namespace WebSCR protected void Page_Load(object sender, EventArgs e) { fixVisibility(); - mod_gestIntSquadra.eh_update += mod_gestIntSquadra_eh_update; + mod_gestIntSquadre.eh_update += mod_gestIntSquadre_eh_update; mod_selData.eh_update += Mod_selData_eh_update; } @@ -28,7 +28,7 @@ namespace WebSCR ///
/// /// - void mod_gestIntSquadra_eh_update(object sender, EventArgs e) + void mod_gestIntSquadre_eh_update(object sender, EventArgs e) { mod_dettInt.doUpdate(); mod_ImpegnoSmall.doUpdate(); @@ -51,12 +51,12 @@ namespace WebSCR mod_dettInt.Visible = false; mod_ImpegnoSmall.Visible = false; divFile.Visible = false; - mod_gestIntSquadra.Visible = false; + mod_gestIntSquadre.Visible = false; if (qsVal("Data") != "") { if (qsVal("IdxImpegno") != "") { - mod_gestIntSquadra.Visible = true; + mod_gestIntSquadre.Visible = true; mod_ImpegnoSmall.Visible = true; mod_dettInt.Visible = true; divFile.Visible = true; diff --git a/WebSCR/Squadra.aspx.designer.cs b/WebSCR/Squadra.aspx.designer.cs index f14b4f3..fd967c0 100644 --- a/WebSCR/Squadra.aspx.designer.cs +++ b/WebSCR/Squadra.aspx.designer.cs @@ -31,13 +31,13 @@ namespace WebSCR { protected global::WebSCR.WebUserControls.mod_consegne mod_consegne; /// - /// mod_gestIntSquadra control. + /// mod_gestIntSquadre control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::WebSCR.WebUserControls.mod_gestIntSquadra mod_gestIntSquadra; + protected global::WebSCR.WebUserControls.mod_gestIntSquadre mod_gestIntSquadre; /// /// mod_ImpegnoSmall control. diff --git a/WebSCR/UpdateSql/update_v_2.0.sql b/WebSCR/UpdateSql/update_v_2.0.sql new file mode 100644 index 0000000..c50f7ed --- /dev/null +++ b/WebSCR/UpdateSql/update_v_2.0.sql @@ -0,0 +1,13 @@ +------------------------------------------------------------------------------------------ +-- UPGRADE V 2.0 +------------------------------------------------------------------------------------------ + +-- IN PRIMIS backup db + sito +-- ESEGUIRE ALLINEAMENTO con procedura automatica dacpac + +-- aggiornare contenuto delle date/ora comunicate (inizio/fine) +update impegni +set DataOraComFrom = DATEADD(minute, -30, DataOra) + +update impegni +set DataOraComTo = DATEADD(minute, 30, DataOra) diff --git a/WebSCR/Upload/Client.aspx.cs b/WebSCR/Upload/Client.aspx.cs index 475b277..055f23d 100644 --- a/WebSCR/Upload/Client.aspx.cs +++ b/WebSCR/Upload/Client.aspx.cs @@ -29,6 +29,9 @@ namespace WebSCR.Upload string answ = "ND"; /* * http://webscr.steamware.net/Rigamonti/Upload/Client?CodCliente=C0000&RagSoc=Cognome+Nome&CodFis=ABCDEFGH123456&Tel=035+0000000&Cell333+000000&EnableSMS=1&Email=email.address@dominio.it&Indir=via+dai+piedi&Cap=24999&Localita=Dalmine&Prov=BG&Note=note+se+presenti + + + http://webscr.steamware.net/Rigamonti/Upload/Client?CodCliente=C63094&RagSoc=CARNE+GIANLUCA&CodFis=&Tel=&Cell=3333438166&EnableSMS=1&Email=&Indir=VIA+CIURLINA+3&Cap=24050&Localita=GHISALBA&Prov=BG&Note= */ // legge i get x processare dati input string CodCliente = ""; diff --git a/WebSCR/Web.WinLab.config b/WebSCR/Web.WinLab.config index 101e0f1..6aeb0a4 100644 --- a/WebSCR/Web.WinLab.config +++ b/WebSCR/Web.WinLab.config @@ -15,6 +15,7 @@ --> + @@ -40,23 +42,23 @@ + + - + - - - + + + - - - - + + + + @@ -91,7 +94,7 @@ --> - + diff --git a/WebSCR/WebSCR.csproj b/WebSCR/WebSCR.csproj index 2d6f483..3ba12e2 100644 --- a/WebSCR/WebSCR.csproj +++ b/WebSCR/WebSCR.csproj @@ -46,8 +46,8 @@ ..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll True - - ..\packages\DayPilot.5.0.302\lib\DayPilot.dll + + ..\packages\DayPilot.5.0.303\lib\DayPilot.dll True @@ -357,6 +357,7 @@ + @@ -395,6 +396,7 @@ + @@ -412,15 +414,18 @@ - + + + + @@ -432,6 +437,7 @@ Designer + Web.config Designer @@ -478,6 +484,13 @@ Interventi.aspx + + IntSquadre.aspx + ASPXCodeBehind + + + IntSquadre.aspx + Menu.aspx ASPXCodeBehind @@ -608,6 +621,13 @@ mod_cronologico.ascx + + mod_dettASSD.ascx + ASPXCodeBehind + + + mod_dettASSD.ascx + mod_dettInt.ascx ASPXCodeBehind @@ -727,12 +747,12 @@ mod_footer.ascx - - mod_gestIntSquadra.ascx + + mod_gestIntSquadre.ascx ASPXCodeBehind - - mod_gestIntSquadra.ascx + + mod_gestIntSquadre.ascx mod_giornata.ascx @@ -741,6 +761,13 @@ mod_giornata.ascx + + mod_giornataASSD.ascx + ASPXCodeBehind + + + mod_giornataASSD.ascx + mod_header.ascx ASPXCodeBehind @@ -783,6 +810,13 @@ mod_pianificazione.ascx + + mod_schemaSettASSD.ascx + ASPXCodeBehind + + + mod_schemaSettASSD.ascx + mod_selData.ascx ASPXCodeBehind @@ -790,6 +824,13 @@ mod_selData.ascx + + mod_selDataOra.ascx + ASPXCodeBehind + + + mod_selDataOra.ascx + mod_selSquadre.ascx ASPXCodeBehind diff --git a/WebSCR/WebSCR.csproj.user b/WebSCR/WebSCR.csproj.user index 3b3a0e7..3b11f8c 100644 --- a/WebSCR/WebSCR.csproj.user +++ b/WebSCR/WebSCR.csproj.user @@ -1,7 +1,7 @@  - WinLab-Rigamonti + IIS02 ShowAllFiles diff --git a/WebSCR/WebUserControls/mod_AssSquadra.ascx b/WebSCR/WebUserControls/mod_AssSquadra.ascx index df390c5..faa8b7f 100644 --- a/WebSCR/WebUserControls/mod_AssSquadra.ascx +++ b/WebSCR/WebUserControls/mod_AssSquadra.ascx @@ -2,6 +2,7 @@ <%@ Register Src="~/WebUserControls/mod_selData.ascx" TagPrefix="uc1" TagName="mod_selData" %> +
@@ -60,7 +61,7 @@ - +
diff --git a/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs b/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs index 4dda6ae..4371ea6 100644 --- a/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs +++ b/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs @@ -20,26 +20,20 @@ namespace WebSCR.WebUserControls mod_selData.eh_update += Mod_selData_eh_update; } /// - /// rilegge (eventualmente90 dati ins essione da cookie se non presenti + /// rilegge (eventualmente) dati ins essione da cookie se non presenti /// - private static void reloadSessionByCookie() + private void reloadSessionByCookie() { - // se valore in session è nullo PROVO a leggerlo da cookie... - DateTime adesso = DateTime.Now; - if (!memLayer.ML.isInSessionObject("DataRif")) - { - try - { - adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif")); - } - catch - { } - memLayer.ML.setSessionVal("DataRif", adesso.ToString("yyyy-MM-dd"), true); - } + lblDataFrom.Text = mod_selData.dataTxt.ToString("yyyy-MM-dd"); } private void Mod_selData_eh_update(object sender, EventArgs e) { reloadSessionByCookie(); + doUpdate(); + } + + public void doUpdate() + { try { grView.DataBind(); @@ -47,6 +41,7 @@ namespace WebSCR.WebUserControls catch { } } + /// /// inserimento associazione user/squadra /// @@ -55,16 +50,17 @@ namespace WebSCR.WebUserControls protected void btnDoInsert_Click(object sender, EventArgs e) { DtProxy.man.taAsSq.insertQuery(ddlSquadre.SelectedValue, mod_selData.dateSel, ddlDip.SelectedValue); - grView.DataBind(); + doUpdate(); } protected void ddlSquadre_SelectedIndexChanged(object sender, EventArgs e) { - grView.DataBind(); + doUpdate(); } protected void ddlDip_SelectedIndexChanged(object sender, EventArgs e) { + doUpdate(); } } } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs b/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs index e916202..465f122 100644 --- a/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs @@ -12,6 +12,15 @@ namespace WebSCR.WebUserControls { public partial class mod_AssSquadra { + /// + /// lblDataFrom control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox lblDataFrom; + /// /// ddlSquadre control. /// diff --git a/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx index a1ed117..6d2edeb 100644 --- a/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx +++ b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx @@ -6,7 +6,12 @@
- +
+ +
+
+ +
@@ -32,7 +37,7 @@ | - +
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx b/WebSCR/WebUserControls/mod_Interventi.ascx index f942bb6..ab3eb7a 100644 --- a/WebSCR/WebUserControls/mod_Interventi.ascx +++ b/WebSCR/WebUserControls/mod_Interventi.ascx @@ -10,6 +10,7 @@ +
@@ -57,20 +58,9 @@
- <%--
- -
-
-
- - - -
- -
--%>
-
+
@@ -105,7 +95,7 @@
-
+
@@ -119,9 +109,12 @@ + + +
- +
@@ -161,15 +154,34 @@ - -
+
+ +
+ +
+
+
+ +
+ + + + + + - + + + + + + + @@ -188,7 +200,7 @@ - + diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.cs index ce16b6c..3feb971 100644 --- a/WebSCR/WebUserControls/mod_Interventi.ascx.cs +++ b/WebSCR/WebUserControls/mod_Interventi.ascx.cs @@ -112,8 +112,24 @@ namespace WebSCR.WebUserControls /// ultimo comando letto da link button ///
public string lastCmd { get; set; } - - + /// + /// determina visibilità selettore squadre + /// + public bool showSelSquadre + { + get + { + return mod_selSquadre.Visible; + } + set + { + mod_selSquadre.Visible = value; + } + } + /// + /// URL per rimando su selezione + /// + public string redirBaseUrl { get; set; } /// /// aggiungo/tolgo all'intervallo selezione /// @@ -197,7 +213,8 @@ namespace WebSCR.WebUserControls riga = DtProxy.man.taImp.GetData()[0]; } // rimando su pagina! - Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno)); + Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", redirBaseUrl, riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno)); + //Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno)); } } diff --git a/WebSCR/WebUserControls/mod_compSquadra.ascx b/WebSCR/WebUserControls/mod_compSquadra.ascx index de750c8..415c816 100644 --- a/WebSCR/WebUserControls/mod_compSquadra.ascx +++ b/WebSCR/WebUserControls/mod_compSquadra.ascx @@ -3,7 +3,7 @@
- + @@ -19,18 +19,18 @@ Nessun componente squadra assegnato - <%----%> - - - + <%-- + + + + --%> + <%----%> + - + - <%----%> - - <%----%> - +
diff --git a/WebSCR/WebUserControls/mod_compSquadra.ascx.cs b/WebSCR/WebUserControls/mod_compSquadra.ascx.cs index 126fc45..4253f4d 100644 --- a/WebSCR/WebUserControls/mod_compSquadra.ascx.cs +++ b/WebSCR/WebUserControls/mod_compSquadra.ascx.cs @@ -13,5 +13,9 @@ namespace WebSCR.WebUserControls { } + public void doUpdate() + { + grView.DataBind(); + } } } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_consegne.ascx b/WebSCR/WebUserControls/mod_consegne.ascx index 2eb0c26..407d45d 100644 --- a/WebSCR/WebUserControls/mod_consegne.ascx +++ b/WebSCR/WebUserControls/mod_consegne.ascx @@ -49,7 +49,7 @@ | - +
diff --git a/WebSCR/WebUserControls/mod_cronologico.ascx b/WebSCR/WebUserControls/mod_cronologico.ascx index 57a29ae..a53f91e 100644 --- a/WebSCR/WebUserControls/mod_cronologico.ascx +++ b/WebSCR/WebUserControls/mod_cronologico.ascx @@ -122,7 +122,13 @@ - + + + + + + + diff --git a/WebSCR/WebUserControls/mod_dettASSD.ascx b/WebSCR/WebUserControls/mod_dettASSD.ascx new file mode 100644 index 0000000..8b69f2b --- /dev/null +++ b/WebSCR/WebUserControls/mod_dettASSD.ascx @@ -0,0 +1,93 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettASSD.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dettASSD" %> + + + + + <%# Eval("CognomeNome") %> |  + + + + + + + + + + + + + + + + + + + Nessun risultato + + + + + + +
+ +
+
+ + + + + + +
+ + + + <%----%> + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + diff --git a/WebSCR/WebUserControls/mod_dettASSD.ascx.cs b/WebSCR/WebUserControls/mod_dettASSD.ascx.cs new file mode 100644 index 0000000..de13b74 --- /dev/null +++ b/WebSCR/WebUserControls/mod_dettASSD.ascx.cs @@ -0,0 +1,98 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebSCR.WebUserControls +{ + public partial class mod_dettASSD : System.Web.UI.UserControl + { + public event EventHandler eh_updReq; + /// + /// solleva evento selezione data + /// + protected void reportEvent() + { + // evento! + if (eh_updReq != null) + { + eh_updReq(this, new EventArgs()); + } + } + + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// data di riferimento scelta + /// + public DateTime DataRif + { + get + { + DateTime answ = DateTime.Now; + try + { + answ = Convert.ToDateTime(hfDataRif.Value); + } + catch + { } + return answ; + } + set + { + hfDataRif.Value = value.ToShortDateString(); + } + } + /// + /// slot impostato + /// + public string Slot + { + get + { + return hfSlot.Value; + } + set + { + hfSlot.Value = value; + } + } + /// + /// CodSquadra impostata + /// + public string CodSquadra + { + get + { + return hfCodSquadra.Value; + } + set + { + hfCodSquadra.Value = value; + } + } + public bool editMode + { + get + { + return repShow.Visible; + + } + set + { + repShow.Visible = !value; + grViewEdit.Visible = value; + } + } + + protected void odsASSD_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + // sollevo evento! + reportEvent(); + } + } +} \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_dettASSD.ascx.designer.cs b/WebSCR/WebUserControls/mod_dettASSD.ascx.designer.cs new file mode 100644 index 0000000..59e9d49 --- /dev/null +++ b/WebSCR/WebUserControls/mod_dettASSD.ascx.designer.cs @@ -0,0 +1,78 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebSCR.WebUserControls { + + + public partial class mod_dettASSD { + + /// + /// repShow control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Repeater repShow; + + /// + /// odsSquadra control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadra; + + /// + /// grViewEdit control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grViewEdit; + + /// + /// odsASSD control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsASSD; + + /// + /// hfDataRif control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfDataRif; + + /// + /// hfSlot control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfSlot; + + /// + /// hfCodSquadra control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfCodSquadra; + } +} diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx b/WebSCR/WebUserControls/mod_dettInt.ascx index af6e791..609b5fb 100644 --- a/WebSCR/WebUserControls/mod_dettInt.ascx +++ b/WebSCR/WebUserControls/mod_dettInt.ascx @@ -1,11 +1,19 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettInt.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dettInt" %> -
-
- - +
+
+
+
+ + +
+
+ + +
+
+
- @@ -84,5 +92,6 @@ + diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx.cs b/WebSCR/WebUserControls/mod_dettInt.ascx.cs index f39e980..7a09c92 100644 --- a/WebSCR/WebUserControls/mod_dettInt.ascx.cs +++ b/WebSCR/WebUserControls/mod_dettInt.ascx.cs @@ -1,4 +1,5 @@ -using System; +using SteamWare; +using System; using System.Collections.Generic; using System.Linq; using System.Web; @@ -92,6 +93,7 @@ namespace WebSCR.WebUserControls } protected void Page_Load(object sender, EventArgs e) { + doUpdate(); } /// /// aggiunge il task corrente all'elenco dei task... @@ -100,9 +102,113 @@ namespace WebSCR.WebUserControls /// protected void lbAdd_Click(object sender, EventArgs e) { - DtProxy.man.taDetImp.insertQuery(idxImpegno, ddlTipoCons.SelectedValue); - //doUpdate(); - reportEvent(); + // verifico se si possa inserire (ovvero totale tempo > minTempo e valore da inserire NEGATIVO...) + if (((actualMin + selTaskMin) >= minTempoInt)) + { + // fix warning + lblWarning.Visible = false; + lblWarning.Text = ""; + + DtProxy.man.taDetImp.insertQuery(idxImpegno, matrOp, ddlTipoCons.SelectedValue); + //doUpdate(); + reportEvent(); + } + else + { + // fix warning + lblWarning.Visible = true; + lblWarning.Text = string.Format("Attenzione: impossibile inserire, tempo complessivo diventerebbe inferiore a soglia minima ({0} min)!", minTempoInt); + } + } + /// + /// verifica se si possano agigungere dati: ha patricola (OP) e l'intervento ha il record usato si/no compilato + /// + public bool canAddData + { + get + { + return hasMatricola && isRitUsOk; + } + } + /// + /// verifica se il record sia OK x ritiro usato... + /// + public bool isRitUsOk + { + get + { + bool answ = false; + try + { + answ = DtProxy.man.taImp.getByKey(idxImpegno)[0].RitUsato >= 0; + } + catch + { } + return answ; + } + } + /// + /// verifica se ci sia matricola in sessione + /// + public bool hasMatricola + { + get + { + return matrOp != ""; + } + } + /// + /// matricola OP (x utente) + /// + public string matrOp + { + get + { + string answ = ""; + try + { + answ = memLayer.ML.StringSessionObj("matrOp"); + } + catch + { } + return answ; + } + } + protected int minTempoInt + { + get + { + return memLayer.ML.CRI("minTempoInterv"); + } + } + protected int actualMin + { + get + { + int answ = 0; + try + { + answ = DtProxy.man.taVRI.getByKey(idxImpegno)[0].TotMin; + } + catch + { } + return answ; + } + } + + protected int selTaskMin + { + get + { + int answ = 0; + try + { + answ = DtProxy.man.taATC.getByKey(ddlTipoCons.SelectedValue)[0].MinutiStd; + } + catch + { } + return answ; + } } protected void odsDettInt_Deleted(object sender, ObjectDataSourceStatusEventArgs e) @@ -118,6 +224,8 @@ namespace WebSCR.WebUserControls } public void doUpdate() { + lblWarning.Visible = false; + lbAdd.DataBind(); grViewDettInt.DataBind(); } protected void odsDettInt_Updating(object sender, ObjectDataSourceMethodEventArgs e) diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs b/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs index eda9110..58fb598 100644 --- a/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs @@ -39,6 +39,15 @@ namespace WebSCR.WebUserControls { /// protected global::System.Web.UI.WebControls.ObjectDataSource odsTipoCons; + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + /// /// grViewDettInt control. /// diff --git a/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs b/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs index ffa1362..c6678d8 100644 --- a/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs +++ b/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs @@ -17,6 +17,11 @@ namespace WebSCR.WebUserControls /// /// protected void Page_Load(object sender, EventArgs e) + { + doUpdate(); + } + + public void doUpdate() { // leggo impegno int IdxImpegno = 0; @@ -31,7 +36,7 @@ namespace WebSCR.WebUserControls if (IdxImpegno > 0) { // cerco DOC... - DS_Applicazione.ImpegniRow riga =DtProxy.man.taImp.getByKey(IdxImpegno)[0]; + DS_Applicazione.ImpegniRow riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0]; // se c'è documento... if (riga.RifOC != "") { @@ -47,8 +52,8 @@ namespace WebSCR.WebUserControls if (numDoc > 0) { // imposto link del doc richiesto x download... - hlDoc.NavigateUrl = string.Format("{0}/{1:0000000}_{2}_{3:yyyy}.pdf", memLayer.ML.CRS("fileUploadFolder"), numDoc, tipoDoc, DateTime.Now); - hlDoc.Text = string.Format("{1}{0:0000000} ({2:yyyy})", numDoc, tipoDoc, DateTime.Now); + hlDoc.NavigateUrl = string.Format("{0}/{1:0000000}_{2}_{3}.pdf", memLayer.ML.CRS("fileUploadFolder"), numDoc, tipoDoc, riga.AnnoOC); + hlDoc.Text = string.Format("{1}{0:0000000} ({2})", numDoc, tipoDoc, riga.AnnoOC); } } } diff --git a/WebSCR/WebUserControls/mod_fileUpload.ascx.cs b/WebSCR/WebUserControls/mod_fileUpload.ascx.cs index 4c46235..30ab5bd 100644 --- a/WebSCR/WebUserControls/mod_fileUpload.ascx.cs +++ b/WebSCR/WebUserControls/mod_fileUpload.ascx.cs @@ -35,6 +35,11 @@ namespace WebSCR.WebUserControls divNewEdit.Visible = isWriteEnabled; btnAdd.DataBind(); } + + public void doUpdate() + { + grView.DataBind(); + } protected void Upload(object sender, EventArgs e) { string filename = Path.GetFileName(FileUpload1.PostedFile.FileName); diff --git a/WebSCR/WebUserControls/mod_filtroPeriodo.ascx b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx index 76d6706..97c7457 100644 --- a/WebSCR/WebUserControls/mod_filtroPeriodo.ascx +++ b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx @@ -3,10 +3,8 @@
-
+
-
-
diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx b/WebSCR/WebUserControls/mod_filtroZona.ascx index cc99f1e..7173b94 100644 --- a/WebSCR/WebUserControls/mod_filtroZona.ascx +++ b/WebSCR/WebUserControls/mod_filtroZona.ascx @@ -1,20 +1,14 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_filtroZona.ascx.cs" Inherits="WebSCR.WebUserControls.mod_filtroZona" %> -
-
+
+
-
- - -
- -
-
-
+
+
-
- +
+ @@ -23,4 +17,9 @@
+
+ +
+ +
diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx.cs b/WebSCR/WebUserControls/mod_filtroZona.ascx.cs index 487607e..517a995 100644 --- a/WebSCR/WebUserControls/mod_filtroZona.ascx.cs +++ b/WebSCR/WebUserControls/mod_filtroZona.ascx.cs @@ -28,18 +28,27 @@ namespace WebSCR.WebUserControls { if (!Page.IsPostBack) { - if (memLayer.ML.isInSessionObject("currDoc")) - { - txtCerca.Text = memLayer.ML.StringSessionObj("currDoc"); - ddlAnno.DataBind(); - refreshSearch(); - } - else - { - lblCliente.Text = ""; - lblIndirizzo.Text = ""; - lblZona.Text = ""; - } + doUpdate(); + } + } + /// + /// forza Update + /// + public void doUpdate() + { + txtCerca.Text = memLayer.ML.StringSessionObj("currDoc"); + if (memLayer.ML.isInSessionObject("currDoc")) + { + ddlAnno.DataBind(); + // salvo anno.. + memLayer.ML.setSessionVal("yearSel", ddlAnno.SelectedValue); + refreshSearch(); + } + else + { + lblCliente.Text = ""; + lblIndirizzo.Text = ""; + lblZona.Text = ""; } } @@ -73,10 +82,16 @@ namespace WebSCR.WebUserControls string answ = ""; try { - answ = txtCerca.Text.Trim(); + answ = txtCerca.Text.Trim().ToUpper(); } catch { } + // 2016.02.01 modifica se trovo OC0 --> OC0000000 + if (answ == "OC0" || answ == "OC00" || answ == "OC000") + { + answ = "OC0000000"; + txtCerca.Text = answ; + } return answ; } set @@ -120,7 +135,7 @@ namespace WebSCR.WebUserControls memLayer.ML.emptySessionVal("currDoc"); } } - catch + catch(Exception exc) { } } else @@ -134,10 +149,11 @@ namespace WebSCR.WebUserControls protected void ddlAnno_SelectedIndexChanged(object sender, EventArgs e) { + // salvo anno + memLayer.ML.setSessionVal("yearSel", ddlAnno.SelectedValue); refreshSearch(); reportEvent(); } } - } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs b/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs index 06220e3..2f4eb83 100644 --- a/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs @@ -21,24 +21,6 @@ namespace WebSCR.WebUserControls { /// protected global::System.Web.UI.WebControls.Label lblCliente; - /// - /// lblZona control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblZona; - - /// - /// lblIndirizzo control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label lblIndirizzo; - /// /// txtCerca control. /// @@ -65,5 +47,23 @@ namespace WebSCR.WebUserControls { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.ObjectDataSource odsAnno; + + /// + /// lblZona control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblZona; + + /// + /// lblIndirizzo control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblIndirizzo; } } diff --git a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx b/WebSCR/WebUserControls/mod_gestIntSquadre.ascx similarity index 91% rename from WebSCR/WebUserControls/mod_gestIntSquadra.ascx rename to WebSCR/WebUserControls/mod_gestIntSquadre.ascx index 16cd648..84e3099 100644 --- a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx +++ b/WebSCR/WebUserControls/mod_gestIntSquadre.ascx @@ -1,4 +1,4 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestIntSquadra.ascx.cs" Inherits="WebSCR.WebUserControls.mod_gestIntSquadra" %> +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestIntSquadre.ascx.cs" Inherits="WebSCR.WebUserControls.mod_gestIntSquadre" %> @@ -26,6 +26,7 @@
+
diff --git a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.cs b/WebSCR/WebUserControls/mod_gestIntSquadre.ascx.cs similarity index 92% rename from WebSCR/WebUserControls/mod_gestIntSquadra.ascx.cs rename to WebSCR/WebUserControls/mod_gestIntSquadre.ascx.cs index cf8283c..8f106f9 100644 --- a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.cs +++ b/WebSCR/WebUserControls/mod_gestIntSquadre.ascx.cs @@ -9,7 +9,7 @@ using WebSCR_data; namespace WebSCR.WebUserControls { - public partial class mod_gestIntSquadra : System.Web.UI.UserControl + public partial class mod_gestIntSquadre : System.Web.UI.UserControl { public event EventHandler eh_update; /// @@ -141,13 +141,17 @@ namespace WebSCR.WebUserControls divNote.Visible = !divNote.Visible; fixVisibility(); string note = ""; + bool aperto = false; try { - note = DtProxy.man.taImp.getByKey(IdxImpegno)[0].NoteInt; + DS_Applicazione.ImpegniRow riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0]; + note = riga.NoteInt; + aperto = riga.IntAperto; } catch { } txtNote.Text = note; + chkIntAperto.Checked = aperto; reportEvent(); } @@ -158,7 +162,7 @@ namespace WebSCR.WebUserControls /// protected void lbAddNote_Click(object sender, EventArgs e) { - DtProxy.man.taImp.updNoteInt(IdxImpegno, txtNote.Text.Trim()); + DtProxy.man.taImp.updNoteInt(IdxImpegno, txtNote.Text.Trim(), chkIntAperto.Checked); divNote.Visible = false; fixVisibility(); reportEvent(); diff --git a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.designer.cs b/WebSCR/WebUserControls/mod_gestIntSquadre.ascx.designer.cs similarity index 88% rename from WebSCR/WebUserControls/mod_gestIntSquadra.ascx.designer.cs rename to WebSCR/WebUserControls/mod_gestIntSquadre.ascx.designer.cs index e3a7c87..2d9cc2e 100644 --- a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_gestIntSquadre.ascx.designer.cs @@ -10,7 +10,7 @@ namespace WebSCR.WebUserControls { - public partial class mod_gestIntSquadra { + public partial class mod_gestIntSquadre { /// /// hLat control. @@ -66,6 +66,15 @@ namespace WebSCR.WebUserControls { /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNote; + /// + /// chkIntAperto control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkIntAperto; + /// /// txtNote control. /// diff --git a/WebSCR/WebUserControls/mod_giornata.ascx b/WebSCR/WebUserControls/mod_giornata.ascx index 143f484..ce11e34 100644 --- a/WebSCR/WebUserControls/mod_giornata.ascx +++ b/WebSCR/WebUserControls/mod_giornata.ascx @@ -6,14 +6,19 @@ -
- /// evento selezione periodo inizio - ///
- /// - /// - void DayPilotCalendar1_TimeRangeSelected(object sender, DayPilot.Web.Ui.Events.TimeRangeSelectedEventArgs e) - { - // se ho 1 sola squadra selezionata... - //if(rblSquadre.SelectedIndex >= 0) - //if (mod_selSquadre.selected.Count == 1) - if (memLayer.ML.StringSessionObj("elencoSquadre").Length > 0) + // controllo che sia presente matricola altrimenti NON lo permetto... + if (matrOp != "") { - // recupero OC se in sessione... - string doc = memLayer.ML.StringSessionObj("currDoc"); - if (doc == "") doc = "OC00000000"; - // prendo la squadra selezionata - //string squadra = mod_selSquadre.selected[0].ToString(); - string squadra = memLayer.ML.StringSessionObj("elencoSquadre").Split(',')[0].ToString(); - // selezionato periodo, salvo evento inizio... - DtProxy.man.taImp.insertQuery(e.Start, "INDIC", squadra, doc, DateTime.Now.Year); - // consumo il doc selezionato e quindi rimuovo da sessione... - memLayer.ML.emptySessionVal("currDoc"); + // sposto evento! + DtProxy.man.taImp.updStart(Convert.ToInt32(e.Id), e.NewStart, matrOp, DateTime.Now); + if (memLayer.ML.confReadBool("svuotaMatrOpMove")) + { + // rimuovo matrOp + memLayer.ML.emptySessionVal("matrOp"); + errorMess = "spostamento effettuato"; + } + doUpdate(); + Response.Redirect(devicesAuthProxy.pagCorrente); + } + else + { + errorMess = "Attenzione manca matricola! prego selezionare prima di effettuare spostamento."; + Response.Redirect(devicesAuthProxy.pagCorrente); + } + } + /// + /// anno selezionato + /// + public int yearSel + { + get + { + int answ = DateTime.Now.Year; + if (memLayer.ML.isInSessionObject("yearSel")) + { + answ = memLayer.ML.IntSessionObj("yearSel"); + } + return answ; + } + } + /// + /// anno selezionato + /// + public string errorMess + { + set + { + memLayer.ML.setSessionVal("errorMess", value); + } - doUpdate(); } public void doUpdate() @@ -169,16 +187,41 @@ namespace WebSCR.WebUserControls { // this assumes your event object in Events collection has "color" field or property e.BackgroundColor = (string)e.DataItem["CssColor"]; +#if false + string tUser = ""; + e.Html = e.Html.Replace("6P", string.Format("{0}{0}{0}{0}{0}{0}", tUser)); + e.Html = e.Html.Replace("5P", string.Format("{0}{0}{0}{0}{0}", tUser)); + e.Html = e.Html.Replace("4P", string.Format("{0}{0}{0}{0}", tUser)); + e.Html = e.Html.Replace("3P", string.Format("{0}{0}{0}", tUser)); + e.Html = e.Html.Replace("2P", string.Format("{0}{0}", tUser)); + e.Html = e.Html.Replace("1P", string.Format("{0}", tUser)); +#endif } catch { } } - protected void DayPilotCalendar1_EventClick(object sender, DayPilot.Web.Ui.Events.EventClickEventArgs e) + public string matrOp { -#if false - Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", devicesAuthProxy.pagCorrente, qsVal("CodCliente"), qsVal("Indir"), qsVal("Data"), e.Id)); -#endif + get + { + return memLayer.ML.StringSessionObj("matrOp"); + } } + public string currDoc + { + get + { + return memLayer.ML.StringSessionObj("currDoc"); + } + } + public string codSquadra + { + get + { + return memLayer.ML.StringSessionObj("elencoSquadre").Split(',')[0].ToString(); + } + } + } } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_giornataASSD.ascx b/WebSCR/WebUserControls/mod_giornataASSD.ascx new file mode 100644 index 0000000..5ce3588 --- /dev/null +++ b/WebSCR/WebUserControls/mod_giornataASSD.ascx @@ -0,0 +1,40 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_giornataASSD.ascx.cs" Inherits="WebSCR.WebUserControls.mod_giornataASSD" %> +<%@ Register Src="~/WebUserControls/mod_dettASSD.ascx" TagPrefix="uc1" TagName="mod_dettASSD" %> + + + + + + +
+
+ + <%# Eval("DescrSquadra") %> +
+
+ +
+
+
+
+ + + +
+
+ + <%# Eval("DescrSquadra") %> +
+
+ +
+
+
+
+ + + + + + + diff --git a/WebSCR/WebUserControls/mod_giornataASSD.ascx.cs b/WebSCR/WebUserControls/mod_giornataASSD.ascx.cs new file mode 100644 index 0000000..7b3afa7 --- /dev/null +++ b/WebSCR/WebUserControls/mod_giornataASSD.ascx.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebSCR.WebUserControls +{ + public partial class mod_giornataASSD : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + } + + /// + /// data di riferimento scelta + /// + public DateTime DataRif + { + get + { + DateTime answ = DateTime.Now; + try + { + answ = Convert.ToDateTime(hfDataRif.Value); + } + catch + { } + return answ; + } + set + { + hfDataRif.Value = value.ToShortDateString(); + } + } + /// + /// slot impostato + /// + public string Slot + { + get + { + return hfSlot.Value; + } + set + { + hfSlot.Value = value; + } + } + public bool editMode + { + get + { + return repShow.Visible; + + } + set + { + repShow.Visible = !value; + repEdit.Visible = value; + repShow.DataBind(); + } + } + + protected void mod_dettASSD_eh_updReq(object sender, EventArgs e) + { + doUpdate(); + } + /// + /// forza update + /// + public void doUpdate() + { + // aggiorno repView... + repEdit.DataBind(); + } + } +} \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_giornataASSD.ascx.designer.cs b/WebSCR/WebUserControls/mod_giornataASSD.ascx.designer.cs new file mode 100644 index 0000000..8d7eec5 --- /dev/null +++ b/WebSCR/WebUserControls/mod_giornataASSD.ascx.designer.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebSCR.WebUserControls { + + + public partial class mod_giornataASSD { + + /// + /// hfDataRif control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfDataRif; + + /// + /// hfSlot control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HiddenField hfSlot; + + /// + /// repShow control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Repeater repShow; + + /// + /// repEdit control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Repeater repEdit; + + /// + /// odsSquadre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre; + } +} diff --git a/WebSCR/WebUserControls/mod_header.ascx b/WebSCR/WebUserControls/mod_header.ascx index 22e81b6..09af8d1 100644 --- a/WebSCR/WebUserControls/mod_header.ascx +++ b/WebSCR/WebUserControls/mod_header.ascx @@ -19,8 +19,11 @@
  • Gestione Interventi
  • Pianificazione
  • Setup
  • +
  • +
  • diff --git a/WebSCR/WebUserControls/mod_header.ascx.cs b/WebSCR/WebUserControls/mod_header.ascx.cs index aa24913..eb6c0b2 100644 --- a/WebSCR/WebUserControls/mod_header.ascx.cs +++ b/WebSCR/WebUserControls/mod_header.ascx.cs @@ -86,6 +86,7 @@ namespace WebSCR.WebUserControls // altri controlli if (!Page.IsPostBack) { + hlLocalUploader.NavigateUrl = memLayer.ML.confReadString("localUplURL"); Timer1.Interval = memLayer.ML.confReadInt("intUpdatePagina_ms"); Page.Title = Request.Url.ToString(); // se ho cambiato pagina registro...) @@ -96,8 +97,7 @@ namespace WebSCR.WebUserControls // salvo apgina corrente devicesAuthProxy.pagCorrente = titolo; // devicesAuthProxy.getCurrPage(Request.Url); // update valori - lblVers.Text = string.Format("v.{0}.{1}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major, System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor); - lblVers.ToolTip = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.MinorRevision.ToString(); + lblVers.Text = string.Format("v.{0}.{1}.{2}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major, System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor, System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Build); } // SOLO se la pagina NON E' "safe"... if (memLayer.ML.confReadString("PageNoIndex").IndexOf(titolo) < 0) @@ -134,7 +134,7 @@ namespace WebSCR.WebUserControls ulSquadra.Visible = false; ulMagazzino.Visible = true; } - else if(devicesAuthProxy.pagCorrente == "Squadra" || devicesAuthProxy.pagCorrente == "Menu") + else if(devicesAuthProxy.pagCorrente == "Squadra" || devicesAuthProxy.pagCorrente == "IntSquadre" || devicesAuthProxy.pagCorrente == "Menu") { ulStd.Visible = false; ulSquadra.Visible = true; diff --git a/WebSCR/WebUserControls/mod_header.ascx.designer.cs b/WebSCR/WebUserControls/mod_header.ascx.designer.cs index 86ff99b..753e9e5 100644 --- a/WebSCR/WebUserControls/mod_header.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_header.ascx.designer.cs @@ -48,6 +48,15 @@ namespace WebSCR.WebUserControls { /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulStd; + /// + /// hlLocalUploader control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlLocalUploader; + /// /// ulSquadra control. /// diff --git a/WebSCR/WebUserControls/mod_impegno.ascx b/WebSCR/WebUserControls/mod_impegno.ascx index 0c9c506..059eb4b 100644 --- a/WebSCR/WebUserControls/mod_impegno.ascx +++ b/WebSCR/WebUserControls/mod_impegno.ascx @@ -1,48 +1,67 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_impegno.ascx.cs" Inherits="WebSCR.WebUserControls.mod_impegno" %> +<%@ Register Src="~/WebUserControls/mod_selDataOra.ascx" TagPrefix="uc1" TagName="mod_selDataOra" %> - + +
    -
    - +
    + +
    -
    - +
    + + +
    -
    +
    - -
    - -
    -
    -
    -
    -
    -
    -
    +

    -
    +
    +
    +
    + +
    + +
    +
    + + +
    +
    + + + + + + + + +
    +
    +
    +
    @@ -99,6 +118,12 @@ +
      +
    • + + +
    • +
    @@ -114,40 +139,62 @@
    - +
    +
    + +
    +
    + +
    +
    -
    - +
    + + <%# string.Format("{0: dddd dd/MM/yy HH:mm} --> {1:HH:mm}", Eval("DataOraComFrom"),Eval("DataOraComTo")) %>
    -
    +
    - -
    - -
    -
    -
    -
    -
    -
    -
    +

    -
    +
    +
    +
    + +
    + +
    +
    + + +
    +
    + + + + + + + + +
    +
    +
    +
    @@ -204,18 +251,27 @@ +
      +
    • + + +
    • +
    - - + +
    - + + + + @@ -228,6 +284,9 @@ + + + diff --git a/WebSCR/WebUserControls/mod_impegno.ascx.cs b/WebSCR/WebUserControls/mod_impegno.ascx.cs index a3bc1fa..2f062c1 100644 --- a/WebSCR/WebUserControls/mod_impegno.ascx.cs +++ b/WebSCR/WebUserControls/mod_impegno.ascx.cs @@ -11,6 +11,34 @@ namespace WebSCR.WebUserControls { public partial class mod_impegno : System.Web.UI.UserControl { + /// + /// evento errore in update + /// + public event EventHandler eh_errUpd; + /// + /// sollevo evento selezione /deselezione + /// + protected void raiseEventErrUpd() + { + if (eh_errUpd != null) + { + eh_errUpd(this, new EventArgs()); + } + } + /// + /// evento update + /// + public event EventHandler eh_Upd; + /// + /// sollevo evento selezione /deselezione + /// + protected void raiseEventUpd() + { + if (eh_Upd != null) + { + eh_Upd(this, new EventArgs()); + } + } protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) @@ -23,6 +51,33 @@ namespace WebSCR.WebUserControls ///
    public bool disableEdit { get; set; } /// + /// verifica se ci sia matricola in sessione + /// + public bool hasMatricola + { + get + { + return matrOp != ""; + } + } + /// + /// matricola OP (x utente) + /// + public string matrOp + { + get + { + string answ = ""; + try + { + answ = memLayer.ML.StringSessionObj("matrOp"); + } + catch + { } + return answ; + } + } + /// /// impegno corrente /// public int idxImpegno @@ -72,6 +127,58 @@ namespace WebSCR.WebUserControls { e.InputParameters["NoteGen"] = ""; } + if (e.InputParameters["MatrOp"] == null) + { + e.InputParameters["MatrOp"] = matrOp; + } + } + + protected void odsImpegni_Deleted(object sender, ObjectDataSourceStatusEventArgs e) + { + memLayer.ML.setSessionVal("errorMess", "Record Eliminato"); + Response.Redirect(SteamWare.devicesAuthProxy.pagCorrente); + } + + protected void frmViewImpegni_ItemUpdating(object sender, FormViewUpdateEventArgs e) + { + // controllo, SE avesse selezionato ND NON permetto salvataggio e blocco + if (e.NewValues["RitUsato"].ToString() == "-1") + { + e.Cancel = true; + memLayer.ML.setSessionVal("errorMess", "ERRORE: va specificato Si/no per ritiro usato"); + raiseEventErrUpd(); + } + } + /// + /// formatta messaggio orario controllando SE quello impostato sia fuori fascia promessa a cliente + /// + /// + /// + /// + /// + /// + /// + public string checkOrario(object _dataOra, object _dataOraFrom, object _dataOraTo, object txtMain, object txtErr) + { + string answ = txtMain.ToString(); + try + { + DateTime DTI = Convert.ToDateTime(_dataOra); + DateTime DTFrom = Convert.ToDateTime(_dataOraFrom); + DateTime DTTo = Convert.ToDateTime(_dataOraTo); + if (DTI.Subtract(DTFrom).TotalMinutes < 0 || DTI.Subtract(DTTo).TotalMinutes > 0) + { + answ = string.Format("{0}{1}{0}", txtErr, txtMain); + } + } + catch + { } + return answ; + } + + protected void odsImpegni_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + raiseEventUpd(); } } } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx b/WebSCR/WebUserControls/mod_pianificazione.ascx index 8262465..4cdc95a 100644 --- a/WebSCR/WebUserControls/mod_pianificazione.ascx +++ b/WebSCR/WebUserControls/mod_pianificazione.ascx @@ -10,60 +10,79 @@ <%@ Register Src="~/WebUserControls/mod_fileImpegno.ascx" TagPrefix="uc1" TagName="mod_fileImpegno" %> <%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %> <%@ Register Src="~/WebUserControls/mod_compSquadra.ascx" TagPrefix="uc1" TagName="mod_compSquadra" %> + - - - -
    -
    -
    Ricerca per Documento
    - -
    -
    -
    Ricerca per Periodo
    - -
    -
    -
    -
    - -
    -
    - -   - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    - -
    + + +
    +
    +
    Ricerca per Documento
    + +
    +
    +
    Matr. Operatore
    +
    + +
    -
    -
    -
    - +
    +
    Ricerca per Periodo
    + +
    +
    +
    +
    + +
    +
    + +   + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    -
    - - +
    +
    +
    + +
    +
    + + +
    +
    -
    -
    + + diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs index 70076db..ff28d0f 100644 --- a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs +++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs @@ -18,18 +18,39 @@ namespace WebSCR.WebUserControls /// protected void Page_Load(object sender, EventArgs e) { + // fix visibilità... fixVisibility(); if (!Page.IsPostBack) { + // se c'è imposto matricola... + txtMatrOp.Text = matrOp; + // fix filtri... mod_filtroZona.Zona = memLayer.ML.confReadString("zonaDef"); mod_filtroPeriodo.numGG = memLayer.ML.confReadInt("numGgDef"); // reimposto selezione squadre... mod_selSquadre.selezionaDaSession(); + // refresh refreshDetail(); } mod_filtroZona.eh_selIndir += mod_filtroZona_eh_selIndir; mod_filtroPeriodo.eh_selData += mod_filtroPeriodo_eh_selData; mod_dettInt.eh_update += mod_dettInt_eh_update; + mod_impegno.eh_errUpd += Mod_impegno_eh_errUpd; + mod_impegno.eh_Upd += Mod_impegno_eh_Upd; + } + + private void Mod_impegno_eh_Upd(object sender, EventArgs e) + { + // aggiorno visualizzazione dett a dx + mod_compSquadra.doUpdate(); + mod_fileImpegno.doUpdate(); + mod_fileUpload.doUpdate(); + mod_dettInt.doUpdate(); + } + + private void Mod_impegno_eh_errUpd(object sender, EventArgs e) + { + lblWarning.Text = errorMess; } /// @@ -56,7 +77,6 @@ namespace WebSCR.WebUserControls catch { } Response.Redirect(string.Format("{0}?Data={1:yyyy-MM-dd}", devicesAuthProxy.pagCorrente, adesso)); - //refreshDetail(); } /// /// recupera valore querystring @@ -72,6 +92,9 @@ namespace WebSCR.WebUserControls /// private void fixVisibility() { + // imposto (se c'è) errore + lblWarning.Text = errorMess; + // imposto filtraggi zona... mod_dispPeriodo.Zona = mod_filtroZona.Zona; mod_filtroPeriodo.Visible = true; @@ -85,24 +108,248 @@ namespace WebSCR.WebUserControls mod_fileImpegno.Visible = false; mod_fileUpload.Visible = false; mod_compSquadra.Visible = false; - if (qsVal("Data") != "") - { - if (qsVal("IdxImpegno") != "") - { - // salvo parametri in sessione - saveSessParam(); - mod_impegno.Visible = true; - mod_dettInt.Visible = true; - mod_fileImpegno.Visible = true; - mod_fileUpload.Visible = true; - mod_compSquadra.Visible = true; + + + // 2016.01.20 controllo tipo azione: new/edit/... + if (qsVal("Action") == "NEW") + { + // creo NUOVO impegno + tryCreaImpegno(); + + // ricarico!!! + Response.Redirect(devicesAuthProxy.pagCorrente); + } + else if (qsVal("Action") == "MOVE") + { + // prova a spostare + tryMove(); + + // ricarico!!! + Response.Redirect(devicesAuthProxy.pagCorrente); + } + else if (qsVal("Action") == "EDIT") + { + errorMess = "EDIT"; + lblWarning.Text = "EDIT"; + // controllo + if (qsVal("Data") != "") + { + if (qsVal("IdxImpegno") != "") + { + // salvo parametri in sessione + saveSessParam(); + + mod_impegno.Visible = true; + mod_dettInt.Visible = true; + mod_fileImpegno.Visible = true; + mod_fileUpload.Visible = true; + mod_compSquadra.Visible = true; + } + else + { + mod_giornata.Visible = true; + } + } + } + else + { + // mostro giornata + mod_giornata.Visible = true; + } + } + + private void tryMove() + { + // verifico di avere MatrOP selezionata + if (matrOp != "") + { + DateTime newStart = DateTime.Now; + DateTime adesso = newStart; + try + { + newStart = Convert.ToDateTime(qsVal("newStart")); + } + catch + { } + int idxImpegno = 0; + try + { + idxImpegno = Convert.ToInt32(qsVal("IdxImpegno")); + } + catch + { } + if (newStart != adesso) + { + if (idxImpegno > 0) + { + DtProxy.man.taImp.updStart(idxImpegno, newStart, matrOp, DateTime.Now); + } + } + } + else + { + errorMess = "Prego indicare Matricola Operatore per procedere"; + } + } + + /// + /// anno selezionato + /// + public int yearSel + { + get + { + int answ = DateTime.Now.Year; + if (memLayer.ML.isInSessionObject("yearSel")) + { + answ = memLayer.ML.IntSessionObj("yearSel"); + } + return answ; + } + } + public string codSquadra + { + get + { + string answ = ""; + try + { + answ = memLayer.ML.StringSessionObj("elencoSquadre").Split(',')[0].ToString(); + } + catch + { } + return answ; + } + } + public string matrOp + { + get + { + string answ = ""; + try + { + answ = memLayer.ML.StringSessionObj("matrOp"); + } + catch + { } + return answ; + } + } + public string errorMess + { + get + { + string answ = ""; + try + { + answ = memLayer.ML.StringSessionObj("errorMess"); + } + catch + { } + return answ; + } + set + { + memLayer.ML.setSessionVal("errorMess", value); + } + } + public string currDoc + { + get + { + string answ = ""; + try + { + answ = memLayer.ML.StringSessionObj("currDoc"); + } + catch + { } + return answ; + } + } + /// + /// genera un nuovo impegno (oppure mostra warning...) + /// + private void tryCreaImpegno() + { + if (codSquadra != "") + { + // verifico di avere MatrOP selezionata + if (matrOp != "") + { + // verifico di avere DOC selezionato... + if (currDoc != "") + { + DateTime inizio = DateTime.Now; + DateTime fine = inizio; + DateTime adesso = inizio; + try + { + inizio = Convert.ToDateTime(qsVal("start")); + } + catch + { } + try + { + fine = Convert.ToDateTime(qsVal("end")); + } + catch + { } + if (inizio != adesso) + { + int durataTot = Convert.ToInt32(fine.Subtract(inizio).TotalMinutes); + // selezionato periodo, salvo evento inizio... + DtProxy.man.taImp.insertQuery(inizio, durataTot, codSquadra, currDoc, yearSel, matrOp, DateTime.Now); + // consumo il doc selezionato e quindi rimuovo da sessione... + memLayer.ML.emptySessionVal("currDoc"); + // matricola operatore: eventualmente qui inserire condizioni scadenza avanzate... + if (memLayer.ML.confReadBool("svuotaMatrOp")) + { + // rimuovo matrOp + memLayer.ML.emptySessionVal("matrOp"); + } + errorMess = "..."; + } + else + { + errorMess= "Prego indicare inizio attività per procedere"; + } + } + else + { + errorMess = "Prego indicare documento OC/DC per procedere"; + } } else { - mod_giornata.Visible = true; + errorMess = "Prego indicare Matricola Operatore per procedere"; } } + else + { + errorMess = "Prego selezionare UNA squadra per procedere"; + } + } + + /// + /// reset dati documento e matricola (se richiesto) + /// + private void resetDocMatr() + { + if (needRefresh) + { + // se è vuoto doc resetto... + if (!memLayer.ML.isInSessionObject("currDoc")) + { + mod_filtroZona.doUpdate(); + } + + // update matrOp... + txtMatrOp.Text = memLayer.ML.StringSessionObj("matrOp"); + needRefresh = false; + //txtMatrOp.DataBind(); + } } private void saveSessParam() @@ -131,6 +378,7 @@ namespace WebSCR.WebUserControls memLayer.ML.setSessionVal("CodSquadra", CodSquadra); memLayer.ML.setSessionVal("DataImp", DataImp); } + /// /// nuovo record impegno... @@ -148,7 +396,10 @@ namespace WebSCR.WebUserControls /// void mod_filtroZona_eh_selIndir(object sender, EventArgs e) { + errorMess = "Selezionato Documento"; + lblWarning.Text = errorMess; refreshDetail(); + mod_giornata.doUpdate(); } /// /// refresh detail @@ -163,6 +414,8 @@ namespace WebSCR.WebUserControls { //adesso = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif")); adesso = Convert.ToDateTime(mod_filtroPeriodo.dataFrom); + // salvo!!! + memLayer.ML.setSessionVal("DataRif", adesso); } catch { } @@ -174,8 +427,27 @@ namespace WebSCR.WebUserControls mod_dispPeriodo.doUpdate(); mod_impegno.doUpdate(); mod_dettInt.doUpdate(); + +#if false + // check reset data + resetDocMatr(); +#endif } + /// + /// richiesta refresh COMPLETO della pagina + /// + public bool needRefresh + { + get + { + return memLayer.ML.BoolSessionObj("needRefresh"); + } + set + { + memLayer.ML.setSessionVal("needRefresh", value); + } + } protected void lbLess_Click(object sender, EventArgs e) { int days = mod_giornata.day2show; @@ -197,5 +469,36 @@ namespace WebSCR.WebUserControls Response.Redirect(devicesAuthProxy.pagCorrente); } } + /// + /// inserita matricola operatore + /// + /// + /// + protected void txtMatrOp_TextChanged(object sender, EventArgs e) + { + if (txtMatrOp.Text.Trim() != "") + { + memLayer.ML.setSessionVal("matrOp", txtMatrOp.Text.Trim()); + errorMess = "Selezionato Operatore"; + lblWarning.Text = errorMess; + } + else + { + memLayer.ML.emptySessionVal("matrOp"); + lblWarning.Text = ""; + } + mod_giornata.doUpdate(); + mod_impegno.doUpdate(); + } + + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + + // check reset data + resetDocMatr(); + + } + } } \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs index 44c911f..7a2b1c0 100644 --- a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs +++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs @@ -12,6 +12,15 @@ namespace WebSCR.WebUserControls { public partial class mod_pianificazione { + /// + /// upnTestata control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.UpdatePanel upnTestata; + /// /// mod_filtroZona control. /// @@ -21,6 +30,24 @@ namespace WebSCR.WebUserControls { /// protected global::WebSCR.WebUserControls.mod_filtroZona mod_filtroZona; + /// + /// txtMatrOp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtMatrOp; + + /// + /// lblWarning control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + /// /// mod_filtroPeriodo control. /// diff --git a/WebSCR/WebUserControls/mod_schemaSettASSD.ascx b/WebSCR/WebUserControls/mod_schemaSettASSD.ascx new file mode 100644 index 0000000..b3a903a --- /dev/null +++ b/WebSCR/WebUserControls/mod_schemaSettASSD.ascx @@ -0,0 +1,60 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_schemaSettASSD.ascx.cs" Inherits="WebSCR.WebUserControls.mod_schemaSettASSD" %> +<%@ Register Src="~/WebUserControls/mod_giornataASSD.ascx" TagPrefix="uc1" TagName="mod_giornataASSD" %> +<%@ Register Src="~/WebUserControls/mod_selData.ascx" TagPrefix="uc1" TagName="mod_selData" %> +<%@ Register Src="~/WebUserControls/mod_selSquadre.ascx" TagPrefix="uc1" TagName="mod_selSquadre" %> + +
    +
    + CLONA SETT PREC +
    +
    + +
    +
    + INIZIALIZZA SETT +
    +
    +
    + +
    +
    + + +
    +
    + +
    +
    + MATTINA + +
    +
    +
    + POMERIGGIO + +
    +
    +
    +
    + + + + + +
    +
    +
    +

    + + - +

    +
    +
    + Torna a schema SETTIMANALE +
    +
    +
    + +
    +
    +
    diff --git a/WebSCR/WebUserControls/mod_schemaSettASSD.ascx.cs b/WebSCR/WebUserControls/mod_schemaSettASSD.ascx.cs new file mode 100644 index 0000000..3207173 --- /dev/null +++ b/WebSCR/WebUserControls/mod_schemaSettASSD.ascx.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using WebSCR_data; + +namespace WebSCR.WebUserControls +{ + public partial class mod_schemaSettASSD : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + fixVisibility(false); + // reimposto selezione squadre... + mod_selSquadre.selezionaDaSession(); + } + //aggancio modifica data e salvo... + mod_selData.eh_update += Mod_selData_eh_update; + } + /// + /// determina visibilità controlli + /// + /// + private void fixVisibility(bool showDet) + { + repWeek.Visible = !showDet; + divEdit.Visible = showDet; + } + + private void Mod_selData_eh_update(object sender, EventArgs e) + { + repWeek.DataBind(); + } + + protected void lbtClonaPrev_Click(object sender, EventArgs e) + { + // chiamo stored x clonare da sett prec + DtProxy.man.taASSD.clonePrevWeek(mod_selData.dateSel); + // refresh + repWeek.DataBind(); + mod_giornataASSD.doUpdate(); + } + + protected void lbtInitWeek_Click(object sender, EventArgs e) + { + // chiamo stored x inserire missing + DtProxy.man.taASSD.insMiss(mod_selData.dateSel); + + // refresh + repWeek.DataBind(); + mod_giornataASSD.doUpdate(); + } + + protected void lbtEditMat_Click(object sender, EventArgs e) + { + // sistemo dati x dettaglio giorno + LinkButton lbt = (LinkButton)sender; + DateTime data = Convert.ToDateTime(lbt.CommandArgument); + string slot = "MAT"; + showEditMode(data, slot); + } + + private void showEditMode(DateTime data, string slot) + { + mod_giornataASSD.DataRif = data; + mod_giornataASSD.Slot = slot; + lblData.Text = data.ToString("ddd dd/MM"); + lblSlot.Text = slot; + // update visualizzazione + fixVisibility(true); + } + + protected void lbtEditPom_Click(object sender, EventArgs e) + { + // sistemo dati x dettaglio giorno + LinkButton lbt = (LinkButton)sender; + DateTime data = Convert.ToDateTime(lbt.CommandArgument); + string slot = "POM"; + showEditMode(data, slot); + } + + protected void lbCancel_Click(object sender, EventArgs e) + { + fixVisibility(false); + } + } +} \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_schemaSettASSD.ascx.designer.cs b/WebSCR/WebUserControls/mod_schemaSettASSD.ascx.designer.cs new file mode 100644 index 0000000..731a7e6 --- /dev/null +++ b/WebSCR/WebUserControls/mod_schemaSettASSD.ascx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebSCR.WebUserControls { + + + public partial class mod_schemaSettASSD { + + /// + /// lbtClonaPrev control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtClonaPrev; + + /// + /// mod_selData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebSCR.WebUserControls.mod_selData mod_selData; + + /// + /// lbtInitWeek control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtInitWeek; + + /// + /// mod_selSquadre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre; + + /// + /// repWeek control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Repeater repWeek; + + /// + /// odsSettimana control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsSettimana; + + /// + /// divEdit control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEdit; + + /// + /// lblData control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblData; + + /// + /// lblSlot control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblSlot; + + /// + /// lbCancel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbCancel; + + /// + /// mod_giornataASSD control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::WebSCR.WebUserControls.mod_giornataASSD mod_giornataASSD; + } +} diff --git a/WebSCR/WebUserControls/mod_selData.ascx b/WebSCR/WebUserControls/mod_selData.ascx index 161b229..283f66f 100644 --- a/WebSCR/WebUserControls/mod_selData.ascx +++ b/WebSCR/WebUserControls/mod_selData.ascx @@ -1,6 +1,6 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selData.ascx.cs" Inherits="WebSCR.WebUserControls.mod_selData" %> -
    +
    diff --git a/WebSCR/WebUserControls/mod_selData.ascx.cs b/WebSCR/WebUserControls/mod_selData.ascx.cs index 62f5972..2ff837b 100644 --- a/WebSCR/WebUserControls/mod_selData.ascx.cs +++ b/WebSCR/WebUserControls/mod_selData.ascx.cs @@ -101,9 +101,24 @@ namespace WebSCR.WebUserControls answ = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif")); } catch + { + if (txtDataRif.Text != "") answ = Convert.ToDateTime(txtDataRif.Text); + } + return answ; + } + } + public DateTime dataTxt + { + get + { + DateTime answ = dateSel; + try { answ = Convert.ToDateTime(txtDataRif.Text); } + catch + { + } return answ; } } diff --git a/WebSCR/WebUserControls/mod_selDataOra.ascx b/WebSCR/WebUserControls/mod_selDataOra.ascx new file mode 100644 index 0000000..f1bc2db --- /dev/null +++ b/WebSCR/WebUserControls/mod_selDataOra.ascx @@ -0,0 +1,13 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selDataOra.ascx.cs" Inherits="WebSCR.WebUserControls.mod_selDataOra" %> + + +
    +
    + +
    +
    + +
    +
    + + diff --git a/WebSCR/WebUserControls/mod_selDataOra.ascx.cs b/WebSCR/WebUserControls/mod_selDataOra.ascx.cs new file mode 100644 index 0000000..5044fb9 --- /dev/null +++ b/WebSCR/WebUserControls/mod_selDataOra.ascx.cs @@ -0,0 +1,96 @@ +using SteamWare; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebSCR.WebUserControls +{ + public partial class mod_selDataOra : System.Web.UI.UserControl + { + /// + /// selezionata NUOVA data + /// + public event EventHandler eh_update; + /// + /// solleva evento selezione data + /// + protected void reportEvent() + { + // evento! + if (eh_update != null) + { + eh_update(this, new EventArgs()); + } + } + /// + /// stringa UID univoca + /// + public string uid + { + get + { + return this.UniqueID.Replace("$", "_").Replace("-", "_"); + } + } + protected void Page_Load(object sender, EventArgs e) + { + } + /// + /// data-ora selezionata + /// + public DateTime dataOraSel + { + get + { + DateTime answ = DateTime.Now; + try + { + answ = Convert.ToDateTime(txtDataSel.Text.Trim()); + // aggiungo ora + DateTime oraSel = Convert.ToDateTime(ddlOrario.SelectedValue); + double ore = oraSel.Hour + Convert.ToDouble(oraSel.Minute) / 60; + answ = answ.AddHours(ore); + } + catch + { } + return answ; + } + set + { + ddlOrario.DataBind(); + try + { + txtDataSel.Text = string.Format("{0:yyyy-MM-dd}", value); + ddlOrario.SelectedValue = string.Format("{0:HH:mm:00}", value); + } + catch + { } + } + } + public bool showData + { + get + { + return txtDataSel.Visible; + } + set + { + txtDataSel.Visible = value; + } + } + public bool showOra + { + get + { + return ddlOrario.Visible; + } + set + { + ddlOrario.Visible = value; + } + } + } +} \ No newline at end of file diff --git a/WebSCR/WebUserControls/mod_selDataOra.ascx.designer.cs b/WebSCR/WebUserControls/mod_selDataOra.ascx.designer.cs new file mode 100644 index 0000000..cf6d360 --- /dev/null +++ b/WebSCR/WebUserControls/mod_selDataOra.ascx.designer.cs @@ -0,0 +1,42 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebSCR.WebUserControls { + + + public partial class mod_selDataOra { + + /// + /// txtDataSel control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtDataSel; + + /// + /// ddlOrario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlOrario; + + /// + /// odsOrario control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsOrario; + } +} diff --git a/WebSCR/WebUserControls/mod_selSquadre.ascx.cs b/WebSCR/WebUserControls/mod_selSquadre.ascx.cs index 36d5683..a34f08e 100644 --- a/WebSCR/WebUserControls/mod_selSquadre.ascx.cs +++ b/WebSCR/WebUserControls/mod_selSquadre.ascx.cs @@ -12,7 +12,7 @@ namespace WebSCR.WebUserControls public partial class mod_selSquadre : System.Web.UI.UserControl { /// - /// elenco squadre slezionate + /// elenco squadre selezionate /// public List selected; protected void Page_Load(object sender, EventArgs e) @@ -69,6 +69,8 @@ namespace WebSCR.WebUserControls } elencoSquadre = string.Join(",", selected); memLayer.ML.setSessionVal("elencoSquadre", elencoSquadre); + memLayer.ML.setSessionVal("errorMess", "Sel.Squadra"); + } } diff --git a/WebSCR/bin/AjaxMin.dll b/WebSCR/bin/AjaxMin.dll new file mode 100644 index 0000000..cada03b Binary files /dev/null and b/WebSCR/bin/AjaxMin.dll differ diff --git a/WebSCR/bin/DayPilot.dll b/WebSCR/bin/DayPilot.dll index 4dada23..dad4bd4 100644 Binary files a/WebSCR/bin/DayPilot.dll and b/WebSCR/bin/DayPilot.dll differ diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll index 7ae18b7..7138664 100644 Binary files a/WebSCR/bin/SteamWare.dll and b/WebSCR/bin/SteamWare.dll differ diff --git a/WebSCR/bin/SteamWare.xml b/WebSCR/bin/SteamWare.xml index 192d270..b586d38 100644 --- a/WebSCR/bin/SteamWare.xml +++ b/WebSCR/bin/SteamWare.xml @@ -602,7 +602,7 @@ - effettua setup dei connection strings da web.config delal singola applicazione + effettua setup dei connection strings da web.config della singola applicazione @@ -1430,12 +1430,19 @@ - Restitusice il numero di attivazioni rimaste x utente dato email e key + Restituisce il numero di attivazioni rimaste x utente dato email e key + + + Restituisce il numero di attivazioni rimaste x utente dato email + + + + cancella da session l'utente @@ -3348,6 +3355,13 @@ forza lo svuotamento delel tabelle indicate come in cache... + + + Formattazione stringa URL immagini con gestione "base url" + + + + Salted password hashing with PBKDF2-SHA1. @@ -3720,12 +3734,12 @@ - determina se l'utente sia abilitato a scrivere nelal apgina corrente (quindi modificare e cancellare...) + determina se l'utente sia abilitato a scrivere nella pagina corrente (quindi modificare e cancellare...) - determina se l'utente sia abilitato alla pagina corrente (di base visualizzaizone...) + determina se l'utente sia abilitato alla pagina corrente (di base visualizzazione...) @@ -3733,6 +3747,13 @@ titolo pagina + + + evento standard agganciabile da grView x aggiunta doppio click e singolo click (x edit e select) + + + + classe gestione utente: auth e permission/ruoli - versione GENERICA @@ -4660,5 +4681,24 @@ + + + gestione helper tempi ciclo + + + + + formatta in minuti/sec partendo da min.cent + + + + + + + conversione da tempo minuti centesimali a minuti/secondi + + + + diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll index 09b19ae..8a6c961 100644 Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ diff --git a/WebSCR/bin/WebSCR.dll.config b/WebSCR/bin/WebSCR.dll.config index 1b694f2..449350b 100644 --- a/WebSCR/bin/WebSCR.dll.config +++ b/WebSCR/bin/WebSCR.dll.config @@ -13,7 +13,9 @@ - + + + @@ -40,23 +42,23 @@ + + - + - - - + + + - - - - + + + + @@ -91,7 +94,7 @@ --> - + diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll index 29b815e..b0d0a6b 100644 Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ diff --git a/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt b/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt index 17852a6..bd3eac3 100644 --- a/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt +++ b/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt @@ -27,6 +27,7 @@ C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\W C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.dll C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.pdb C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\bin\DayPilot.dll +C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\SteamWare.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.config C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR.dll.config C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR.dll @@ -40,7 +41,6 @@ C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSC C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Newtonsoft.Json.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.Web.dll -C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\SteamWare.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\System.Web.Optimization.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebGrease.dll C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR_data.dll diff --git a/WebSCR/packages.config b/WebSCR/packages.config index 6563bb1..ee15af8 100644 --- a/WebSCR/packages.config +++ b/WebSCR/packages.config @@ -1,7 +1,7 @@  - + diff --git a/WebSCR_data/DS_Applicazione.Designer.cs b/WebSCR_data/DS_Applicazione.Designer.cs index 3cacf2b..4047244 100644 --- a/WebSCR_data/DS_Applicazione.Designer.cs +++ b/WebSCR_data/DS_Applicazione.Designer.cs @@ -52,6 +52,10 @@ namespace WebSCR_data { private DipendentiDataTable tableDipendenti; + private v_resImpDataTable tablev_resImp; + + private AssegnSlotSquadreDipDataTable tableAssegnSlotSquadreDip; + private global::System.Data.DataRelation relationFK_Disponibilita_AnagSquadre; private global::System.Data.DataRelation relationFK_AssegnSquadre_Disponibilita; @@ -128,6 +132,12 @@ namespace WebSCR_data { if ((ds.Tables["Dipendenti"] != null)) { base.Tables.Add(new DipendentiDataTable(ds.Tables["Dipendenti"])); } + if ((ds.Tables["v_resImp"] != null)) { + base.Tables.Add(new v_resImpDataTable(ds.Tables["v_resImp"])); + } + if ((ds.Tables["AssegnSlotSquadreDip"] != null)) { + base.Tables.Add(new AssegnSlotSquadreDipDataTable(ds.Tables["AssegnSlotSquadreDip"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -286,6 +296,26 @@ namespace WebSCR_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 v_resImpDataTable v_resImp { + get { + return this.tablev_resImp; + } + } + + [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 AssegnSlotSquadreDipDataTable AssegnSlotSquadreDip { + get { + return this.tableAssegnSlotSquadreDip; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -395,6 +425,12 @@ namespace WebSCR_data { if ((ds.Tables["Dipendenti"] != null)) { base.Tables.Add(new DipendentiDataTable(ds.Tables["Dipendenti"])); } + if ((ds.Tables["v_resImp"] != null)) { + base.Tables.Add(new v_resImpDataTable(ds.Tables["v_resImp"])); + } + if ((ds.Tables["AssegnSlotSquadreDip"] != null)) { + base.Tables.Add(new AssegnSlotSquadreDipDataTable(ds.Tables["AssegnSlotSquadreDip"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -512,6 +548,18 @@ namespace WebSCR_data { this.tableDipendenti.InitVars(); } } + this.tablev_resImp = ((v_resImpDataTable)(base.Tables["v_resImp"])); + if ((initTable == true)) { + if ((this.tablev_resImp != null)) { + this.tablev_resImp.InitVars(); + } + } + this.tableAssegnSlotSquadreDip = ((AssegnSlotSquadreDipDataTable)(base.Tables["AssegnSlotSquadreDip"])); + if ((initTable == true)) { + if ((this.tableAssegnSlotSquadreDip != null)) { + this.tableAssegnSlotSquadreDip.InitVars(); + } + } this.relationFK_Disponibilita_AnagSquadre = this.Relations["FK_Disponibilita_AnagSquadre"]; this.relationFK_AssegnSquadre_Disponibilita = this.Relations["FK_AssegnSquadre_Disponibilita"]; this.relationFK_AssegnSquadre_Dipendenti = this.Relations["FK_AssegnSquadre_Dipendenti"]; @@ -553,6 +601,10 @@ namespace WebSCR_data { base.Tables.Add(this.tableAssegnSquadre); this.tableDipendenti = new DipendentiDataTable(); base.Tables.Add(this.tableDipendenti); + this.tablev_resImp = new v_resImpDataTable(); + base.Tables.Add(this.tablev_resImp); + this.tableAssegnSlotSquadreDip = new AssegnSlotSquadreDipDataTable(); + base.Tables.Add(this.tableAssegnSlotSquadreDip); this.relationFK_Disponibilita_AnagSquadre = new global::System.Data.DataRelation("FK_Disponibilita_AnagSquadre", new global::System.Data.DataColumn[] { this.tableAnagSquadre.CodSquadraColumn}, new global::System.Data.DataColumn[] { this.tableDisponibilita.CodSquadraColumn}, false); @@ -653,6 +705,18 @@ namespace WebSCR_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializev_resImp() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeAssegnSlotSquadreDip() { + 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) { @@ -750,6 +814,12 @@ namespace WebSCR_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void DipendentiRowChangeEventHandler(object sender, DipendentiRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void v_resImpRowChangeEventHandler(object sender, v_resImpRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void AssegnSlotSquadreDipRowChangeEventHandler(object sender, AssegnSlotSquadreDipRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -2241,6 +2311,10 @@ namespace WebSCR_data { private global::System.Data.DataColumn columnIdxImpegno; + private global::System.Data.DataColumn columnDataOraComFrom; + + private global::System.Data.DataColumn columnDataOraComTo; + private global::System.Data.DataColumn columnDataOra; private global::System.Data.DataColumn columnTipoOrario; @@ -2311,6 +2385,20 @@ namespace WebSCR_data { private global::System.Data.DataColumn columnLonFine; + private global::System.Data.DataColumn columnDataCreaz; + + private global::System.Data.DataColumn columnDescrImp; + + private global::System.Data.DataColumn columnIntAperto; + + private global::System.Data.DataColumn columnDettImpegno; + + private global::System.Data.DataColumn columnTel; + + private global::System.Data.DataColumn columnAnnoOC; + + private global::System.Data.DataColumn columnMatrOp; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public ImpegniDataTable() { @@ -2352,6 +2440,22 @@ namespace WebSCR_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataOraComFromColumn { + get { + return this.columnDataOraComFrom; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataOraComToColumn { + get { + return this.columnDataOraComTo; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DataOraColumn { @@ -2632,6 +2736,62 @@ namespace WebSCR_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataCreazColumn { + get { + return this.columnDataCreaz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrImpColumn { + get { + return this.columnDescrImp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IntApertoColumn { + get { + return this.columnIntAperto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DettImpegnoColumn { + get { + return this.columnDettImpegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TelColumn { + get { + return this.columnTel; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AnnoOCColumn { + get { + return this.columnAnnoOC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MatrOpColumn { + get { + return this.columnMatrOp; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -2671,6 +2831,8 @@ namespace WebSCR_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public ImpegniRow AddImpegniRow( int IdxImpegno, + System.DateTime DataOraComFrom, + System.DateTime DataOraComTo, System.DateTime DataOra, string TipoOrario, string CodCliente, @@ -2693,7 +2855,7 @@ namespace WebSCR_data { string RifOC, string UrlDoc, int NumOp, - bool RitUsato, + int RitUsato, bool Ascensore, int PianoCons, string UserMod, @@ -2705,10 +2867,19 @@ namespace WebSCR_data { double LatInizio, double LonInizio, double LatFine, - double LonFine) { + double LonFine, + System.DateTime DataCreaz, + string DescrImp, + bool IntAperto, + string DettImpegno, + string Tel, + int AnnoOC, + string MatrOp) { ImpegniRow rowImpegniRow = ((ImpegniRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdxImpegno, + DataOraComFrom, + DataOraComTo, DataOra, TipoOrario, CodCliente, @@ -2743,7 +2914,14 @@ namespace WebSCR_data { LatInizio, LonInizio, LatFine, - LonFine}; + LonFine, + DataCreaz, + DescrImp, + IntAperto, + DettImpegno, + Tel, + AnnoOC, + MatrOp}; rowImpegniRow.ItemArray = columnValuesArray; this.Rows.Add(rowImpegniRow); return rowImpegniRow; @@ -2774,6 +2952,8 @@ namespace WebSCR_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnIdxImpegno = base.Columns["IdxImpegno"]; + this.columnDataOraComFrom = base.Columns["DataOraComFrom"]; + this.columnDataOraComTo = base.Columns["DataOraComTo"]; this.columnDataOra = base.Columns["DataOra"]; this.columnTipoOrario = base.Columns["TipoOrario"]; this.columnCodCliente = base.Columns["CodCliente"]; @@ -2809,6 +2989,13 @@ namespace WebSCR_data { this.columnLonInizio = base.Columns["LonInizio"]; this.columnLatFine = base.Columns["LatFine"]; this.columnLonFine = base.Columns["LonFine"]; + this.columnDataCreaz = base.Columns["DataCreaz"]; + this.columnDescrImp = base.Columns["DescrImp"]; + this.columnIntAperto = base.Columns["IntAperto"]; + this.columnDettImpegno = base.Columns["DettImpegno"]; + this.columnTel = base.Columns["Tel"]; + this.columnAnnoOC = base.Columns["AnnoOC"]; + this.columnMatrOp = base.Columns["MatrOp"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2816,6 +3003,10 @@ namespace WebSCR_data { private void InitClass() { this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdxImpegno); + this.columnDataOraComFrom = new global::System.Data.DataColumn("DataOraComFrom", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOraComFrom); + this.columnDataOraComTo = new global::System.Data.DataColumn("DataOraComTo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOraComTo); this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDataOra); this.columnTipoOrario = new global::System.Data.DataColumn("TipoOrario", typeof(string), null, global::System.Data.MappingType.Element); @@ -2860,7 +3051,7 @@ namespace WebSCR_data { base.Columns.Add(this.columnUrlDoc); this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNumOp); - this.columnRitUsato = new global::System.Data.DataColumn("RitUsato", typeof(bool), null, global::System.Data.MappingType.Element); + this.columnRitUsato = new global::System.Data.DataColumn("RitUsato", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRitUsato); this.columnAscensore = new global::System.Data.DataColumn("Ascensore", typeof(bool), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAscensore); @@ -2886,10 +3077,28 @@ namespace WebSCR_data { base.Columns.Add(this.columnLatFine); this.columnLonFine = new global::System.Data.DataColumn("LonFine", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLonFine); + this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataCreaz); + this.columnDescrImp = new global::System.Data.DataColumn("DescrImp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrImp); + this.columnIntAperto = new global::System.Data.DataColumn("IntAperto", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIntAperto); + this.columnDettImpegno = new global::System.Data.DataColumn("DettImpegno", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDettImpegno); + this.columnTel = new global::System.Data.DataColumn("Tel", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTel); + this.columnAnnoOC = new global::System.Data.DataColumn("AnnoOC", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAnnoOC); + this.columnMatrOp = new global::System.Data.DataColumn("MatrOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatrOp); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIdxImpegno}, true)); this.columnIdxImpegno.AllowDBNull = false; this.columnIdxImpegno.Unique = true; + this.columnDataOraComFrom.AllowDBNull = false; + this.columnDataOraComFrom.Caption = "DataOra"; + this.columnDataOraComTo.AllowDBNull = false; + this.columnDataOraComTo.Caption = "DataOra"; this.columnDataOra.AllowDBNull = false; this.columnTipoOrario.AllowDBNull = false; this.columnTipoOrario.MaxLength = 10; @@ -2935,6 +3144,16 @@ namespace WebSCR_data { this.columnSTATO.MaxLength = 8; this.columnNoteInt.MaxLength = 2147483647; this.columnLatFine.Caption = "LatFin"; + this.columnDataCreaz.AllowDBNull = false; + this.columnDescrImp.MaxLength = 250; + this.columnIntAperto.AllowDBNull = false; + this.columnDettImpegno.ReadOnly = true; + this.columnDettImpegno.MaxLength = 2147483647; + this.columnTel.ReadOnly = true; + this.columnTel.MaxLength = 103; + this.columnAnnoOC.AllowDBNull = false; + this.columnMatrOp.AllowDBNull = false; + this.columnMatrOp.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -6281,6 +6500,637 @@ namespace WebSCR_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class v_resImpDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnIdxImpegno; + + private global::System.Data.DataColumn columnTotMin; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_resImpDataTable() { + this.TableName = "v_resImp"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_resImpDataTable(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 v_resImpDataTable(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 IdxImpegnoColumn { + get { + return this.columnIdxImpegno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TotMinColumn { + get { + return this.columnTotMin; + } + } + + [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 v_resImpRow this[int index] { + get { + return ((v_resImpRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_resImpRowChangeEventHandler v_resImpRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_resImpRowChangeEventHandler v_resImpRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_resImpRowChangeEventHandler v_resImpRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event v_resImpRowChangeEventHandler v_resImpRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Addv_resImpRow(v_resImpRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_resImpRow Addv_resImpRow(int IdxImpegno, int TotMin) { + v_resImpRow rowv_resImpRow = ((v_resImpRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + IdxImpegno, + TotMin}; + rowv_resImpRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_resImpRow); + return rowv_resImpRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_resImpRow FindByIdxImpegno(int IdxImpegno) { + return ((v_resImpRow)(this.Rows.Find(new object[] { + IdxImpegno}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + v_resImpDataTable cln = ((v_resImpDataTable)(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 v_resImpDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnIdxImpegno = base.Columns["IdxImpegno"]; + this.columnTotMin = base.Columns["TotMin"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxImpegno); + this.columnTotMin = new global::System.Data.DataColumn("TotMin", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTotMin); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnIdxImpegno}, true)); + this.columnIdxImpegno.AllowDBNull = false; + this.columnIdxImpegno.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public v_resImpRow Newv_resImpRow() { + return ((v_resImpRow)(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 v_resImpRow(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(v_resImpRow); + } + + [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.v_resImpRowChanged != null)) { + this.v_resImpRowChanged(this, new v_resImpRowChangeEvent(((v_resImpRow)(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.v_resImpRowChanging != null)) { + this.v_resImpRowChanging(this, new v_resImpRowChangeEvent(((v_resImpRow)(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.v_resImpRowDeleted != null)) { + this.v_resImpRowDeleted(this, new v_resImpRowChangeEvent(((v_resImpRow)(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.v_resImpRowDeleting != null)) { + this.v_resImpRowDeleting(this, new v_resImpRowChangeEvent(((v_resImpRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void Removev_resImpRow(v_resImpRow 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_Applicazione ds = new DS_Applicazione(); + 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 = "v_resImpDataTable"; + 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 the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AssegnSlotSquadreDipDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnData; + + private global::System.Data.DataColumn columnSlot; + + private global::System.Data.DataColumn columnCodSquadra; + + private global::System.Data.DataColumn columnMatr; + + private global::System.Data.DataColumn columnDescrSquadra; + + private global::System.Data.DataColumn columnCognomeNome; + + private global::System.Data.DataColumn columnCssColor; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AssegnSlotSquadreDipDataTable() { + this.TableName = "AssegnSlotSquadreDip"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AssegnSlotSquadreDipDataTable(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 AssegnSlotSquadreDipDataTable(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 DataColumn { + get { + return this.columnData; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SlotColumn { + get { + return this.columnSlot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSquadraColumn { + get { + return this.columnCodSquadra; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MatrColumn { + get { + return this.columnMatr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescrSquadraColumn { + get { + return this.columnDescrSquadra; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CognomeNomeColumn { + get { + return this.columnCognomeNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CssColorColumn { + get { + return this.columnCssColor; + } + } + + [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 AssegnSlotSquadreDipRow this[int index] { + get { + return ((AssegnSlotSquadreDipRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AssegnSlotSquadreDipRowChangeEventHandler AssegnSlotSquadreDipRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AssegnSlotSquadreDipRowChangeEventHandler AssegnSlotSquadreDipRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AssegnSlotSquadreDipRowChangeEventHandler AssegnSlotSquadreDipRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event AssegnSlotSquadreDipRowChangeEventHandler AssegnSlotSquadreDipRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddAssegnSlotSquadreDipRow(AssegnSlotSquadreDipRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AssegnSlotSquadreDipRow AddAssegnSlotSquadreDipRow(System.DateTime Data, string Slot, string CodSquadra, string Matr, string DescrSquadra, string CognomeNome, string CssColor) { + AssegnSlotSquadreDipRow rowAssegnSlotSquadreDipRow = ((AssegnSlotSquadreDipRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Data, + Slot, + CodSquadra, + Matr, + DescrSquadra, + CognomeNome, + CssColor}; + rowAssegnSlotSquadreDipRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAssegnSlotSquadreDipRow); + return rowAssegnSlotSquadreDipRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AssegnSlotSquadreDipRow FindByDataSlotCodSquadraMatr(System.DateTime Data, string Slot, string CodSquadra, string Matr) { + return ((AssegnSlotSquadreDipRow)(this.Rows.Find(new object[] { + Data, + Slot, + CodSquadra, + Matr}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + AssegnSlotSquadreDipDataTable cln = ((AssegnSlotSquadreDipDataTable)(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 AssegnSlotSquadreDipDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnData = base.Columns["Data"]; + this.columnSlot = base.Columns["Slot"]; + this.columnCodSquadra = base.Columns["CodSquadra"]; + this.columnMatr = base.Columns["Matr"]; + this.columnDescrSquadra = base.Columns["DescrSquadra"]; + this.columnCognomeNome = base.Columns["CognomeNome"]; + this.columnCssColor = base.Columns["CssColor"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnData); + this.columnSlot = new global::System.Data.DataColumn("Slot", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSlot); + this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSquadra); + this.columnMatr = new global::System.Data.DataColumn("Matr", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatr); + this.columnDescrSquadra = new global::System.Data.DataColumn("DescrSquadra", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescrSquadra); + this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCognomeNome); + this.columnCssColor = new global::System.Data.DataColumn("CssColor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCssColor); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnData, + this.columnSlot, + this.columnCodSquadra, + this.columnMatr}, true)); + this.columnData.AllowDBNull = false; + this.columnSlot.AllowDBNull = false; + this.columnSlot.MaxLength = 50; + this.columnCodSquadra.AllowDBNull = false; + this.columnCodSquadra.MaxLength = 50; + this.columnMatr.AllowDBNull = false; + this.columnMatr.MaxLength = 50; + this.columnDescrSquadra.ReadOnly = true; + this.columnDescrSquadra.Caption = "CognomeNome"; + this.columnDescrSquadra.MaxLength = 101; + this.columnCognomeNome.ReadOnly = true; + this.columnCognomeNome.MaxLength = 101; + this.columnCssColor.MaxLength = 50; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AssegnSlotSquadreDipRow NewAssegnSlotSquadreDipRow() { + return ((AssegnSlotSquadreDipRow)(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 AssegnSlotSquadreDipRow(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(AssegnSlotSquadreDipRow); + } + + [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.AssegnSlotSquadreDipRowChanged != null)) { + this.AssegnSlotSquadreDipRowChanged(this, new AssegnSlotSquadreDipRowChangeEvent(((AssegnSlotSquadreDipRow)(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.AssegnSlotSquadreDipRowChanging != null)) { + this.AssegnSlotSquadreDipRowChanging(this, new AssegnSlotSquadreDipRowChangeEvent(((AssegnSlotSquadreDipRow)(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.AssegnSlotSquadreDipRowDeleted != null)) { + this.AssegnSlotSquadreDipRowDeleted(this, new AssegnSlotSquadreDipRowChangeEvent(((AssegnSlotSquadreDipRow)(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.AssegnSlotSquadreDipRowDeleting != null)) { + this.AssegnSlotSquadreDipRowDeleting(this, new AssegnSlotSquadreDipRowChangeEvent(((AssegnSlotSquadreDipRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveAssegnSlotSquadreDipRow(AssegnSlotSquadreDipRow 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_Applicazione ds = new DS_Applicazione(); + 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 = "AssegnSlotSquadreDipDataTable"; + 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. /// @@ -6893,6 +7743,28 @@ namespace WebSCR_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataOraComFrom { + get { + return ((global::System.DateTime)(this[this.tableImpegni.DataOraComFromColumn])); + } + set { + this[this.tableImpegni.DataOraComFromColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataOraComTo { + get { + return ((global::System.DateTime)(this[this.tableImpegni.DataOraComToColumn])); + } + set { + this[this.tableImpegni.DataOraComToColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime DataOra { @@ -7157,9 +8029,9 @@ namespace WebSCR_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool RitUsato { + public int RitUsato { get { - return ((bool)(this[this.tableImpegni.RitUsatoColumn])); + return ((int)(this[this.tableImpegni.RitUsatoColumn])); } set { this[this.tableImpegni.RitUsatoColumn] = value; @@ -7338,6 +8210,98 @@ namespace WebSCR_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataCreaz { + get { + return ((global::System.DateTime)(this[this.tableImpegni.DataCreazColumn])); + } + set { + this[this.tableImpegni.DataCreazColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrImp { + get { + try { + return ((string)(this[this.tableImpegni.DescrImpColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrImp\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.DescrImpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IntAperto { + get { + return ((bool)(this[this.tableImpegni.IntApertoColumn])); + } + set { + this[this.tableImpegni.IntApertoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DettImpegno { + get { + try { + return ((string)(this[this.tableImpegni.DettImpegnoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DettImpegno\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.DettImpegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Tel { + get { + try { + return ((string)(this[this.tableImpegni.TelColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Tel\' in table \'Impegni\' is DBNull.", e); + } + } + set { + this[this.tableImpegni.TelColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int AnnoOC { + get { + return ((int)(this[this.tableImpegni.AnnoOCColumn])); + } + set { + this[this.tableImpegni.AnnoOCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string MatrOp { + get { + return ((string)(this[this.tableImpegni.MatrOpColumn])); + } + set { + this[this.tableImpegni.MatrOpColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCodClienteNull() { @@ -7481,6 +8445,42 @@ namespace WebSCR_data { public void SetLonFineNull() { this[this.tableImpegni.LonFineColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrImpNull() { + return this.IsNull(this.tableImpegni.DescrImpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrImpNull() { + this[this.tableImpegni.DescrImpColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDettImpegnoNull() { + return this.IsNull(this.tableImpegni.DettImpegnoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDettImpegnoNull() { + this[this.tableImpegni.DettImpegnoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTelNull() { + return this.IsNull(this.tableImpegni.TelColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTelNull() { + this[this.tableImpegni.TelColumn] = global::System.Convert.DBNull; + } } /// @@ -8977,6 +9977,203 @@ namespace WebSCR_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class v_resImpRow : global::System.Data.DataRow { + + private v_resImpDataTable tablev_resImp; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal v_resImpRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_resImp = ((v_resImpDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxImpegno { + get { + return ((int)(this[this.tablev_resImp.IdxImpegnoColumn])); + } + set { + this[this.tablev_resImp.IdxImpegnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int TotMin { + get { + try { + return ((int)(this[this.tablev_resImp.TotMinColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TotMin\' in table \'v_resImp\' is DBNull.", e); + } + } + set { + this[this.tablev_resImp.TotMinColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTotMinNull() { + return this.IsNull(this.tablev_resImp.TotMinColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTotMinNull() { + this[this.tablev_resImp.TotMinColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class AssegnSlotSquadreDipRow : global::System.Data.DataRow { + + private AssegnSlotSquadreDipDataTable tableAssegnSlotSquadreDip; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal AssegnSlotSquadreDipRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAssegnSlotSquadreDip = ((AssegnSlotSquadreDipDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Data { + get { + return ((global::System.DateTime)(this[this.tableAssegnSlotSquadreDip.DataColumn])); + } + set { + this[this.tableAssegnSlotSquadreDip.DataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Slot { + get { + return ((string)(this[this.tableAssegnSlotSquadreDip.SlotColumn])); + } + set { + this[this.tableAssegnSlotSquadreDip.SlotColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSquadra { + get { + return ((string)(this[this.tableAssegnSlotSquadreDip.CodSquadraColumn])); + } + set { + this[this.tableAssegnSlotSquadreDip.CodSquadraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Matr { + get { + return ((string)(this[this.tableAssegnSlotSquadreDip.MatrColumn])); + } + set { + this[this.tableAssegnSlotSquadreDip.MatrColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescrSquadra { + get { + try { + return ((string)(this[this.tableAssegnSlotSquadreDip.DescrSquadraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescrSquadra\' in table \'AssegnSlotSquadreDip\' is DBNull.", e); + } + } + set { + this[this.tableAssegnSlotSquadreDip.DescrSquadraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CognomeNome { + get { + try { + return ((string)(this[this.tableAssegnSlotSquadreDip.CognomeNomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CognomeNome\' in table \'AssegnSlotSquadreDip\' is DBNull.", e); + } + } + set { + this[this.tableAssegnSlotSquadreDip.CognomeNomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CssColor { + get { + try { + return ((string)(this[this.tableAssegnSlotSquadreDip.CssColorColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CssColor\' in table \'AssegnSlotSquadreDip\' is DBNull.", e); + } + } + set { + this[this.tableAssegnSlotSquadreDip.CssColorColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDescrSquadraNull() { + return this.IsNull(this.tableAssegnSlotSquadreDip.DescrSquadraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDescrSquadraNull() { + this[this.tableAssegnSlotSquadreDip.DescrSquadraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCognomeNomeNull() { + return this.IsNull(this.tableAssegnSlotSquadreDip.CognomeNomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCognomeNomeNull() { + this[this.tableAssegnSlotSquadreDip.CognomeNomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCssColorNull() { + return this.IsNull(this.tableAssegnSlotSquadreDip.CssColorColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCssColorNull() { + this[this.tableAssegnSlotSquadreDip.CssColorColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -9452,6 +10649,74 @@ namespace WebSCR_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class v_resImpRowChangeEvent : global::System.EventArgs { + + private v_resImpRow 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 v_resImpRowChangeEvent(v_resImpRow 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 v_resImpRow 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; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class AssegnSlotSquadreDipRowChangeEvent : global::System.EventArgs { + + private AssegnSlotSquadreDipRow 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 AssegnSlotSquadreDipRowChangeEvent(AssegnSlotSquadreDipRow 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 AssegnSlotSquadreDipRow 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 WebSCR_data.DS_ApplicazioneTableAdapters { @@ -10879,7 +12144,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO [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[4]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM" + @@ -10893,19 +12158,13 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, 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_ATC_InsertQuery"; + this._commandCollection[2].CommandText = "dbo.stp_ATC_getByKey"; 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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrConsegna", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinutiStd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_ATC_UpdateQuery"; + this._commandCollection[3].CommandText = "dbo.stp_ATC_InsertQuery"; 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("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); @@ -10915,7 +12174,19 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, 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_ATC_UpdateQuery"; + 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("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrConsegna", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinutiStd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -10942,6 +12213,23 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO 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_Applicazione.AnagTipoConsegneDataTable getByKey(string CodConsegna) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodConsegna == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodConsegna)); + } + DS_Applicazione.AnagTipoConsegneDataTable dataTable = new DS_Applicazione.AnagTipoConsegneDataTable(); + 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")] @@ -11144,7 +12432,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)] public virtual int InsertQuery(string CodConsegna, string DescrConsegna, global::System.Nullable MinutiStd, global::System.Nullable NumOp, global::System.Nullable Elettrod, global::System.Nullable Clima, global::System.Nullable Inform) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; if ((CodConsegna == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -11209,7 +12497,7 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] public virtual int UpdateQuery(string CodConsegna, string DescrConsegna, global::System.Nullable MinutiStd, global::System.Nullable NumOp, global::System.Nullable Elettrod, global::System.Nullable Clima, global::System.Nullable Inform, string Original_CodConsegna) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; if ((CodConsegna == null)) { command.Parameters[1].Value = global::System.DBNull.Value; } @@ -12293,6 +13581,15 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca tableMapping.ColumnMappings.Add("LatFin", "LatFine"); tableMapping.ColumnMappings.Add("LonFine", "LonFine"); tableMapping.ColumnMappings.Add("LatFine", "LatFine"); + tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz"); + tableMapping.ColumnMappings.Add("DescrImp", "DescrImp"); + tableMapping.ColumnMappings.Add("IntAperto", "IntAperto"); + tableMapping.ColumnMappings.Add("DettImpegno", "DettImpegno"); + tableMapping.ColumnMappings.Add("Tel", "Tel"); + tableMapping.ColumnMappings.Add("AnnoOC", "AnnoOC"); + tableMapping.ColumnMappings.Add("DataOraComFrom", "DataOraComFrom"); + tableMapping.ColumnMappings.Add("DataOraComTo", "DataOraComTo"); + tableMapping.ColumnMappings.Add("MatrOp", "MatrOp"); this._adapter.TableMappings.Add(tableMapping); } @@ -12306,98 +13603,114 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [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[11]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni"; 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_Imp_getByCodCli"; + this._commandCollection[1].CommandText = "dbo.stp_Imp_deleteQuery"; 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("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, 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_Imp_getByKey"; + this._commandCollection[2].CommandText = "dbo.stp_Imp_getByCodCli"; 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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_Imp_getBySearch"; + this._commandCollection[3].CommandText = "dbo.stp_Imp_getByKey"; 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("@Stato", global::System.Data.SqlDbType.NVarChar, 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("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGg", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, 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("@RecAgeDd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_Imp_getBySearchCronologico"; + this._commandCollection[4].CommandText = "dbo.stp_Imp_getBySearch"; 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("@Stato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGg", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecAgeDd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_Imp_insertQuery"; + this._commandCollection[5].CommandText = "dbo.stp_Imp_getBySearchCronologico"; 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("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", 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.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[6].Connection = this.Connection; - this._commandCollection[6].CommandText = "dbo.stp_Imp_recFineInt"; + this._commandCollection[6].CommandText = "dbo.stp_Imp_insertQuery"; this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinTotCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOp", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[7].Connection = this.Connection; - this._commandCollection[7].CommandText = "dbo.stp_Imp_recStartInt"; + this._commandCollection[7].CommandText = "dbo.stp_Imp_recFineInt"; this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[8].Connection = this.Connection; - this._commandCollection[8].CommandText = "dbo.stp_Imp_updateQuery"; + this._commandCollection[8].CommandText = "dbo.stp_Imp_recStartInt"; this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[8].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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[9].Connection = this.Connection; - this._commandCollection[9].CommandText = "dbo.stp_Imp_updNoteInt"; + this._commandCollection[9].CommandText = "dbo.stp_Imp_updateQuery"; this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[9].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[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteInt", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IntAperto", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOp", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraComFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraComTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[10].Connection = this.Connection; - this._commandCollection[10].CommandText = "dbo.stp_Imp_updStart"; + this._commandCollection[10].CommandText = "dbo.stp_Imp_updNoteInt"; this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[10].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[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteInt", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IntAperto", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[11].Connection = this.Connection; + this._commandCollection[11].CommandText = "dbo.stp_Imp_updStart"; + this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOp", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LastMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -12429,7 +13742,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_Applicazione.ImpegniDataTable getByCli(string CodCliente) { - this.Adapter.SelectCommand = this.CommandCollection[1]; + this.Adapter.SelectCommand = this.CommandCollection[2]; if ((CodCliente == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -12446,7 +13759,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_Applicazione.ImpegniDataTable getByKey(global::System.Nullable IdxImpegno) { - this.Adapter.SelectCommand = this.CommandCollection[2]; + this.Adapter.SelectCommand = this.CommandCollection[3]; if ((IdxImpegno.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value)); } @@ -12463,7 +13776,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_Applicazione.ImpegniDataTable getBySearch(string Stato, global::System.Nullable DataRif, global::System.Nullable NumGg, string CodSquadra, global::System.Nullable RecAgeDd) { - this.Adapter.SelectCommand = this.CommandCollection[3]; + this.Adapter.SelectCommand = this.CommandCollection[4]; if ((Stato == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -12504,7 +13817,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_Applicazione.ImpegniDataTable getBySearchCron(string Stato, global::System.Nullable DataCreaz) { - this.Adapter.SelectCommand = this.CommandCollection[4]; + this.Adapter.SelectCommand = this.CommandCollection[5]; if ((Stato == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } @@ -12525,19 +13838,48 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [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(global::System.Nullable DataOra, string TipoOrario, string CodSquadra, string RifOC, global::System.Nullable anno) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int deleteQuery(global::System.Nullable Original_IdxImpegno) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_IdxImpegno.HasValue == true)) { + command.Parameters[1].Value = ((int)(Original_IdxImpegno.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(global::System.Nullable DataOra, global::System.Nullable MinTotCons, string CodSquadra, string RifOC, global::System.Nullable anno, string MatrOp, global::System.Nullable LastMod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; if ((DataOra.HasValue == true)) { command.Parameters[1].Value = ((System.DateTime)(DataOra.Value)); } else { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((TipoOrario == null)) { - command.Parameters[2].Value = global::System.DBNull.Value; + if ((MinTotCons.HasValue == true)) { + command.Parameters[2].Value = ((int)(MinTotCons.Value)); } else { - command.Parameters[2].Value = ((string)(TipoOrario)); + command.Parameters[2].Value = global::System.DBNull.Value; } if ((CodSquadra == null)) { command.Parameters[3].Value = global::System.DBNull.Value; @@ -12557,6 +13899,18 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca else { command.Parameters[5].Value = global::System.DBNull.Value; } + if ((MatrOp == null)) { + command.Parameters[6].Value = global::System.DBNull.Value; + } + else { + command.Parameters[6].Value = ((string)(MatrOp)); + } + if ((LastMod.HasValue == true)) { + command.Parameters[7].Value = ((System.DateTime)(LastMod.Value)); + } + else { + command.Parameters[7].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)) { @@ -12578,7 +13932,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int recFineInt(global::System.Nullable IdxImpegno, global::System.Nullable FineInt, global::System.Nullable LatFine, global::System.Nullable LonFine) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; if ((IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxImpegno.Value)); } @@ -12624,7 +13978,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int recStartInt(global::System.Nullable IdxImpegno, global::System.Nullable InizioInt, global::System.Nullable LatInizio, global::System.Nullable LonInizio) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; if ((IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxImpegno.Value)); } @@ -12669,8 +14023,24 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [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 updateQuery(global::System.Nullable Original_IdxImpegno, string TipoOrario, string CodSquadra, string RifOC, string NoteGen, string UrlDoc, global::System.Nullable NumOp, global::System.Nullable RitUsato, global::System.Nullable Ascensore, global::System.Nullable PianoCons, string UserMod) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8]; + public virtual int updateQuery( + global::System.Nullable Original_IdxImpegno, + string TipoOrario, + string CodSquadra, + string RifOC, + string NoteGen, + string UrlDoc, + global::System.Nullable NumOp, + global::System.Nullable RitUsato, + global::System.Nullable Ascensore, + global::System.Nullable PianoCons, + string UserMod, + global::System.Nullable IntAperto, + string MatrOp, + global::System.Nullable DataOra, + global::System.Nullable DataOraComFrom, + global::System.Nullable DataOraComTo) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; if ((Original_IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value)); } @@ -12737,6 +14107,36 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca else { command.Parameters[11].Value = ((string)(UserMod)); } + if ((IntAperto.HasValue == true)) { + command.Parameters[12].Value = ((bool)(IntAperto.Value)); + } + else { + command.Parameters[12].Value = global::System.DBNull.Value; + } + if ((MatrOp == null)) { + command.Parameters[13].Value = global::System.DBNull.Value; + } + else { + command.Parameters[13].Value = ((string)(MatrOp)); + } + if ((DataOra.HasValue == true)) { + command.Parameters[14].Value = ((System.DateTime)(DataOra.Value)); + } + else { + command.Parameters[14].Value = global::System.DBNull.Value; + } + if ((DataOraComFrom.HasValue == true)) { + command.Parameters[15].Value = ((System.DateTime)(DataOraComFrom.Value)); + } + else { + command.Parameters[15].Value = global::System.DBNull.Value; + } + if ((DataOraComTo.HasValue == true)) { + command.Parameters[16].Value = ((System.DateTime)(DataOraComTo.Value)); + } + else { + command.Parameters[16].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)) { @@ -12757,8 +14157,8 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [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 updNoteInt(global::System.Nullable IdxImpegno, string NoteInt) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; + public virtual int updNoteInt(global::System.Nullable IdxImpegno, string NoteInt, global::System.Nullable IntAperto) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; if ((IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxImpegno.Value)); } @@ -12771,6 +14171,12 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca else { command.Parameters[2].Value = ((string)(NoteInt)); } + if ((IntAperto.HasValue == true)) { + command.Parameters[3].Value = ((bool)(IntAperto.Value)); + } + else { + command.Parameters[3].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)) { @@ -12791,8 +14197,8 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca [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 updStart(global::System.Nullable IdxImpegno, global::System.Nullable DataOraNew) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; + public virtual int updStart(global::System.Nullable IdxImpegno, global::System.Nullable DataOraNew, string MatrOp, global::System.Nullable LastMod) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11]; if ((IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxImpegno.Value)); } @@ -12805,6 +14211,18 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca else { command.Parameters[2].Value = global::System.DBNull.Value; } + if ((MatrOp == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(MatrOp)); + } + if ((LastMod.HasValue == true)) { + command.Parameters[4].Value = ((System.DateTime)(LastMod.Value)); + } + else { + command.Parameters[4].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)) { @@ -14135,6 +15553,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq 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("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOp", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 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; @@ -14144,6 +15563,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", 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("@Original_NumCons", 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("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MatrOp", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } @@ -14248,7 +15668,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq [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(global::System.Nullable IdxImpegno, string CodConsegna) { + public virtual int insertQuery(global::System.Nullable IdxImpegno, string MatrOp, string CodConsegna) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; if ((IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(IdxImpegno.Value)); @@ -14256,11 +15676,17 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq else { command.Parameters[1].Value = global::System.DBNull.Value; } - if ((CodConsegna == null)) { + if ((MatrOp == null)) { command.Parameters[2].Value = global::System.DBNull.Value; } else { - command.Parameters[2].Value = ((string)(CodConsegna)); + command.Parameters[2].Value = ((string)(MatrOp)); + } + if ((CodConsegna == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodConsegna)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; if (((command.Connection.State & global::System.Data.ConnectionState.Open) @@ -14282,7 +15708,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq [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 updateQuery(global::System.Nullable Original_IdxImpegno, global::System.Nullable Original_NumCons, string CodConsegna, string Note) { + public virtual int updateQuery(global::System.Nullable Original_IdxImpegno, global::System.Nullable Original_NumCons, string CodConsegna, string MatrOp, string Note) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; if ((Original_IdxImpegno.HasValue == true)) { command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value)); @@ -14302,11 +15728,17 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq else { command.Parameters[3].Value = ((string)(CodConsegna)); } - if ((Note == null)) { + if ((MatrOp == null)) { command.Parameters[4].Value = global::System.DBNull.Value; } else { - command.Parameters[4].Value = ((string)(Note)); + command.Parameters[4].Value = ((string)(MatrOp)); + } + if ((Note == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(Note)); } global::System.Data.ConnectionState previousConnectionState = command.Connection.State; if (((command.Connection.State & global::System.Data.ConnectionState.Open) @@ -15627,6 +17059,653 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)"; } } + /// + ///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 v_resImpTableAdapter : 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 v_resImpTableAdapter() { + 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 = "v_resImp"; + tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno"); + tableMapping.ColumnMappings.Add("TotMin", "TotMin"); + this._adapter.TableMappings.Add(tableMapping); + } + + [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::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString; + } + + [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[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT IdxImpegno, TotMin FROM dbo.v_resImp"; + 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_resImp_getByKey"; + 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("@IdxImpegno", 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_Applicazione.v_resImpDataTable 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_Applicazione.v_resImpDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.v_resImpDataTable dataTable = new DS_Applicazione.v_resImpDataTable(); + 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_Applicazione.v_resImpDataTable getByKey(global::System.Nullable IdxImpegno) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((IdxImpegno.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_Applicazione.v_resImpDataTable dataTable = new DS_Applicazione.v_resImpDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///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 AssegnSlotSquadreDipTableAdapter : 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 AssegnSlotSquadreDipTableAdapter() { + 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 = "AssegnSlotSquadreDip"; + tableMapping.ColumnMappings.Add("Data", "Data"); + tableMapping.ColumnMappings.Add("Slot", "Slot"); + tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra"); + tableMapping.ColumnMappings.Add("Matr", "Matr"); + tableMapping.ColumnMappings.Add("DescrSquadra", "DescrSquadra"); + tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome"); + tableMapping.ColumnMappings.Add("CssColor", "CssColor"); + this._adapter.TableMappings.Add(tableMapping); + } + + [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::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString; + } + + [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[8]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT * FROM v_ASSD"; + 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_ASSD_clonePrevWeek"; + 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("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, 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_ASSD_deleteQuery"; + 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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Slot", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_ASSD_getByImpegno"; + 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("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_ASSD_getByDateSlot"; + 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("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Slot", global::System.Data.SqlDbType.NVarChar, 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_ASS_getByDateSlot"; + 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("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Slot", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_ASSD_insMiss"; + this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[7].Connection = this.Connection; + this._commandCollection[7].CommandText = "dbo.stp_ASSD_updateSquadra"; + this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Slot", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_Applicazione.AssegnSlotSquadreDipDataTable 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_Applicazione.AssegnSlotSquadreDipDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AssegnSlotSquadreDipDataTable dataTable = new DS_Applicazione.AssegnSlotSquadreDipDataTable(); + 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_Applicazione.AssegnSlotSquadreDipDataTable getByImpegno(global::System.Nullable IdxImpegno) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((IdxImpegno.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_Applicazione.AssegnSlotSquadreDipDataTable dataTable = new DS_Applicazione.AssegnSlotSquadreDipDataTable(); + 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_Applicazione.AssegnSlotSquadreDipDataTable getBySlotSq(string CodSquadra, global::System.Nullable Data, string Slot) { + this.Adapter.SelectCommand = this.CommandCollection[4]; + if ((CodSquadra == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSquadra)); + } + if ((Data.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Slot == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Slot)); + } + DS_Applicazione.AssegnSlotSquadreDipDataTable dataTable = new DS_Applicazione.AssegnSlotSquadreDipDataTable(); + 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_Applicazione.AssegnSlotSquadreDipDataTable getSquadre_byDateSlot(string CodSquadra, global::System.Nullable Data, string Slot) { + this.Adapter.SelectCommand = this.CommandCollection[5]; + if ((CodSquadra == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSquadra)); + } + if ((Data.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Slot == null)) { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Slot)); + } + DS_Applicazione.AssegnSlotSquadreDipDataTable dataTable = new DS_Applicazione.AssegnSlotSquadreDipDataTable(); + 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 clonePrevWeek(global::System.Nullable Data) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Data.HasValue == true)) { + command.Parameters[1].Value = ((System.DateTime)(Data.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")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)] + public virtual int deleteQuery(global::System.Nullable Original_Data, string Original_Slot, string Original_Matr, string Original_CodSquadra) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2]; + if ((Original_Data.HasValue == true)) { + command.Parameters[1].Value = ((System.DateTime)(Original_Data.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + if ((Original_Slot == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Original_Slot)); + } + if ((Original_Matr == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Original_Matr)); + } + if ((Original_CodSquadra == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(Original_CodSquadra)); + } + 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 insMiss(global::System.Nullable Data) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((Data.HasValue == true)) { + command.Parameters[1].Value = ((System.DateTime)(Data.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 updateSquadra(string Original_CodSquadra, global::System.Nullable Original_Data, string Original_Slot, string Original_Matr, string CodSquadra) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((Original_CodSquadra == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodSquadra)); + } + if ((Original_Data.HasValue == true)) { + command.Parameters[2].Value = ((System.DateTime)(Original_Data.Value)); + } + else { + command.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Original_Slot == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(Original_Slot)); + } + if ((Original_Matr == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(Original_Matr)); + } + if ((CodSquadra == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(CodSquadra)); + } + 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 /// diff --git a/WebSCR_data/DS_Applicazione.cs b/WebSCR_data/DS_Applicazione.cs new file mode 100644 index 0000000..21a3bbe --- /dev/null +++ b/WebSCR_data/DS_Applicazione.cs @@ -0,0 +1,18 @@ +namespace WebSCR_data +{ +} + +namespace WebSCR_data +{ + + + public partial class DS_Applicazione + { + } +} +namespace WebSCR_data { + + + public partial class DS_Applicazione { + } +} diff --git a/WebSCR_data/DS_Applicazione.xsd b/WebSCR_data/DS_Applicazione.xsd index 4fce611..d796b22 100644 --- a/WebSCR_data/DS_Applicazione.xsd +++ b/WebSCR_data/DS_Applicazione.xsd @@ -346,6 +346,17 @@ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FRO + + + + dbo.stp_ATC_getByKey + + + + + + + @@ -593,8 +604,28 @@ FROM v_elencoImpegni + + + + + + + + + + + + + dbo.stp_Imp_deleteQuery + + + + + + + @@ -644,22 +675,24 @@ FROM v_elencoImpegni - + dbo.stp_Imp_insertQuery - + + + - + dbo.stp_Imp_recFineInt @@ -673,7 +706,7 @@ FROM v_elencoImpegni - + dbo.stp_Imp_recStartInt @@ -687,7 +720,7 @@ FROM v_elencoImpegni - + dbo.stp_Imp_updateQuery @@ -704,11 +737,16 @@ FROM v_elencoImpegni + + + + + - + dbo.stp_Imp_updNoteInt @@ -716,11 +754,12 @@ FROM v_elencoImpegni + - + dbo.stp_Imp_updStart @@ -728,6 +767,8 @@ FROM v_elencoImpegni + + @@ -1013,6 +1054,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq + @@ -1027,6 +1069,7 @@ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSq + @@ -1274,6 +1317,146 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) + + + + + + SELECT IdxImpegno, TotMin FROM dbo.v_resImp + + + + + + + + + + + + + + dbo.stp_resImp_getByKey + + + + + + + + + + + + + + + SELECT * FROM v_ASSD + + + + + + + + + + + + + + + + + + + dbo.stp_ASSD_clonePrevWeek + + + + + + + + + + + dbo.stp_ASSD_deleteQuery + + + + + + + + + + + + + + dbo.stp_ASSD_getByImpegno + + + + + + + + + + + dbo.stp_ASSD_getByDateSlot + + + + + + + + + + + + + dbo.stp_ASS_getByDateSlot + + + + + + + + + + + + + dbo.stp_ASSD_insMiss + + + + + + + + + + + dbo.stp_ASSD_updateSquadra + + + + + + + + + + + + + @@ -1282,7 +1465,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1314,7 +1497,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1350,7 +1533,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1375,7 +1558,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1459,10 +1642,12 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + + + @@ -1563,7 +1748,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1594,10 +1779,41 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1607,7 +1823,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1623,7 +1839,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1653,7 +1869,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1670,7 +1886,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1705,7 +1921,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1760,7 +1976,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1906,7 +2122,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1935,7 +2151,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) - + @@ -1969,6 +2185,63 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2028,12 +2301,23 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr) + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/WebSCR_data/DS_Applicazione.xss b/WebSCR_data/DS_Applicazione.xss index 4bdd2d3..f21cd42 100644 --- a/WebSCR_data/DS_Applicazione.xss +++ b/WebSCR_data/DS_Applicazione.xss @@ -4,25 +4,27 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + 765 @@ -34,7 +36,7 @@ - + 707 @@ -46,7 +48,7 @@ - + 422 diff --git a/WebSCR_data/DS_Utility.Designer.cs b/WebSCR_data/DS_Utility.Designer.cs index 23b74d9..d42a9cc 100644 --- a/WebSCR_data/DS_Utility.Designer.cs +++ b/WebSCR_data/DS_Utility.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -30,6 +30,8 @@ namespace WebSCR_data { private ListValuesDataTable tableListValues; + private SettimanaDataTable tableSettimana; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -67,6 +69,9 @@ namespace WebSCR_data { if ((ds.Tables["ListValues"] != null)) { base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"])); } + if ((ds.Tables["Settimana"] != null)) { + base.Tables.Add(new SettimanaDataTable(ds.Tables["Settimana"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -115,6 +120,16 @@ namespace WebSCR_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 SettimanaDataTable Settimana { + get { + return this.tableSettimana; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -191,6 +206,9 @@ namespace WebSCR_data { if ((ds.Tables["ListValues"] != null)) { base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"])); } + if ((ds.Tables["Settimana"] != null)) { + base.Tables.Add(new SettimanaDataTable(ds.Tables["Settimana"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -242,6 +260,12 @@ namespace WebSCR_data { this.tableListValues.InitVars(); } } + this.tableSettimana = ((SettimanaDataTable)(base.Tables["Settimana"])); + if ((initTable == true)) { + if ((this.tableSettimana != null)) { + this.tableSettimana.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -258,6 +282,8 @@ namespace WebSCR_data { base.Tables.Add(this.tableGiornoTipo); this.tableListValues = new ListValuesDataTable(); base.Tables.Add(this.tableListValues); + this.tableSettimana = new SettimanaDataTable(); + base.Tables.Add(this.tableSettimana); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -278,6 +304,12 @@ namespace WebSCR_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeSettimana() { + 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) { @@ -342,6 +374,9 @@ namespace WebSCR_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void ListValuesRowChangeEventHandler(object sender, ListValuesRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void SettimanaRowChangeEventHandler(object sender, SettimanaRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -1292,6 +1327,254 @@ namespace WebSCR_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class SettimanaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnData; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public SettimanaDataTable() { + this.TableName = "Settimana"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SettimanaDataTable(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 SettimanaDataTable(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 DataColumn { + get { + return this.columnData; + } + } + + [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 SettimanaRow this[int index] { + get { + return ((SettimanaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event SettimanaRowChangeEventHandler SettimanaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event SettimanaRowChangeEventHandler SettimanaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event SettimanaRowChangeEventHandler SettimanaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event SettimanaRowChangeEventHandler SettimanaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddSettimanaRow(SettimanaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public SettimanaRow AddSettimanaRow(System.DateTime Data) { + SettimanaRow rowSettimanaRow = ((SettimanaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Data}; + rowSettimanaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowSettimanaRow); + return rowSettimanaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + SettimanaDataTable cln = ((SettimanaDataTable)(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 SettimanaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnData = base.Columns["Data"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnData); + this.columnData.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public SettimanaRow NewSettimanaRow() { + return ((SettimanaRow)(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 SettimanaRow(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(SettimanaRow); + } + + [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.SettimanaRowChanged != null)) { + this.SettimanaRowChanged(this, new SettimanaRowChangeEvent(((SettimanaRow)(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.SettimanaRowChanging != null)) { + this.SettimanaRowChanging(this, new SettimanaRowChangeEvent(((SettimanaRow)(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.SettimanaRowDeleted != null)) { + this.SettimanaRowDeleted(this, new SettimanaRowChangeEvent(((SettimanaRow)(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.SettimanaRowDeleting != null)) { + this.SettimanaRowDeleting(this, new SettimanaRowChangeEvent(((SettimanaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveSettimanaRow(SettimanaRow 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_Utility ds = new DS_Utility(); + 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 = "SettimanaDataTable"; + 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. /// @@ -1542,6 +1825,49 @@ namespace WebSCR_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class SettimanaRow : global::System.Data.DataRow { + + private SettimanaDataTable tableSettimana; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal SettimanaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableSettimana = ((SettimanaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime Data { + get { + try { + return ((global::System.DateTime)(this[this.tableSettimana.DataColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Data\' in table \'Settimana\' is DBNull.", e); + } + } + set { + this[this.tableSettimana.DataColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataNull() { + return this.IsNull(this.tableSettimana.DataColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataNull() { + this[this.tableSettimana.DataColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -1643,6 +1969,40 @@ namespace WebSCR_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class SettimanaRowChangeEvent : global::System.EventArgs { + + private SettimanaRow 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 SettimanaRowChangeEvent(SettimanaRow 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 SettimanaRow 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 WebSCR_data.DS_UtilityTableAdapters { @@ -3073,6 +3433,187 @@ SELECT idxFile, DataMod, FileName, ContentType, Data, Size, IdxImpegno, IdxRappo } } + /// + ///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 SettimanaTableAdapter : 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 SettimanaTableAdapter() { + 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 = "Settimana"; + tableMapping.ColumnMappings.Add("Data", "Data"); + this._adapter.TableMappings.Add(tableMapping); + } + + [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::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString; + } + + [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[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_DtSl_getWeek"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 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_Utility.SettimanaDataTable dataTable, global::System.Nullable Data) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((Data.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + 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_Utility.SettimanaDataTable GetData(global::System.Nullable Data) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((Data.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(Data.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_Utility.SettimanaDataTable dataTable = new DS_Utility.SettimanaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/WebSCR_data/DS_Utility.xsd b/WebSCR_data/DS_Utility.xsd index 1c40c54..708e260 100644 --- a/WebSCR_data/DS_Utility.xsd +++ b/WebSCR_data/DS_Utility.xsd @@ -223,7 +223,7 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) - + dbo.stp_listValues_delete @@ -294,7 +294,7 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) - + dbo.stp_listValues_insNew @@ -309,7 +309,7 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) - + dbo.stp_listValues_update @@ -326,6 +326,25 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) + + + + + + dbo.stp_DtSl_getWeek + + + + + + + + + + + + + @@ -334,7 +353,7 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) - + @@ -360,14 +379,14 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) - + - + @@ -402,6 +421,13 @@ SELECT Orario FROM GiornoTipo WHERE (Orario = @Orario) + + + + + + + diff --git a/WebSCR_data/DtProxy.cs b/WebSCR_data/DtProxy.cs index 5c80f56..3c4b331 100644 --- a/WebSCR_data/DtProxy.cs +++ b/WebSCR_data/DtProxy.cs @@ -26,12 +26,14 @@ namespace WebSCR_data taAC = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter(); taAS = new DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter(); taAsSq = new DS_ApplicazioneTableAdapters.AssegnSquadreTableAdapter(); + taASSD = new DS_ApplicazioneTableAdapters.AssegnSlotSquadreDipTableAdapter(); taAZ = new DS_ApplicazioneTableAdapters.AnagZoneTableAdapter(); taImp = new DS_ApplicazioneTableAdapters.ImpegniTableAdapter(); taDetImp = new DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter(); taVcz = new DS_ApplicazioneTableAdapters.v_clientiZoneTableAdapter(); taDocs = new DS_ApplicazioneTableAdapters.DB2_DOCSTableAdapter(); taDisp = new DS_ApplicazioneTableAdapters.DisponibilitaTableAdapter(); + taVRI = new DS_ApplicazioneTableAdapters.v_resImpTableAdapter(); taFile = new DS_UtilityTableAdapters.tblFilesTableAdapter(); taListVal = new DS_UtilityTableAdapters.ListValuesTableAdapter(); } @@ -47,12 +49,14 @@ namespace WebSCR_data taAC.Connection.ConnectionString = connStr; taAS.Connection.ConnectionString = connStr; taAsSq.Connection.ConnectionString = connStr; + taASSD.Connection.ConnectionString = connStr; taAZ.Connection.ConnectionString = connStr; taImp.Connection.ConnectionString = connStr; taDetImp.Connection.ConnectionString = connStr; taVcz.Connection.ConnectionString = connStr; taDocs.Connection.ConnectionString = connStr; taDisp.Connection.ConnectionString = connStr; + taVRI.Connection.ConnectionString = connStr; taFile.Connection.ConnectionString = connStrFiles; taListVal.Connection.ConnectionString = connStrFiles; } @@ -66,11 +70,13 @@ namespace WebSCR_data public DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter taAS; public DS_ApplicazioneTableAdapters.AnagZoneTableAdapter taAZ; public DS_ApplicazioneTableAdapters.AssegnSquadreTableAdapter taAsSq; + public DS_ApplicazioneTableAdapters.AssegnSlotSquadreDipTableAdapter taASSD; public DS_ApplicazioneTableAdapters.ImpegniTableAdapter taImp; public DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter taDetImp; public DS_ApplicazioneTableAdapters.v_clientiZoneTableAdapter taVcz; public DS_ApplicazioneTableAdapters.DB2_DOCSTableAdapter taDocs; public DS_ApplicazioneTableAdapters.DisponibilitaTableAdapter taDisp; + public DS_ApplicazioneTableAdapters.v_resImpTableAdapter taVRI; public DS_UtilityTableAdapters.tblFilesTableAdapter taFile; public DS_UtilityTableAdapters.ListValuesTableAdapter taListVal; diff --git a/WebSCR_data/WebSCR_data.csproj b/WebSCR_data/WebSCR_data.csproj index afc6f6b..ae44665 100644 --- a/WebSCR_data/WebSCR_data.csproj +++ b/WebSCR_data/WebSCR_data.csproj @@ -38,6 +38,9 @@ + + DS_Applicazione.xsd + True True diff --git a/WebSCR_data/app.config b/WebSCR_data/app.config index 01ecf2d..52daa49 100644 --- a/WebSCR_data/app.config +++ b/WebSCR_data/app.config @@ -3,6 +3,6 @@ - + \ No newline at end of file diff --git a/WebSCR_data/bin/Debug/SteamWare.dll b/WebSCR_data/bin/Debug/SteamWare.dll index a6aa70f..14a9761 100644 Binary files a/WebSCR_data/bin/Debug/SteamWare.dll and b/WebSCR_data/bin/Debug/SteamWare.dll differ diff --git a/WebSCR_data/bin/Debug/SteamWare.xml b/WebSCR_data/bin/Debug/SteamWare.xml index 192d270..b586d38 100644 --- a/WebSCR_data/bin/Debug/SteamWare.xml +++ b/WebSCR_data/bin/Debug/SteamWare.xml @@ -602,7 +602,7 @@ - effettua setup dei connection strings da web.config delal singola applicazione + effettua setup dei connection strings da web.config della singola applicazione @@ -1430,12 +1430,19 @@ - Restitusice il numero di attivazioni rimaste x utente dato email e key + Restituisce il numero di attivazioni rimaste x utente dato email e key + + + Restituisce il numero di attivazioni rimaste x utente dato email + + + + cancella da session l'utente @@ -3348,6 +3355,13 @@ forza lo svuotamento delel tabelle indicate come in cache... + + + Formattazione stringa URL immagini con gestione "base url" + + + + Salted password hashing with PBKDF2-SHA1. @@ -3720,12 +3734,12 @@ - determina se l'utente sia abilitato a scrivere nelal apgina corrente (quindi modificare e cancellare...) + determina se l'utente sia abilitato a scrivere nella pagina corrente (quindi modificare e cancellare...) - determina se l'utente sia abilitato alla pagina corrente (di base visualizzaizone...) + determina se l'utente sia abilitato alla pagina corrente (di base visualizzazione...) @@ -3733,6 +3747,13 @@ titolo pagina + + + evento standard agganciabile da grView x aggiunta doppio click e singolo click (x edit e select) + + + + classe gestione utente: auth e permission/ruoli - versione GENERICA @@ -4660,5 +4681,24 @@ + + + gestione helper tempi ciclo + + + + + formatta in minuti/sec partendo da min.cent + + + + + + + conversione da tempo minuti centesimali a minuti/secondi + + + + diff --git a/WebSCR_data/bin/Debug/WebSCR_data.dll b/WebSCR_data/bin/Debug/WebSCR_data.dll index 1d761da..9273d14 100644 Binary files a/WebSCR_data/bin/Debug/WebSCR_data.dll and b/WebSCR_data/bin/Debug/WebSCR_data.dll differ diff --git a/WebSCR_data/bin/Debug/WebSCR_data.dll.config b/WebSCR_data/bin/Debug/WebSCR_data.dll.config index 01ecf2d..52daa49 100644 --- a/WebSCR_data/bin/Debug/WebSCR_data.dll.config +++ b/WebSCR_data/bin/Debug/WebSCR_data.dll.config @@ -3,6 +3,6 @@ - + \ No newline at end of file diff --git a/WebSCR_data/bin/Release/SteamWare.dll b/WebSCR_data/bin/Release/SteamWare.dll index 7ae18b7..7138664 100644 Binary files a/WebSCR_data/bin/Release/SteamWare.dll and b/WebSCR_data/bin/Release/SteamWare.dll differ diff --git a/WebSCR_data/bin/Release/WebSCR_data.dll b/WebSCR_data/bin/Release/WebSCR_data.dll index 29b815e..b0d0a6b 100644 Binary files a/WebSCR_data/bin/Release/WebSCR_data.dll and b/WebSCR_data/bin/Release/WebSCR_data.dll differ diff --git a/WebSCR_data/bin/Release/WebSCR_data.dll.config b/WebSCR_data/bin/Release/WebSCR_data.dll.config index 01ecf2d..52daa49 100644 --- a/WebSCR_data/bin/Release/WebSCR_data.dll.config +++ b/WebSCR_data/bin/Release/WebSCR_data.dll.config @@ -3,6 +3,6 @@ - + \ No newline at end of file diff --git a/WebSCR_data/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/WebSCR_data/obj/Debug/DesignTimeResolveAssemblyReferences.cache index a5546dc..5b93bad 100644 Binary files a/WebSCR_data/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/WebSCR_data/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll index bf2656b..212c838 100644 Binary files a/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll b/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll index 8c334fe..aa5084a 100644 Binary files a/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll and b/WebSCR_data/obj/Debug/TempPE/DS_Utility.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache index de9566d..8a78738 100644 Binary files a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache differ diff --git a/WebSCR_data/obj/Debug/WebSCR_data.dll b/WebSCR_data/obj/Debug/WebSCR_data.dll index 1d761da..9273d14 100644 Binary files a/WebSCR_data/obj/Debug/WebSCR_data.dll and b/WebSCR_data/obj/Debug/WebSCR_data.dll differ diff --git a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll index c5022ce..767ebce 100644 Binary files a/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/WebSCR_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Release/TempPE/DS_Utility.Designer.cs.dll b/WebSCR_data/obj/Release/TempPE/DS_Utility.Designer.cs.dll index a92ecd7..256c3b9 100644 Binary files a/WebSCR_data/obj/Release/TempPE/DS_Utility.Designer.cs.dll and b/WebSCR_data/obj/Release/TempPE/DS_Utility.Designer.cs.dll differ diff --git a/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache index c7ff7ce..ddd75c5 100644 Binary files a/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Release/WebSCR_data.csprojResolveAssemblyReference.cache differ diff --git a/WebSCR_data/obj/Release/WebSCR_data.dll b/WebSCR_data/obj/Release/WebSCR_data.dll index 29b815e..b0d0a6b 100644 Binary files a/WebSCR_data/obj/Release/WebSCR_data.dll and b/WebSCR_data/obj/Release/WebSCR_data.dll differ diff --git a/packages/AjaxControlToolkit.15.1.3.0/AjaxControlToolkit.15.1.3.0.nupkg b/packages/AjaxControlToolkit.15.1.3.0/AjaxControlToolkit.15.1.3.0.nupkg new file mode 100644 index 0000000..d6b9f38 Binary files /dev/null and b/packages/AjaxControlToolkit.15.1.3.0/AjaxControlToolkit.15.1.3.0.nupkg differ diff --git a/packages/AjaxControlToolkit.15.1.3.0/Content/Web.config.transform b/packages/AjaxControlToolkit.15.1.3.0/Content/Web.config.transform new file mode 100644 index 0000000..5b1b95d --- /dev/null +++ b/packages/AjaxControlToolkit.15.1.3.0/Content/Web.config.transform @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/packages/AjaxControlToolkit.15.1.3.0/lib/net40/AjaxControlToolkit.dll b/packages/AjaxControlToolkit.15.1.3.0/lib/net40/AjaxControlToolkit.dll new file mode 100644 index 0000000..378c0f2 Binary files /dev/null and b/packages/AjaxControlToolkit.15.1.3.0/lib/net40/AjaxControlToolkit.dll differ diff --git a/packages/AjaxControlToolkit.15.1.3.0/readme.txt b/packages/AjaxControlToolkit.15.1.3.0/readme.txt new file mode 100644 index 0000000..a1156d2 --- /dev/null +++ b/packages/AjaxControlToolkit.15.1.3.0/readme.txt @@ -0,0 +1,23 @@ +You have downloaded the ASP.NET AJAX Control Toolkit v15.1.3 nuget package. + +To learn more about this release, please read this post: +https://community.devexpress.com/blogs/aspnet/archive/2015/05/21/asp-net-ajax-control-toolkit-v15-1-2-nuget-bug-fixes-and-more.aspx + + +Getting Started +--------------- +Please see https://www.devexpress.com/go/AjaxControlToolkit_Nuget_TextFile_CodePlex.aspx for more information on using AjaxControlToolkit. + + +Upgrading from earlier version +------------------------------ +Please see https://ajaxcontroltoolkit.codeplex.com/wikipage?title=Upgrade%20your%20project%20to%20AjaxControlToolkit%20v15.1 for more information on how to +upgrade to version 15.1 + + +Maintained by DevExpress +------------------------ + +The ASP.NET AJAX Control Toolkit is now maintained by DevExpress. + +Visit http://devexpress.com/ms-act for more information. diff --git a/packages/AjaxMin.5.14.5506.26202/AjaxMin.5.14.5506.26202.nupkg b/packages/AjaxMin.5.14.5506.26202/AjaxMin.5.14.5506.26202.nupkg new file mode 100644 index 0000000..0e22af9 Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/AjaxMin.5.14.5506.26202.nupkg differ diff --git a/packages/AjaxMin.5.14.5506.26202/lib/net20/AjaxMin.dll b/packages/AjaxMin.5.14.5506.26202/lib/net20/AjaxMin.dll new file mode 100644 index 0000000..7a7975a Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/lib/net20/AjaxMin.dll differ diff --git a/packages/AjaxMin.5.14.5506.26202/lib/net35/AjaxMin.dll b/packages/AjaxMin.5.14.5506.26202/lib/net35/AjaxMin.dll new file mode 100644 index 0000000..cada03b Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/lib/net35/AjaxMin.dll differ diff --git a/packages/AjaxMin.5.14.5506.26202/lib/net40/AjaxMin.dll b/packages/AjaxMin.5.14.5506.26202/lib/net40/AjaxMin.dll new file mode 100644 index 0000000..9c15262 Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/lib/net40/AjaxMin.dll differ diff --git a/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMin.dll b/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMin.dll new file mode 100644 index 0000000..cada03b Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMin.dll differ diff --git a/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMin.targets b/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMin.targets new file mode 100644 index 0000000..ac26647 --- /dev/null +++ b/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMin.targets @@ -0,0 +1,38 @@ + + + + + + + + + + + $(ProjectDir)Content\ + $(ProjectDir) + + + false + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMinTask.dll b/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMinTask.dll new file mode 100644 index 0000000..835aaff Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/tools/net35/AjaxMinTask.dll differ diff --git a/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMin.dll b/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMin.dll new file mode 100644 index 0000000..9c15262 Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMin.dll differ diff --git a/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMin.targets b/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMin.targets new file mode 100644 index 0000000..ac26647 --- /dev/null +++ b/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMin.targets @@ -0,0 +1,38 @@ + + + + + + + + + + + $(ProjectDir)Content\ + $(ProjectDir) + + + false + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMinTask.dll b/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMinTask.dll new file mode 100644 index 0000000..6f33e70 Binary files /dev/null and b/packages/AjaxMin.5.14.5506.26202/tools/net40/AjaxMinTask.dll differ diff --git a/packages/DayPilot.5.0.302/DayPilot.5.0.302.nupkg b/packages/DayPilot.5.0.302/DayPilot.5.0.302.nupkg deleted file mode 100644 index 7a9be46..0000000 Binary files a/packages/DayPilot.5.0.302/DayPilot.5.0.302.nupkg and /dev/null differ diff --git a/packages/DayPilot.5.0.303/DayPilot.5.0.303.nupkg b/packages/DayPilot.5.0.303/DayPilot.5.0.303.nupkg new file mode 100644 index 0000000..ca4d0a1 Binary files /dev/null and b/packages/DayPilot.5.0.303/DayPilot.5.0.303.nupkg differ diff --git a/packages/DayPilot.5.0.302/lib/DayPilot.dll b/packages/DayPilot.5.0.303/lib/DayPilot.dll similarity index 68% rename from packages/DayPilot.5.0.302/lib/DayPilot.dll rename to packages/DayPilot.5.0.303/lib/DayPilot.dll index 4dada23..dad4bd4 100644 Binary files a/packages/DayPilot.5.0.302/lib/DayPilot.dll and b/packages/DayPilot.5.0.303/lib/DayPilot.dll differ