Merge branch 'develop' into beta

This commit is contained in:
Samuele E. Locatelli
2020-12-29 18:54:23 +01:00
48 changed files with 2258 additions and 1161 deletions
+4 -4
View File
@@ -9,8 +9,8 @@ body {
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
padding-left: 15px;
padding-right: 15px;
/* padding-left: 15px;
padding-right: 15px;*/
}
.textCondens {
/*font-family: 'Roboto Condensed', sans-serif;*/
@@ -82,8 +82,8 @@ body {
.smallText {
font-size: 0.8em;
}
/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
white-space: normal;
+143 -144
View File
@@ -1,163 +1,162 @@
/* Move down content because we have a fixed navbar that is 50px tall */
body {
/*font-family: 'Roboto', sans-serif;*/
font-family: 'Roboto Condensed', sans-serif;
/*font-family: 'Open Sans Condensed', sans-serif;*/
padding-top: 50px;
padding-bottom: 20px;
/*font-family: 'Roboto', sans-serif;*/
font-family: 'Roboto Condensed', sans-serif;
/*font-family: 'Open Sans Condensed', sans-serif;*/
padding-top: 50px;
padding-bottom: 20px;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
padding-left: 15px;
padding-right: 15px;
/* padding-left: 15px;
padding-right: 15px;*/
}
.textCondens {
/*font-family: 'Roboto Condensed', sans-serif;*/
font-family: 'Open Sans Condensed', sans-serif;
/*font-family: 'Roboto Condensed', sans-serif;*/
font-family: 'Open Sans Condensed', sans-serif;
}
.textNormal {
font-family: 'Roboto', sans-serif;
/*font-family: 'Open Sans', sans-serif;*/
font-family: 'Roboto', sans-serif;
/*font-family: 'Open Sans', sans-serif;*/
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
.jumbotron {
margin-top: 20px;
}
.jumbotron {
margin-top: 20px;
}
.body-content {
padding: 0;
}
.body-content {
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
}
body {
font-family: 'Roboto', sans-serif;
}
}
@media (max-width: 992px) {
.container {
width: 100%;
}
.container {
width: 100%;
}
}
@borderThick: 3px;
.border-thick {
border-width: @borderThick !important;
border-width: @borderThick !important;
}
/* Animazione per richiamo attenzione*/
.flashColor {
border: @borderThick solid blue;
/* Safari 4.0 - 8.0 */
-webkit-animation-name: blueFlash;
-webkit-animation-duration: 0.5s;
-webkit-animation-timing-function: linear;
-webkit-animation-delay: 0s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
/* Standard syntax */
animation-name: blueFlash;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-delay: 0s;
animation-iteration-count: infinite;
animation-direction: alternate;
border: @borderThick solid blue;
/* Safari 4.0 - 8.0 */
-webkit-animation-name: blueFlash;
-webkit-animation-duration: 0.5s;
-webkit-animation-timing-function: linear;
-webkit-animation-delay: 0s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
/* Standard syntax */
animation-name: blueFlash;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-delay: 0s;
animation-iteration-count: infinite;
animation-direction: alternate;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes blueFlash {
0% {
border-color: #c4dbff;
}
0% {
border-color: #c4dbff;
}
25% {
border-color: #9dc4ff;
}
25% {
border-color: #9dc4ff;
}
50% {
border-color: #5ca5ff;
}
50% {
border-color: #5ca5ff;
}
75% {
border-color: #1b82ff;
}
75% {
border-color: #1b82ff;
}
100% {
border-color: #005ccc;
}
100% {
border-color: #005ccc;
}
}
.bigText {
font-size: 1.3em;
font-size: 1.3em;
}
.smallText {
font-size: 0.8em;
font-size: 0.8em;
}
/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
white-space: normal;
white-space: normal;
}
.deleted {
text-decoration: line-through;
text-decoration: line-through;
}
.padZL {
padding-left: 0.2em;
padding-left: 0.2em;
}
.padZR {
padding-right: 0.2em;
padding-right: 0.2em;
}
.padZRL {
.padZL;
.padZR;
.padZL;
.padZR;
}
.colAlt {
color: #C93;
color: #C93;
}
.fontBig {
font-size: 2em;
font-size: 2em;
}
.tNote {
color: #8a8a8a;
font-style: italic;
color: #8a8a8a;
font-style: italic;
}
.tNoWrap {
white-space: nowrap;
white-space: nowrap;
}
.navbar {
min-height: 0;
/*z-index: 0; // commentare quando in prod?!?*/
color: #696969;
min-height: 0;
/*z-index: 0; // commentare quando in prod?!?*/
color: #696969;
}
.pagination {
margin: 5px 0;
margin: 5px 0;
}
.pageSelDD {
width: 6em;
width: 6em;
}
.zeroWidth {
width: 0;
width: 0;
}
/*------------------------------------------------------------------
@@ -167,104 +166,104 @@ body {
@blSCut: 1rem;
.shortcuts {
text-align: center;
text-align: center;
}
.shortcuts .shortcut {
min-width: @blSCut * 9;
min-height: @blSCut * 5;
display: inline-block;
padding: @blSCut*2/3 0;
margin: 0 2px 1em;
vertical-align: top;
text-decoration: none;
background: #F3F3F3;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 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: @blSCut/2;
min-width: @blSCut * 9;
min-height: @blSCut * 5;
display: inline-block;
padding: @blSCut*2/3 0;
margin: 0 2px 1em;
vertical-align: top;
text-decoration: none;
background: #F3F3F3;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 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: @blSCut/2;
}
.shortcuts .shortcut-sm {
min-width: @blSCut * 4.5;
min-height: @blSCut * 3;
display: inline-block;
padding: @blSCut/4 0;
margin: 0 2px 1em;
vertical-align: top;
text-decoration: none;
background: #F3F3F3;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 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: @blSCut/2;
min-width: @blSCut * 4.5;
min-height: @blSCut * 3;
display: inline-block;
padding: @blSCut/4 0;
margin: 0 2px 1em;
vertical-align: top;
text-decoration: none;
background: #F3F3F3;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 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: @blSCut/2;
}
.shortcuts .shortcut .shortcut-icon {
width: 100%;
margin-top: 0;
margin-bottom: 0;
font-size: @blSCut*2;
color: #333;
width: 100%;
margin-top: 0;
margin-bottom: 0;
font-size: @blSCut*2;
color: #333;
}
.shortcuts .shortcut-sm .shortcut-icon {
width: 100%;
margin-top: 0;
margin-bottom: 0;
font-size: @blSCut*2;
color: #333;
width: 100%;
margin-top: 0;
margin-bottom: 0;
font-size: @blSCut*2;
color: #333;
}
.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);
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-sm: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);
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, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.shortcuts .shortcut-sm:active {
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.shortcuts .shortcut:hover .shortcut-icon {
color: #C93;
color: #C93;
}
.shortcuts .shortcut-sm:hover .shortcut-icon {
color: #666;
color: #666;
}
.shortcuts .shortcut-label {
display: block;
margin-top: .75em;
font-weight: 400;
color: #666;
}
display: block;
margin-top: .75em;
font-weight: 400;
color: #666;
}
+1 -1
View File
@@ -1 +1 @@
body{font-family:'Roboto Condensed',sans-serif;padding-top:50px;padding-bottom:20px;}.body-content{padding-left:15px;padding-right:15px;}.textCondens{font-family:'Open Sans Condensed',sans-serif;}.textNormal{font-family:'Roboto',sans-serif;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}.body-content{padding:0;}body{font-family:'Roboto',sans-serif;}}@media(max-width:992px){.container{width:100%;}}.border-thick{border-width:3px !important;}.flashColor{border:3px solid #00f;-webkit-animation-name:blueFlash;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-delay:0s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate;animation-name:blueFlash;animation-duration:.5s;animation-timing-function:linear;animation-delay:0s;animation-iteration-count:infinite;animation-direction:alternate;}@-webkit-keyframes blueFlash{0%{border-color:#c4dbff;}25%{border-color:#9dc4ff;}50%{border-color:#5ca5ff;}75%{border-color:#1b82ff;}100%{border-color:#005ccc;}}.bigText{font-size:1.3em;}.smallText{font-size:.8em;}.dl-horizontal dt{white-space:normal;}.deleted{text-decoration:line-through;}.padZL{padding-left:.2em;}.padZR{padding-right:.2em;}.padZRL{padding-left:.2em;padding-right:.2em;}.colAlt{color:#c93;}.fontBig{font-size:2em;}.tNote{color:#8a8a8a;font-style:italic;}.tNoWrap{white-space:nowrap;}.navbar{min-height:0;color:#696969;}.pagination{margin:5px 0;}.pageSelDD{width:6em;}.zeroWidth{width:0;}.shortcuts{text-align:center;}.shortcuts .shortcut{min-width:9rem;min-height:5rem;display:inline-block;padding:.66666667rem 0;margin:0 2px 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:.5rem;}.shortcuts .shortcut-sm{min-width:4.5rem;min-height:3rem;display:inline-block;padding:.25rem 0;margin:0 2px 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:.5rem;}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.shortcuts .shortcut-sm .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.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-sm: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-sm:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}.shortcuts .shortcut:hover .shortcut-icon{color:#c93;}.shortcuts .shortcut-sm:hover .shortcut-icon{color:#666;}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666;}
body{font-family:'Roboto Condensed',sans-serif;padding-top:50px;padding-bottom:20px;}.textCondens{font-family:'Open Sans Condensed',sans-serif;}.textNormal{font-family:'Roboto',sans-serif;}@media screen and (min-width:768px){.jumbotron{margin-top:20px;}.body-content{padding:0;}body{font-family:'Roboto',sans-serif;}}@media(max-width:992px){.container{width:100%;}}.border-thick{border-width:3px !important;}.flashColor{border:3px solid #00f;-webkit-animation-name:blueFlash;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-delay:0s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate;animation-name:blueFlash;animation-duration:.5s;animation-timing-function:linear;animation-delay:0s;animation-iteration-count:infinite;animation-direction:alternate;}@-webkit-keyframes blueFlash{0%{border-color:#c4dbff;}25%{border-color:#9dc4ff;}50%{border-color:#5ca5ff;}75%{border-color:#1b82ff;}100%{border-color:#005ccc;}}.bigText{font-size:1.3em;}.smallText{font-size:.8em;}.dl-horizontal dt{white-space:normal;}.deleted{text-decoration:line-through;}.padZL{padding-left:.2em;}.padZR{padding-right:.2em;}.padZRL{padding-left:.2em;padding-right:.2em;}.colAlt{color:#c93;}.fontBig{font-size:2em;}.tNote{color:#8a8a8a;font-style:italic;}.tNoWrap{white-space:nowrap;}.navbar{min-height:0;color:#696969;}.pagination{margin:5px 0;}.pageSelDD{width:6em;}.zeroWidth{width:0;}.shortcuts{text-align:center;}.shortcuts .shortcut{min-width:9rem;min-height:5rem;display:inline-block;padding:.66666667rem 0;margin:0 2px 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:.5rem;}.shortcuts .shortcut-sm{min-width:4.5rem;min-height:3rem;display:inline-block;padding:.25rem 0;margin:0 2px 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:.5rem;}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.shortcuts .shortcut-sm .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:2rem;color:#333;}.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-sm: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-sm:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}.shortcuts .shortcut:hover .shortcut-icon{color:#c93;}.shortcuts .shortcut-sm:hover .shortcut-icon{color:#666;}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666;}
+54
View File
@@ -313,6 +313,13 @@
<Compile Include="SMART\packList.aspx.designer.cs">
<DependentUpon>packList.aspx</DependentUpon>
</Compile>
<Compile Include="SMART\PLScanner.aspx.cs">
<DependentUpon>PLScanner.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="SMART\PLScanner.aspx.designer.cs">
<DependentUpon>PLScanner.aspx</DependentUpon>
</Compile>
<Compile Include="SMART\UserAdmin.aspx.cs">
<DependentUpon>UserAdmin.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -460,6 +467,27 @@
<Compile Include="WebUserControls\cmp_packListNew.ascx.designer.cs">
<DependentUpon>cmp_packListNew.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_SelPackList.ascx.cs">
<DependentUpon>cmp_SelPackList.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_SelPackList.ascx.designer.cs">
<DependentUpon>cmp_SelPackList.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_SelPedana.ascx.cs">
<DependentUpon>cmp_SelPedana.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_SelPedana.ascx.designer.cs">
<DependentUpon>cmp_SelPedana.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_PLScanner.ascx.cs">
<DependentUpon>cmp_PLScanner.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_PLScanner.ascx.designer.cs">
<DependentUpon>cmp_PLScanner.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_printLottoOUT.ascx.cs">
<DependentUpon>cmp_printLottoOUT.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -509,6 +537,20 @@
<Compile Include="WebUserControls\cmp_LottiOut.ascx.designer.cs">
<DependentUpon>cmp_LottiOut.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_SelUdc.ascx.cs">
<DependentUpon>cmp_SelUdc.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_SelUdc.ascx.designer.cs">
<DependentUpon>cmp_SelUdc.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_UDCList.ascx.cs">
<DependentUpon>cmp_UDCList.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_UDCList.ascx.designer.cs">
<DependentUpon>cmp_UDCList.ascx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="App_Readme\Elmah.txt" />
@@ -569,6 +611,12 @@
<Content Include="Areas\HelpPage\Views\Help\DisplayTemplates\CollectionModelDescription.cshtml" />
<Content Include="Areas\HelpPage\Views\Help\DisplayTemplates\ApiGroup.cshtml" />
<Content Include="Areas\HelpPage\Views\Help\Api.cshtml" />
<Content Include="images\favicon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="images\LogoHighResWhite.png" />
<Content Include="images\LogoSteamware.png" />
<Content Include="images\SteamwareLogo.png" />
<Content Include="mongocrypt.dll" />
<Content Include="Scripts\bootstrap.bundle.js" />
<Content Include="Scripts\bootstrap.bundle.min.js" />
@@ -633,6 +681,7 @@
<Content Include="SMART\Default.aspx" />
<Content Include="SMART\login.aspx" />
<Content Include="SMART\packList.aspx" />
<Content Include="SMART\PLScanner.aspx" />
<Content Include="SMART\UserAdmin.aspx" />
<Content Include="WebUserControls\cmp_activeParams.ascx" />
<Content Include="WebUserControls\cmp_barcode.ascx" />
@@ -656,6 +705,9 @@
<Content Include="WebUserControls\cmp_packList.ascx" />
<Content Include="WebUserControls\cmp_packListMgmt.ascx" />
<Content Include="WebUserControls\cmp_packListNew.ascx" />
<Content Include="WebUserControls\cmp_SelPackList.ascx" />
<Content Include="WebUserControls\cmp_SelPedana.ascx" />
<Content Include="WebUserControls\cmp_PLScanner.ascx" />
<Content Include="WebUserControls\cmp_printLottoOUT.ascx" />
<Content Include="WebUserControls\cmp_prtFiniti.ascx" />
<Content Include="WebUserControls\cmp_prtSemilav.ascx" />
@@ -665,6 +717,8 @@
<Content Include="WebUserControls\cmp_LottiOut.ascx" />
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
<Content Include="WebUserControls\cmp_SelUdc.ascx" />
<Content Include="WebUserControls\cmp_UDCList.ascx" />
<None Include="compilerconfig.json" />
<None Include="compilerconfig.json.defaults">
<DependentUpon>compilerconfig.json</DependentUpon>
+11
View File
@@ -0,0 +1,11 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PLScanner.aspx.cs" Inherits="MP_MAG.SMART.PLScanner" %>
<%@ Register Src="~/WebUserControls/cmp_PLScanner.ascx" TagPrefix="uc1" TagName="cmp_PLScanner" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="row px-1">
<div class="col-12">
<uc1:cmp_PLScanner runat="server" id="cmp_PLScanner" />
</div>
</div>
</asp:Content>
+21
View File
@@ -0,0 +1,21 @@
using MagData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.SMART
{
public partial class PLScanner : System.Web.UI.Page
{
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
}
#endregion Protected Methods
}
}
+26
View File
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.SMART
{
public partial class PLScanner
{
/// <summary>
/// Controllo cmp_PLScanner.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_PLScanner cmp_PLScanner;
}
}
+30 -26
View File
@@ -5,37 +5,41 @@
<%@ Register Src="~/WebUserControls/cmp_elencoUDC.ascx" TagPrefix="uc1" TagName="cmp_elencoUDC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<div class="card border-info">
<div class="card-header text-uppercase">
<div class="row">
<div class="col-12 col-md-10">
<h3>Preparazione Spedizioni</h3>
<div class="input-group mb-3 small">
<div class="input-group-prepend">
<span class="input-group-text">Richieste</span>
<div class="row m-0">
<div class="col-12">
<div class="card border-info">
<div class="card-header text-uppercase">
<div class="row">
<div class="col-12 col-md-10">
<h3>Preparazione Spedizioni</h3>
<div class="input-group mb-3 small">
<div class="input-group-prepend">
<span class="input-group-text">Richieste</span>
</div>
<asp:DropDownList runat="server" ID="ddlElencoPL" DataSourceID="odsPL" DataTextField="label" DataValueField="value" AutoPostBack="True" CssClass="form-control" OnSelectedIndexChanged="ddlElencoPL_SelectedIndexChanged" OnDataBound="ddlElencoPL_DataBound"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsPL" OldValuesParameterFormatString="original_{0}" SelectMethod="getAttive" TypeName="MagData.DS_UtilityTableAdapters.selPackListTableAdapter"></asp:ObjectDataSource>
</div>
<uc1:cmp_OrderList runat="server" ID="cmp_OrderList" EnableEdit="false" />
</div>
<div class="col-12 col-md-2">
<asp:Image runat="server" ID="imgQrMain" CssClass="img-fluid" />
</div>
<asp:DropDownList runat="server" ID="ddlElencoPL" DataSourceID="odsPL" DataTextField="label" DataValueField="value" AutoPostBack="True" CssClass="form-control" OnSelectedIndexChanged="ddlElencoPL_SelectedIndexChanged" OnDataBound="ddlElencoPL_DataBound"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsPL" OldValuesParameterFormatString="original_{0}" SelectMethod="getAttive" TypeName="MagData.DS_UtilityTableAdapters.selPackListTableAdapter"></asp:ObjectDataSource>
</div>
<uc1:cmp_OrderList runat="server" ID="cmp_OrderList" EnableEdit="false" />
</div>
<div class="col-12 col-md-2">
<asp:Image runat="server" ID="imgQrMain" CssClass="img-fluid" />
<div class="card-body">
<div class="row small">
<div class="col-6">
<uc1:cmp_elencoPedane runat="server" ID="cmp_elencoPedane" />
</div>
<div class="col-6">
<uc1:cmp_elencoUDC runat="server" ID="cmp_elencoUDC" />
</div>
</div>
</div>
<div class="card-footer text-right">
<%--<uc1:cmp_numRow runat="server" ID="cmp_numRow" />--%>
</div>
</div>
</div>
<div class="card-body">
<div class="row small">
<div class="col-6">
<uc1:cmp_elencoPedane runat="server" ID="cmp_elencoPedane" />
</div>
<div class="col-6">
<uc1:cmp_elencoUDC runat="server" ID="cmp_elencoUDC" />
</div>
</div>
</div>
<div class="card-footer text-right">
<%--<uc1:cmp_numRow runat="server" ID="cmp_numRow" />--%>
</div>
</div>
</asp:Content>
+1 -1
View File
@@ -96,7 +96,7 @@ namespace MP_MAG.SMART
public string getImageUrl()
{
string baseUrl = $"{memLayer.ML.CRS("matrixUrl")}/HOME/QR_site/JSON?val=";
string payload = "{'baseUrl':'{0}','parameters':['" + PackListID + "']}";
string payload = "{'baseUrl':'{0}','parameters':['PL" + PackListID + "']}";
string answ = $"{baseUrl}{payload}";
return answ;
}
+60 -62
View File
@@ -4,78 +4,76 @@
<%@ Register Src="~/WebUserControls/cmp_menuTop.ascx" TagPrefix="uc1" TagName="cmp_menuTop" %>
<%@ Register Src="~/WebUserControls/cmp_activeParams.ascx" TagPrefix="uc1" TagName="cmp_activeParams" %>
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="it">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="description" content="NKC Solution" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>MP-MAG <%: Page.Title %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="description" content="NKC Solution" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>MP-MAG <%: Page.Title %></title>
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
</asp:PlaceHolder>
<webopt:BundleReference runat="server" Path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="~/Content/fontawesome-all.min.css" rel="stylesheet" />
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
</asp:PlaceHolder>
<webopt:BundleReference runat="server" Path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="~/Content/fontawesome-all.min.css" rel="stylesheet" />
</head>
<body class="pt-0">
<form runat="server">
<asp:ScriptManager runat="server">
<Scripts>
<%--To learn more about bundling scripts in ScriptManager see https://go.microsoft.com/fwlink/?LinkID=301884 --%>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="bootstrap" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<form runat="server">
<asp:ScriptManager runat="server">
<Scripts>
<%--To learn more about bundling scripts in ScriptManager see https://go.microsoft.com/fwlink/?LinkID=301884 --%>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="bootstrap" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<asp:UpdatePanel ID="updTop" runat="server">
<ContentTemplate>
<div class="mb-1">
<uc1:cmp_menuTop runat="server" ID="cmp_menuTop" />
<uc1:cmp_activeParams runat="server" ID="cmp_activeParams" />
<asp:UpdatePanel ID="updTop" runat="server">
<ContentTemplate>
<div class="mb-1">
<uc1:cmp_menuTop runat="server" ID="cmp_menuTop" />
<uc1:cmp_activeParams runat="server" ID="cmp_activeParams" />
</div>
</ContentTemplate>
</asp:UpdatePanel>
<div class="container-flow body-content">
<asp:UpdatePanel ID="updPanel" runat="server">
<ContentTemplate>
<div class="containter mx-0">
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<div class="container-flow body-content">
<asp:UpdatePanel ID="updPanel" runat="server">
<ContentTemplate>
<div class="containter">
<asp:ContentPlaceHolder ID="MainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<asp:UpdatePanel ID="updFooter" runat="server">
<ContentTemplate>
<uc1:cmp_footer runat="server" ID="cmp_footer" />
</ContentTemplate>
</asp:UpdatePanel>
</form>
<asp:UpdatePanel ID="updFooter" runat="server">
<ContentTemplate>
<uc1:cmp_footer runat="server" ID="cmp_footer" />
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
</html>
+1
View File
@@ -24,6 +24,7 @@
<add key="ttlPrintCount" value="5" />
<add key="_safePages" value="chLang#jumper#unauthorized#forceUser#login#test#UserAdmin#UpdMan#about#contact" />
<add key="matrixUrl" value="https://qrcode.steamware.net/" />
<add key="intUpdatePagina_ms" value="60000" />
<!--Redis conn-->
<add key="RedisConn" value="localhost,abortConnect=false,ssl=false" />
<add key="RedisConnAdmin" value="localhost,abortConnect=false,ssl=false" />
+16 -5
View File
@@ -13,11 +13,12 @@
Nessun record trovato
</div>
<div class="col">
<asp:LinkButton ID="lbtAddNew" runat="server" CssClass="btn btn-sm btn-success btn-block" Visible="true" ToolTip="Add New" OnClick="lbtAddNew_Click">Add New <i class="fas fa-plus"></i></asp:LinkButton>
<asp:LinkButton ID="lbtAddNew" runat="server" CssClass="btn btn-sm btn-success btn-block" ToolTip="Add New" OnClick="lbtAddNew_Click" Visible='<%# EnableEdit %>'>Add New <i class="fas fa-plus"></i></asp:LinkButton>
</div>
</div>
</EmptyDataTemplate>
<Columns>
<%--<asp:BoundField DataField="OrderListID" HeaderText="#" InsertVisible="False" ReadOnly="True" SortExpression="OrderListID" />--%>
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<%--<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>--%>
@@ -31,10 +32,20 @@
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-sm btn-warning"><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
<%--<asp:BoundField DataField="OrderListID" HeaderText="#" InsertVisible="False" ReadOnly="True" SortExpression="OrderListID" />--%>
<asp:BoundField DataField="ExtOrdCod" HeaderText="Documento" InsertVisible="False" ReadOnly="True" SortExpression="ExtOrdCod" />
<asp:BoundField DataField="DescrArt" HeaderText="Articolo" InsertVisible="False" ReadOnly="True" SortExpression="DescrArt" />
<asp:BoundField DataField="OrdDescr" HeaderText="Descr" SortExpression="OrdDescr" />
<asp:BoundField DataField="ExtOrdCod" HeaderText="Doc" InsertVisible="False" ReadOnly="True" SortExpression="ExtOrdCod" />
<%--<asp:BoundField DataField="DescrArt" HeaderText="Articolo" InsertVisible="False" ReadOnly="True" SortExpression="DescrArt" />--%>
<asp:TemplateField HeaderText="Descr" SortExpression="OrdDescr">
<EditItemTemplate>
<b>
<asp:Label ID="lblDescrArt" runat="server" Text='<%# Eval("DescrArt") %>' /></b><br />
<asp:TextBox ID="txtOrdDescr" runat="server" Text='<%# Bind("OrdDescr") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<b>
<asp:Label ID="lblDescrArt" runat="server" Text='<%# Eval("DescrArt") %>' /></b><br />
<asp:Label ID="lblOrdDescr" runat="server" Text='<%# Eval("OrdDescr") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Qty" HeaderText="Qty" SortExpression="Qty" />
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
+26
View File
@@ -0,0 +1,26 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_PLScanner.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_PLScanner" %>
<%@ Register Src="~/WebUserControls/cmp_barcode.ascx" TagPrefix="uc1" TagName="cmp_barcode" %>
<%@ Register Src="~/WebUserControls/cmp_SelPackList.ascx" TagPrefix="uc1" TagName="cmp_SelPackList" %>
<%@ Register Src="~/WebUserControls/cmp_SelPedana.ascx" TagPrefix="uc1" TagName="cmp_SelPedana" %>
<%@ Register Src="~/WebUserControls/cmp_SelUdc.ascx" TagPrefix="uc1" TagName="cmp_SelUdc" %>
<div class="row">
<div class="col-12 small">
<uc1:cmp_SelPackList runat="server" ID="cmp_SelPackList" />
</div>
<div class="col-12">
<asp:Label runat="server" ID="lblPL" />
</div>
<div class="col-12">
<uc1:cmp_barcode runat="server" ID="cmp_barcode" />
<asp:HiddenField runat="server" ID="hfLastBCode" />
<asp:HiddenField runat="server" ID="hfLastValidBCode" />
</div>
<div class="col-12">
<uc1:cmp_SelUdc runat="server" ID="cmp_SelUdc" />
</div>
<div class="col-12">
<uc1:cmp_SelPedana runat="server" ID="cmp_SelPedana" />
</div>
</div>
@@ -0,0 +1,377 @@
using MagData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_PLScanner : BaseUserControl
{
#region Protected Properties
/// <summary>
/// Comando ULTIMO barcode letto
/// </summary>
protected string lastCmd
{
get
{
return hfLastBCode.Value;
}
set
{
hfLastBCode.Value = value;
lastValidCmd = value;
}
}
/// <summary>
/// ULTIMO Comando barcode VALIDO (!="") letto
/// </summary>
protected string lastValidCmd
{
get
{
return hfLastValidBCode.Value;
}
set
{
// solo se è non nullo/vuoto
if (!string.IsNullOrEmpty(value))
{
hfLastValidBCode.Value = value;
}
}
}
#endregion Protected Properties
#region Private Methods
private void Cmp_barcode_eh_doRefresh(object sender, EventArgs e)
{
bool doRaiseEv = false;
// processo evento..
lastCmd = cmp_barcode.inputAcquired.ToUpper();
doRaiseEv = processLastCmd(doRaiseEv);
// reset comando
cmp_barcode.inputAcquired = "";
// aggiorno...
doUpdate();
}
private void Cmp_barcode_eh_doReset(object sender, EventArgs e)
{
}
private void doUpdate()
{
#if false
// reset grafico
icnCart.Attributes.Remove("class");
icnCart.Attributes.Add("class", "btn btn-sm btn-block btn-outline-secondary");
icnBin.Attributes.Remove("class");
icnBin.Attributes.Add("class", "btn btn-sm btn-block btn-outline-secondary");
icnSecOp.Attributes.Remove("class");
icnSecOp.Attributes.Add("class", "btn btn-sm btn-block btn-outline-secondary");
// in base al secondo mostro uno o altro...
if (showCart)
{
icnCart.Attributes.Remove("class");
icnCart.Attributes.Add("class", "btn btn-sm btn-block btn-success");
lblMessage.Text = "Item recognized";
// controllo SE HO cart
if (currCartTab.Count == 1)
{
var cartRow = currCartTab[0];
// imposto OUT
lblDestination.Text = $"SEND TO CART <b>C{cartRow.CartIndex}</b> ({cartRow.CartDtmx})";
}
else
{
lblDestination.Text = $"ERROR SEARCHING CART: {currCartTab.Count} found!";
}
lblDestination.CssClass = "text-success";
}
else if (showBin)
{
icnBin.Attributes.Remove("class");
icnBin.Attributes.Add("class", "btn btn-sm btn-block btn-primary");
lblMessage.Text = "Item recognized";
if (currBinTab.Count == 1)
{
var binRow = currBinTab[0];
lblDestination.Text = $"SEND TO BIN <b>B{binRow.BinIndex}</b> ({binRow.BinDtmx})";
}
else
{
lblDestination.Text = $"ERROR SEARCHING BIN: {currBinTab.Count} found!";
}
lblDestination.CssClass = "text-primary";
}
if (showSecOp)
{
icnSecOp.Attributes.Remove("class");
icnSecOp.Attributes.Add("class", "btn btn-sm btn-block btn-info");
lblMessage.Text = "Item recognized";
lblLastBCode.Text = $"DO SEC OP: {secOp}";
lblLastBCode.CssClass = "text-info";
}
// fix btn reset!
lbtResetSel.Visible = (itemIdSelected != 0);
#endif
}
private bool processLastCmd(bool doRaiseEv)
{
if (lastCmd == "") doRaiseEv = true;
// processiamo barcode letto
decodedData decoData = MagDataLayer.man.decodeBcode(lastValidCmd);
switch (decoData.codeType)
{
case codeType.Command:
case codeType.PackList:
case codeType.Pedana:
case codeType.Udc:
cmp_barcode.showOutput("badge badge-success", $"{decoData.description}");
processSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
doRaiseEv = true;
break;
default:
cmp_barcode.showOutput("text-danger", $"Codice sconosciuto: {decoData.rawData} --> ignoro");
resetSelection(false);
doRaiseEv = true;
break;
}
return doRaiseEv;
}
/// <summary>
/// Processo il codice letto
/// </summary>
/// <param name="tipoCod"></param>
/// <param name="rawData"></param>
/// <param name="codeInt"></param>
private void processSuggestion(codeType tipoCod, string rawData, int codeInt)
{
//DS_App.ItemListDataTable tabItem = null;
// processo suggerimenti x ITEM / cart / bin dato suo RawData (Dtmx) e Cod univoco (intero)
switch (tipoCod)
{
case codeType.Command:
// verifico tipo comando
switch (rawData)
{
case "CMDRESET":
cmp_SelPackList.PackListID = 0;
cmp_SelPedana.Pedana = "ND";
cmp_SelUdc.UDC = "NA";
resetSelection(true);
break;
default:
break;
}
break;
case codeType.PackList:
// FARE!!! verificare packlist valida...
if (true)
{
// seleziono PackList
cmp_SelPackList.PackListID = codeInt;
}
tryLinkAlUdc();
#if false
// IN PRIMIS cerco lotto valido
DS_Mag.ElencoLottiDataTable tabLotti;
tabLotti = MagDataLayer.man.taEL.getByKey(rawData, "*", codStatoIN);
if (tabLotti.Count == 1)
{
// se trovato cerco in elenco --> aggiungo in lista se non c'è
var currLotti = lottiSel;
if (!currLotti.Contains(rawData))
{
currLotti.Add(rawData);
lottiSel = currLotti;
}
}
#endif
break;
case codeType.Pedana:
// verifico e seleziono pedana
if (true)
{
cmp_SelPedana.Pedana = rawData;
}
//tabItem = DataLayer.man.taIL.getBySearch(codeInt, rawData, 0, 999);
//if (tabItem.Count == 1)
//{
// showItemDetail(true, tabItem[0], false);
//}
//else if (tabItem.Count == 0)
//{
// showItemDetail(false, null, true);
//}
break;
case codeType.Udc:
// verifico e seleziono udc
if (true)
{
cmp_SelUdc.UDC = rawData;
}
tryLinkAlUdc();
break;
//case codeType.Item:
// tabItem = DataLayer.man.taIL.getBySearch(codeInt, rawData, 0, 999);
// if (tabItem.Count == 1)
// {
// showItemDetail(true, tabItem[0], false);
// }
// else if (tabItem.Count == 0)
// {
// showItemDetail(false, null, true);
// }
// break;
//case codeType.ItemGeneric:
// // PRIMA CERCSE ne ho in stato 1..3
// tabItem = DataLayer.man.taIL.getBySearch(0, rawData, 1, 3);
// if (tabItem.Count == 0)
// {
// // se NON ne trovo cerci FINO a stato 5...
// tabItem = DataLayer.man.taIL.getBySearch(0, rawData, 1, 5);
// }
// if (tabItem.Count == 1)
// {
// showItemDetail(true, tabItem[0], false);
// }
// else if (tabItem.Count == 0)
// {
// showItemDetail(false, null, true);
// }
// break;
//case codeType.Cart:
// // verifico NON SIA richiesto PAINT
// if (showBin)
// {
// displError("PAINT: BIN REQUESTED: please retry", true);
// }
// else
// {
// if (currCartTab.Count == 1)
// {
// // controllo se sia quello corretto
// if (rawData != currCartTab[0].CartDtmx)
// {
// displError("INCORRECT CART: please retry", true);
// }
// else
// {
// // dichiaro che è depositato
// DataLayer.man.taIL.updateStatus(itemIdSelected, 3, PlaceId);
// lblDestination.Text = $"Item {itemIdSelected} PUT IN CART {rawData}";
// resetSelection(false);
// }
// }
// }
// break;
//case codeType.Bin:
// // verifico NON SIA richiesto PAINT
// if (showCart)
// {
// displError("NOT PAINTED: CART REQUESTED: please retry", true);
// }
// else
// {
// if (currBinTab.Count == 1)
// {
// // controllo se sia quello corretto
// if (rawData != currBinTab[0].BinDtmx)
// {
// displError("INCORRECT BIN: please retry", true);
// }
// else
// {
// // dichiaro che è depositato
// DataLayer.man.taIL.updateStatus(itemIdSelected, 4, PlaceId);
// lblDestination.Text = $"Item {itemIdSelected} PUT IN BIN {rawData}";
// resetSelection(false);
// }
// }
// }
// break;
default:
break;
}
}
private void tryLinkAlUdc()
{
// verifica UDC ed al, se entrambi validi e LIBERI
// se c'è già un associazione UDC con altro AL --> chiede rilettura
// se non c'era effettua associazione
}
#endregion Private Methods
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
// eventi barcode
cmp_barcode.eh_doRefresh += Cmp_barcode_eh_doRefresh;
// eventi reset lotti IN
cmp_barcode.eh_doReset += Cmp_barcode_eh_doReset; ;
}
/// <summary>
/// Reset selezione item + blocchi suggerimento + sel REDIS x pagina unload
/// </summary>
/// <param name="resetStatus"></param>
protected void resetSelection(bool resetStatus)
{
#if false
if (resetStatus)
{
try
{
// SE item esiste...
var tabItem = DataLayer.man.taIL.getBySearch(itemIdSelected, itemIdSelected.ToString(), 0, 999);
if (tabItem.Count == 1)
{
// riposto item a status 1...
DataLayer.man.taIL.updateStatus(itemIdSelected, 1, PlaceId);
}
}
catch
{ }
}
// elimino item sel...
itemIdSelected = 0;
resetShowData();
ComLib.resetItemPickup(SheetID, DeviceId);
#endif
}
#endregion Protected Methods
}
}
+80
View File
@@ -0,0 +1,80 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
{
public partial class cmp_PLScanner
{
/// <summary>
/// Controllo cmp_SelPackList.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_SelPackList cmp_SelPackList;
/// <summary>
/// Controllo lblPL.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPL;
/// <summary>
/// Controllo cmp_barcode.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_barcode cmp_barcode;
/// <summary>
/// Controllo hfLastBCode.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfLastBCode;
/// <summary>
/// Controllo hfLastValidBCode.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfLastValidBCode;
/// <summary>
/// Controllo cmp_SelUdc.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_SelUdc cmp_SelUdc;
/// <summary>
/// Controllo cmp_SelPedana.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_SelPedana cmp_SelPedana;
}
}
@@ -0,0 +1,19 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_SelPackList.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_SelPackList" %>
<%@ Register Src="~/WebUserControls/cmp_OrderList.ascx" TagPrefix="uc1" TagName="cmp_OrderList" %>
<div id="accordion">
<div class="card">
<div class="card-header p-1">
<asp:LinkButton runat="server" ID="lbtShow" class="btn btn-primary btn-block" data-toggle="collapse" data-target="#divOrderList">
<b>PACKING LIST
<asp:Label runat="server" ID="lblPackListID" />
</b>
</asp:LinkButton>
<div id="divOrderList" class="collapse small">
<uc1:cmp_OrderList runat="server" ID="cmp_OrderList" EnableEdit="false" />
</div>
</div>
</div>
</div>
<asp:HiddenField runat="server" ID="hfPackListID" />
@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelPackList : BaseUserControl
{
#region Public Properties
public int PackListID
{
get
{
int answ = 0;
int.TryParse(hfPackListID.Value, out answ);
return answ;
}
set
{
hfPackListID.Value = $"{value}";
lblPackListID.Text = $"{value}";
cmp_OrderList.PackListID = value;
}
}
#endregion Public Properties
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
PackListID = 0;
}
}
#endregion Protected Methods
}
}
+53
View File
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelPackList
{
/// <summary>
/// Controllo lbtShow.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtShow;
/// <summary>
/// Controllo lblPackListID.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPackListID;
/// <summary>
/// Controllo cmp_OrderList.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_OrderList cmp_OrderList;
/// <summary>
/// Controllo hfPackListID.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfPackListID;
}
}
+19
View File
@@ -0,0 +1,19 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_SelPedana.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_SelPedana" %>
<%@ Register Src="~/WebUserControls/cmp_UDCList.ascx" TagPrefix="uc1" TagName="cmp_UDCList" %>
<div id="accordion">
<div class="card">
<div class="card-header p-1">
<asp:LinkButton runat="server" ID="lbtShow" class="btn btn-secondary text-light btn-block" data-toggle="collapse" data-target="#divUdcPedana">
<b>Pedana
<asp:Label runat="server" ID="lblPedana" />
</b>
</asp:LinkButton>
<div id="divUdcPedana" class="collapse small">
<uc1:cmp_UDCList runat="server" id="cmp_UDCList" />
</div>
</div>
</div>
</div>
<asp:HiddenField runat="server" ID="hfPedana" />
@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelPedana : BaseUserControl
{
#region Public Properties
public string Pedana
{
get
{
return hfPedana.Value; ;
}
set
{
hfPedana.Value = value;
lblPedana.Text = value;
cmp_UDCList.AlSel = value;
}
}
#endregion Public Properties
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Pedana = "";
}
}
#endregion Protected Methods
}
}
+53
View File
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelPedana
{
/// <summary>
/// Controllo lbtShow.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtShow;
/// <summary>
/// Controllo lblPedana.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPedana;
/// <summary>
/// Controllo cmp_UDCList.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_UDCList cmp_UDCList;
/// <summary>
/// Controllo hfPedana.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfPedana;
}
}
+18
View File
@@ -0,0 +1,18 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_SelUdc.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_SelUdc" %>
<div id="accordion">
<div class="card">
<div class="card-header p-1">
<asp:LinkButton runat="server" ID="lbtShow" class="btn btn-info btn-block" data-toggle="collapse" data-target="#divSingleUdc">
<b>UDC
<asp:Label runat="server" ID="lblUDC" />
</b>
</asp:LinkButton>
<div id="divSingleUdc" class="collapse">
dettaglio UDC?
</div>
</div>
</div>
</div>
<asp:HiddenField runat="server" ID="hfUDC" />
+44
View File
@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelUdc : BaseUserControl
{
#region Public Properties
public string UDC
{
get
{
return hfUDC.Value; ;
}
set
{
hfUDC.Value = value;
lblUDC.Text = value;
#if false
cmp_OrderList.PackListID = value;
#endif
}
}
#endregion Public Properties
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
UDC = "";
}
}
#endregion Protected Methods
}
}
+44
View File
@@ -0,0 +1,44 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
{
public partial class cmp_SelUdc
{
/// <summary>
/// Controllo lbtShow.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtShow;
/// <summary>
/// Controllo lblUDC.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblUDC;
/// <summary>
/// Controllo hfUDC.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfUDC;
}
}
+47
View File
@@ -0,0 +1,47 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_UDCList.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_UDCList" %>
<asp:GridView runat="server" ID="grView" DataSourceID="ods" CssClass="table table-striped table-sm table-responsive-md" AutoGenerateColumns="False" DataKeyNames="UDC">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<Columns>
<asp:BoundField DataField="UDC" HeaderText="UDC" ReadOnly="True" SortExpression="UDC" />
<asp:BoundField DataField="CodArt" HeaderText="Cod" SortExpression="CodArt" />
<asp:BoundField DataField="DescrArt" HeaderText="Articolo" SortExpression="DescrArt" />
<asp:BoundField DataField="CodArtExt" HeaderText="CodExt" SortExpression="CodArtExt" />
<asp:BoundField DataField="Lotto" HeaderText="Lotto" SortExpression="Lotto" />
<%--<asp:BoundField DataField="CodCliente" HeaderText="CodCliente" SortExpression="CodCliente" />--%>
<%--<asp:BoundField DataField="CodPost" HeaderText="CodPost" SortExpression="CodPost" />--%>
<%--<asp:BoundField DataField="DtRec" HeaderText="DtRec" SortExpression="DtRec" />--%>
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" DataFormatString="{0:N0}" />
<%--<asp:BoundField DataField="NumCont" HeaderText="NumCont" SortExpression="NumCont" />--%>
<%--<asp:BoundField DataField="CodSoggetto" HeaderText="CodSoggetto" SortExpression="CodSoggetto" />--%>
<%--<asp:BoundField DataField="PesoTot" HeaderText="PesoTot" SortExpression="PesoTot" />
<asp:BoundField DataField="PesoCad" HeaderText="PesoCad" SortExpression="PesoCad" />
<asp:BoundField DataField="Tara" HeaderText="Tara" SortExpression="Tara" />--%>
<%--<asp:BoundField DataField="CodImballo" HeaderText="CodImballo" SortExpression="CodImballo" />
<asp:BoundField DataField="IdxPosizione" HeaderText="IdxPosizione" SortExpression="IdxPosizione" />--%>
<%--<asp:BoundField DataField="DtMod" HeaderText="DtMod" SortExpression="DtMod" />
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
<asp:BoundField DataField="TipoLotto" HeaderText="TipoLotto" SortExpression="TipoLotto" />
<asp:BoundField DataField="CodStato" HeaderText="CodStato" SortExpression="CodStato" />
<asp:BoundField DataField="Origine" HeaderText="Origine" SortExpression="Origine" />--%>
<%--<asp:BoundField DataField="DtCrea" HeaderText="DtCrea" SortExpression="DtCrea" />
<asp:BoundField DataField="NoteLotto" HeaderText="NoteLotto" SortExpression="NoteLotto" />
<asp:BoundField DataField="RagSociale" HeaderText="RagSociale" SortExpression="RagSociale" />
<asp:BoundField DataField="Indirizzo" HeaderText="Indirizzo" SortExpression="Indirizzo" />
<asp:BoundField DataField="Localita" HeaderText="Localita" SortExpression="Localita" />
<asp:BoundField DataField="Cap" HeaderText="Cap" SortExpression="Cap" />
<asp:BoundField DataField="Provincia" HeaderText="Provincia" SortExpression="Provincia" />
<asp:BoundField DataField="Nazione" HeaderText="Nazione" SortExpression="Nazione" />--%>
</Columns>
<EmptyDataTemplate>
Nessun record trovato
</EmptyDataTemplate>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByAL" TypeName="MagData.DS_MagTableAdapters.ElencoUdcTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfAL" DefaultValue="#" Name="AL" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfAL" />
@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_UDCList : BaseUserControl
{
#region Public Properties
public string AlSel
{
get
{
return hfAL.Value;
}
set
{
hfAL.Value = value;
doUpdate();
}
}
#endregion Public Properties
#region Private Methods
private void doUpdate()
{
grView.SelectedIndex = -1;
grView.DataBind();
}
#endregion Private Methods
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
}
#endregion Protected Methods
}
}
+44
View File
@@ -0,0 +1,44 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
{
public partial class cmp_UDCList
{
/// <summary>
/// Controllo grView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo hfAL.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfAL;
}
}
+3 -4
View File
@@ -1,7 +1,6 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_barcode.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_barcode" %>
<h4>BARCODE</h4>
<div class="form-group bigText">
<asp:TextBox runat="server" ID="txtBarcode" class="form-control" autofocus="true" AutoPostBack="True" OnTextChanged="txtBarcode_TextChanged"></asp:TextBox>
<asp:Label ID="lblOutput" runat="server" for="txtBarcode" Width="100%" />
</div>
<asp:TextBox runat="server" ID="txtBarcode" class="form-control" autofocus="true" AutoPostBack="True" OnTextChanged="txtBarcode_TextChanged"></asp:TextBox>
<asp:Label ID="lblOutput" runat="server" for="txtBarcode" Width="100%" />
</div>
@@ -76,7 +76,7 @@ namespace MP_MAG.WebUserControls
catch
{ }
// descrizione
txtDescr.Text = $"PEDANA {newNum}";
txtDescr.Text = $"{newNum}";
}
#endregion Private Methods
+2 -46
View File
@@ -1,4 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_elencoUDC.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_elencoUDC" %>
<%@ Register Src="~/WebUserControls/cmp_UDCList.ascx" TagPrefix="uc1" TagName="cmp_UDCList" %>
<div class="card border-info">
<div class="card-header bg-info text-light">
@@ -7,52 +8,7 @@
<div class="card-body py-0">
<div class="row">
<div class="col-12 px-0">
<asp:GridView runat="server" ID="grView" DataSourceID="ods" CssClass="table table-striped table-sm" AutoGenerateColumns="False" DataKeyNames="UDC">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<Columns>
<asp:BoundField DataField="UDC" HeaderText="UDC" ReadOnly="True" SortExpression="UDC" />
<asp:BoundField DataField="CodArt" HeaderText="Cod" SortExpression="CodArt" />
<asp:BoundField DataField="DescrArt" HeaderText="Articolo" SortExpression="DescrArt" />
<asp:BoundField DataField="CodArtExt" HeaderText="CodExt" SortExpression="CodArtExt" />
<asp:BoundField DataField="Lotto" HeaderText="Lotto" SortExpression="Lotto" />
<%--<asp:BoundField DataField="CodCliente" HeaderText="CodCliente" SortExpression="CodCliente" />--%>
<%--<asp:BoundField DataField="CodPost" HeaderText="CodPost" SortExpression="CodPost" />--%>
<%--<asp:BoundField DataField="DtRec" HeaderText="DtRec" SortExpression="DtRec" />--%>
<asp:BoundField DataField="Qta" HeaderText="Qta" SortExpression="Qta" DataFormatString="{0:N0}" />
<%--<asp:BoundField DataField="NumCont" HeaderText="NumCont" SortExpression="NumCont" />--%>
<%--<asp:BoundField DataField="CodSoggetto" HeaderText="CodSoggetto" SortExpression="CodSoggetto" />--%>
<%--<asp:BoundField DataField="PesoTot" HeaderText="PesoTot" SortExpression="PesoTot" />
<asp:BoundField DataField="PesoCad" HeaderText="PesoCad" SortExpression="PesoCad" />
<asp:BoundField DataField="Tara" HeaderText="Tara" SortExpression="Tara" />--%>
<%--<asp:BoundField DataField="CodImballo" HeaderText="CodImballo" SortExpression="CodImballo" />
<asp:BoundField DataField="IdxPosizione" HeaderText="IdxPosizione" SortExpression="IdxPosizione" />--%>
<%--<asp:BoundField DataField="DtMod" HeaderText="DtMod" SortExpression="DtMod" />
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
<asp:BoundField DataField="TipoLotto" HeaderText="TipoLotto" SortExpression="TipoLotto" />
<asp:BoundField DataField="CodStato" HeaderText="CodStato" SortExpression="CodStato" />
<asp:BoundField DataField="Origine" HeaderText="Origine" SortExpression="Origine" />--%>
<%--<asp:BoundField DataField="DtCrea" HeaderText="DtCrea" SortExpression="DtCrea" />
<asp:BoundField DataField="NoteLotto" HeaderText="NoteLotto" SortExpression="NoteLotto" />
<asp:BoundField DataField="RagSociale" HeaderText="RagSociale" SortExpression="RagSociale" />
<asp:BoundField DataField="Indirizzo" HeaderText="Indirizzo" SortExpression="Indirizzo" />
<asp:BoundField DataField="Localita" HeaderText="Localita" SortExpression="Localita" />
<asp:BoundField DataField="Cap" HeaderText="Cap" SortExpression="Cap" />
<asp:BoundField DataField="Provincia" HeaderText="Provincia" SortExpression="Provincia" />
<asp:BoundField DataField="Nazione" HeaderText="Nazione" SortExpression="Nazione" />--%>
</Columns>
<EmptyDataTemplate>
Nessun record trovato
</EmptyDataTemplate>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByAL" TypeName="MagData.DS_MagTableAdapters.ElencoUdcTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfAL" DefaultValue="#" Name="AL" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfAL" />
<uc1:cmp_UDCList runat="server" id="cmp_UDCList" />
</div>
</div>
</div>
+2 -13
View File
@@ -15,27 +15,16 @@ namespace MP_MAG.WebUserControls
{
get
{
return hfAL.Value;
return cmp_UDCList.AlSel;
}
set
{
hfAL.Value = value;
doUpdate();
cmp_UDCList.AlSel = value;
}
}
#endregion Public Properties
#region Private Methods
private void doUpdate()
{
grView.SelectedIndex = -1;
grView.DataBind();
}
#endregion Private Methods
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
+2 -20
View File
@@ -15,30 +15,12 @@ namespace MP_MAG.WebUserControls
{
/// <summary>
/// Controllo grView.
/// Controllo cmp_UDCList.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo hfAL.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfAL;
protected global::MP_MAG.WebUserControls.cmp_UDCList cmp_UDCList;
}
}
+22 -10
View File
@@ -1,14 +1,26 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_footer.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_footer" %>
<div class="fixed-bottom bg-dark text-light small m-0 row p-0">
<div class="col-8 text-left">
<span class="d-none d-lg-inline">
<asp:Label ID="lblDateTime" runat="server" Text="..." />
&nbsp;|&nbsp;</span>
<asp:Label ID="lblCodOperatore" runat="server" Text="-" />
</div>
<div class="col-4 text-right fontCond">
<asp:Label runat="server" ID="lblApp" Text="." />
</div>
<div class="col-5 pr-0 text-left">
<span class="d-none d-md-inline text-light">
<asp:Label ID="lblDateTime" runat="server" Text="..." />
&nbsp;|&nbsp;</span>
<asp:Label ID="lblCodOperatore" runat="server" Text="-" />
</div>
<div class="col-2 px-0 text-right fontCond">
<asp:Label runat="server" ID="lblApp" />
</div>
<div class="col-5 pl-0 text-right fontCond">
<span class="d-none d-md-inline">
<img class="img-fluid my-1" src="../images/LogoHighResWhite.png" width="96" />
</span>
<span class="d-inline d-md-none">
<img class="img-fluid my-1" src="../images/LogoHighResWhite.png" width="48" />
</span>
<sub>
<asp:Label runat="server" ID="lblVers" CssClass="small" />
</sub>
</div>
</div>
<asp:Timer ID="Timer1" runat="server" Interval="10000" OnTick="Timer1_Tick"></asp:Timer>
<asp:Timer ID="MainTimer" runat="server" Interval="30000" OnTick="MainTimer_Tick"></asp:Timer>
+48 -33
View File
@@ -1,44 +1,59 @@
using SteamWare;
//using SteamWare.IO;
using System;
using System.Configuration;
namespace MP_MAG.WebUserControls
{
public partial class cmp_footer : System.Web.UI.UserControl
{
public event EventHandler eh_doRefresh;
protected void Page_Load(object sender, EventArgs e)
public partial class cmp_footer : System.Web.UI.UserControl
{
// sistemo le stringhe...
lblApp.Text = string.Format("<b>{0}</b> v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
setTimer();
setClock();
}
/// <summary>
/// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada
/// </summary>
private void setTimer()
{
#if false
Timer1.Interval = memLayer.ML.confReadInt("intUpdatePagina_ms");
#endif
}
protected void Timer1_Tick(object sender, EventArgs e)
{
setClock();
// se qualcuno ascolta sollevo evento nuovo valore...
if (eh_doRefresh != null)
{
eh_doRefresh(this, new EventArgs());
}
}
#region Public Events
private void setClock()
{
lblDateTime.Text = DateTime.Now.ToString("ddd dd.MM.yyyy, HH:mm:ss");
//lblCodOperatore.Text = $"{user_std.UtSn.CognomeNome} ({Page.User.Identity.Name})";
lblCodOperatore.Text = $"{Page.User.Identity.Name}";
public event EventHandler eh_doRefresh;
#endregion Public Events
#region Private Methods
private void setClock()
{
lblDateTime.Text = DateTime.Now.ToString("ddd dd.MM.yyyy, HH:mm:ss");
//lblCodOperatore.Text = $"{user_std.UtSn.CognomeNome} ({Page.User.Identity.Name})";
lblCodOperatore.Text = $"{Page.User.Identity.Name}";
}
/// <summary>
/// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada
/// </summary>
private void setTimer()
{
MainTimer.Interval = memLayer.ML.confReadInt("intUpdatePagina_ms");
}
#endregion Private Methods
#region Protected Methods
protected void MainTimer_Tick(object sender, EventArgs e)
{
setClock();
// se qualcuno ascolta sollevo evento nuovo valore...
if (eh_doRefresh != null)
{
eh_doRefresh(this, new EventArgs());
}
}
protected void Page_Load(object sender, EventArgs e)
{
// sistemo le stringhe...
lblApp.Text = $"<b>{ConfigurationManager.AppSettings.Get("appName")}</b>";
lblVers.Text = $"v.{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version}";
setTimer();
setClock();
}
#endregion Protected Methods
}
}
}
+44 -35
View File
@@ -11,43 +11,52 @@ namespace MP_MAG.WebUserControls
{
public partial class cmp_footer
{
public partial class cmp_footer
{
/// <summary>
/// Controllo lblDateTime.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblDateTime;
/// <summary>
/// Controllo lblDateTime.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblDateTime;
/// <summary>
/// Controllo lblCodOperatore.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblCodOperatore;
/// <summary>
/// Controllo lblCodOperatore.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblCodOperatore;
/// <summary>
/// Controllo lblApp.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblApp;
/// <summary>
/// Controllo lblApp.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblApp;
/// <summary>
/// Controllo Timer1.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.Timer Timer1;
}
/// <summary>
/// Controllo lblVers.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblVers;
/// <summary>
/// Controllo MainTimer.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.Timer MainTimer;
}
}
+22 -23
View File
@@ -7,7 +7,6 @@
<%@ Register Src="~/WebUserControls/cmp_creaLottoOUT.ascx" TagPrefix="uc1" TagName="cmp_creaLottoOUT" %>
<%@ Register Src="~/WebUserControls/cmp_ArtRich.ascx" TagPrefix="uc1" TagName="cmp_ArtRich" %>
<asp:HiddenField runat="server" ID="hfFlussoUdc" />
<asp:HiddenField runat="server" ID="hfPrintQueue" />
<asp:HiddenField runat="server" ID="hfTipoLotto" />
@@ -17,25 +16,25 @@
<asp:HiddenField runat="server" ID="hfLastBCode" />
<asp:HiddenField runat="server" ID="hfLastValidBCode" />
<div class="row m-0">
<div class="col-12 text-center border border-primary table-primary mb-2 py-2">
<h4>
<asp:Label runat="server" ID="lblTipoStampa" /></h4>
</div>
<div class="col-4 text-left">
<uc1:cmp_LottiIn runat="server" ID="cmp_LottiIn" CodStato="SL" />
<hr />
<uc1:cmp_ArtRich runat="server" ID="cmp_ArtRich" />
</div>
<div class="col-4 text-center">
<uc1:cmp_barcode runat="server" ID="cmp_barcode" />
<hr />
<uc1:cmp_creaLottoOUT runat="server" ID="cmp_creaLottoOUT" />
<uc1:cmp_printLottoOUT runat="server" ID="cmp_printLottoOUT" />
</div>
<div class="col-4 text-right">
<uc1:cmp_LottiOut runat="server" ID="cmp_LottiOut" CodStato="FIN" />
<hr />
<uc1:cmp_ArtOut runat="server" ID="cmp_ArtOut" />
</div>
</div>
<div class="col-12 text-center border border-primary table-primary mb-2 py-2">
<h4>
<asp:Label runat="server" ID="lblTipoStampa" /></h4>
</div>
<div class="col-4 text-left">
<uc1:cmp_LottiIn runat="server" ID="cmp_LottiIn" CodStato="SL" />
<hr />
<uc1:cmp_ArtRich runat="server" ID="cmp_ArtRich" />
</div>
<div class="col-4 text-center">
<b>BARCODE</b><br />
<uc1:cmp_barcode runat="server" ID="cmp_barcode" />
<hr />
<uc1:cmp_creaLottoOUT runat="server" ID="cmp_creaLottoOUT" />
<uc1:cmp_printLottoOUT runat="server" ID="cmp_printLottoOUT" />
</div>
<div class="col-4 text-right">
<uc1:cmp_LottiOut runat="server" ID="cmp_LottiOut" CodStato="FIN" />
<hr />
<uc1:cmp_ArtOut runat="server" ID="cmp_ArtOut" />
</div>
</div>
File diff suppressed because it is too large Load Diff
+22 -22
View File
@@ -7,7 +7,6 @@
<%@ Register Src="~/WebUserControls/cmp_creaLottoOUT.ascx" TagPrefix="uc1" TagName="cmp_creaLottoOUT" %>
<%@ Register Src="~/WebUserControls/cmp_ArtRich.ascx" TagPrefix="uc1" TagName="cmp_ArtRich" %>
<asp:HiddenField runat="server" ID="hfFlussoUdc" />
<asp:HiddenField runat="server" ID="hfPrintQueue" />
<asp:HiddenField runat="server" ID="hfTipoLotto" />
@@ -17,24 +16,25 @@
<asp:HiddenField runat="server" ID="hfLastBCode" />
<asp:HiddenField runat="server" ID="hfLastValidBCode" />
<div class="row m-0">
<div class="col-12 text-center border border-primary table-primary mb-2 py-2">
<h4>
<asp:Label runat="server" ID="lblTipoStampa" /></h4>
</div>
<div class="col-4 text-left">
<uc1:cmp_LottiIn runat="server" ID="cmp_LottiIn" CodStato="MP" />
<hr />
<uc1:cmp_ArtRich runat="server" ID="cmp_ArtRich" />
</div>
<div class="col-4 text-center">
<uc1:cmp_barcode runat="server" ID="cmp_barcode" />
<hr />
<uc1:cmp_creaLottoOUT runat="server" ID="cmp_creaLottoOUT" />
<uc1:cmp_printLottoOUT runat="server" ID="cmp_printLottoOUT" />
</div>
<div class="col-4 text-right">
<uc1:cmp_LottiOut runat="server" ID="cmp_LottiOut" CodStato="SL" />
<hr />
<uc1:cmp_ArtOut runat="server" ID="cmp_ArtOut" />
</div>
</div>
<div class="col-12 text-center border border-primary table-primary mb-2 py-2">
<h4>
<asp:Label runat="server" ID="lblTipoStampa" /></h4>
</div>
<div class="col-4 text-left">
<uc1:cmp_LottiIn runat="server" ID="cmp_LottiIn" CodStato="MP" />
<hr />
<uc1:cmp_ArtRich runat="server" ID="cmp_ArtRich" />
</div>
<div class="col-4 text-center">
<b>BARCODE</b><br />
<uc1:cmp_barcode runat="server" ID="cmp_barcode" />
<hr />
<uc1:cmp_creaLottoOUT runat="server" ID="cmp_creaLottoOUT" />
<uc1:cmp_printLottoOUT runat="server" ID="cmp_printLottoOUT" />
</div>
<div class="col-4 text-right">
<uc1:cmp_LottiOut runat="server" ID="cmp_LottiOut" CodStato="SL" />
<hr />
<uc1:cmp_ArtOut runat="server" ID="cmp_ArtOut" />
</div>
</div>
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

+7 -7
View File
@@ -512,7 +512,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
<xs:element name="DS_Mag" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Mag" msprop:Generator_UserDSName="DS_Mag">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ElencoLotti" msprop:Generator_TableClassName="ElencoLottiDataTable" msprop:Generator_TableVarName="tableElencoLotti" msprop:Generator_TablePropName="ElencoLotti" msprop:Generator_RowDeletingName="ElencoLottiRowDeleting" msprop:Generator_RowChangingName="ElencoLottiRowChanging" msprop:Generator_RowEvHandlerName="ElencoLottiRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoLottiRowDeleted" msprop:Generator_UserTableName="ElencoLotti" msprop:Generator_RowChangedName="ElencoLottiRowChanged" msprop:Generator_RowEvArgName="ElencoLottiRowChangeEvent" msprop:Generator_RowClassName="ElencoLottiRow">
<xs:element name="ElencoLotti" msprop:Generator_TableClassName="ElencoLottiDataTable" msprop:Generator_TableVarName="tableElencoLotti" msprop:Generator_RowChangedName="ElencoLottiRowChanged" msprop:Generator_TablePropName="ElencoLotti" msprop:Generator_RowDeletingName="ElencoLottiRowDeleting" msprop:Generator_RowChangingName="ElencoLottiRowChanging" msprop:Generator_RowEvHandlerName="ElencoLottiRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoLottiRowDeleted" msprop:Generator_RowClassName="ElencoLottiRow" msprop:Generator_UserTableName="ElencoLotti" msprop:Generator_RowEvArgName="ElencoLottiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Lotto" msprop:Generator_ColumnVarNameInTable="columnLotto" msprop:Generator_ColumnPropNameInRow="Lotto" msprop:Generator_ColumnPropNameInTable="LottoColumn" msprop:Generator_UserColumnName="Lotto">
@@ -587,7 +587,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoUdc" msprop:Generator_TableClassName="ElencoUdcDataTable" msprop:Generator_TableVarName="tableElencoUdc" msprop:Generator_RowChangedName="ElencoUdcRowChanged" msprop:Generator_TablePropName="ElencoUdc" msprop:Generator_RowDeletingName="ElencoUdcRowDeleting" msprop:Generator_RowChangingName="ElencoUdcRowChanging" msprop:Generator_RowEvHandlerName="ElencoUdcRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoUdcRowDeleted" msprop:Generator_RowClassName="ElencoUdcRow" msprop:Generator_UserTableName="ElencoUdc" msprop:Generator_RowEvArgName="ElencoUdcRowChangeEvent">
<xs:element name="ElencoUdc" msprop:Generator_TableClassName="ElencoUdcDataTable" msprop:Generator_TableVarName="tableElencoUdc" msprop:Generator_TablePropName="ElencoUdc" msprop:Generator_RowDeletingName="ElencoUdcRowDeleting" msprop:Generator_RowChangingName="ElencoUdcRowChanging" msprop:Generator_RowEvHandlerName="ElencoUdcRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoUdcRowDeleted" msprop:Generator_UserTableName="ElencoUdc" msprop:Generator_RowChangedName="ElencoUdcRowChanged" msprop:Generator_RowEvArgName="ElencoUdcRowChangeEvent" msprop:Generator_RowClassName="ElencoUdcRow">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
@@ -742,7 +742,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagArt" msprop:Generator_TableClassName="AnagArtDataTable" msprop:Generator_TableVarName="tableAnagArt" msprop:Generator_TablePropName="AnagArt" msprop:Generator_RowDeletingName="AnagArtRowDeleting" msprop:Generator_RowChangingName="AnagArtRowChanging" msprop:Generator_RowEvHandlerName="AnagArtRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArtRowDeleted" msprop:Generator_UserTableName="AnagArt" msprop:Generator_RowChangedName="AnagArtRowChanged" msprop:Generator_RowEvArgName="AnagArtRowChangeEvent" msprop:Generator_RowClassName="AnagArtRow">
<xs:element name="AnagArt" msprop:Generator_TableClassName="AnagArtDataTable" msprop:Generator_TableVarName="tableAnagArt" msprop:Generator_RowChangedName="AnagArtRowChanged" msprop:Generator_TablePropName="AnagArt" msprop:Generator_RowDeletingName="AnagArtRowDeleting" msprop:Generator_RowChangingName="AnagArtRowChanging" msprop:Generator_RowEvHandlerName="AnagArtRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagArtRowDeleted" msprop:Generator_RowClassName="AnagArtRow" msprop:Generator_UserTableName="AnagArt" msprop:Generator_RowEvArgName="AnagArtRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArt" msprop:Generator_ColumnVarNameInTable="columnCodArt" msprop:Generator_ColumnPropNameInRow="CodArt" msprop:Generator_ColumnPropNameInTable="CodArtColumn" msprop:Generator_UserColumnName="CodArt">
@@ -769,7 +769,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ODL" msprop:Generator_TableClassName="ODLDataTable" msprop:Generator_TableVarName="tableODL" msprop:Generator_RowChangedName="ODLRowChanged" msprop:Generator_TablePropName="ODL" msprop:Generator_RowDeletingName="ODLRowDeleting" msprop:Generator_RowChangingName="ODLRowChanging" msprop:Generator_RowEvHandlerName="ODLRowChangeEventHandler" msprop:Generator_RowDeletedName="ODLRowDeleted" msprop:Generator_RowClassName="ODLRow" msprop:Generator_UserTableName="ODL" msprop:Generator_RowEvArgName="ODLRowChangeEvent">
<xs:element name="ODL" msprop:Generator_TableClassName="ODLDataTable" msprop:Generator_TableVarName="tableODL" msprop:Generator_TablePropName="ODL" msprop:Generator_RowDeletingName="ODLRowDeleting" msprop:Generator_RowChangingName="ODLRowChanging" msprop:Generator_RowEvHandlerName="ODLRowChangeEventHandler" msprop:Generator_RowDeletedName="ODLRowDeleted" msprop:Generator_UserTableName="ODL" msprop:Generator_RowChangedName="ODLRowChanged" msprop:Generator_RowEvArgName="ODLRowChangeEvent" msprop:Generator_RowClassName="ODLRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxODL" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxODL" msprop:Generator_ColumnPropNameInRow="IdxODL" msprop:Generator_ColumnPropNameInTable="IdxODLColumn" msprop:Generator_UserColumnName="IdxODL" type="xs:int" />
@@ -836,7 +836,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Elencopost2Queue" msprop:Generator_TableClassName="Elencopost2QueueDataTable" msprop:Generator_TableVarName="tableElencopost2Queue" msprop:Generator_RowChangedName="Elencopost2QueueRowChanged" msprop:Generator_TablePropName="Elencopost2Queue" msprop:Generator_RowDeletingName="Elencopost2QueueRowDeleting" msprop:Generator_RowChangingName="Elencopost2QueueRowChanging" msprop:Generator_RowEvHandlerName="Elencopost2QueueRowChangeEventHandler" msprop:Generator_RowDeletedName="Elencopost2QueueRowDeleted" msprop:Generator_RowClassName="Elencopost2QueueRow" msprop:Generator_UserTableName="Elencopost2Queue" msprop:Generator_RowEvArgName="Elencopost2QueueRowChangeEvent">
<xs:element name="Elencopost2Queue" msprop:Generator_TableClassName="Elencopost2QueueDataTable" msprop:Generator_TableVarName="tableElencopost2Queue" msprop:Generator_TablePropName="Elencopost2Queue" msprop:Generator_RowDeletingName="Elencopost2QueueRowDeleting" msprop:Generator_RowChangingName="Elencopost2QueueRowChanging" msprop:Generator_RowEvHandlerName="Elencopost2QueueRowChangeEventHandler" msprop:Generator_RowDeletedName="Elencopost2QueueRowDeleted" msprop:Generator_UserTableName="Elencopost2Queue" msprop:Generator_RowChangedName="Elencopost2QueueRowChanged" msprop:Generator_RowEvArgName="Elencopost2QueueRowChangeEvent" msprop:Generator_RowClassName="Elencopost2QueueRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodPost" msprop:Generator_ColumnVarNameInTable="columnCodPost" msprop:Generator_ColumnPropNameInRow="CodPost" msprop:Generator_ColumnPropNameInTable="CodPostColumn" msprop:Generator_UserColumnName="CodPost">
@@ -856,7 +856,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoAL" msprop:Generator_TableClassName="ElencoALDataTable" msprop:Generator_TableVarName="tableElencoAL" msprop:Generator_RowChangedName="ElencoALRowChanged" msprop:Generator_TablePropName="ElencoAL" msprop:Generator_RowDeletingName="ElencoALRowDeleting" msprop:Generator_RowChangingName="ElencoALRowChanging" msprop:Generator_RowEvHandlerName="ElencoALRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoALRowDeleted" msprop:Generator_RowClassName="ElencoALRow" msprop:Generator_UserTableName="ElencoAL" msprop:Generator_RowEvArgName="ElencoALRowChangeEvent">
<xs:element name="ElencoAL" msprop:Generator_TableClassName="ElencoALDataTable" msprop:Generator_TableVarName="tableElencoAL" msprop:Generator_TablePropName="ElencoAL" msprop:Generator_RowDeletingName="ElencoALRowDeleting" msprop:Generator_RowChangingName="ElencoALRowChanging" msprop:Generator_RowEvHandlerName="ElencoALRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoALRowDeleted" msprop:Generator_UserTableName="ElencoAL" msprop:Generator_RowChangedName="ElencoALRowChanged" msprop:Generator_RowEvArgName="ElencoALRowChangeEvent" msprop:Generator_RowClassName="ElencoALRow">
<xs:complexType>
<xs:sequence>
<xs:element name="AL" msprop:Generator_ColumnVarNameInTable="columnAL" msprop:Generator_ColumnPropNameInRow="AL" msprop:Generator_ColumnPropNameInTable="ALColumn" msprop:Generator_UserColumnName="AL">
@@ -890,7 +890,7 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
+65 -97
View File
@@ -2447,6 +2447,8 @@ namespace MagData {
private global::System.Data.DataColumn columnDataPedana;
private global::System.Data.DataColumn columnBarcodeBaseUrl;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public stp_prt_CartellinoPedaneDataTable() {
@@ -2544,6 +2546,14 @@ namespace MagData {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn BarcodeBaseUrlColumn {
get {
return this.columnBarcodeBaseUrl;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2581,7 +2591,7 @@ namespace MagData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public stp_prt_CartellinoPedaneRow Addstp_prt_CartellinoPedaneRow(string CodPedana, int NumPedana, int PesoPedana, string DescDest_1, string DescDest_2, string DescDest_3, int NumColli, System.DateTime DataPedana) {
public stp_prt_CartellinoPedaneRow Addstp_prt_CartellinoPedaneRow(string CodPedana, string NumPedana, decimal PesoPedana, string DescDest_1, string DescDest_2, string DescDest_3, int NumColli, System.DateTime DataPedana, string BarcodeBaseUrl) {
stp_prt_CartellinoPedaneRow rowstp_prt_CartellinoPedaneRow = ((stp_prt_CartellinoPedaneRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodPedana,
@@ -2591,12 +2601,20 @@ namespace MagData {
DescDest_2,
DescDest_3,
NumColli,
DataPedana};
DataPedana,
BarcodeBaseUrl};
rowstp_prt_CartellinoPedaneRow.ItemArray = columnValuesArray;
this.Rows.Add(rowstp_prt_CartellinoPedaneRow);
return rowstp_prt_CartellinoPedaneRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public stp_prt_CartellinoPedaneRow FindByCodPedana(string CodPedana) {
return ((stp_prt_CartellinoPedaneRow)(this.Rows.Find(new object[] {
CodPedana})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public override global::System.Data.DataTable Clone() {
@@ -2622,6 +2640,7 @@ namespace MagData {
this.columnDescDest_3 = base.Columns["DescDest_3"];
this.columnNumColli = base.Columns["NumColli"];
this.columnDataPedana = base.Columns["DataPedana"];
this.columnBarcodeBaseUrl = base.Columns["BarcodeBaseUrl"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2629,9 +2648,9 @@ namespace MagData {
private void InitClass() {
this.columnCodPedana = new global::System.Data.DataColumn("CodPedana", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCodPedana);
this.columnNumPedana = new global::System.Data.DataColumn("NumPedana", typeof(int), null, global::System.Data.MappingType.Element);
this.columnNumPedana = new global::System.Data.DataColumn("NumPedana", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNumPedana);
this.columnPesoPedana = new global::System.Data.DataColumn("PesoPedana", typeof(int), null, global::System.Data.MappingType.Element);
this.columnPesoPedana = new global::System.Data.DataColumn("PesoPedana", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPesoPedana);
this.columnDescDest_1 = new global::System.Data.DataColumn("DescDest_1", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescDest_1);
@@ -2643,18 +2662,27 @@ namespace MagData {
base.Columns.Add(this.columnNumColli);
this.columnDataPedana = new global::System.Data.DataColumn("DataPedana", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDataPedana);
this.columnBarcodeBaseUrl = new global::System.Data.DataColumn("BarcodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBarcodeBaseUrl);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodPedana}, true));
this.columnCodPedana.AllowDBNull = false;
this.columnCodPedana.ReadOnly = true;
this.columnCodPedana.Unique = true;
this.columnCodPedana.MaxLength = 12;
this.columnNumPedana.ReadOnly = true;
this.columnNumPedana.AllowDBNull = false;
this.columnNumPedana.MaxLength = 50;
this.columnPesoPedana.ReadOnly = true;
this.columnDescDest_1.ReadOnly = true;
this.columnDescDest_1.MaxLength = 27;
this.columnDescDest_2.ReadOnly = true;
this.columnDescDest_2.MaxLength = 27;
this.columnDescDest_1.AllowDBNull = false;
this.columnDescDest_1.MaxLength = 500;
this.columnDescDest_2.AllowDBNull = false;
this.columnDescDest_2.MaxLength = 250;
this.columnDescDest_3.ReadOnly = true;
this.columnDescDest_3.MaxLength = 17;
this.columnDescDest_3.MaxLength = 365;
this.columnNumColli.ReadOnly = true;
this.columnDataPedana.ReadOnly = true;
this.columnDataPedana.AllowDBNull = false;
this.columnBarcodeBaseUrl.ReadOnly = true;
this.columnBarcodeBaseUrl.MaxLength = 250;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5762,13 +5790,7 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string CodPedana {
get {
try {
return ((string)(this[this.tablestp_prt_CartellinoPedane.CodPedanaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'CodPedana\' nella tabella \'stp_prt_CartellinoPedane\' è DB" +
"Null.", e);
}
return ((string)(this[this.tablestp_prt_CartellinoPedane.CodPedanaColumn]));
}
set {
this[this.tablestp_prt_CartellinoPedane.CodPedanaColumn] = value;
@@ -5777,15 +5799,9 @@ namespace MagData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int NumPedana {
public string NumPedana {
get {
try {
return ((int)(this[this.tablestp_prt_CartellinoPedane.NumPedanaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'NumPedana\' nella tabella \'stp_prt_CartellinoPedane\' è DB" +
"Null.", e);
}
return ((string)(this[this.tablestp_prt_CartellinoPedane.NumPedanaColumn]));
}
set {
this[this.tablestp_prt_CartellinoPedane.NumPedanaColumn] = value;
@@ -5794,10 +5810,10 @@ namespace MagData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int PesoPedana {
public decimal PesoPedana {
get {
try {
return ((int)(this[this.tablestp_prt_CartellinoPedane.PesoPedanaColumn]));
return ((decimal)(this[this.tablestp_prt_CartellinoPedane.PesoPedanaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'PesoPedana\' nella tabella \'stp_prt_CartellinoPedane\' è D" +
@@ -5813,13 +5829,7 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string DescDest_1 {
get {
try {
return ((string)(this[this.tablestp_prt_CartellinoPedane.DescDest_1Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescDest_1\' nella tabella \'stp_prt_CartellinoPedane\' è D" +
"BNull.", e);
}
return ((string)(this[this.tablestp_prt_CartellinoPedane.DescDest_1Column]));
}
set {
this[this.tablestp_prt_CartellinoPedane.DescDest_1Column] = value;
@@ -5830,13 +5840,7 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string DescDest_2 {
get {
try {
return ((string)(this[this.tablestp_prt_CartellinoPedane.DescDest_2Column]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescDest_2\' nella tabella \'stp_prt_CartellinoPedane\' è D" +
"BNull.", e);
}
return ((string)(this[this.tablestp_prt_CartellinoPedane.DescDest_2Column]));
}
set {
this[this.tablestp_prt_CartellinoPedane.DescDest_2Column] = value;
@@ -5881,13 +5885,7 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public System.DateTime DataPedana {
get {
try {
return ((global::System.DateTime)(this[this.tablestp_prt_CartellinoPedane.DataPedanaColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'DataPedana\' nella tabella \'stp_prt_CartellinoPedane\' è D" +
"BNull.", e);
}
return ((global::System.DateTime)(this[this.tablestp_prt_CartellinoPedane.DataPedanaColumn]));
}
set {
this[this.tablestp_prt_CartellinoPedane.DataPedanaColumn] = value;
@@ -5896,26 +5894,19 @@ namespace MagData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsCodPedanaNull() {
return this.IsNull(this.tablestp_prt_CartellinoPedane.CodPedanaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetCodPedanaNull() {
this[this.tablestp_prt_CartellinoPedane.CodPedanaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsNumPedanaNull() {
return this.IsNull(this.tablestp_prt_CartellinoPedane.NumPedanaColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetNumPedanaNull() {
this[this.tablestp_prt_CartellinoPedane.NumPedanaColumn] = global::System.Convert.DBNull;
public string BarcodeBaseUrl {
get {
try {
return ((string)(this[this.tablestp_prt_CartellinoPedane.BarcodeBaseUrlColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("Il valore della colonna \'BarcodeBaseUrl\' nella tabella \'stp_prt_CartellinoPedane\'" +
" è DBNull.", e);
}
}
set {
this[this.tablestp_prt_CartellinoPedane.BarcodeBaseUrlColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5930,30 +5921,6 @@ namespace MagData {
this[this.tablestp_prt_CartellinoPedane.PesoPedanaColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsDescDest_1Null() {
return this.IsNull(this.tablestp_prt_CartellinoPedane.DescDest_1Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetDescDest_1Null() {
this[this.tablestp_prt_CartellinoPedane.DescDest_1Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsDescDest_2Null() {
return this.IsNull(this.tablestp_prt_CartellinoPedane.DescDest_2Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetDescDest_2Null() {
this[this.tablestp_prt_CartellinoPedane.DescDest_2Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsDescDest_3Null() {
@@ -5980,14 +5947,14 @@ namespace MagData {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsDataPedanaNull() {
return this.IsNull(this.tablestp_prt_CartellinoPedane.DataPedanaColumn);
public bool IsBarcodeBaseUrlNull() {
return this.IsNull(this.tablestp_prt_CartellinoPedane.BarcodeBaseUrlColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetDataPedanaNull() {
this[this.tablestp_prt_CartellinoPedane.DataPedanaColumn] = global::System.Convert.DBNull;
public void SetBarcodeBaseUrlNull() {
this[this.tablestp_prt_CartellinoPedane.BarcodeBaseUrlColumn] = global::System.Convert.DBNull;
}
}
@@ -7213,6 +7180,7 @@ SELECT IdxPrintJob, printerQueue, keyParam, dtStart, dtEnd, stato, dtLastTry FRO
tableMapping.ColumnMappings.Add("DescDest_3", "DescDest_3");
tableMapping.ColumnMappings.Add("NumColli", "NumColli");
tableMapping.ColumnMappings.Add("DataPedana", "DataPedana");
tableMapping.ColumnMappings.Add("BarcodeBaseUrl", "BarcodeBaseUrl");
this._adapter.TableMappings.Add(tableMapping);
}
+31 -13
View File
@@ -311,6 +311,7 @@ SELECT IdxPrintJob, printerQueue, keyParam, dtStart, dtEnd, stato, dtLastTry FRO
<Mapping SourceColumn="DescDest_3" DataSetColumn="DescDest_3" />
<Mapping SourceColumn="NumColli" DataSetColumn="NumColli" />
<Mapping SourceColumn="DataPedana" DataSetColumn="DataPedana" />
<Mapping SourceColumn="BarcodeBaseUrl" DataSetColumn="BarcodeBaseUrl" />
</Mappings>
<Sources />
</TableAdapter>
@@ -346,7 +347,7 @@ SELECT IdxPrintJob, printerQueue, keyParam, dtStart, dtEnd, stato, dtLastTry FRO
<xs:element name="DS_Report" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Report" msprop:Generator_UserDSName="DS_Report">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="PrintJobQueue" msprop:Generator_TableClassName="PrintJobQueueDataTable" msprop:Generator_TableVarName="tablePrintJobQueue" msprop:Generator_TablePropName="PrintJobQueue" msprop:Generator_RowDeletingName="PrintJobQueueRowDeleting" msprop:Generator_RowChangingName="PrintJobQueueRowChanging" msprop:Generator_RowEvHandlerName="PrintJobQueueRowChangeEventHandler" msprop:Generator_RowDeletedName="PrintJobQueueRowDeleted" msprop:Generator_UserTableName="PrintJobQueue" msprop:Generator_RowChangedName="PrintJobQueueRowChanged" msprop:Generator_RowEvArgName="PrintJobQueueRowChangeEvent" msprop:Generator_RowClassName="PrintJobQueueRow">
<xs:element name="PrintJobQueue" msprop:Generator_TableClassName="PrintJobQueueDataTable" msprop:Generator_TableVarName="tablePrintJobQueue" msprop:Generator_RowChangedName="PrintJobQueueRowChanged" msprop:Generator_TablePropName="PrintJobQueue" msprop:Generator_RowDeletingName="PrintJobQueueRowDeleting" msprop:Generator_RowChangingName="PrintJobQueueRowChanging" msprop:Generator_RowEvHandlerName="PrintJobQueueRowChangeEventHandler" msprop:Generator_RowDeletedName="PrintJobQueueRowDeleted" msprop:Generator_RowClassName="PrintJobQueueRow" msprop:Generator_UserTableName="PrintJobQueue" msprop:Generator_RowEvArgName="PrintJobQueueRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPrintJob" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxPrintJob" msprop:Generator_ColumnPropNameInRow="IdxPrintJob" msprop:Generator_ColumnPropNameInTable="IdxPrintJobColumn" msprop:Generator_UserColumnName="IdxPrintJob" type="xs:int" />
@@ -371,7 +372,7 @@ SELECT IdxPrintJob, printerQueue, keyParam, dtStart, dtEnd, stato, dtLastTry FRO
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_prt_CartellinoFinitiOdette" msprop:Generator_TableClassName="stp_prt_CartellinoFinitiOdetteDataTable" msprop:Generator_TableVarName="tablestp_prt_CartellinoFinitiOdette" msprop:Generator_TablePropName="stp_prt_CartellinoFinitiOdette" msprop:Generator_RowDeletingName="stp_prt_CartellinoFinitiOdetteRowDeleting" msprop:Generator_RowChangingName="stp_prt_CartellinoFinitiOdetteRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_CartellinoFinitiOdetteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_CartellinoFinitiOdetteRowDeleted" msprop:Generator_UserTableName="stp_prt_CartellinoFinitiOdette" msprop:Generator_RowChangedName="stp_prt_CartellinoFinitiOdetteRowChanged" msprop:Generator_RowEvArgName="stp_prt_CartellinoFinitiOdetteRowChangeEvent" msprop:Generator_RowClassName="stp_prt_CartellinoFinitiOdetteRow">
<xs:element name="stp_prt_CartellinoFinitiOdette" msprop:Generator_TableClassName="stp_prt_CartellinoFinitiOdetteDataTable" msprop:Generator_TableVarName="tablestp_prt_CartellinoFinitiOdette" msprop:Generator_RowChangedName="stp_prt_CartellinoFinitiOdetteRowChanged" msprop:Generator_TablePropName="stp_prt_CartellinoFinitiOdette" msprop:Generator_RowDeletingName="stp_prt_CartellinoFinitiOdetteRowDeleting" msprop:Generator_RowChangingName="stp_prt_CartellinoFinitiOdetteRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_CartellinoFinitiOdetteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_CartellinoFinitiOdetteRowDeleted" msprop:Generator_RowClassName="stp_prt_CartellinoFinitiOdetteRow" msprop:Generator_UserTableName="stp_prt_CartellinoFinitiOdette" msprop:Generator_RowEvArgName="stp_prt_CartellinoFinitiOdetteRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CampoUDC" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCampoUDC" msprop:Generator_ColumnPropNameInRow="CampoUDC" msprop:Generator_ColumnPropNameInTable="CampoUDCColumn" msprop:Generator_UserColumnName="CampoUDC" minOccurs="0">
@@ -979,45 +980,58 @@ SELECT IdxPrintJob, printerQueue, keyParam, dtStart, dtEnd, stato, dtLastTry FRO
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_prt_CartellinoPedane" msprop:Generator_TableClassName="stp_prt_CartellinoPedaneDataTable" msprop:Generator_TableVarName="tablestp_prt_CartellinoPedane" msprop:Generator_RowChangedName="stp_prt_CartellinoPedaneRowChanged" msprop:Generator_TablePropName="stp_prt_CartellinoPedane" msprop:Generator_RowDeletingName="stp_prt_CartellinoPedaneRowDeleting" msprop:Generator_RowChangingName="stp_prt_CartellinoPedaneRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_CartellinoPedaneRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_CartellinoPedaneRowDeleted" msprop:Generator_RowClassName="stp_prt_CartellinoPedaneRow" msprop:Generator_UserTableName="stp_prt_CartellinoPedane" msprop:Generator_RowEvArgName="stp_prt_CartellinoPedaneRowChangeEvent">
<xs:element name="stp_prt_CartellinoPedane" msprop:Generator_TableClassName="stp_prt_CartellinoPedaneDataTable" msprop:Generator_TableVarName="tablestp_prt_CartellinoPedane" msprop:Generator_TablePropName="stp_prt_CartellinoPedane" msprop:Generator_RowDeletingName="stp_prt_CartellinoPedaneRowDeleting" msprop:Generator_RowChangingName="stp_prt_CartellinoPedaneRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_CartellinoPedaneRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_CartellinoPedaneRowDeleted" msprop:Generator_UserTableName="stp_prt_CartellinoPedane" msprop:Generator_RowChangedName="stp_prt_CartellinoPedaneRowChanged" msprop:Generator_RowEvArgName="stp_prt_CartellinoPedaneRowChangeEvent" msprop:Generator_RowClassName="stp_prt_CartellinoPedaneRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodPedana" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodPedana" msprop:Generator_ColumnPropNameInRow="CodPedana" msprop:Generator_ColumnPropNameInTable="CodPedanaColumn" msprop:Generator_UserColumnName="CodPedana" minOccurs="0">
<xs:element name="CodPedana" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCodPedana" msprop:Generator_ColumnPropNameInRow="CodPedana" msprop:Generator_ColumnPropNameInTable="CodPedanaColumn" msprop:Generator_UserColumnName="CodPedana">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumPedana" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumPedana" msprop:Generator_ColumnPropNameInRow="NumPedana" msprop:Generator_ColumnPropNameInTable="NumPedanaColumn" msprop:Generator_UserColumnName="NumPedana" type="xs:int" minOccurs="0" />
<xs:element name="PesoPedana" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPesoPedana" msprop:Generator_ColumnPropNameInRow="PesoPedana" msprop:Generator_ColumnPropNameInTable="PesoPedanaColumn" msprop:Generator_UserColumnName="PesoPedana" type="xs:int" minOccurs="0" />
<xs:element name="DescDest_1" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDescDest_1" msprop:Generator_ColumnPropNameInRow="DescDest_1" msprop:Generator_ColumnPropNameInTable="DescDest_1Column" msprop:Generator_UserColumnName="DescDest_1" minOccurs="0">
<xs:element name="NumPedana" msprop:Generator_ColumnVarNameInTable="columnNumPedana" msprop:Generator_ColumnPropNameInRow="NumPedana" msprop:Generator_ColumnPropNameInTable="NumPedanaColumn" msprop:Generator_UserColumnName="NumPedana">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="27" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescDest_2" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDescDest_2" msprop:Generator_ColumnPropNameInRow="DescDest_2" msprop:Generator_ColumnPropNameInTable="DescDest_2Column" msprop:Generator_UserColumnName="DescDest_2" minOccurs="0">
<xs:element name="PesoPedana" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPesoPedana" msprop:Generator_ColumnPropNameInRow="PesoPedana" msprop:Generator_ColumnPropNameInTable="PesoPedanaColumn" msprop:Generator_UserColumnName="PesoPedana" type="xs:decimal" minOccurs="0" />
<xs:element name="DescDest_1" msprop:Generator_ColumnVarNameInTable="columnDescDest_1" msprop:Generator_ColumnPropNameInRow="DescDest_1" msprop:Generator_ColumnPropNameInTable="DescDest_1Column" msprop:Generator_UserColumnName="DescDest_1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="27" />
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescDest_2" msprop:Generator_ColumnVarNameInTable="columnDescDest_2" msprop:Generator_ColumnPropNameInRow="DescDest_2" msprop:Generator_ColumnPropNameInTable="DescDest_2Column" msprop:Generator_UserColumnName="DescDest_2">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescDest_3" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDescDest_3" msprop:Generator_ColumnPropNameInRow="DescDest_3" msprop:Generator_ColumnPropNameInTable="DescDest_3Column" msprop:Generator_UserColumnName="DescDest_3" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="17" />
<xs:maxLength value="365" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumColli" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumColli" msprop:Generator_ColumnPropNameInRow="NumColli" msprop:Generator_ColumnPropNameInTable="NumColliColumn" msprop:Generator_UserColumnName="NumColli" type="xs:int" minOccurs="0" />
<xs:element name="DataPedana" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDataPedana" msprop:Generator_ColumnPropNameInRow="DataPedana" msprop:Generator_ColumnPropNameInTable="DataPedanaColumn" msprop:Generator_UserColumnName="DataPedana" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataPedana" msprop:Generator_ColumnVarNameInTable="columnDataPedana" msprop:Generator_ColumnPropNameInRow="DataPedana" msprop:Generator_ColumnPropNameInTable="DataPedanaColumn" msprop:Generator_UserColumnName="DataPedana" type="xs:dateTime" />
<xs:element name="BarcodeBaseUrl" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnBarcodeBaseUrl" msprop:Generator_ColumnPropNameInRow="BarcodeBaseUrl" msprop:Generator_ColumnPropNameInTable="BarcodeBaseUrlColumn" msprop:Generator_UserColumnName="BarcodeBaseUrl" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_prt_CartellinoSemilavorati" msprop:Generator_TableClassName="stp_prt_CartellinoSemilavoratiDataTable" msprop:Generator_TableVarName="tablestp_prt_CartellinoSemilavorati" msprop:Generator_TablePropName="stp_prt_CartellinoSemilavorati" msprop:Generator_RowDeletingName="stp_prt_CartellinoSemilavoratiRowDeleting" msprop:Generator_RowChangingName="stp_prt_CartellinoSemilavoratiRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_CartellinoSemilavoratiRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_CartellinoSemilavoratiRowDeleted" msprop:Generator_UserTableName="stp_prt_CartellinoSemilavorati" msprop:Generator_RowChangedName="stp_prt_CartellinoSemilavoratiRowChanged" msprop:Generator_RowEvArgName="stp_prt_CartellinoSemilavoratiRowChangeEvent" msprop:Generator_RowClassName="stp_prt_CartellinoSemilavoratiRow">
<xs:element name="stp_prt_CartellinoSemilavorati" msprop:Generator_TableClassName="stp_prt_CartellinoSemilavoratiDataTable" msprop:Generator_TableVarName="tablestp_prt_CartellinoSemilavorati" msprop:Generator_RowChangedName="stp_prt_CartellinoSemilavoratiRowChanged" msprop:Generator_TablePropName="stp_prt_CartellinoSemilavorati" msprop:Generator_RowDeletingName="stp_prt_CartellinoSemilavoratiRowDeleting" msprop:Generator_RowChangingName="stp_prt_CartellinoSemilavoratiRowChanging" msprop:Generator_RowEvHandlerName="stp_prt_CartellinoSemilavoratiRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_prt_CartellinoSemilavoratiRowDeleted" msprop:Generator_RowClassName="stp_prt_CartellinoSemilavoratiRow" msprop:Generator_UserTableName="stp_prt_CartellinoSemilavorati" msprop:Generator_RowEvArgName="stp_prt_CartellinoSemilavoratiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DataDDT" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDataDDT" msprop:Generator_ColumnPropNameInRow="DataDDT" msprop:Generator_ColumnPropNameInTable="DataDDTColumn" msprop:Generator_UserColumnName="DataDDT" type="xs:dateTime" minOccurs="0" />
@@ -1065,5 +1079,9 @@ SELECT IdxPrintJob, printerQueue, keyParam, dtStart, dtEnd, stato, dtLastTry FRO
<xs:selector xpath=".//mstns:PrintJobQueue" />
<xs:field xpath="mstns:IdxPrintJob" />
</xs:unique>
<xs:unique name="stp_prt_CartellinoPedane_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:stp_prt_CartellinoPedane" />
<xs:field xpath="mstns:CodPedana" />
</xs:unique>
</xs:element>
</xs:schema>
+3 -3
View File
@@ -4,12 +4,12 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="33" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:PrintJobQueue" ZOrder="3" X="451" Y="146" Height="381" Width="267" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:stp_prt_CartellinoFinitiOdette" ZOrder="4" X="43" Y="146" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:stp_prt_CartellinoPedane" ZOrder="2" X="798" Y="148" Height="273" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
<Shape ID="DesignTable:stp_prt_CartellinoSemilavorati" ZOrder="1" X="1122" Y="151" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:stp_prt_CartellinoPedane" ZOrder="2" X="450" Y="567" Height="248" Width="289" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:stp_prt_CartellinoSemilavorati" ZOrder="1" X="98" Y="601" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
</Shapes>
<Connectors />
</DiagramLayout>
+27 -24
View File
@@ -6,28 +6,31 @@ using System.Threading.Tasks;
namespace MagData
{
/// <summary>
/// tipologia di report (FILE rdlc) gestito in stampa...
/// </summary>
public enum reportRichiesto
{
ND,
CartellinoFinitiOdette,
CartellinoPedane,
CartellinoSemilavorati
}
/// <summary>
/// Tipi di barcode gestiti
/// </summary>
public enum codeType
{
UNK = 0,
Command,
Date,
Lotto,
LottoInt,
PackList,
PartNumber,
Pedana,
Quantity,
Udc
}
/// <summary>
/// Tipi di barcode gestiti
/// </summary>
public enum codeType
{
UNK = 0,
Lotto,
LottoInt,
Date,
PartNumber,
Quantity,
Udc
}
}
/// <summary>
/// tipologia di report (FILE rdlc) gestito in stampa...
/// </summary>
public enum reportRichiesto
{
ND,
CartellinoFinitiOdette,
CartellinoPedane,
CartellinoSemilavorati
}
}
+27 -9
View File
@@ -224,22 +224,45 @@ namespace MagData
public decodedData decodeBcode(string bcValue)
{
decodedData answ = new decodedData();
int codeInt = 0;
answ.rawData = bcValue;
if (bcValue.StartsWith("M"))
if (bcValue.StartsWith("CMD"))
{
answ.codeType = codeType.Command;
answ.code = bcValue.Replace("CMD", "");
answ.codeInt = codeInt;
answ.description = $"Comando: {answ.code}";
}
else if (bcValue.StartsWith("M"))
{
answ.codeType = codeType.LottoInt;
answ.code = bcValue.Replace("M", "");
answ.codeInt = 0;
answ.codeInt = codeInt;
answ.description = $"Lotto: {answ.code}";
}
else if (bcValue.StartsWith("PED"))
{
answ.codeType = codeType.Pedana;
answ.code = bcValue.Replace("PED", "");
int.TryParse(answ.code, NumberStyles.Integer, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = codeInt;
answ.description = $"Pedana: {bcValue}";
}
else if (bcValue.StartsWith("PL"))
{
answ.codeType = codeType.PackList;
answ.code = bcValue.Replace("PL", "");
int.TryParse(answ.code, NumberStyles.Integer, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = codeInt;
answ.description = $"PackList: {answ.code}";
}
else if (bcValue.StartsWith("P"))
{
// conrollo se data (6 numeri...) oppure part...
// controllo se data (6 numeri...) oppure part...
if (bcValue.Length == 7)
{
answ.codeType = codeType.Date;
answ.code = bcValue.Replace("P", "");
int codeInt = 0;
int.TryParse(answ.code, NumberStyles.Integer, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = 0;
answ.description = $"Data YYMMDD: {answ.code}";
@@ -248,7 +271,6 @@ namespace MagData
{
answ.codeType = codeType.PartNumber;
answ.code = bcValue.Replace("P", "");
int codeInt = 0;
int.TryParse(answ.code, NumberStyles.Integer, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = 0;
answ.description = $"PartNumber Odette: {answ.code}";
@@ -262,7 +284,6 @@ namespace MagData
{
answ.codeType = codeType.Quantity;
answ.code = bcValue.Replace("Q", "");
int codeInt = 0;
int.TryParse(answ.code, NumberStyles.Integer, CultureInfo.InvariantCulture, out codeInt);
answ.codeInt = codeInt;
answ.description = $"Qty Odette: {answ.code}";
@@ -283,7 +304,6 @@ namespace MagData
{
answ.codeType = codeType.Udc;
answ.code = bcValue.Replace("S", "");
int codeInt = 0;
answ.codeInt = codeInt;
answ.description = $"UDC Odette: {answ.code}";
}
@@ -297,7 +317,6 @@ namespace MagData
var riga = tabLotti[0];
answ.codeType = codeType.Lotto;
answ.code = bcValue;
int codeInt = 0;
answ.codeInt = codeInt;
answ.description = $"Lotto: {answ.code}";
}
@@ -314,7 +333,6 @@ namespace MagData
{
answ.codeType = codeType.Udc;
answ.code = bcValue;
int codeInt = 0;
answ.codeInt = codeInt;
answ.description = $"UDC: {answ.code}";
}