diff --git a/GMW/Content/Style.css b/GMW/Content/Style.css index 110568e9..9df08a84 100644 --- a/GMW/Content/Style.css +++ b/GMW/Content/Style.css @@ -23,6 +23,10 @@ .pad_1e { padding: 1em; } +.smallText { + font-size: 0.75em; + color: #696969; +} .divNumKeyb { float: right; /*margin: 2px;*/ diff --git a/GMW/Content/Style.less b/GMW/Content/Style.less index 516f770a..ad105eae 100644 --- a/GMW/Content/Style.less +++ b/GMW/Content/Style.less @@ -32,6 +32,11 @@ padding: 1em; } +.smallText{ + font-size: 0.75em; + color: #696969; +} + .divNumKeyb { float: right; /*margin: 2px;*/ diff --git a/GMW/Content/Style.min.css b/GMW/Content/Style.min.css index 27aa35ed..847e25b1 100644 --- a/GMW/Content/Style.min.css +++ b/GMW/Content/Style.min.css @@ -1 +1 @@ -.warnRed{color:#f00}.warnOrange{color:#ffa500}.allOk{color:#008000}.nopadding{padding:0 !important;margin:0 !important}.noShadows{text-shadow:none}.checkOk{color:#9f9}.checkKo{color:#5f2121}.divNumKeyb{float:right;padding:4px;border:4px solid rgba(120,120,185,.6);background-color:rgba(190,190,255,.4);width:20%;min-width:100px;min-height:280px}.NumKeyBtn{min-height:3.5em}.divMain{float:none}.divMainKeyb{float:right;width:80%}.img-thumbnail{max-width:70%}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#333;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{background-color:#fff}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.nav>li>a{padding:4px 8px;font-size:1em;line-height:1em}.navbar-nav{margin:5px 2px}.navbar-brand{font-size:1.2em;line-height:1.3em;height:30px}.navbarSep{border-right:1px solid #999}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:0}.navbar-inverse .navbar-nav>.active>a{background:#333;color:#f90;margin:-5px}.subnavbar{margin-bottom:.5em;border-top:1px solid #595959}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:80px;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#414141),to(#323232));background-image:-webkit-linear-gradient(top,#414141,0%,#323232,100%);background-image:-moz-linear-gradient(top,#414141 0%,#323232 100%);background-image:linear-gradient(to bottom,#414141 0%,#323232 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff414141',endColorstr='#ff323232',GradientType=0);border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-top-color:#888;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:80px;padding:0;margin:0;border-left:1px solid #292929;border-right:1px solid #4a4a4a}.subnavbar .mainnav>li{float:left;min-width:90px;height:80px;padding:0;margin:0;text-align:center;list-style:none;border-left:1px solid #4a4a4a;border-right:1px solid #292929}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#636363;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:12px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:110px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:5px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:32px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:16px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){body{font-size:12px}.navbar .mainnav>li>a{padding:0 10px;font-size:1em;line-height:1em}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;font-size:1em;line-height:1em}.subnavbar .subnav-toggle{display:block}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;margin-right:.5em;color:#ccc;font-weight:600;padding:0 10px;font-size:1em;line-height:1em}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555 !important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}}@media(min-width:1200px){.nav>li>a{padding:4px 8px;font-size:1.2em;line-height:1.2em}.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}}.stileAttesa{background:#aaa;text-align:center}.stileComandoOk{background:#afa;text-align:center}.stileComandoKo{background:#ff9595;text-align:center}.stileComandoWarn{background:#ffc168;text-align:center}.stileComandoAdd{background:#aaf;text-align:center}.stileComandoND{background:#ffa;text-align:center}.sidebar{position:fixed;top:120px;bottom:24px;left:0;z-index:1000;display:block;padding:16px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}.ombra{box-shadow:0 20px 20px black}.ctrHeaderPager{background-color:#b8b8b8;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{background-color:#eff3fb}.ctrAltRowStyle{background-color:#fff}.ctrRowStyleRight{background-color:#eff3fb;text-align:right}.ctrAltRowStyleRight{background-color:#fff;text-align:right}.ctrInsRowStyle{background-color:#b8b8b8}.ctrEditRowStyle{background-color:#d1ddf1}.ctrSelRowStyle{font-weight:bold;color:#333;background-color:#d1ddf1}.ctrSelRowStyleYellow{font-weight:bold;color:#333;background-color:#ff0}.ctrCommRow{font-weight:bold;background-color:#d1ddf1}.ctrFiledHead{background-color:#dee8f5;font-weight:bold;width:25%}.ctrLabelStrong{font-weight:bold}.ctrFieldEdit{font-size:8pt}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(../images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(../images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(../images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(../images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(../images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(../images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(../images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(../images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.didascalia{color:#696969;font-size:7pt}.ShadowText{text-shadow:2px 2px 2px rgba(0,0,0,.4)}.boxShadowLight{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.1);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.1);box-shadow:3px 3px 6px rgba(0,0,0,.1)}.boxShadowDark{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.3);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.3);box-shadow:3px 3px 6px rgba(0,0,0,.3)}.GridPager a,.GridPager span{display:block;height:1.6em;width:2em;text-align:center;text-decoration:none}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#a1dcf2;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px} \ No newline at end of file +.warnRed{color:#f00}.warnOrange{color:#ffa500}.allOk{color:#008000}.nopadding{padding:0 !important;margin:0 !important}.noShadows{text-shadow:none}.checkOk{color:#9f9}.checkKo{color:#5f2121}.pad_1e{padding:1em}.smallText{font-size:.75em;color:#696969}.divNumKeyb{float:right;padding:4px;border:4px solid rgba(120,120,185,.6);background-color:rgba(190,190,255,.4);width:20%;min-width:100px;min-height:280px}.NumKeyBtn{min-height:3.5em}.divMain{float:none}.divMainKeyb{float:right;width:80%}.img-thumbnail{max-width:70%}.msgBoxBarcode{font-size:2em}.msgBoxBarcode .warning{color:#911;background-color:#ffe582;margin:.5em 0}#Tabs .nav-pills>li>a{border-radius:4px 4px 0 0}#Tabs .tab-content{background-color:#c3e3f3;padding:5px 15px}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#333;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{background-color:#fff}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.nav>li>a{padding:4px 8px;font-size:1em;line-height:1em}.navbar-nav{margin:5px 2px}.navbar-brand{font-size:1.2em;line-height:1.3em;height:30px}.navbarSep{border-right:1px solid #999}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:0}.navbar-inverse .navbar-nav>.active>a{background:#333;color:#f90;margin:-5px}.subnavbar{margin-bottom:.5em;border-top:1px solid #595959}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:80px;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#414141),to(#323232));background-image:-webkit-linear-gradient(top,#414141,0%,#323232,100%);background-image:-moz-linear-gradient(top,#414141 0%,#323232 100%);background-image:linear-gradient(to bottom,#414141 0%,#323232 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff414141',endColorstr='#ff323232',GradientType=0);border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-top-color:#888;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:80px;padding:0;margin:0;border-left:1px solid #292929;border-right:1px solid #4a4a4a}.subnavbar .mainnav>li{float:left;min-width:90px;height:80px;padding:0;margin:0;text-align:center;list-style:none;border-left:1px solid #4a4a4a;border-right:1px solid #292929}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#636363;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:12px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:110px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:5px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:32px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:16px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){body{font-size:12px}.navbar .mainnav>li>a{padding:0 10px;font-size:1em;line-height:1em}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;font-size:1em;line-height:1em}.subnavbar .subnav-toggle{display:block}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;margin-right:.5em;color:#ccc;font-weight:600;padding:0 10px;font-size:1em;line-height:1em}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555 !important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}}@media(min-width:1200px){.nav>li>a{padding:4px 8px;font-size:1.2em;line-height:1.2em}.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}}.stileAttesa{background:#aaa;text-align:center}.stileComandoOk{background:#afa;text-align:center}.stileComandoKo{background:#ff9595;text-align:center}.stileComandoWarn{background:#ffc168;text-align:center}.stileComandoAdd{background:#aaf;text-align:center}.stileComandoND{background:#ffa;text-align:center}.sidebar{position:fixed;top:120px;bottom:24px;left:0;z-index:1000;display:block;padding:16px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}.ombra{box-shadow:0 20px 20px black}.ctrHeaderPager{background-color:#b8b8b8;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{background-color:#eff3fb}.ctrAltRowStyle{background-color:#fff}.ctrRowStyleRight{background-color:#eff3fb;text-align:right}.ctrAltRowStyleRight{background-color:#fff;text-align:right}.ctrInsRowStyle{background-color:#b8b8b8}.ctrEditRowStyle{background-color:#d1ddf1}.ctrSelRowStyle{font-weight:bold;color:#333;background-color:#d1ddf1}.ctrSelRowStyleYellow{font-weight:bold;color:#333;background-color:#ff0}.ctrCommRow{font-weight:bold;background-color:#d1ddf1}.ctrFiledHead{background-color:#dee8f5;font-weight:bold;width:25%}.ctrLabelStrong{font-weight:bold}.ctrFieldEdit{font-size:8pt}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(../images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(../images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(../images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(../images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(../images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(../images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(../images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(../images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.didascalia{color:#696969;font-size:7pt}.ShadowText{text-shadow:2px 2px 2px rgba(0,0,0,.4)}.boxShadowLight{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.1);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.1);box-shadow:3px 3px 6px rgba(0,0,0,.1)}.boxShadowDark{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.3);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.3);box-shadow:3px 3px 6px rgba(0,0,0,.3)}.GridPager a,.GridPager span{display:block;height:1.6em;width:2em;text-align:center;text-decoration:none}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#a1dcf2;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px} \ No newline at end of file diff --git a/GMW/Web.config b/GMW/Web.config index 81d7e689..c977fed4 100644 --- a/GMW/Web.config +++ b/GMW/Web.config @@ -320,7 +320,6 @@ - diff --git a/GMW/WebUserControls/mod_PostRX_DT.ascx.cs b/GMW/WebUserControls/mod_PostRX_DT.ascx.cs index 3c5183fe..44381cbc 100644 --- a/GMW/WebUserControls/mod_PostRX_DT.ascx.cs +++ b/GMW/WebUserControls/mod_PostRX_DT.ascx.cs @@ -441,12 +441,13 @@ namespace GMW.WebUserControls { } } } - + // genera eventuale UDC del particolare su cella/posizione corrente qta = 1; // tanto poi si ricalcola... checkCreaUDC(); // verifico se devo fare gestione con intervallo dtx... da tab config DB) - if (utils.obj.configDbVal("CreaDtxByInt") == "1") + if (memLayer.ML.configDbVal("CreaDtxByInt") == "1") + //if (utils.obj.configDbVal("CreaDtxByInt") == "1") { // ora chiamo la stored che fa il check x tutti i particolari nell'intervallo dei Dtx associati alla cella e (se almeno 2) nel caso crea UDC checkIntervalloDtx(); diff --git a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx index 4c34ce2b..6db09933 100644 --- a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx +++ b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx @@ -1,21 +1,19 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_postRX_DT_LIST.ascx.cs" Inherits="GMW.WebUserControls.mod_postRX_DT_LIST" %> <%if (false) - { %> + { %> <%} %>
-
+
-
+
<%: traduci("ParticolariCaricati") %>
- + @@ -30,12 +28,25 @@ - + +
+ +
+
+
+ + +
+ +
+
+ +
@@ -54,17 +65,16 @@
- + - + - + + - +
@@ -75,12 +85,13 @@

- + +
-
+
@@ -132,7 +143,7 @@
-
+
diff --git a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs index 33238729..87057c32 100644 --- a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs +++ b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.cs @@ -178,7 +178,7 @@ namespace GMW.WebUserControls /// private void fixCella() { - lblIdxCella.Text = Postazione.currIdxCella.ToString(); + hfCodLinea.Value= Postazione.currCodLinea; } /// /// richiesta (ri)stampa UDC @@ -422,6 +422,7 @@ namespace GMW.WebUserControls } if (currParticolare != "") { + DateTime dataMarc = DateTime.Now; // 2016.01.25 aggiunta lettura codice x data-ora + linea fusione // controllo per recuperare da datamatrix i dati di codice linea e data fusione DS_DataMatrix.v_ElencoDmtxDataTable tabDmtx = DataMatrix.mgr.taVED.getByKey(barcodeIn); @@ -441,13 +442,27 @@ namespace GMW.WebUserControls catch { } } + if(tabDmtx[0].DataOra!= null) + { + try + { + dataMarc = tabDmtx[0].DataOra; + } + catch + { } + } } // genera eventuale UDC del particolare su cella/posizione corrente qta = 1; // tanto poi si ricalcola... + + // inserisco record x NUOVO DTX letto (inizio) + DataMatrix.mgr.taL2D.insertIni(Postazione.currCodLinea, currParticolare, "", barcodeIn, MagClass.magazzino.CodSoggCurrUser, dataMarc); + +#if false checkCreaUDC(); // verifico se devo fare gestione con intervallo dtx... da tab config DB) - if (utils.obj.configDbVal("CreaDtxByInt") == "1") + if (memLayer.ML.configDbVal("CreaDtxByInt") == "1") { // ora chiamo la stored che fa il check x tutti i particolari nell'intervallo dei Dtx associati alla cella e (se almeno 2) nel caso crea UDC checkIntervalloDtx(); @@ -458,7 +473,8 @@ namespace GMW.WebUserControls * - fa controllo, se ho almeno 2 Dtx ok associo tutti i Dtx compresi nell'intervallo min-MAX *-------------------------------------------------------------------------------------------------- */ - DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, statoUDC, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella); + DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, statoUDC, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella); +#endif // 2017.07.22 svuoto barcodeIn.. barcodeIn = ""; @@ -662,12 +678,13 @@ namespace GMW.WebUserControls get { int answ = 0; + // calcolo qta a partire da particolare selezionato... try { - DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxCella(Convert.ToInt32(lblIdxCella.Text)); - if (tabUdc.Rows.Count > 0) + DS_DataMatrix.Linea2Dtx_IEDataTable tabL2D = DataMatrix.mgr.taL2D.getByLineaPart(Postazione.currCodLinea, currParticolare); + if (tabL2D.Rows.Count > 0) { - answ = Convert.ToInt32(float.Parse(tabUdc.Compute("Sum(Qta)", "").ToString())); + answ = tabL2D[0].Qta; } } catch (Exception exc) @@ -876,15 +893,8 @@ namespace GMW.WebUserControls /// protected void grView_SelectedIndexChanged(object sender, EventArgs e) { - // ricarico dati dell'UDC come particolare e quantità... - string UDC = grView.SelectedDataKey["UDC"].ToString(); - if (MagClass.magazzino.checkUDC(UDC)) - { - currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0].Particolare; -#if false - qta = Convert.ToInt32(DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0].Qta); -#endif - } + // ricarico dati come particolare e quantità... + currParticolare = grView.SelectedDataKey["Particolare"].ToString(); Postazione.messaggiText = traduci("partSelected"); Postazione.warningText = ""; Postazione.CssClass = "stileComandoOk"; diff --git a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs index d80708a3..16fe7ee3 100644 --- a/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs +++ b/GMW/WebUserControls/mod_postRX_DT_LIST.ascx.designer.cs @@ -49,13 +49,13 @@ namespace GMW.WebUserControls { protected global::System.Web.UI.WebControls.ObjectDataSource ods; /// - /// lblIdxCella control. + /// hfCodLinea control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label lblIdxCella; + protected global::System.Web.UI.WebControls.HiddenField hfCodLinea; /// /// lblNumRec control. diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index 5ac16c6b..dccd21bf 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ diff --git a/GMW/bin/GMW.dll.config b/GMW/bin/GMW.dll.config index 2b6bd4e2..67e1a2e5 100644 --- a/GMW/bin/GMW.dll.config +++ b/GMW/bin/GMW.dll.config @@ -303,9 +303,9 @@ - - + + diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll index 6257cd5e..ac236625 100644 Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ diff --git a/GMW/bin/NLog.config b/GMW/bin/NLog.config deleted file mode 100644 index 7a0f3aa1..00000000 --- a/GMW/bin/NLog.config +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll index 7b02d402..38a694b7 100644 Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ diff --git a/GMW/bin/SteamWare.xml b/GMW/bin/SteamWare.xml index 8fa8ef37..3ea0ccae 100644 --- a/GMW/bin/SteamWare.xml +++ b/GMW/bin/SteamWare.xml @@ -1453,7 +1453,13 @@ - + + + registra su DB la richiesta di reset della auth key dell'utente ed opzionalmente invia email ad admin + + + opzionale, se != "" invia email all'indirizzo dell'admin x reset + invia email ad utente con url x reset hash password @@ -1584,6 +1590,32 @@ + + + costruisce la mappa del sito per l'utente + + + + + formatta un nodo in modo corretto dai dati indicati + + + + + + + + + ricarica e ri-traduce la mappa sito per l'utente... + + + + + wrapper traduzione + + + + carica la riga dati utente @@ -1616,6 +1648,11 @@ oggetto lingua utente con metodi get/set + + + fornisce un file XML della mappa del sito abilitato per l'utente... + + pagina correntemente visualizzata (URL in sessione) @@ -2460,6 +2497,11 @@ Represents the strongly named DataTable class. + + + Represents the strongly named DataTable class. + + Represents strongly named DataRow class. @@ -2470,6 +2512,11 @@ Represents strongly named DataRow class. + + + Represents strongly named DataRow class. + + Row event argument class @@ -2480,6 +2527,11 @@ Row event argument class + + + Row event argument class + + Represents the connection and commands used to retrieve and save data. @@ -2490,6 +2542,11 @@ Represents the connection and commands used to retrieve and save data. + + + Represents the connection and commands used to retrieve and save data. + + TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios @@ -3611,6 +3668,30 @@ classe gestione accessi a Session, cache, viewstate, configuration... + + + init dei table adapters + + + + + effettua setup dei connection strings da web.config delal singola applicazione + + + + + Configurations da tabella DB Config + + Valore chiave + + + + + Configurations da tabella DB Config (short form wrapper) + + Valore chiave + + shot-form di confReadBool: legge dalla config un valore bool @@ -4308,6 +4389,63 @@ + + + restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" + + verrà usato x posizione {0}, tipo "view" + verrà usato x posizione {1}, tipo "_s.png" + + + + + restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}" + + verrà usato x posizione {0}, tipo "view" + verrà usato x posizione {1}, tipo "_s.png" + tipo del file richiesto..." + + + + + Classe help email x SteamWare.UserControl + + + + + Email dell'account admin applicativo + + + + + Email dell'account sender applicativo + + + + + Numero Righe standard + + + + + Numero Righe standard ANAGR + + + + + Numero Righe standard LONG + + + + + Numero Righe standard MED + + + + + Numero Righe standard SHORT + + classe gestione utente: auth e permission/ruoli - versione GENERICA @@ -4870,6 +5008,22 @@ + + + restituisce l'intervallo di N MESI fino alla data indicata + + + + + + + + restituisce l'intervallo di N giorni dalla data indicata in avanti + + + + + restituisce l'intervallo della settimana corrente per la data indicata @@ -4903,6 +5057,50 @@ oggetto singleton + + + converte in datetime un valore formattato con una culture generica ed un formato generico + + + + + + + + + + converte in datetime un valore formattato con una culture generica ed un formato generico + + + + + + + + + Tipo di periodo selezione date + + + + + non definito + + + + + Solo periodo passato (+ presente) + + + + + Solo periodo futuro (+ presente) + + + + + tutto + + classe di gestione delle email @@ -5205,7 +5403,7 @@ - classi helper gestioen URL + classi helper gestione URL @@ -5237,6 +5435,30 @@ + + + genera hash di una stringa in MD5 (es x hash gravatar) + + + + + + + Crea un hash MD5 + + + + + + + + Verify a hash against a string. + + + + + + classe gestione valori percentuali per semplificare edit utente (moltiplicati x 100 appunto) diff --git a/GMW/bin/Web.config b/GMW/bin/Web.config index d712caf4..67e1a2e5 100644 --- a/GMW/bin/Web.config +++ b/GMW/bin/Web.config @@ -24,7 +24,7 @@ - + @@ -41,7 +41,7 @@ - + @@ -126,7 +126,7 @@ - + @@ -159,20 +159,20 @@ - - - + + + - - - + + + - + - + @@ -303,23 +303,23 @@ - - + + - + - + - + - + diff --git a/GMW_data/DS_DataMatrix1.Designer.cs b/GMW_data/DS_DataMatrix.Designer.cs similarity index 91% rename from GMW_data/DS_DataMatrix1.Designer.cs rename to GMW_data/DS_DataMatrix.Designer.cs index 8937e38c..8a3ebfaf 100644 --- a/GMW_data/DS_DataMatrix1.Designer.cs +++ b/GMW_data/DS_DataMatrix.Designer.cs @@ -66,6 +66,8 @@ namespace GMW_data { private TrascDatamatrixDataTable tableTrascDatamatrix; + private Linea2Dtx_IEDataTable tableLinea2Dtx_IE; + private global::System.Data.DataRelation relationFK_TabSpecDtx_AnagFormatiDtmx; private global::System.Data.DataRelation relationFK_TabSpecDtx_AnagSpecDtx; @@ -163,6 +165,9 @@ namespace GMW_data { if ((ds.Tables["TrascDatamatrix"] != null)) { base.Tables.Add(new TrascDatamatrixDataTable(ds.Tables["TrascDatamatrix"])); } + if ((ds.Tables["Linea2Dtx_IE"] != null)) { + base.Tables.Add(new Linea2Dtx_IEDataTable(ds.Tables["Linea2Dtx_IE"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -391,6 +396,16 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public Linea2Dtx_IEDataTable Linea2Dtx_IE { + get { + return this.tableLinea2Dtx_IE; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -521,6 +536,9 @@ namespace GMW_data { if ((ds.Tables["TrascDatamatrix"] != null)) { base.Tables.Add(new TrascDatamatrixDataTable(ds.Tables["TrascDatamatrix"])); } + if ((ds.Tables["Linea2Dtx_IE"] != null)) { + base.Tables.Add(new Linea2Dtx_IEDataTable(ds.Tables["Linea2Dtx_IE"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -680,6 +698,12 @@ namespace GMW_data { this.tableTrascDatamatrix.InitVars(); } } + this.tableLinea2Dtx_IE = ((Linea2Dtx_IEDataTable)(base.Tables["Linea2Dtx_IE"])); + if ((initTable == true)) { + if ((this.tableLinea2Dtx_IE != null)) { + this.tableLinea2Dtx_IE.InitVars(); + } + } this.relationFK_TabSpecDtx_AnagFormatiDtmx = this.Relations["FK_TabSpecDtx_AnagFormatiDtmx"]; this.relationFK_TabSpecDtx_AnagSpecDtx = this.Relations["FK_TabSpecDtx_AnagSpecDtx"]; this.relationFK_TrascDatamatrix_AnagFormatiDtmx = this.Relations["FK_TrascDatamatrix_AnagFormatiDtmx"]; @@ -735,6 +759,8 @@ namespace GMW_data { base.Tables.Add(this.tableTrascPartNum); this.tableTrascDatamatrix = new TrascDatamatrixDataTable(); base.Tables.Add(this.tableTrascDatamatrix); + this.tableLinea2Dtx_IE = new Linea2Dtx_IEDataTable(); + base.Tables.Add(this.tableLinea2Dtx_IE); this.relationFK_TabSpecDtx_AnagFormatiDtmx = new global::System.Data.DataRelation("FK_TabSpecDtx_AnagFormatiDtmx", new global::System.Data.DataColumn[] { this.tableAnagFormatiDtmx.FormatoDtmxColumn}, new global::System.Data.DataColumn[] { this.tableTabSpecDtx.FormatoDtmxColumn}, false); @@ -875,6 +901,12 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeLinea2Dtx_IE() { + 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) { @@ -993,6 +1025,9 @@ namespace GMW_data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void TrascDatamatrixRowChangeEventHandler(object sender, TrascDatamatrixRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void Linea2Dtx_IERowChangeEventHandler(object sender, Linea2Dtx_IERowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -7724,6 +7759,453 @@ namespace GMW_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class Linea2Dtx_IEDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodLinea; + + private global::System.Data.DataColumn columnParticolare; + + private global::System.Data.DataColumn columnDescParticolare; + + private global::System.Data.DataColumn columnDTX_INI; + + private global::System.Data.DataColumn columnCodSoggetto_INI; + + private global::System.Data.DataColumn columnDataOra_INI; + + private global::System.Data.DataColumn columnDTX_END; + + private global::System.Data.DataColumn columnCodSoggetto_END; + + private global::System.Data.DataColumn columnDataOra_END; + + private global::System.Data.DataColumn columnCodStato; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnCodCella; + + private global::System.Data.DataColumn columnQta; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Linea2Dtx_IEDataTable() { + this.TableName = "Linea2Dtx_IE"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Linea2Dtx_IEDataTable(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 Linea2Dtx_IEDataTable(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 CodLineaColumn { + get { + return this.columnCodLinea; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ParticolareColumn { + get { + return this.columnParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DescParticolareColumn { + get { + return this.columnDescParticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DTX_INIColumn { + get { + return this.columnDTX_INI; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggetto_INIColumn { + get { + return this.columnCodSoggetto_INI; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataOra_INIColumn { + get { + return this.columnDataOra_INI; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DTX_ENDColumn { + get { + return this.columnDTX_END; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodSoggetto_ENDColumn { + get { + return this.columnCodSoggetto_END; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataOra_ENDColumn { + get { + return this.columnDataOra_END; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodStatoColumn { + get { + return this.columnCodStato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodCellaColumn { + get { + return this.columnCodCella; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [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 Linea2Dtx_IERow this[int index] { + get { + return ((Linea2Dtx_IERow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event Linea2Dtx_IERowChangeEventHandler Linea2Dtx_IERowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddLinea2Dtx_IERow(Linea2Dtx_IERow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Linea2Dtx_IERow AddLinea2Dtx_IERow(string CodLinea, string Particolare, string DescParticolare, string DTX_INI, string CodSoggetto_INI, System.DateTime DataOra_INI, string DTX_END, string CodSoggetto_END, System.DateTime DataOra_END, string CodStato, string UDC, string CodCella, int Qta) { + Linea2Dtx_IERow rowLinea2Dtx_IERow = ((Linea2Dtx_IERow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodLinea, + Particolare, + DescParticolare, + DTX_INI, + CodSoggetto_INI, + DataOra_INI, + DTX_END, + CodSoggetto_END, + DataOra_END, + CodStato, + UDC, + CodCella, + Qta}; + rowLinea2Dtx_IERow.ItemArray = columnValuesArray; + this.Rows.Add(rowLinea2Dtx_IERow); + return rowLinea2Dtx_IERow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Linea2Dtx_IERow FindByCodLineaParticolare(string CodLinea, string Particolare) { + return ((Linea2Dtx_IERow)(this.Rows.Find(new object[] { + CodLinea, + Particolare}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + Linea2Dtx_IEDataTable cln = ((Linea2Dtx_IEDataTable)(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 Linea2Dtx_IEDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnCodLinea = base.Columns["CodLinea"]; + this.columnParticolare = base.Columns["Particolare"]; + this.columnDescParticolare = base.Columns["DescParticolare"]; + this.columnDTX_INI = base.Columns["DTX_INI"]; + this.columnCodSoggetto_INI = base.Columns["CodSoggetto_INI"]; + this.columnDataOra_INI = base.Columns["DataOra_INI"]; + this.columnDTX_END = base.Columns["DTX_END"]; + this.columnCodSoggetto_END = base.Columns["CodSoggetto_END"]; + this.columnDataOra_END = base.Columns["DataOra_END"]; + this.columnCodStato = base.Columns["CodStato"]; + this.columnUDC = base.Columns["UDC"]; + this.columnCodCella = base.Columns["CodCella"]; + this.columnQta = base.Columns["Qta"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnCodLinea = new global::System.Data.DataColumn("CodLinea", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLinea); + this.columnParticolare = new global::System.Data.DataColumn("Particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnParticolare); + this.columnDescParticolare = new global::System.Data.DataColumn("DescParticolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescParticolare); + this.columnDTX_INI = new global::System.Data.DataColumn("DTX_INI", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDTX_INI); + this.columnCodSoggetto_INI = new global::System.Data.DataColumn("CodSoggetto_INI", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto_INI); + this.columnDataOra_INI = new global::System.Data.DataColumn("DataOra_INI", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOra_INI); + this.columnDTX_END = new global::System.Data.DataColumn("DTX_END", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDTX_END); + this.columnCodSoggetto_END = new global::System.Data.DataColumn("CodSoggetto_END", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto_END); + this.columnDataOra_END = new global::System.Data.DataColumn("DataOra_END", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataOra_END); + this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodStato); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCella); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodLinea, + this.columnParticolare}, true)); + this.columnCodLinea.AllowDBNull = false; + this.columnCodLinea.MaxLength = 5; + this.columnParticolare.AllowDBNull = false; + this.columnParticolare.MaxLength = 15; + this.columnDescParticolare.AllowDBNull = false; + this.columnDescParticolare.MaxLength = 30; + this.columnDTX_INI.AllowDBNull = false; + this.columnDTX_INI.MaxLength = 50; + this.columnCodSoggetto_INI.AllowDBNull = false; + this.columnCodSoggetto_INI.MaxLength = 17; + this.columnDataOra_INI.AllowDBNull = false; + this.columnDTX_END.MaxLength = 50; + this.columnCodSoggetto_END.MaxLength = 17; + this.columnDataOra_END.AllowDBNull = false; + this.columnCodStato.AllowDBNull = false; + this.columnCodStato.MaxLength = 50; + this.columnUDC.AllowDBNull = false; + this.columnUDC.MaxLength = 50; + this.columnCodCella.ReadOnly = true; + this.columnCodCella.MaxLength = 9; + this.columnQta.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public Linea2Dtx_IERow NewLinea2Dtx_IERow() { + return ((Linea2Dtx_IERow)(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 Linea2Dtx_IERow(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(Linea2Dtx_IERow); + } + + [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.Linea2Dtx_IERowChanged != null)) { + this.Linea2Dtx_IERowChanged(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(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.Linea2Dtx_IERowChanging != null)) { + this.Linea2Dtx_IERowChanging(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(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.Linea2Dtx_IERowDeleted != null)) { + this.Linea2Dtx_IERowDeleted(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(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.Linea2Dtx_IERowDeleting != null)) { + this.Linea2Dtx_IERowDeleting(this, new Linea2Dtx_IERowChangeEvent(((Linea2Dtx_IERow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveLinea2Dtx_IERow(Linea2Dtx_IERow 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_DataMatrix ds = new DS_DataMatrix(); + 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 = "Linea2Dtx_IEDataTable"; + 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. /// @@ -10115,6 +10597,215 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class Linea2Dtx_IERow : global::System.Data.DataRow { + + private Linea2Dtx_IEDataTable tableLinea2Dtx_IE; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal Linea2Dtx_IERow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableLinea2Dtx_IE = ((Linea2Dtx_IEDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodLinea { + get { + return ((string)(this[this.tableLinea2Dtx_IE.CodLineaColumn])); + } + set { + this[this.tableLinea2Dtx_IE.CodLineaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Particolare { + get { + return ((string)(this[this.tableLinea2Dtx_IE.ParticolareColumn])); + } + set { + this[this.tableLinea2Dtx_IE.ParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DescParticolare { + get { + return ((string)(this[this.tableLinea2Dtx_IE.DescParticolareColumn])); + } + set { + this[this.tableLinea2Dtx_IE.DescParticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DTX_INI { + get { + return ((string)(this[this.tableLinea2Dtx_IE.DTX_INIColumn])); + } + set { + this[this.tableLinea2Dtx_IE.DTX_INIColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto_INI { + get { + return ((string)(this[this.tableLinea2Dtx_IE.CodSoggetto_INIColumn])); + } + set { + this[this.tableLinea2Dtx_IE.CodSoggetto_INIColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataOra_INI { + get { + return ((global::System.DateTime)(this[this.tableLinea2Dtx_IE.DataOra_INIColumn])); + } + set { + this[this.tableLinea2Dtx_IE.DataOra_INIColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string DTX_END { + get { + try { + return ((string)(this[this.tableLinea2Dtx_IE.DTX_ENDColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DTX_END\' in table \'Linea2Dtx_IE\' is DBNull.", e); + } + } + set { + this[this.tableLinea2Dtx_IE.DTX_ENDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodSoggetto_END { + get { + try { + return ((string)(this[this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto_END\' in table \'Linea2Dtx_IE\' is DBNull.", e); + } + } + set { + this[this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataOra_END { + get { + return ((global::System.DateTime)(this[this.tableLinea2Dtx_IE.DataOra_ENDColumn])); + } + set { + this[this.tableLinea2Dtx_IE.DataOra_ENDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodStato { + get { + return ((string)(this[this.tableLinea2Dtx_IE.CodStatoColumn])); + } + set { + this[this.tableLinea2Dtx_IE.CodStatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string UDC { + get { + return ((string)(this[this.tableLinea2Dtx_IE.UDCColumn])); + } + set { + this[this.tableLinea2Dtx_IE.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodCella { + get { + try { + return ((string)(this[this.tableLinea2Dtx_IE.CodCellaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCella\' in table \'Linea2Dtx_IE\' is DBNull.", e); + } + } + set { + this[this.tableLinea2Dtx_IE.CodCellaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int Qta { + get { + return ((int)(this[this.tableLinea2Dtx_IE.QtaColumn])); + } + set { + this[this.tableLinea2Dtx_IE.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDTX_ENDNull() { + return this.IsNull(this.tableLinea2Dtx_IE.DTX_ENDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDTX_ENDNull() { + this[this.tableLinea2Dtx_IE.DTX_ENDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodSoggetto_ENDNull() { + return this.IsNull(this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodSoggetto_ENDNull() { + this[this.tableLinea2Dtx_IE.CodSoggetto_ENDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodCellaNull() { + return this.IsNull(this.tableLinea2Dtx_IE.CodCellaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodCellaNull() { + this[this.tableLinea2Dtx_IE.CodCellaColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -10828,6 +11519,40 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class Linea2Dtx_IERowChangeEvent : global::System.EventArgs { + + private Linea2Dtx_IERow 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 Linea2Dtx_IERowChangeEvent(Linea2Dtx_IERow 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 Linea2Dtx_IERow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_DataMatrixTableAdapters { @@ -18400,6 +19125,876 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb } } + /// + ///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 Linea2Dtx_IETableAdapter : 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 Linea2Dtx_IETableAdapter() { + 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 = "Linea2Dtx_IE"; + tableMapping.ColumnMappings.Add("CodLinea", "CodLinea"); + tableMapping.ColumnMappings.Add("Particolare", "Particolare"); + tableMapping.ColumnMappings.Add("DescParticolare", "DescParticolare"); + tableMapping.ColumnMappings.Add("DTX_INI", "DTX_INI"); + tableMapping.ColumnMappings.Add("CodSoggetto_INI", "CodSoggetto_INI"); + tableMapping.ColumnMappings.Add("DataOra_INI", "DataOra_INI"); + tableMapping.ColumnMappings.Add("DTX_END", "DTX_END"); + tableMapping.ColumnMappings.Add("CodSoggetto_END", "CodSoggetto_END"); + tableMapping.ColumnMappings.Add("DataOra_END", "DataOra_END"); + tableMapping.ColumnMappings.Add("CodStato", "CodStato"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("CodCella", "CodCella"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Linea2Dtx_IE] WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DTX_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Linea2Dtx_IE] ([CodLinea], [Particolare], [DescParticolare], [DTX_INI], [CodSoggetto_INI], [DataOra_INI], [DTX_END], [CodSoggetto_END], [DataOra_END], [CodStato], [UDC], [Qta]) VALUES (@CodLinea, @Particolare, @DescParticolare, @DTX_INI, @CodSoggetto_INI, @DataOra_INI, @DTX_END, @CodSoggetto_END, @DataOra_END, @CodStato, @UDC, @Qta); +SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Linea2Dtx_IE] SET [CodLinea] = @CodLinea, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DTX_INI] = @DTX_INI, [CodSoggetto_INI] = @CodSoggetto_INI, [DataOra_INI] = @DataOra_INI, [DTX_END] = @DTX_END, [CodSoggetto_END] = @CodSoggetto_END, [DataOra_END] = @DataOra_END, [CodStato] = @CodStato, [UDC] = @UDC, [Qta] = @Qta WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta)); +SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Particolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Particolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescParticolare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescParticolare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_INI", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_INI", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_INI", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_INI", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DTX_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DTX_END", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DTX_END", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto_END", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto_END", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto_END", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataOra_END", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataOra_END", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCella", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCella", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Qta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Qta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_" + + "INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM db" + + "o.Linea2Dtx_IE"; + 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 = "dmtx.stp_L2D_delete"; + 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("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 5, 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_Particolare", global::System.Data.SqlDbType.NVarChar, 15, 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 = "dmtx.stp_L2D_getByLine"; + 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("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, 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 = "dmtx.stp_L2D_getByLinePart"; + 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("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, 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("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, 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 = "dmtx.stp_L2D_insert"; + 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("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, 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("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, 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("@DescParticolare", global::System.Data.SqlDbType.NVarChar, 30, 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("@DTX_INI", 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("@CodSoggetto_INI", global::System.Data.SqlDbType.NVarChar, 17, 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("@DataOra_INI", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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 = "dmtx.stp_L2D_updateEnd"; + 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("@CodLinea", global::System.Data.SqlDbType.NVarChar, 5, 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("@Particolare", global::System.Data.SqlDbType.NVarChar, 15, 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("@DTX_END", 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("@CodSoggetto_END", global::System.Data.SqlDbType.NVarChar, 17, 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("@DataOra_END", 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()] + [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_DataMatrix.Linea2Dtx_IEDataTable 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_DataMatrix.Linea2Dtx_IEDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_DataMatrix.Linea2Dtx_IEDataTable dataTable = new DS_DataMatrix.Linea2Dtx_IEDataTable(); + 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_DataMatrix.Linea2Dtx_IEDataTable getByLinea(string CodLinea) { + this.Adapter.SelectCommand = this.CommandCollection[2]; + if ((CodLinea == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLinea)); + } + DS_DataMatrix.Linea2Dtx_IEDataTable dataTable = new DS_DataMatrix.Linea2Dtx_IEDataTable(); + 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_DataMatrix.Linea2Dtx_IEDataTable getByLineaPart(string CodLinea, string Particolare) { + this.Adapter.SelectCommand = this.CommandCollection[3]; + if ((CodLinea == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodLinea)); + } + if ((Particolare == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare)); + } + DS_DataMatrix.Linea2Dtx_IEDataTable dataTable = new DS_DataMatrix.Linea2Dtx_IEDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix.Linea2Dtx_IEDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_DataMatrix dataSet) { + return this.Adapter.Update(dataSet, "Linea2Dtx_IE"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodLinea, string Original_Particolare, string Original_DescParticolare, string Original_DTX_INI, string Original_CodSoggetto_INI, System.DateTime Original_DataOra_INI, string Original_DTX_END, string Original_CodSoggetto_END, System.DateTime Original_DataOra_END, string Original_CodStato, string Original_UDC, string Original_CodCella, int Original_Qta) { + if ((Original_CodLinea == null)) { + throw new global::System.ArgumentNullException("Original_CodLinea"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodLinea)); + } + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Particolare)); + } + if ((Original_DescParticolare == null)) { + throw new global::System.ArgumentNullException("Original_DescParticolare"); + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_DescParticolare)); + } + if ((Original_DTX_INI == null)) { + throw new global::System.ArgumentNullException("Original_DTX_INI"); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DTX_INI)); + } + if ((Original_CodSoggetto_INI == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto_INI"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodSoggetto_INI)); + } + this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_DataOra_INI)); + if ((Original_DTX_END == null)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_DTX_END)); + } + if ((Original_CodSoggetto_END == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CodSoggetto_END)); + } + this.Adapter.DeleteCommand.Parameters[10].Value = ((System.DateTime)(Original_DataOra_END)); + if ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_CodStato)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_UDC)); + } + if ((Original_CodCella == null)) { + throw new global::System.ArgumentNullException("Original_CodCella"); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_CodCella)); + } + this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_Qta)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodLinea, string Particolare, string DescParticolare, string DTX_INI, string CodSoggetto_INI, System.DateTime DataOra_INI, string DTX_END, string CodSoggetto_END, System.DateTime DataOra_END, string CodStato, string UDC, int Qta) { + if ((CodLinea == null)) { + throw new global::System.ArgumentNullException("CodLinea"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodLinea)); + } + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + throw new global::System.ArgumentNullException("DescParticolare"); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescParticolare)); + } + if ((DTX_INI == null)) { + throw new global::System.ArgumentNullException("DTX_INI"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DTX_INI)); + } + if ((CodSoggetto_INI == null)) { + throw new global::System.ArgumentNullException("CodSoggetto_INI"); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodSoggetto_INI)); + } + this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(DataOra_INI)); + if ((DTX_END == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DTX_END)); + } + if ((CodSoggetto_END == null)) { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodSoggetto_END)); + } + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(DataOra_END)); + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(CodStato)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = ((string)(UDC)); + } + this.Adapter.InsertCommand.Parameters[11].Value = ((int)(Qta)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodLinea, + string Particolare, + string DescParticolare, + string DTX_INI, + string CodSoggetto_INI, + System.DateTime DataOra_INI, + string DTX_END, + string CodSoggetto_END, + System.DateTime DataOra_END, + string CodStato, + string UDC, + int Qta, + string Original_CodLinea, + string Original_Particolare, + string Original_DescParticolare, + string Original_DTX_INI, + string Original_CodSoggetto_INI, + System.DateTime Original_DataOra_INI, + string Original_DTX_END, + string Original_CodSoggetto_END, + System.DateTime Original_DataOra_END, + string Original_CodStato, + string Original_UDC, + string Original_CodCella, + int Original_Qta) { + if ((CodLinea == null)) { + throw new global::System.ArgumentNullException("CodLinea"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodLinea)); + } + if ((Particolare == null)) { + throw new global::System.ArgumentNullException("Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + throw new global::System.ArgumentNullException("DescParticolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescParticolare)); + } + if ((DTX_INI == null)) { + throw new global::System.ArgumentNullException("DTX_INI"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DTX_INI)); + } + if ((CodSoggetto_INI == null)) { + throw new global::System.ArgumentNullException("CodSoggetto_INI"); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodSoggetto_INI)); + } + this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(DataOra_INI)); + if ((DTX_END == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DTX_END)); + } + if ((CodSoggetto_END == null)) { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CodSoggetto_END)); + } + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(DataOra_END)); + if ((CodStato == null)) { + throw new global::System.ArgumentNullException("CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(CodStato)); + } + if ((UDC == null)) { + throw new global::System.ArgumentNullException("UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(UDC)); + } + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Qta)); + if ((Original_CodLinea == null)) { + throw new global::System.ArgumentNullException("Original_CodLinea"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodLinea)); + } + if ((Original_Particolare == null)) { + throw new global::System.ArgumentNullException("Original_Particolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Particolare)); + } + if ((Original_DescParticolare == null)) { + throw new global::System.ArgumentNullException("Original_DescParticolare"); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_DescParticolare)); + } + if ((Original_DTX_INI == null)) { + throw new global::System.ArgumentNullException("Original_DTX_INI"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DTX_INI)); + } + if ((Original_CodSoggetto_INI == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto_INI"); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodSoggetto_INI)); + } + this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(Original_DataOra_INI)); + if ((Original_DTX_END == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_DTX_END)); + } + if ((Original_CodSoggetto_END == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodSoggetto_END)); + } + this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(Original_DataOra_END)); + if ((Original_CodStato == null)) { + throw new global::System.ArgumentNullException("Original_CodStato"); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_CodStato)); + } + if ((Original_UDC == null)) { + throw new global::System.ArgumentNullException("Original_UDC"); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_UDC)); + } + if ((Original_CodCella == null)) { + throw new global::System.ArgumentNullException("Original_CodCella"); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodCella)); + } + this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_Qta)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string DescParticolare, + string DTX_INI, + string CodSoggetto_INI, + System.DateTime DataOra_INI, + string DTX_END, + string CodSoggetto_END, + System.DateTime DataOra_END, + string CodStato, + string UDC, + int Qta, + string Original_CodLinea, + string Original_Particolare, + string Original_DescParticolare, + string Original_DTX_INI, + string Original_CodSoggetto_INI, + System.DateTime Original_DataOra_INI, + string Original_DTX_END, + string Original_CodSoggetto_END, + System.DateTime Original_DataOra_END, + string Original_CodStato, + string Original_UDC, + string Original_CodCella, + int Original_Qta) { + return this.Update(Original_CodLinea, Original_Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, Qta, Original_CodLinea, Original_Particolare, Original_DescParticolare, Original_DTX_INI, Original_CodSoggetto_INI, Original_DataOra_INI, Original_DTX_END, Original_CodSoggetto_END, Original_DataOra_END, Original_CodStato, Original_UDC, Original_CodCella, Original_Qta); + } + + [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 deleteQuery(string Original_CodLinea, string Original_Particolare) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1]; + if ((Original_CodLinea == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(Original_CodLinea)); + } + if ((Original_Particolare == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Original_Particolare)); + } + 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 insertIni(string CodLinea, string Particolare, string DescParticolare, string DTX_INI, string CodSoggetto_INI, global::System.Nullable DataOra_INI) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4]; + if ((CodLinea == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLinea)); + } + if ((Particolare == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Particolare)); + } + if ((DescParticolare == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(DescParticolare)); + } + if ((DTX_INI == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(DTX_INI)); + } + if ((CodSoggetto_INI == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(CodSoggetto_INI)); + } + if ((DataOra_INI.HasValue == true)) { + command.Parameters[6].Value = ((System.DateTime)(DataOra_INI.Value)); + } + else { + command.Parameters[6].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 updateEnd(string CodLinea, string Particolare, string DTX_END, string CodSoggetto_END, global::System.Nullable DataOra_END) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((CodLinea == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodLinea)); + } + if ((Particolare == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(Particolare)); + } + if ((DTX_END == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(DTX_END)); + } + if ((CodSoggetto_END == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(CodSoggetto_END)); + } + if ((DataOra_END.HasValue == true)) { + command.Parameters[5].Value = ((System.DateTime)(DataOra_END.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -18432,6 +20027,8 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb private TrascDatamatrixTableAdapter _trascDatamatrixTableAdapter; + private Linea2Dtx_IETableAdapter _linea2Dtx_IETableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -18587,6 +20184,20 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public Linea2Dtx_IETableAdapter Linea2Dtx_IETableAdapter { + get { + return this._linea2Dtx_IETableAdapter; + } + set { + this._linea2Dtx_IETableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -18646,6 +20257,10 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb && (this._trascDatamatrixTableAdapter.Connection != null))) { return this._trascDatamatrixTableAdapter.Connection; } + if (((this._linea2Dtx_IETableAdapter != null) + && (this._linea2Dtx_IETableAdapter.Connection != null))) { + return this._linea2Dtx_IETableAdapter.Connection; + } return null; } set { @@ -18689,6 +20304,9 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb if ((this._trascDatamatrixTableAdapter != null)) { count = (count + 1); } + if ((this._linea2Dtx_IETableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -18727,6 +20345,15 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allChangedRows.AddRange(updatedRows); } } + if ((this._trascPartNumTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._trascPartNumTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._trascFormatoDmtxTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.TrascFormatoDmtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -18745,15 +20372,6 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allChangedRows.AddRange(updatedRows); } } - if ((this._trascPartNumTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._trascPartNumTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._attr2DtxTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -18790,6 +20408,15 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allChangedRows.AddRange(updatedRows); } } + if ((this._linea2Dtx_IETableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.Linea2Dtx_IE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._linea2Dtx_IETableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -18824,6 +20451,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allAddedRows.AddRange(addedRows); } } + if ((this._trascPartNumTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._trascPartNumTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._trascFormatoDmtxTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.TrascFormatoDmtx.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -18840,14 +20475,6 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allAddedRows.AddRange(addedRows); } } - if ((this._trascPartNumTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._trascPartNumTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._attr2DtxTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Attr2Dtx.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -18880,6 +20507,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allAddedRows.AddRange(addedRows); } } + if ((this._linea2Dtx_IETableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.Linea2Dtx_IE.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._linea2Dtx_IETableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -18890,6 +20525,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DS_DataMatrix dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._linea2Dtx_IETableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Linea2Dtx_IE.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._linea2Dtx_IETableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._trascDatamatrixTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.TrascDatamatrix.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -18922,14 +20565,6 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allChangedRows.AddRange(deletedRows); } } - if ((this._trascPartNumTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._trascPartNumTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._tabSpecDtxTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.TabSpecDtx.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -18946,6 +20581,14 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb allChangedRows.AddRange(deletedRows); } } + if ((this._trascPartNumTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TrascPartNum.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._trascPartNumTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._transcodificaParticolariTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.TranscodificaParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -19059,6 +20702,11 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._linea2Dtx_IETableAdapter != null) + && (this.MatchTableAdapterConnection(this._linea2Dtx_IETableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + @@ -19181,6 +20829,15 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb adaptersWithAcceptChangesDuringUpdate.Add(this._trascDatamatrixTableAdapter.Adapter); } } + if ((this._linea2Dtx_IETableAdapter != null)) { + revertConnections.Add(this._linea2Dtx_IETableAdapter, this._linea2Dtx_IETableAdapter.Connection); + this._linea2Dtx_IETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._linea2Dtx_IETableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._linea2Dtx_IETableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._linea2Dtx_IETableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._linea2Dtx_IETableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -19279,6 +20936,10 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb this._trascDatamatrixTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._trascDatamatrixTableAdapter])); this._trascDatamatrixTableAdapter.Transaction = null; } + if ((this._linea2Dtx_IETableAdapter != null)) { + this._linea2Dtx_IETableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._linea2Dtx_IETableAdapter])); + this._linea2Dtx_IETableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/GMW_data/DS_DataMatrix.xsd b/GMW_data/DS_DataMatrix.xsd index fce21002..8157517f 100644 --- a/GMW_data/DS_DataMatrix.xsd +++ b/GMW_data/DS_DataMatrix.xsd @@ -1360,6 +1360,178 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb + + + + + + DELETE FROM [dbo].[Linea2Dtx_IE] WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta)) + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[Linea2Dtx_IE] ([CodLinea], [Particolare], [DescParticolare], [DTX_INI], [CodSoggetto_INI], [DataOra_INI], [DTX_END], [CodSoggetto_END], [DataOra_END], [CodStato], [UDC], [Qta]) VALUES (@CodLinea, @Particolare, @DescParticolare, @DTX_INI, @CodSoggetto_INI, @DataOra_INI, @DTX_END, @CodSoggetto_END, @DataOra_END, @CodStato, @UDC, @Qta); +SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare) + + + + + + + + + + + + + + + + + + + SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM dbo.Linea2Dtx_IE + + + + + + UPDATE [dbo].[Linea2Dtx_IE] SET [CodLinea] = @CodLinea, [Particolare] = @Particolare, [DescParticolare] = @DescParticolare, [DTX_INI] = @DTX_INI, [CodSoggetto_INI] = @CodSoggetto_INI, [DataOra_INI] = @DataOra_INI, [DTX_END] = @DTX_END, [CodSoggetto_END] = @CodSoggetto_END, [DataOra_END] = @DataOra_END, [CodStato] = @CodStato, [UDC] = @UDC, [Qta] = @Qta WHERE (([CodLinea] = @Original_CodLinea) AND ([Particolare] = @Original_Particolare) AND ([DescParticolare] = @Original_DescParticolare) AND ([DTX_INI] = @Original_DTX_INI) AND ([CodSoggetto_INI] = @Original_CodSoggetto_INI) AND ([DataOra_INI] = @Original_DataOra_INI) AND ((@IsNull_DTX_END = 1 AND [DTX_END] IS NULL) OR ([DTX_END] = @Original_DTX_END)) AND ((@IsNull_CodSoggetto_END = 1 AND [CodSoggetto_END] IS NULL) OR ([CodSoggetto_END] = @Original_CodSoggetto_END)) AND ([DataOra_END] = @Original_DataOra_END) AND ([CodStato] = @Original_CodStato) AND ([UDC] = @Original_UDC) AND ([CodCella] = @Original_CodCella) AND ([Qta] = @Original_Qta)); +SELECT CodLinea, Particolare, DescParticolare, DTX_INI, CodSoggetto_INI, DataOra_INI, DTX_END, CodSoggetto_END, DataOra_END, CodStato, UDC, CodCella, Qta FROM Linea2Dtx_IE WHERE (CodLinea = @CodLinea) AND (Particolare = @Particolare) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dmtx.stp_L2D_delete + + + + + + + + + + + + dmtx.stp_L2D_getByLine + + + + + + + + + + + dmtx.stp_L2D_getByLinePart + + + + + + + + + + + + dmtx.stp_L2D_insert + + + + + + + + + + + + + + + + dmtx.stp_L2D_updateEnd + + + + + + + + + + + + + @@ -1461,7 +1633,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1481,7 +1653,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1495,7 +1667,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1530,7 +1702,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1550,7 +1722,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1570,7 +1742,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1612,7 +1784,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1625,7 +1797,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1661,7 +1833,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1697,7 +1869,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1710,7 +1882,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1751,7 +1923,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1824,7 +1996,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1869,7 +2041,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1896,7 +2068,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1933,7 +2105,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1953,7 +2125,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -1973,7 +2145,7 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb - + @@ -2000,6 +2172,85 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2063,12 +2314,17 @@ SELECT PartNumber, Particolare, FormatoDtmx FROM TrascDatamatrix WHERE (PartNumb + + + + + - - - + + + \ No newline at end of file diff --git a/GMW_data/DS_DataMatrix.xss b/GMW_data/DS_DataMatrix.xss index 041abc1f..c7d56e6b 100644 --- a/GMW_data/DS_DataMatrix.xss +++ b/GMW_data/DS_DataMatrix.xss @@ -6,30 +6,31 @@ --> - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + 1316 @@ -41,7 +42,7 @@ - + 1335 @@ -53,7 +54,7 @@ - + 1510 diff --git a/GMW_data/DataMatrix.cs b/GMW_data/DataMatrix.cs index d8e3f5e3..d9267137 100644 --- a/GMW_data/DataMatrix.cs +++ b/GMW_data/DataMatrix.cs @@ -30,6 +30,7 @@ namespace GMW_data public DS_DataMatrixTableAdapters.TabSpecDtxTableAdapter taSpecDtmx; public DS_DataMatrixTableAdapters.TrascPartNumTableAdapter taTPN; public DS_DataMatrixTableAdapters.TrascDatamatrixTableAdapter taTDtmx; + public DS_DataMatrixTableAdapters.Linea2Dtx_IETableAdapter taL2D; /// /// init dei table adapters @@ -54,6 +55,7 @@ namespace GMW_data taSpecDtmx = new DS_DataMatrixTableAdapters.TabSpecDtxTableAdapter(); taTPN = new DS_DataMatrixTableAdapters.TrascPartNumTableAdapter(); taTDtmx = new DS_DataMatrixTableAdapters.TrascDatamatrixTableAdapter(); + taL2D = new DS_DataMatrixTableAdapters.Linea2Dtx_IETableAdapter(); } /// /// effettua setup dei connection strings da web.config delal singola applicazione @@ -79,6 +81,7 @@ namespace GMW_data taSpecDtmx.Connection.ConnectionString = connString; taTPN.Connection.ConnectionString = connString; taTDtmx.Connection.ConnectionString = connString; + taL2D.Connection.ConnectionString = connString; } #endregion diff --git a/GMW_data/GMW_data.csproj b/GMW_data/GMW_data.csproj index e87ca96d..4b793820 100644 --- a/GMW_data/GMW_data.csproj +++ b/GMW_data/GMW_data.csproj @@ -220,7 +220,7 @@ DS_DataMatrix.xsd - + True True DS_DataMatrix.xsd @@ -326,7 +326,7 @@ Designer MSDataSetGenerator - DS_DataMatrix1.Designer.cs + DS_DataMatrix.Designer.cs DS_DataMatrix.xsd diff --git a/GMW_data/MagClass.cs b/GMW_data/MagClass.cs index 90cdbb0e..e46dade5 100644 --- a/GMW_data/MagClass.cs +++ b/GMW_data/MagClass.cs @@ -2960,8 +2960,9 @@ namespace GMW_data // cerco di decodificare il Datamatrix... try { - statoDtx = DataMatrix.mgr.taVerifica.GetData(valore)[0].StatoDtx; - formatoDtx = DataMatrix.mgr.taVerifica.GetData(valore)[0].FormatoDtmx; + DS_DataMatrix.stp_verificaDtxRow rowVerifica = DataMatrix.mgr.taVerifica.GetData(valore)[0]; + statoDtx = rowVerifica.StatoDtx; + formatoDtx = rowVerifica.FormatoDtmx; } catch { } diff --git a/GMW_data/app.config b/GMW_data/app.config index 1c108f05..cefee0c1 100644 --- a/GMW_data/app.config +++ b/GMW_data/app.config @@ -8,7 +8,7 @@ - /// Configurations da tabella DB COnfig - /// - /// Valore chiave - /// - public string configDbVal(string chiave) - { - string answ = ""; - try - { - answ = taConfig.getByKey(chiave)[0].valore; - } - catch - { - answ = ""; - } - return answ; - } + ///// + ///// Configurations da tabella DB COnfig + ///// + ///// Valore chiave + ///// + //public string configDbVal(string chiave) + //{ + // string answ = ""; + // try + // { + // answ = taConfig.getByKey(chiave)[0].valore; + // } + // catch + // { + // answ = ""; + // } + // return answ; + //} - #endregion + //#endregion #region area operatori