Merge gestioen arrow key
This commit is contained in:
@@ -157,10 +157,14 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="images\ArrowDown.png" />
|
||||
<Content Include="images\ArrowLeft.png" />
|
||||
<Content Include="images\ArrowRight.png" />
|
||||
<Content Include="images\ArrowUp.png" />
|
||||
<Content Include="Style_test.css" />
|
||||
<Content Include="Style_prod.css" />
|
||||
<Content Include="Web.config" />
|
||||
<Content Include="Web.config">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ActiveTask.aspx.cs">
|
||||
|
||||
@@ -428,6 +428,20 @@
|
||||
width: 210px;
|
||||
height: 20px;
|
||||
}
|
||||
.btnAzzurroHalf
|
||||
{
|
||||
border: solid 2px blue;
|
||||
background-color: #AAFFFF;
|
||||
width: 210px;
|
||||
height: 30px;
|
||||
}
|
||||
.btnAzzurroThird
|
||||
{
|
||||
border: solid 2px blue;
|
||||
background-color: #AAFFFF;
|
||||
width: 210px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* buttons larghi */
|
||||
.btnAzzurroWide
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@
|
||||
<add key="appName" value="GMW_Term" />
|
||||
<add key="SiteName" value="Tekal" />
|
||||
<add key="mainRev" value="2.1" />
|
||||
<add key="minRev" value="507" />
|
||||
<add key="minRev" value="508" />
|
||||
<add key="copyRight" value="SteamWare © 2010-2012" />
|
||||
<add key="_allowForceUser" value="true" />
|
||||
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
|
||||
|
||||
@@ -1,124 +1,79 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchRes.ascx.cs"
|
||||
Inherits="GMW_Term.WebUserControls.mod_searchRes" %>
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_searchRes.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_searchRes" %>
|
||||
<% if (false)
|
||||
{ %>
|
||||
<link href="../Style.css" rel="stylesheet" type="text/css" />
|
||||
<% } %>
|
||||
<div class="clearAll" style="text-align: center; margin: auto; height: 28px; vertical-align: top;">
|
||||
<asp:ImageButton ID="btnLeft" runat="server" ImageUrl="../Images/ArrowLeft.png" OnClick="btnLeft_Click" Width="22px"
|
||||
Height="22px" />
|
||||
<asp:ImageButton ID="btnUp" runat="server" ImageUrl="../Images/ArrowUp.png" OnClick="btnUp_Click" Width="22px" Height="22px" />
|
||||
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" CssClass="btnHome" Text="Ricerca [6]" AccessKey="6"
|
||||
Height="22px" />
|
||||
<asp:ImageButton ID="btnDown" runat="server" ImageUrl="../Images/ArrowDown.png" OnClick="btnDown_Click" Width="22px"
|
||||
Height="22px" />
|
||||
<asp:ImageButton ID="btnRight" runat="server" ImageUrl="../Images/ArrowRight.png" OnClick="btnRight_Click" Width="22px"
|
||||
Height="22px" />
|
||||
</div>
|
||||
<asp:Panel runat="server" ID="pnlBlocchi" CssClass="clearAll">
|
||||
<div style="padding: 2px; font-size: 8pt;">
|
||||
<asp:Label runat="server" ID="lblRes" />
|
||||
<asp:ListView ID="lsViewMag" runat="server" DataSourceID="ods" EnableModelValidation="True"
|
||||
OnSelectedIndexChanged="lsView_SelectedIndexChanged" DataKeyNames="IdxBlocco">
|
||||
<LayoutTemplate>
|
||||
<div>
|
||||
<asp:PlaceHolder ID="itemPlaceholder" runat="server" />
|
||||
</div>
|
||||
</LayoutTemplate>
|
||||
<ItemTemplate>
|
||||
<div style="float: left; text-align: left; margin: auto; padding: 2px;">
|
||||
<div class="btnGrigioHalf">
|
||||
<asp:LinkButton runat="server" ID="lbBlocco" CommandArgument='<%# Eval("IdxBlocco") %>'
|
||||
CommandName="Select">
|
||||
<asp:GridView ID="grViewMag" runat="server" DataSourceID="ods" EnableModelValidation="True" DataKeyNames="IdxBlocco" AutoGenerateColumns="False"
|
||||
PageSize="3" AllowPaging="True" OnSelectedIndexChanged="grViewMag_SelectedIndexChanged" Width="100%">
|
||||
<RowStyle CssClass="btnGrigioHalf" />
|
||||
<SelectedRowStyle CssClass="btnAzzurroHalf" />
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbBlocco" CommandArgument='<%# Eval("IdxBlocco") %>' CommandName="Select">
|
||||
<asp:Label runat="server" ID="lblCodBlocco" Font-Bold="true" Text='<%# Eval("CodBlocco") %>' /> -
|
||||
<asp:Label runat="server" ID="lblDescBlocco" Font-Bold="true" Text='<%# Eval("DescBlocco") %>' />
|
||||
<br />
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("NumUDC","{0} UDC") %>' />
|
||||
/
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("QtaTotPz","{0:0} pz") %>' />
|
||||
</asp:LinkButton></div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EmptyDataTemplate>
|
||||
No data</EmptyDataTemplate>
|
||||
</asp:ListView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="GMW_data.DS_magazzinoTableAdapters.stp_MagFifoByParticolareTableAdapter">
|
||||
</asp:LinkButton></ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GMW_data.DS_magazzinoTableAdapters.stp_MagFifoByParticolareTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="TK" Name="CodCS" SessionField="CodCS" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="Particolare" SessionField="Particolare_sel"
|
||||
Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="Particolare" SessionField="Particolare_sel" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div class="clearAll" style="text-align: left; margin: auto; font-size: 10pt;">
|
||||
<asp:DataPager ID="dtPager" runat="server" PagedControlID="lsViewMag" PageSize="3">
|
||||
<Fields>
|
||||
<%-- <asp:NextPreviousPagerField ButtonType="Image" ShowPreviousPageButton="True" ShowNextPageButton="False"
|
||||
PreviousPageText="prec." PreviousPageImageUrl="../images/ArrowUp.png" />--%>
|
||||
<asp:TemplatePagerField OnPagerCommand="TemplatePagerField_OnPagerCommand">
|
||||
<PagerTemplate>
|
||||
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" CssClass="btnHome"
|
||||
Text="Ricerca [6]" AccessKey="6" />
|
||||
<asp:ImageButton ID="PreviousButton" runat="server" CommandName="Previous" ImageUrl="../images/ArrowUp.png"
|
||||
Visible='<%# Container.StartRowIndex > 0 %>' />
|
||||
<asp:ImageButton ID="NextButton" runat="server" CommandName="Next" ImageUrl="../images/ArrowDown.png"
|
||||
Visible='<%# (Container.StartRowIndex + Container.PageSize) < Container.TotalRowCount %>' />
|
||||
</PagerTemplate>
|
||||
</asp:TemplatePagerField>
|
||||
<%--<asp:NextPreviousPagerField ButtonType="Image" ShowPreviousPageButton="False" ShowNextPageButton="True"
|
||||
NextPageText="succ." NextPageImageUrl="../images/ArrowDown.png" />--%>
|
||||
</Fields>
|
||||
</asp:DataPager>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="pnlUdc" CssClass="clearAll">
|
||||
<div style="padding: 2px; font-size: 8pt;">
|
||||
<asp:Label runat="server" ID="Label3" />
|
||||
<asp:ListView ID="lsViewPart" runat="server" DataSourceID="odsPart" EnableModelValidation="True"
|
||||
OnSelectedIndexChanged="lsView_SelectedIndexChanged" DataKeyNames="UDC">
|
||||
<LayoutTemplate>
|
||||
<div>
|
||||
<asp:PlaceHolder ID="itemPlaceholder" runat="server" />
|
||||
</div>
|
||||
</LayoutTemplate>
|
||||
<ItemTemplate>
|
||||
<div style="float: left; text-align: left; margin: auto; padding: 2px;">
|
||||
<div class="btnGrigioThird">
|
||||
<asp:Label runat="server" ID="lblUDC" Font-Bold="true" Text='<%# Eval("UDC") %>' />
|
||||
-
|
||||
<asp:Label runat="server" ID="lblPos" Text='<%# Eval("CodCella") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EmptyDataTemplate>
|
||||
No data</EmptyDataTemplate>
|
||||
</asp:ListView>
|
||||
<asp:ObjectDataSource ID="odsPart" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="GMW_data.DS_magazzinoTableAdapters.stp_UDC_FifoByParticolareBloccoTableAdapter">
|
||||
<asp:GridView ID="grViewUdc" runat="server" DataSourceID="odsUdc" EnableModelValidation="True" DataKeyNames="UDC" AutoGenerateColumns="False"
|
||||
PageSize="3" AllowPaging="True" Width="100%">
|
||||
<RowStyle CssClass="btnGrigioHalf" />
|
||||
<SelectedRowStyle CssClass="btnAzzurroHalf" />
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbBlocco" CommandArgument='<%# Eval("UDC") %>' CommandName="Select">
|
||||
<div class="divSx">
|
||||
<asp:Label runat="server" ID="lblUDC" Font-Bold="true" Text='<%# Eval("UDC") %>' />
|
||||
|
||||
<asp:Label runat="server" ID="lblPos" Text='<%# Eval("CodCella") %>' />
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:Label runat="server" ID="Label3" Text='<%# Eval("Qta","({0:0}p.)") %>' />
|
||||
</div>
|
||||
</asp:LinkButton></ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="odsUdc" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GMW_data.DS_magazzinoTableAdapters.stp_UDC_FifoByParticolareBloccoTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="TK" Name="CodCS" SessionField="CodCS" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="Particolare" SessionField="Particolare_sel"
|
||||
Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="idxBlocco" SessionField="idxBlocco_sel"
|
||||
Type="Int32" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="Particolare" SessionField="Particolare_sel" Type="String" />
|
||||
<asp:SessionParameter DefaultValue="*" Name="idxBlocco" SessionField="idxBlocco_sel" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<div class="clearAll" style="text-align: center; margin: auto; font-size: 10pt;">
|
||||
<asp:DataPager ID="dpUdc" runat="server" PagedControlID="lsViewPart" PageSize="4">
|
||||
<Fields>
|
||||
<%-- <asp:NextPreviousPagerField ButtonType="Image" ShowPreviousPageButton="True" ShowNextPageButton="False"
|
||||
PreviousPageText="prec." PreviousPageImageUrl="../images/ArrowUp.png" />--%>
|
||||
<asp:TemplatePagerField OnPagerCommand="TemplatePagerField_OnPagerCommand">
|
||||
<PagerTemplate>
|
||||
<div style="width: 30%; float: left;">
|
||||
<asp:ImageButton ID="PreviousButton" runat="server" CommandName="Previous" ImageUrl="../images/ArrowUp.png"
|
||||
Visible='<%# Container.StartRowIndex > 0 %>' />
|
||||
|
||||
</div>
|
||||
<div style="width: 35%; float: left;">
|
||||
<asp:Button ID="btnButtonsHome" runat="server" OnClick="btnButtonsHome_Click" CssClass="btnHome"
|
||||
Text="Ricerca [6]" AccessKey="6" />
|
||||
</div>
|
||||
<div style="width: 30%; float: left;">
|
||||
<asp:ImageButton ID="NextButton" runat="server" CommandName="Next" ImageUrl="../images/ArrowDown.png"
|
||||
Visible='<%# (Container.StartRowIndex + Container.PageSize) < Container.TotalRowCount %>' />
|
||||
</div>
|
||||
</PagerTemplate>
|
||||
</asp:TemplatePagerField>
|
||||
<%--<asp:NextPreviousPagerField ButtonType="Image" ShowPreviousPageButton="False" ShowNextPageButton="True"
|
||||
NextPageText="succ." NextPageImageUrl="../images/ArrowDown.png" />--%>
|
||||
</Fields>
|
||||
</asp:DataPager>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
|
||||
@@ -5,6 +5,7 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using System.Text;
|
||||
|
||||
namespace GMW_Term.WebUserControls
|
||||
{
|
||||
@@ -29,11 +30,50 @@ namespace GMW_Term.WebUserControls
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
idxBlocco = -1;
|
||||
grViewMag.SelectedIndex = 0;
|
||||
}
|
||||
showData();
|
||||
registraScripts();
|
||||
}
|
||||
/// <summary>
|
||||
/// mostr ai dati corretti
|
||||
/// registro scripts gestione navigazione via arrow keys
|
||||
/// </summary>
|
||||
private void registraScripts()
|
||||
{
|
||||
// registro script x gestione keyUp/keyDown
|
||||
ClientScriptManager cs = Page.ClientScript;
|
||||
String csname = "keyScript";
|
||||
Type cstype = this.GetType();
|
||||
// Check to see if the startup script is already registered.
|
||||
if (!cs.IsStartupScriptRegistered(cstype, csname))
|
||||
{
|
||||
string scriptKeyNav = @"function move(e) {
|
||||
var key = 0;
|
||||
if(window.event)
|
||||
key = event.keyCode;
|
||||
else
|
||||
key = e.keyCode;
|
||||
if(key == 38)
|
||||
document.getElementById('{ctlName}_btnUp').click();
|
||||
if(key == 40)
|
||||
document.getElementById('{ctlName}_btnDown').click();
|
||||
if(key == 37)
|
||||
document.getElementById('{ctlName}_btnLeft').click();
|
||||
if(key == 39)
|
||||
document.getElementById('{ctlName}_btnRight').click();
|
||||
if(key == 13)
|
||||
document.getElementById('{ctlName}_btnRight').click();
|
||||
}
|
||||
document.onkeydown=move;
|
||||
";
|
||||
// rif x codici: http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
|
||||
scriptKeyNav = scriptKeyNav.Replace("{ctlName}", this.UniqueID.Replace("$", "_"));
|
||||
// registro script!
|
||||
cs.RegisterClientScriptBlock(cstype, csname, scriptKeyNav, true);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// mostra i dati corretti
|
||||
/// </summary>
|
||||
private void showData()
|
||||
{
|
||||
@@ -46,30 +86,6 @@ namespace GMW_Term.WebUserControls
|
||||
pnlBlocchi.Visible = !showUdc;
|
||||
pnlUdc.Visible = showUdc;
|
||||
}
|
||||
|
||||
protected void TemplatePagerField_OnPagerCommand(object sender, DataPagerCommandEventArgs e)
|
||||
{
|
||||
// Check which button raised the event
|
||||
switch (e.CommandName)
|
||||
{
|
||||
case "Next":
|
||||
int newIndex = e.Item.Pager.StartRowIndex + e.Item.Pager.PageSize;
|
||||
if (newIndex <= e.TotalRowCount)
|
||||
{
|
||||
e.NewStartRowIndex = newIndex;
|
||||
e.NewMaximumRows = e.Item.Pager.MaximumRows;
|
||||
}
|
||||
break;
|
||||
case "Previous":
|
||||
e.NewStartRowIndex = e.Item.Pager.StartRowIndex - e.Item.Pager.PageSize;
|
||||
e.NewMaximumRows = e.Item.Pager.MaximumRows;
|
||||
break;
|
||||
case "First":
|
||||
e.NewStartRowIndex = 0;
|
||||
e.NewMaximumRows = e.Item.Pager.MaximumRows;
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// va alla pagina dei buttons principale
|
||||
/// </summary>
|
||||
@@ -86,10 +102,227 @@ namespace GMW_Term.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lsView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
//lblRes.Text = lsView.SelectedDataKey["IdxBlocco"].ToString(); // ok!
|
||||
idxBlocco = Convert.ToInt32(lsViewMag.SelectedDataKey["IdxBlocco"].ToString());
|
||||
showData();
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// cambio index
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grViewMag_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
idxBlocco = Convert.ToInt32(grViewMag.SelectedDataKey["IdxBlocco"].ToString());
|
||||
showData();
|
||||
}
|
||||
|
||||
#region gestione frecce area MAG/Udc
|
||||
|
||||
/// <summary>
|
||||
/// Mag: richiesto di salire di 1 riga
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUp_Click(object sender, ImageClickEventArgs e)
|
||||
{
|
||||
// controllo se sono in modalità Mag
|
||||
if (idxBlocco < 0)
|
||||
{
|
||||
MoveUpMag();
|
||||
}
|
||||
else // modalità UDC
|
||||
{
|
||||
MoveUpUdc();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Mag: richiesto di scendere di 1 riga
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnDown_Click(object sender, ImageClickEventArgs e)
|
||||
{
|
||||
if (idxBlocco < 0)
|
||||
{
|
||||
MoveDownMag();
|
||||
}
|
||||
else
|
||||
{
|
||||
MoveDownUdc();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Mag: richiesto passare a dettaglio!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnRight_Click(object sender, ImageClickEventArgs e)
|
||||
{
|
||||
// controllo se sono in modalità Mag
|
||||
if (idxBlocco < 0)
|
||||
{
|
||||
reqDetailMag();
|
||||
}
|
||||
else // modalità UDC
|
||||
{
|
||||
reqDetailUdc();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Mag: richiesto passare a pag precedente
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnLeft_Click(object sender, ImageClickEventArgs e)
|
||||
{
|
||||
// controllo se sono in modalità Mag
|
||||
if (idxBlocco < 0)
|
||||
{
|
||||
resetSearch();
|
||||
}
|
||||
else // modalità UDC
|
||||
{
|
||||
resetDetailUdc();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region gestione operazioni spostamento/dettaglio su gridview
|
||||
|
||||
/// <summary>
|
||||
/// sposta UP selezione blocco MAG
|
||||
/// </summary>
|
||||
private void MoveUpMag()
|
||||
{
|
||||
int i = grViewMag.SelectedIndex;
|
||||
// condizione 1: sono entro la pagina
|
||||
if (i > 0)
|
||||
{
|
||||
grViewMag.SelectedIndex = grViewMag.SelectedIndex - 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
// condizione 2: ho altre pagine precedenti
|
||||
if (grViewMag.PageIndex > 0)
|
||||
{
|
||||
grViewMag.PageIndex = grViewMag.PageIndex - 1;
|
||||
// seleziono prima riga
|
||||
grViewMag.SelectedIndex = grViewMag.PageSize - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// sposta DOWN selezione blocco MAG
|
||||
/// </summary>
|
||||
private void MoveDownMag()
|
||||
{
|
||||
int i = grViewMag.SelectedIndex;
|
||||
// condizione 1: sono entro la pagina
|
||||
if (i < grViewMag.Rows.Count - 1)
|
||||
{
|
||||
grViewMag.SelectedIndex = grViewMag.SelectedIndex + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
// condizione 2: ho altre pagine successive
|
||||
if (grViewMag.PageIndex < grViewMag.PageCount)
|
||||
{
|
||||
grViewMag.PageIndex = grViewMag.PageIndex + 1;
|
||||
// seleziono prima riga
|
||||
grViewMag.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// richiesta dettaglio Mag
|
||||
/// </summary>
|
||||
private void reqDetailMag()
|
||||
{
|
||||
idxBlocco = Convert.ToInt32(grViewMag.SelectedDataKey["IdxBlocco"].ToString());
|
||||
grViewUdc.SelectedIndex = 0;
|
||||
grViewUdc.PageIndex = 0;
|
||||
showData();
|
||||
}
|
||||
/// <summary>
|
||||
/// reset a ricerca
|
||||
/// </summary>
|
||||
private void resetSearch()
|
||||
{
|
||||
Response.Redirect("~/Search.aspx");
|
||||
}
|
||||
/// <summary>
|
||||
/// sposta UP selezione blocco UDC
|
||||
/// </summary>
|
||||
private void MoveUpUdc()
|
||||
{
|
||||
int i = grViewUdc.SelectedIndex;
|
||||
// condizione 1: sono entro la pagina
|
||||
if (i > 0)
|
||||
{
|
||||
grViewUdc.SelectedIndex = grViewUdc.SelectedIndex - 1;
|
||||
grViewUdc.DataBind();
|
||||
}
|
||||
else
|
||||
{
|
||||
// condizione 2: ho altre pagine precedenti
|
||||
if (grViewUdc.PageIndex > 0)
|
||||
{
|
||||
grViewUdc.PageIndex = grViewUdc.PageIndex - 1;
|
||||
// seleziono prima riga
|
||||
grViewUdc.SelectedIndex = grViewUdc.PageSize - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// sposta DOWN selezione blocco UDC
|
||||
/// </summary>
|
||||
private void MoveDownUdc()
|
||||
{
|
||||
int i = grViewUdc.SelectedIndex;
|
||||
// condizione 1: sono entro la pagina
|
||||
if (i < grViewUdc.Rows.Count - 1)
|
||||
{
|
||||
grViewUdc.SelectedIndex = grViewUdc.SelectedIndex + 1;
|
||||
grViewUdc.DataBind();
|
||||
}
|
||||
else
|
||||
{
|
||||
// condizione 2: ho altre pagine successive
|
||||
if (grViewUdc.PageIndex < grViewUdc.PageCount)
|
||||
{
|
||||
grViewUdc.PageIndex = grViewUdc.PageIndex + 1;
|
||||
// seleziono prima riga
|
||||
grViewUdc.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// UDC: richiesto passare a dettaglio!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void reqDetailUdc()
|
||||
{
|
||||
//idxBlocco = Convert.ToInt32(grViewMag.SelectedDataKey["IdxBlocco"].ToString());
|
||||
grViewUdc.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// reset ricerca dettaglio UDC
|
||||
/// </summary>
|
||||
private void resetDetailUdc()
|
||||
{
|
||||
idxBlocco = -1;
|
||||
grViewMag.SelectedIndex = 0;
|
||||
grViewMag.PageIndex = 0;
|
||||
showData();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
+51
-42
@@ -12,6 +12,51 @@ namespace GMW_Term.WebUserControls {
|
||||
|
||||
public partial class mod_searchRes {
|
||||
|
||||
/// <summary>
|
||||
/// btnLeft control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ImageButton btnLeft;
|
||||
|
||||
/// <summary>
|
||||
/// btnUp control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ImageButton btnUp;
|
||||
|
||||
/// <summary>
|
||||
/// btnButtonsHome control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnButtonsHome;
|
||||
|
||||
/// <summary>
|
||||
/// btnDown control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ImageButton btnDown;
|
||||
|
||||
/// <summary>
|
||||
/// btnRight control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ImageButton btnRight;
|
||||
|
||||
/// <summary>
|
||||
/// pnlBlocchi control.
|
||||
/// </summary>
|
||||
@@ -22,22 +67,13 @@ namespace GMW_Term.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.Panel pnlBlocchi;
|
||||
|
||||
/// <summary>
|
||||
/// lblRes control.
|
||||
/// grViewMag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblRes;
|
||||
|
||||
/// <summary>
|
||||
/// lsViewMag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ListView lsViewMag;
|
||||
protected global::System.Web.UI.WebControls.GridView grViewMag;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
@@ -48,15 +84,6 @@ namespace GMW_Term.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// dtPager control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DataPager dtPager;
|
||||
|
||||
/// <summary>
|
||||
/// pnlUdc control.
|
||||
/// </summary>
|
||||
@@ -67,39 +94,21 @@ namespace GMW_Term.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.Panel pnlUdc;
|
||||
|
||||
/// <summary>
|
||||
/// Label3 control.
|
||||
/// grViewUdc control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label3;
|
||||
protected global::System.Web.UI.WebControls.GridView grViewUdc;
|
||||
|
||||
/// <summary>
|
||||
/// lsViewPart control.
|
||||
/// odsUdc control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ListView lsViewPart;
|
||||
|
||||
/// <summary>
|
||||
/// odsPart control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsPart;
|
||||
|
||||
/// <summary>
|
||||
/// dpUdc control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DataPager dpUdc;
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsUdc;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.4 KiB |
Generated
+45
-2
@@ -11536,6 +11536,8 @@ namespace GMW_data {
|
||||
|
||||
private global::System.Data.DataColumn columnCodCella;
|
||||
|
||||
private global::System.Data.DataColumn columnQta;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public stp_UDC_FifoByParticolareBloccoDataTable() {
|
||||
@@ -11593,6 +11595,14 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn QtaColumn {
|
||||
get {
|
||||
return this.columnQta;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -11630,12 +11640,13 @@ namespace GMW_data {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public stp_UDC_FifoByParticolareBloccoRow Addstp_UDC_FifoByParticolareBloccoRow(string UDC, System.DateTime DataRif, string CodCella) {
|
||||
public stp_UDC_FifoByParticolareBloccoRow Addstp_UDC_FifoByParticolareBloccoRow(string UDC, System.DateTime DataRif, string CodCella, decimal Qta) {
|
||||
stp_UDC_FifoByParticolareBloccoRow rowstp_UDC_FifoByParticolareBloccoRow = ((stp_UDC_FifoByParticolareBloccoRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
UDC,
|
||||
DataRif,
|
||||
CodCella};
|
||||
CodCella,
|
||||
Qta};
|
||||
rowstp_UDC_FifoByParticolareBloccoRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowstp_UDC_FifoByParticolareBloccoRow);
|
||||
return rowstp_UDC_FifoByParticolareBloccoRow;
|
||||
@@ -11668,6 +11679,7 @@ namespace GMW_data {
|
||||
this.columnUDC = base.Columns["UDC"];
|
||||
this.columnDataRif = base.Columns["DataRif"];
|
||||
this.columnCodCella = base.Columns["CodCella"];
|
||||
this.columnQta = base.Columns["Qta"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -11679,6 +11691,8 @@ namespace GMW_data {
|
||||
base.Columns.Add(this.columnDataRif);
|
||||
this.columnCodCella = new global::System.Data.DataColumn("CodCella", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodCella);
|
||||
this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnQta);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnUDC}, true));
|
||||
this.columnUDC.AllowDBNull = false;
|
||||
@@ -17359,6 +17373,22 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public decimal Qta {
|
||||
get {
|
||||
try {
|
||||
return ((decimal)(this[this.tablestp_UDC_FifoByParticolareBlocco.QtaColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Qta\' in table \'stp_UDC_FifoByParticolareBlocco\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablestp_UDC_FifoByParticolareBlocco.QtaColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsDataRifNull() {
|
||||
@@ -17370,6 +17400,18 @@ namespace GMW_data {
|
||||
public void SetDataRifNull() {
|
||||
this[this.tablestp_UDC_FifoByParticolareBlocco.DataRifColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IsQtaNull() {
|
||||
return this.IsNull(this.tablestp_UDC_FifoByParticolareBlocco.QtaColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SetQtaNull() {
|
||||
this[this.tablestp_UDC_FifoByParticolareBlocco.QtaColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -32534,6 +32576,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
tableMapping.ColumnMappings.Add("UDC", "UDC");
|
||||
tableMapping.ColumnMappings.Add("DataRif", "DataRif");
|
||||
tableMapping.ColumnMappings.Add("CodCella", "CodCella");
|
||||
tableMapping.ColumnMappings.Add("Qta", "Qta");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
|
||||
+16
-14
@@ -3056,6 +3056,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
<Mapping SourceColumn="UDC" DataSetColumn="UDC" />
|
||||
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
|
||||
<Mapping SourceColumn="CodCella" DataSetColumn="CodCella" />
|
||||
<Mapping SourceColumn="Qta" DataSetColumn="Qta" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
@@ -4160,7 +4161,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="StoricoAzioniOperatore" msprop:Generator_TableClassName="StoricoAzioniOperatoreDataTable" msprop:Generator_TableVarName="tableStoricoAzioniOperatore" msprop:Generator_TablePropName="StoricoAzioniOperatore" msprop:Generator_RowDeletingName="StoricoAzioniOperatoreRowDeleting" msprop:Generator_RowChangingName="StoricoAzioniOperatoreRowChanging" msprop:Generator_RowEvHandlerName="StoricoAzioniOperatoreRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAzioniOperatoreRowDeleted" msprop:Generator_UserTableName="StoricoAzioniOperatore" msprop:Generator_RowChangedName="StoricoAzioniOperatoreRowChanged" msprop:Generator_RowEvArgName="StoricoAzioniOperatoreRowChangeEvent" msprop:Generator_RowClassName="StoricoAzioniOperatoreRow">
|
||||
<xs:element name="StoricoAzioniOperatore" msprop:Generator_TableClassName="StoricoAzioniOperatoreDataTable" msprop:Generator_TableVarName="tableStoricoAzioniOperatore" msprop:Generator_RowChangedName="StoricoAzioniOperatoreRowChanged" msprop:Generator_TablePropName="StoricoAzioniOperatore" msprop:Generator_RowDeletingName="StoricoAzioniOperatoreRowDeleting" msprop:Generator_RowChangingName="StoricoAzioniOperatoreRowChanging" msprop:Generator_RowEvHandlerName="StoricoAzioniOperatoreRowChangeEventHandler" msprop:Generator_RowDeletedName="StoricoAzioniOperatoreRowDeleted" msprop:Generator_RowClassName="StoricoAzioniOperatoreRow" msprop:Generator_UserTableName="StoricoAzioniOperatore" msprop:Generator_RowEvArgName="StoricoAzioniOperatoreRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxEvento" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxEvento" msprop:Generator_ColumnPropNameInRow="idxEvento" msprop:Generator_ColumnPropNameInTable="idxEventoColumn" msprop:Generator_UserColumnName="idxEvento" type="xs:int" />
|
||||
@@ -4217,7 +4218,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_MagFifoByParticolare" msprop:Generator_TableClassName="stp_MagFifoByParticolareDataTable" msprop:Generator_TableVarName="tablestp_MagFifoByParticolare" msprop:Generator_RowChangedName="stp_MagFifoByParticolareRowChanged" msprop:Generator_TablePropName="stp_MagFifoByParticolare" msprop:Generator_RowDeletingName="stp_MagFifoByParticolareRowDeleting" msprop:Generator_RowChangingName="stp_MagFifoByParticolareRowChanging" msprop:Generator_RowEvHandlerName="stp_MagFifoByParticolareRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_MagFifoByParticolareRowDeleted" msprop:Generator_RowClassName="stp_MagFifoByParticolareRow" msprop:Generator_UserTableName="stp_MagFifoByParticolare" msprop:Generator_RowEvArgName="stp_MagFifoByParticolareRowChangeEvent">
|
||||
<xs:element name="stp_MagFifoByParticolare" msprop:Generator_TableClassName="stp_MagFifoByParticolareDataTable" msprop:Generator_TableVarName="tablestp_MagFifoByParticolare" msprop:Generator_TablePropName="stp_MagFifoByParticolare" msprop:Generator_RowDeletingName="stp_MagFifoByParticolareRowDeleting" msprop:Generator_RowChangingName="stp_MagFifoByParticolareRowChanging" msprop:Generator_RowEvHandlerName="stp_MagFifoByParticolareRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_MagFifoByParticolareRowDeleted" msprop:Generator_UserTableName="stp_MagFifoByParticolare" msprop:Generator_RowChangedName="stp_MagFifoByParticolareRowChanged" msprop:Generator_RowEvArgName="stp_MagFifoByParticolareRowChangeEvent" msprop:Generator_RowClassName="stp_MagFifoByParticolareRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" msprop:Generator_UserColumnName="IdxBlocco" type="xs:int" />
|
||||
@@ -4249,7 +4250,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="stp_UDC_FifoByParticolareBlocco" msprop:Generator_TableClassName="stp_UDC_FifoByParticolareBloccoDataTable" msprop:Generator_TableVarName="tablestp_UDC_FifoByParticolareBlocco" msprop:Generator_RowChangedName="stp_UDC_FifoByParticolareBloccoRowChanged" msprop:Generator_TablePropName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowDeletingName="stp_UDC_FifoByParticolareBloccoRowDeleting" msprop:Generator_RowChangingName="stp_UDC_FifoByParticolareBloccoRowChanging" msprop:Generator_RowEvHandlerName="stp_UDC_FifoByParticolareBloccoRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_UDC_FifoByParticolareBloccoRowDeleted" msprop:Generator_RowClassName="stp_UDC_FifoByParticolareBloccoRow" msprop:Generator_UserTableName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowEvArgName="stp_UDC_FifoByParticolareBloccoRowChangeEvent">
|
||||
<xs:element name="stp_UDC_FifoByParticolareBlocco" msprop:Generator_TableClassName="stp_UDC_FifoByParticolareBloccoDataTable" msprop:Generator_TableVarName="tablestp_UDC_FifoByParticolareBlocco" msprop:Generator_TablePropName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowDeletingName="stp_UDC_FifoByParticolareBloccoRowDeleting" msprop:Generator_RowChangingName="stp_UDC_FifoByParticolareBloccoRowChanging" msprop:Generator_RowEvHandlerName="stp_UDC_FifoByParticolareBloccoRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_UDC_FifoByParticolareBloccoRowDeleted" msprop:Generator_UserTableName="stp_UDC_FifoByParticolareBlocco" msprop:Generator_RowChangedName="stp_UDC_FifoByParticolareBloccoRowChanged" msprop:Generator_RowEvArgName="stp_UDC_FifoByParticolareBloccoRowChangeEvent" msprop:Generator_RowClassName="stp_UDC_FifoByParticolareBloccoRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
|
||||
@@ -4267,6 +4268,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnPropNameInTable="QtaColumn" msprop:Generator_UserColumnName="Qta" type="xs:decimal" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -4406,17 +4408,17 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_PosizioneUdcCorrente_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcCorrente" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcStorico_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcStorico" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcStorico" msprop:Generator_ChildPropName="GetPosizioneUdcStoricoRows" msprop:Generator_UserRelationName="FK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
|
||||
<msdata:Relationship name="FK_Blocchi_AnagMag" msdata:parent="AnagMag" msdata:child="Blocchi" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="Blocchi" msprop:Generator_ChildPropName="GetBlocchiRows" msprop:Generator_UserRelationName="FK_Blocchi_AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_RelationVarName="relationFK_Blocchi_AnagMag" msprop:Generator_UserParentTable="AnagMag" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcCorrente_Celle" msdata:parent="Celle" msdata:child="PosizioneUdcCorrente" msdata:parentkey="IdxCella" msdata:childkey="IdxCella" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_Celle" msprop:Generator_ParentPropName="CelleRow" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_Celle" msprop:Generator_UserParentTable="Celle" />
|
||||
<msdata:Relationship name="FK_Celle_Blocchi1" msdata:parent="Blocchi" msdata:child="Celle" msdata:parentkey="IdxBlocco" msdata:childkey="IdxBlocco" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_Blocchi1" msprop:Generator_ParentPropName="BlocchiRow" msprop:Generator_RelationVarName="relationFK_Celle_Blocchi1" msprop:Generator_UserParentTable="Blocchi" />
|
||||
<msdata:Relationship name="FK_TipoCella_AnagMag" msdata:parent="AnagMag" msdata:child="TipoCella" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="TipoCella" msprop:Generator_ChildPropName="GetTipoCellaRows" msprop:Generator_UserRelationName="FK_TipoCella_AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" msprop:Generator_RelationVarName="relationFK_TipoCella_AnagMag" msprop:Generator_UserParentTable="AnagMag" />
|
||||
<msdata:Relationship name="FK_RigheListePrelievo_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="RigheListePrelievo" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" />
|
||||
<msdata:Relationship name="FK_RigheListePrelievo_ElencoListePrelievo11" msdata:parent="ElencoListePrelievo" msdata:child="RigheListePrelievo" msdata:parentkey="CodLista" msdata:childkey="CodLista" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_ParentPropName="_ElencoListePrelievoRow" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_UserParentTable="ElencoListePrelievo" />
|
||||
<msdata:Relationship name="FK_ElencoListePrelievo_TipoListaPrelievo11" msdata:parent="TipoListaPrelievo" msdata:child="ElencoListePrelievo" msdata:parentkey="CodTipoLista" msdata:childkey="CodTipoLista" msprop:Generator_UserChildTable="ElencoListePrelievo" msprop:Generator_ChildPropName="_GetElencoListePrelievoRows" msprop:Generator_UserRelationName="FK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_ParentPropName="TipoListaPrelievoRow" msprop:Generator_RelationVarName="relationFK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_UserParentTable="TipoListaPrelievo" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagPosizioni" msdata:parent="AnagPosizioni" msdata:child="ElencoCartellini" msdata:parentkey="IdxPosizione" msdata:childkey="IdxPosizione" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagPosizioni" msprop:Generator_ParentPropName="AnagPosizioniRow" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagPosizioni" msprop:Generator_UserParentTable="AnagPosizioni" />
|
||||
<msdata:Relationship name="FK_Celle_TipoCella" msdata:parent="TipoCella" msdata:child="Celle" msdata:parentkey="IdxTipoCella" msdata:childkey="IdxTipoCella" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_TipoCella" msprop:Generator_ParentPropName="TipoCellaRow" msprop:Generator_RelationVarName="relationFK_Celle_TipoCella" msprop:Generator_UserParentTable="TipoCella" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcCorrente_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcCorrente" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcStorico_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="PosizioneUdcStorico" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="PosizioneUdcStorico" msprop:Generator_ChildPropName="GetPosizioneUdcStoricoRows" msprop:Generator_UserRelationName="FK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_PosizioneUdcStorico_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
|
||||
<msdata:Relationship name="FK_Blocchi_AnagMag" msdata:parent="AnagMag" msdata:child="Blocchi" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="Blocchi" msprop:Generator_ChildPropName="GetBlocchiRows" msprop:Generator_UserRelationName="FK_Blocchi_AnagMag" msprop:Generator_RelationVarName="relationFK_Blocchi_AnagMag" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" />
|
||||
<msdata:Relationship name="FK_PosizioneUdcCorrente_Celle" msdata:parent="Celle" msdata:child="PosizioneUdcCorrente" msdata:parentkey="IdxCella" msdata:childkey="IdxCella" msprop:Generator_UserChildTable="PosizioneUdcCorrente" msprop:Generator_ChildPropName="GetPosizioneUdcCorrenteRows" msprop:Generator_UserRelationName="FK_PosizioneUdcCorrente_Celle" msprop:Generator_RelationVarName="relationFK_PosizioneUdcCorrente_Celle" msprop:Generator_UserParentTable="Celle" msprop:Generator_ParentPropName="CelleRow" />
|
||||
<msdata:Relationship name="FK_Celle_Blocchi1" msdata:parent="Blocchi" msdata:child="Celle" msdata:parentkey="IdxBlocco" msdata:childkey="IdxBlocco" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_Blocchi1" msprop:Generator_RelationVarName="relationFK_Celle_Blocchi1" msprop:Generator_UserParentTable="Blocchi" msprop:Generator_ParentPropName="BlocchiRow" />
|
||||
<msdata:Relationship name="FK_TipoCella_AnagMag" msdata:parent="AnagMag" msdata:child="TipoCella" msdata:parentkey="CodMag CodCS" msdata:childkey="CodMag CodCS" msprop:Generator_UserChildTable="TipoCella" msprop:Generator_ChildPropName="GetTipoCellaRows" msprop:Generator_UserRelationName="FK_TipoCella_AnagMag" msprop:Generator_RelationVarName="relationFK_TipoCella_AnagMag" msprop:Generator_UserParentTable="AnagMag" msprop:Generator_ParentPropName="AnagMagRowParent" />
|
||||
<msdata:Relationship name="FK_RigheListePrelievo_ElencoCartellini" msdata:parent="ElencoCartellini" msdata:child="RigheListePrelievo" msdata:parentkey="UDC" msdata:childkey="UDC" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoCartellini" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoCartellini" msprop:Generator_UserParentTable="ElencoCartellini" msprop:Generator_ParentPropName="ElencoCartelliniRow" />
|
||||
<msdata:Relationship name="FK_RigheListePrelievo_ElencoListePrelievo11" msdata:parent="ElencoListePrelievo" msdata:child="RigheListePrelievo" msdata:parentkey="CodLista" msdata:childkey="CodLista" msprop:Generator_UserChildTable="RigheListePrelievo" msprop:Generator_ChildPropName="GetRigheListePrelievoRows" msprop:Generator_UserRelationName="FK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_RelationVarName="relationFK_RigheListePrelievo_ElencoListePrelievo11" msprop:Generator_UserParentTable="ElencoListePrelievo" msprop:Generator_ParentPropName="_ElencoListePrelievoRow" />
|
||||
<msdata:Relationship name="FK_ElencoListePrelievo_TipoListaPrelievo11" msdata:parent="TipoListaPrelievo" msdata:child="ElencoListePrelievo" msdata:parentkey="CodTipoLista" msdata:childkey="CodTipoLista" msprop:Generator_UserChildTable="ElencoListePrelievo" msprop:Generator_ChildPropName="_GetElencoListePrelievoRows" msprop:Generator_UserRelationName="FK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_RelationVarName="relationFK_ElencoListePrelievo_TipoListaPrelievo11" msprop:Generator_UserParentTable="TipoListaPrelievo" msprop:Generator_ParentPropName="TipoListaPrelievoRow" />
|
||||
<msdata:Relationship name="FK_ElencoCartellini_AnagPosizioni" msdata:parent="AnagPosizioni" msdata:child="ElencoCartellini" msdata:parentkey="IdxPosizione" msdata:childkey="IdxPosizione" msprop:Generator_UserChildTable="ElencoCartellini" msprop:Generator_ChildPropName="GetElencoCartelliniRows" msprop:Generator_UserRelationName="FK_ElencoCartellini_AnagPosizioni" msprop:Generator_RelationVarName="relationFK_ElencoCartellini_AnagPosizioni" msprop:Generator_UserParentTable="AnagPosizioni" msprop:Generator_ParentPropName="AnagPosizioniRow" />
|
||||
<msdata:Relationship name="FK_Celle_TipoCella" msdata:parent="TipoCella" msdata:child="Celle" msdata:parentkey="IdxTipoCella" msdata:childkey="IdxTipoCella" msprop:Generator_UserChildTable="Celle" msprop:Generator_ChildPropName="GetCelleRows" msprop:Generator_UserRelationName="FK_Celle_TipoCella" msprop:Generator_RelationVarName="relationFK_Celle_TipoCella" msprop:Generator_UserParentTable="TipoCella" msprop:Generator_ParentPropName="TipoCellaRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -33,7 +33,7 @@
|
||||
<Shape ID="DesignTable:AnagLeghe" ZOrder="7" X="131" Y="1854" Height="134" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:StoricoAzioniOperatore" ZOrder="3" X="104" Y="2017" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:stp_MagFifoByParticolare" ZOrder="2" X="505" Y="2073" Height="229" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:stp_UDC_FifoByParticolareBlocco" ZOrder="1" X="869" Y="2145" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:stp_UDC_FifoByParticolareBlocco" ZOrder="1" X="869" Y="2145" Height="153" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="39" LineWidth="11">
|
||||
|
||||
Reference in New Issue
Block a user