Fix gestione ascensore (DA VALIDARE...)

This commit is contained in:
Samuele E. Locatelli
2017-07-25 12:49:30 +02:00
parent 418eb41cb6
commit 6bee8a9a6a
51 changed files with 100340 additions and 1614 deletions
Binary file not shown.
Binary file not shown.
+199 -199
View File
@@ -3,213 +3,213 @@
<div class="ui-grid-b ui-mini">
<div class="ui-block-a">
<div class="flLeft" style="font-size: 0.80em;">
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
<asp:DropDownList runat="server" ID="ddlStato" AutoPostBack="True">
<asp:ListItem Text="PREVISTI" Value="PREVISTO"></asp:ListItem>
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
<asp:ListItem Text="CONCLUSI" Value="CONCLUSO"></asp:ListItem>
<asp:ListItem Text="APERTI" Value="APERTO"></asp:ListItem>
<asp:ListItem Text="TUTTI" Value="*" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="flLeft" style="font-size: 0.70em;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" AutoPostBack="True" Width="10em" />
</div>
<div class="flLeft" style="font-size: 0.70em;">
<div class="ui-grid-d" style="text-align: center; margin: auto;">
<div class="ui-block-a">
<asp:LinkButton runat="server" ID="lbMinus5" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="-5" CommandArgument="-5" />
</div>
<div class="ui-block-b">
<asp:LinkButton runat="server" ID="lbMinus" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="-1" CommandArgument="-1" />
</div>
<div class="ui-block-c">
<asp:TextBox runat="server" ID="txtNumGG" Text="20" OnTextChanged="txtNumGG_TextChanged" Width="3em" />
</div>
<div class="ui-block-d">
<asp:LinkButton runat="server" ID="lbPlus" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="+1" CommandArgument="1" />
</div>
<div class="ui-block-e">
<asp:LinkButton runat="server" ID="lbPlus5" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="+5" CommandArgument="5" />
</div>
</div>
</div>
<div class="ui-block-a">
<div class="flLeft" style="font-size: 0.80em;">
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
<asp:DropDownList runat="server" ID="ddlStato" AutoPostBack="True">
<asp:ListItem Text="PREVISTI" Value="PREVISTO"></asp:ListItem>
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
<asp:ListItem Text="CONCLUSI" Value="CONCLUSO"></asp:ListItem>
<asp:ListItem Text="APERTI" Value="APERTO"></asp:ListItem>
<asp:ListItem Text="TUTTI" Value="*" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="ui-block-b text-center">
<div class="flLeft" style="font-size: 0.80em; width: 80%;">
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento (CLIENTE, DOCUMENTO)" AutoPostBack="true" />
</div>
<div class="flLeft" style="font-size: 0.80em; width: 20%;">
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
<asp:DropDownList runat="server" ID="ddlRecAgeDd" AutoPostBack="True">
<asp:ListItem Text="OGGI" Value="0"></asp:ListItem>
<asp:ListItem Text="IERI" Value="1"></asp:ListItem>
<asp:ListItem Text="SETTIMANA" Value="7"></asp:ListItem>
<asp:ListItem Text="15 GG" Value="14"></asp:ListItem>
<asp:ListItem Text="30 GG" Value="30"></asp:ListItem>
<asp:ListItem Text="60 GG" Value="60"></asp:ListItem>
<asp:ListItem Text="TUTTI" Value="999" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="flLeft" style="font-size: 0.70em;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" AutoPostBack="True" Width="10em" />
</div>
<div class="ui-block-c" style="text-align: right; margin: auto;">
<uc1:mod_selSquadre runat="server" ID="mod_selSquadre" />
<div class="flLeft" style="font-size: 0.70em;">
<div class="ui-grid-d" style="text-align: center; margin: auto;">
<div class="ui-block-a">
<asp:LinkButton runat="server" ID="lbMinus5" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="-5" CommandArgument="-5" />
</div>
<div class="ui-block-b">
<asp:LinkButton runat="server" ID="lbMinus" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="-1" CommandArgument="-1" />
</div>
<div class="ui-block-c">
<asp:TextBox runat="server" ID="txtNumGG" Text="20" OnTextChanged="txtNumGG_TextChanged" Width="3em" />
</div>
<div class="ui-block-d">
<asp:LinkButton runat="server" ID="lbPlus" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="+1" CommandArgument="1" />
</div>
<div class="ui-block-e">
<asp:LinkButton runat="server" ID="lbPlus5" CssClass="ui-btn ui-shadow ui-corner-all ui-btn-inline" OnClick="lbNumGg_Click" Text="+5" CommandArgument="5" />
</div>
</div>
</div>
</div>
<div class="ui-block-b text-center">
<div class="flLeft" style="font-size: 0.80em; width: 80%;">
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento (CLIENTE, DOCUMENTO)" AutoPostBack="true" />
</div>
<div class="flLeft" style="font-size: 0.80em; width: 20%;">
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
<asp:DropDownList runat="server" ID="ddlRecAgeDd" AutoPostBack="True">
<asp:ListItem Text="OGGI" Value="0"></asp:ListItem>
<asp:ListItem Text="IERI" Value="1"></asp:ListItem>
<asp:ListItem Text="SETTIMANA" Value="7"></asp:ListItem>
<asp:ListItem Text="15 GG" Value="14"></asp:ListItem>
<asp:ListItem Text="30 GG" Value="30"></asp:ListItem>
<asp:ListItem Text="60 GG" Value="60"></asp:ListItem>
<asp:ListItem Text="TUTTI" Value="999" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
</div>
<div class="ui-block-c" style="text-align: right; margin: auto;">
<uc1:mod_selSquadre runat="server" ID="mod_selSquadre" />
</div>
</div>
<div class="ui-mini noShadows">
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<AlternatingRowStyle BackColor="White" />
<EmptyDataTemplate>
Nessun risultato
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
<ItemTemplate>
<div style="clear: both; width: 240px;">
<div class="flLeft">
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' />
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' />
</div>
<div class="flRight" style="color: #ACACAC;">
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' />
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' />
</div>
<div class="text-center" style="padding: 0px 2px;">
<div style="font-size: 0.8em; color: #ACACAC; font-style: italic;">
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario") %>' />
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<AlternatingRowStyle BackColor="White" />
<EmptyDataTemplate>
Nessun risultato
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
<ItemTemplate>
<div style="clear: both; width: 240px;">
<div class="flLeft">
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' />
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' />
</div>
<div class="flRight" style="color: #ACACAC;">
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' />
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' />
</div>
<div class="text-center" style="padding: 0px 2px;">
<div style="font-size: 0.8em; color: #ACACAC; font-style: italic;">
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario") %>' />
</div>
</div>
</div>
<div style="clear: both; width: 20em; font-size: 0.8em; color: #ACACAC;">
<div>
<div class="flRight">
<i class="fa fa-truck"></i>
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0} min") %>' />
&nbsp; + &nbsp;
</div>
</div>
</div>
<div style="clear: both; width: 20em; font-size: 0.8em; color: #ACACAC;">
<div>
<div class="flRight">
<i class="fa fa-truck"></i>
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0} min") %>' />
&nbsp; + &nbsp;
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0} min") %>' />
<i class="fa fa-wrench"></i>
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Squadra" SortExpression="DescrSquadra">
<HeaderTemplate>
<asp:Label ID="lblHeadSquadra" runat="server" Text="Squadra" Visible='<%# showSelSquadre %>'></asp:Label>
</HeaderTemplate>
<ItemTemplate>
<div>
<asp:Label ID="lblDescrSquadra" runat="server" Text='<%# Bind("DescrSquadra") %>' Visible='<%# showSelSquadre %>'></asp:Label>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="op" SortExpression="NumOp" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-users fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("NumOp") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
</div>
<%--</ItemTemplate>
<i class="fa fa-wrench"></i>
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Squadra" SortExpression="DescrSquadra">
<HeaderTemplate>
<asp:Label ID="lblHeadSquadra" runat="server" Text="Squadra" Visible='<%# showSelSquadre %>'></asp:Label>
</HeaderTemplate>
<ItemTemplate>
<div>
<asp:Label ID="lblDescrSquadra" runat="server" Text='<%# Bind("DescrSquadra") %>' Visible='<%# showSelSquadre %>'></asp:Label>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="op" SortExpression="NumOp" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-users fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("NumOp") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
</div>
<%--</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Localita">
<ItemTemplate>--%>
<div class="flRight" style="font-size: 0.8em;">
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
<br />
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="piano" SortExpression="PianoCons" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-building-o fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="DOC / note" SortExpression="RifOC">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' />
<br />
<asp:Label CssClass="flRight" Font-Size="0.9em" ForeColor="#5E5E5E" ID="lblDettImpegno" runat="server" Text='<%# Eval("DettImpegno") %>' />
</div>
<div class="flRight" style="font-size: 0.8em; color: #4f89ad;">
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
</div>
<div class="flRight" style="font-size: 0.7em; color: #3f6d89;">
<asp:Label ID="lblNoteTec" runat="server" Text='<%# Eval("NoteInt") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Aperto" SortExpression="IntAperto" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox3" runat="server" Checked='<%# Eval("IntAperto") %>' CssClass="ui-state-disabled" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:DropDownList runat="server" ID="ddlRitUs" DataSourceID="odsRitUs" DataTextField="label" DataValueField="value" SelectedValue='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled"></asp:DropDownList>
<asp:ObjectDataSource ID="odsRitUs" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="RitUsato" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Asc." SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore") %>' CssClass="ui-state-disabled" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra Intervento" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearch" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR RagSoc LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="Original_{0}">
<FilterParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="*" Type="string" />
</FilterParameters>
<SelectParameters>
<asp:ControlParameter ControlID="ddlStato" Name="Stato" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="txtDataFrom" Name="DataRif" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="txtNumGg" Name="NumGg" PropertyName="Text" Type="String" />
<asp:SessionParameter Name="CodSquadra" Type="String" SessionField="elencoSquadre" DefaultValue="*" />
<asp:ControlParameter ControlID="ddlRecAgeDd" Name="RecAgeDd" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<div class="flRight" style="font-size: 0.8em;">
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
<br />
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="piano" SortExpression="PianoCons" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-building-o fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="DOC / note" SortExpression="RifOC">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' />
<br />
<asp:Label CssClass="flRight" Font-Size="0.9em" ForeColor="#5E5E5E" ID="lblDettImpegno" runat="server" Text='<%# Eval("DettImpegno") %>' />
</div>
<div class="flRight" style="font-size: 0.8em; color: #4f89ad;">
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
</div>
<div class="flRight" style="font-size: 0.7em; color: #3f6d89;">
<asp:Label ID="lblNoteTec" runat="server" Text='<%# Eval("NoteInt") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Aperto" SortExpression="IntAperto" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox3" runat="server" Checked='<%# Eval("IntAperto") %>' CssClass="ui-state-disabled" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:DropDownList runat="server" ID="ddlRitUs" DataSourceID="odsRitUs" DataTextField="label" DataValueField="value" SelectedValue='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled"></asp:DropDownList>
<asp:ObjectDataSource ID="odsRitUs" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="RitUsato" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Asc." SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore").ToString()=="1" %>' CssClass="ui-state-disabled" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra Intervento" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearch" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR RagSoc LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="Original_{0}">
<FilterParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="*" Type="string" />
</FilterParameters>
<SelectParameters>
<asp:ControlParameter ControlID="ddlStato" Name="Stato" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="txtDataFrom" Name="DataRif" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="txtNumGg" Name="NumGg" PropertyName="Text" Type="String" />
<asp:SessionParameter Name="CodSquadra" Type="String" SessionField="elencoSquadre" DefaultValue="*" />
<asp:ControlParameter ControlID="ddlRecAgeDd" Name="RecAgeDd" PropertyName="SelectedValue" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
+41 -41
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace WebSCR.WebUserControls {
@@ -13,110 +13,110 @@ namespace WebSCR.WebUserControls {
public partial class mod_Interventi {
/// <summary>
/// ddlStato control.
/// Controllo ddlStato.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.DropDownList ddlStato;
/// <summary>
/// txtDataFrom control.
/// Controllo txtDataFrom.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.TextBox txtDataFrom;
/// <summary>
/// lbMinus5 control.
/// Controllo lbMinus5.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lbMinus5;
/// <summary>
/// lbMinus control.
/// Controllo lbMinus.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lbMinus;
/// <summary>
/// txtNumGG control.
/// Controllo txtNumGG.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.TextBox txtNumGG;
/// <summary>
/// lbPlus control.
/// Controllo lbPlus.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lbPlus;
/// <summary>
/// lbPlus5 control.
/// Controllo lbPlus5.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lbPlus5;
/// <summary>
/// txtSearch control.
/// Controllo txtSearch.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.TextBox txtSearch;
/// <summary>
/// ddlRecAgeDd control.
/// Controllo ddlRecAgeDd.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.DropDownList ddlRecAgeDd;
/// <summary>
/// mod_selSquadre control.
/// Controllo mod_selSquadre.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre;
/// <summary>
/// grView control.
/// Controllo grView.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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>
/// ods control.
/// Controllo ods.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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;
}
+146 -146
View File
@@ -1,159 +1,159 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_cronologico.ascx.cs" Inherits="WebSCR.WebUserControls.mod_cronologico" %>
<div class="ui-grid-b ui-mini">
<div class="ui-block-a text-center">
<div class="flLeft" style="font-size: 0.80em;">
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
<asp:DropDownList runat="server" ID="ddlStato" AutoPostBack="True">
<asp:ListItem Text="PREVISTI" Value="PREVISTO"></asp:ListItem>
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
<asp:ListItem Text="CONCLUSI" Value="CONCLUSO"></asp:ListItem>
<asp:ListItem Text="TUTTI" Value="*" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="flLeft" style="font-size: 0.70em;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" AutoPostBack="True" Width="10em" />
<i>(data inserimento ordine)</i>
</div>
<div class="ui-block-a text-center">
<div class="flLeft" style="font-size: 0.80em;">
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
<asp:DropDownList runat="server" ID="ddlStato" AutoPostBack="True">
<asp:ListItem Text="PREVISTI" Value="PREVISTO"></asp:ListItem>
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
<asp:ListItem Text="CONCLUSI" Value="CONCLUSO"></asp:ListItem>
<asp:ListItem Text="TUTTI" Value="*" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="ui-block-b text-center">
<div class="flLeft" style="font-size: 0.80em; width: 80%;">
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento (CLIENTE, DOCUMENTO)" AutoPostBack="true" />
</div>
<div class="flLeft" style="font-size: 0.70em;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" AutoPostBack="True" Width="10em" />
<i>(data inserimento ordine)</i>
</div>
</div>
<div class="ui-block-b text-center">
<div class="flLeft" style="font-size: 0.80em; width: 80%;">
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento (CLIENTE, DOCUMENTO)" AutoPostBack="true" />
</div>
</div>
</div>
<div class="ui-mini">
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<AlternatingRowStyle BackColor="White" />
<EmptyDataTemplate>
Nessun risultato
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
<ItemTemplate>
<div style="clear: both; width: 240px;">
<div class="flLeft">
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' />
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' />
</div>
<div class="flRight" style="color: #ACACAC;">
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' />
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' />
</div>
<div class="text-center" style="padding: 0px 2px;">
<div style="font-size: 0.8em; color: #ACACAC; font-style: italic;">
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario") %>' />
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<AlternatingRowStyle BackColor="White" />
<EmptyDataTemplate>
Nessun risultato
</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
<ItemTemplate>
<div style="clear: both; width: 240px;">
<div class="flLeft">
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' />
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' />
</div>
<div class="flRight" style="color: #ACACAC;">
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' />
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' />
</div>
<div class="text-center" style="padding: 0px 2px;">
<div style="font-size: 0.8em; color: #ACACAC; font-style: italic;">
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario") %>' />
</div>
</div>
</div>
<div style="clear: both; width: 240px; font-size: 0.8em; color: #ACACAC;">
<div>
<div class="flRight">
<i class="fa fa-truck"></i>
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0} min") %>' />
&nbsp; + &nbsp;
</div>
</div>
</div>
<div style="clear: both; width: 240px; font-size: 0.8em; color: #ACACAC;">
<div>
<div class="flRight">
<i class="fa fa-truck"></i>
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0} min") %>' />
&nbsp; + &nbsp;
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0} min") %>' />
<i class="fa fa-wrench"></i>
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Squadra" SortExpression="DescrSquadra">
<ItemTemplate>
<div>
<asp:Label ID="lblDescrSquadra" runat="server" Text='<%# Bind("DescrSquadra") %>'></asp:Label>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="op" SortExpression="NumOp" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-users fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("NumOp") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
</div>
<%--</ItemTemplate>
<i class="fa fa-wrench"></i>
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Squadra" SortExpression="DescrSquadra">
<ItemTemplate>
<div>
<asp:Label ID="lblDescrSquadra" runat="server" Text='<%# Bind("DescrSquadra") %>'></asp:Label>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="op" SortExpression="NumOp" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-users fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("NumOp") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
<ItemTemplate>
<div class="flLeft" style="font-size: 0.75em;">
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
</div>
<%--</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Localita">
<ItemTemplate>--%>
<div class="flRight" style="font-size: 0.8em;">
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
<br />
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="piano" SortExpression="PianoCons" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-building-o fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="DOC / note" SortExpression="RifOC">
<ItemTemplate>
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' />
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:DropDownList runat="server" ID="ddlRitUs" DataSourceID="odsRitUs" DataTextField="label" DataValueField="value" SelectedValue='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled"></asp:DropDownList>
<asp:ObjectDataSource ID="odsRitUs" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="RitUsato" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Asc." SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore") %>' CssClass="ui-state-disabled" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra Intervento" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearchCron" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR RagSoc LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="original_{0}">
<FilterParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="*" Type="string" />
</FilterParameters>
<SelectParameters>
<asp:ControlParameter ControlID="ddlStato" Name="Stato" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="txtDataFrom" Name="DataCreaz" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<div class="flRight" style="font-size: 0.8em;">
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
<br />
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="piano" SortExpression="PianoCons" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<i class="fa fa-building-o fa-2x"></i>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="DOC / note" SortExpression="RifOC">
<ItemTemplate>
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' />
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:DropDownList runat="server" ID="ddlRitUs" DataSourceID="odsRitUs" DataTextField="label" DataValueField="value" SelectedValue='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled"></asp:DropDownList>
<asp:ObjectDataSource ID="odsRitUs" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="RitUsato" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Asc." SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore").ToString()=="1" %>' CssClass="ui-state-disabled" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra Intervento" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearchCron" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR RagSoc LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="original_{0}">
<FilterParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="*" Type="string" />
</FilterParameters>
<SelectParameters>
<asp:ControlParameter ControlID="ddlStato" Name="Stato" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="txtDataFrom" Name="DataCreaz" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
+20 -20
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace WebSCR.WebUserControls {
@@ -13,47 +13,47 @@ namespace WebSCR.WebUserControls {
public partial class mod_cronologico {
/// <summary>
/// ddlStato control.
/// Controllo ddlStato.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.DropDownList ddlStato;
/// <summary>
/// txtDataFrom control.
/// Controllo txtDataFrom.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.TextBox txtDataFrom;
/// <summary>
/// txtSearch control.
/// Controllo txtSearch.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.TextBox txtSearch;
/// <summary>
/// grView control.
/// Controllo grView.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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>
/// ods control.
/// Controllo ods.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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;
}
+18 -4
View File
@@ -33,8 +33,15 @@
</div>
<div class="ui-block-c">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Bind("Ascensore") %>' />
<%--<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Bind("Ascensore") %>' />--%>
<asp:DropDownList runat="server" ID="ddlAscens" DataSourceID="odsAscens" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ascensore") %>'></asp:DropDownList>
<asp:ObjectDataSource ID="odsAscens" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Ascensore" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
@@ -166,8 +173,15 @@
</div>
<div class="ui-block-c">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />
<%--<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />--%>
<asp:DropDownList runat="server" ID="ddlAscens" DataSourceID="odsAscens" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("Ascensore") %>'></asp:DropDownList>
<asp:ObjectDataSource ID="odsAscens" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="Ascensore" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
+176 -170
View File
@@ -9,176 +9,182 @@ using WebSCR_data;
namespace WebSCR.WebUserControls
{
public partial class mod_impegno : System.Web.UI.UserControl
public partial class mod_impegno : System.Web.UI.UserControl
{
/// <summary>
/// evento errore in update
/// </summary>
public event EventHandler eh_errUpd;
/// <summary>
/// sollevo evento selezione /deselezione
/// </summary>
protected void raiseEventErrUpd()
{
/// <summary>
/// evento errore in update
/// </summary>
public event EventHandler eh_errUpd;
/// <summary>
/// sollevo evento selezione /deselezione
/// </summary>
protected void raiseEventErrUpd()
{
if (eh_errUpd != null)
{
eh_errUpd(this, new EventArgs());
}
}
/// <summary>
/// evento update
/// </summary>
public event EventHandler eh_Upd;
/// <summary>
/// sollevo evento selezione /deselezione
/// </summary>
protected void raiseEventUpd()
{
if (eh_Upd != null)
{
eh_Upd(this, new EventArgs());
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
doUpdate();
}
}
/// <summary>
/// disabilita modalità EDIT record...
/// </summary>
public bool disableEdit { get; set; }
/// <summary>
/// verifica se ci sia matricola in sessione
/// </summary>
public bool hasMatricola
{
get
{
return matrOp != "";
}
}
/// <summary>
/// matricola OP (x utente)
/// </summary>
public string matrOp
{
get
{
string answ = "";
try
{
answ = memLayer.ML.StringSessionObj("matrOp");
}
catch
{ }
return answ;
}
}
/// <summary>
/// impegno corrente
/// </summary>
public int idxImpegno
{
get
{
int answ = 0;
try
{
answ = Convert.ToInt32(qsVal("IdxImpegno"));
}
catch
{ }
return answ;
}
}
public void doUpdate()
{
frmViewImpegni.DataBind();
}
/// <summary>
/// recupera valore querystring
/// </summary>
/// <param name="nome"></param>
/// <returns></returns>
protected string qsVal(string nome)
{
return memLayer.ML.QSS(nome);
}
/// <summary>
/// recupero valori mancanti
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void odsImpegni_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
if (e.InputParameters["UrlDoc"] == null)
{
e.InputParameters["UrlDoc"] = "";
}
if (e.InputParameters["UserMod"] == null)
{
e.InputParameters["UserMod"] = SteamWare.user_std.UtSn.userNameAD;
}
if (e.InputParameters["NoteGen"] == null)
{
e.InputParameters["NoteGen"] = "";
}
if (e.InputParameters["MatrOp"] == null)
{
e.InputParameters["MatrOp"] = matrOp;
}
}
protected void odsImpegni_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
memLayer.ML.setSessionVal("errorMess", "Record Eliminato");
Response.Redirect(SteamWare.devicesAuthProxy.pagCorrente);
}
protected void frmViewImpegni_ItemUpdating(object sender, FormViewUpdateEventArgs e)
{
// controllo, SE avesse selezionato ND NON permetto salvataggio e blocco
if (e.NewValues["RitUsato"].ToString() == "-1")
{
e.Cancel = true;
memLayer.ML.setSessionVal("errorMess", "ERRORE: va specificato Si/no per ritiro usato");
raiseEventErrUpd();
}
}
/// <summary>
/// formatta messaggio orario controllando SE quello impostato sia fuori fascia promessa a cliente
/// </summary>
/// <param name="_dataOra"></param>
/// <param name="_dataOraFrom"></param>
/// <param name="_dataOraTo"></param>
/// <param name="txtMain"></param>
/// <param name="txtErr"></param>
/// <returns></returns>
public string checkOrario(object _dataOra, object _dataOraFrom, object _dataOraTo, object txtMain, object txtErr)
{
string answ = txtMain.ToString();
try
{
DateTime DTI = Convert.ToDateTime(_dataOra);
DateTime DTFrom = Convert.ToDateTime(_dataOraFrom);
DateTime DTTo = Convert.ToDateTime(_dataOraTo);
if (DTI.Subtract(DTFrom).TotalMinutes < 0 || DTI.Subtract(DTTo).TotalMinutes > 0)
{
answ = string.Format("{0}{1}{0}", txtErr, txtMain);
}
}
catch
{ }
return answ;
}
protected void odsImpegni_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
raiseEventUpd();
}
if (eh_errUpd != null)
{
eh_errUpd(this, new EventArgs());
}
}
/// <summary>
/// evento update
/// </summary>
public event EventHandler eh_Upd;
/// <summary>
/// sollevo evento selezione /deselezione
/// </summary>
protected void raiseEventUpd()
{
if (eh_Upd != null)
{
eh_Upd(this, new EventArgs());
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
doUpdate();
}
}
/// <summary>
/// disabilita modalità EDIT record...
/// </summary>
public bool disableEdit { get; set; }
/// <summary>
/// verifica se ci sia matricola in sessione
/// </summary>
public bool hasMatricola
{
get
{
return matrOp != "";
}
}
/// <summary>
/// matricola OP (x utente)
/// </summary>
public string matrOp
{
get
{
string answ = "";
try
{
answ = memLayer.ML.StringSessionObj("matrOp");
}
catch
{ }
return answ;
}
}
/// <summary>
/// impegno corrente
/// </summary>
public int idxImpegno
{
get
{
int answ = 0;
try
{
answ = Convert.ToInt32(qsVal("IdxImpegno"));
}
catch
{ }
return answ;
}
}
public void doUpdate()
{
frmViewImpegni.DataBind();
}
/// <summary>
/// recupera valore querystring
/// </summary>
/// <param name="nome"></param>
/// <returns></returns>
protected string qsVal(string nome)
{
return memLayer.ML.QSS(nome);
}
/// <summary>
/// recupero valori mancanti
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void odsImpegni_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
if (e.InputParameters["UrlDoc"] == null)
{
e.InputParameters["UrlDoc"] = "";
}
if (e.InputParameters["UserMod"] == null)
{
e.InputParameters["UserMod"] = SteamWare.user_std.UtSn.userNameAD;
}
if (e.InputParameters["NoteGen"] == null)
{
e.InputParameters["NoteGen"] = "";
}
if (e.InputParameters["MatrOp"] == null)
{
e.InputParameters["MatrOp"] = matrOp;
}
}
protected void odsImpegni_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
memLayer.ML.setSessionVal("errorMess", "Record Eliminato");
Response.Redirect(SteamWare.devicesAuthProxy.pagCorrente);
}
protected void frmViewImpegni_ItemUpdating(object sender, FormViewUpdateEventArgs e)
{
// controllo, SE avesse selezionato ND NON permetto salvataggio e blocco
if (e.NewValues["RitUsato"].ToString() == "-1")
{
e.Cancel = true;
memLayer.ML.setSessionVal("errorMess", "ERRORE: va specificato Si/no per ritiro usato");
raiseEventErrUpd();
}
if (e.NewValues["Ascensore"].ToString() == "-1")
{
e.Cancel = true;
memLayer.ML.setSessionVal("errorMess", "ERRORE: va specificato Si/no per Ascensore");
raiseEventErrUpd();
}
}
/// <summary>
/// formatta messaggio orario controllando SE quello impostato sia fuori fascia promessa a cliente
/// </summary>
/// <param name="_dataOra"></param>
/// <param name="_dataOraFrom"></param>
/// <param name="_dataOraTo"></param>
/// <param name="txtMain"></param>
/// <param name="txtErr"></param>
/// <returns></returns>
public string checkOrario(object _dataOra, object _dataOraFrom, object _dataOraTo, object txtMain, object txtErr)
{
string answ = txtMain.ToString();
try
{
DateTime DTI = Convert.ToDateTime(_dataOra);
DateTime DTFrom = Convert.ToDateTime(_dataOraFrom);
DateTime DTTo = Convert.ToDateTime(_dataOraTo);
if (DTI.Subtract(DTFrom).TotalMinutes < 0 || DTI.Subtract(DTTo).TotalMinutes > 0)
{
answ = string.Format("{0}{1}{0}", txtErr, txtMain);
}
}
catch
{ }
return answ;
}
protected void odsImpegni_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
raiseEventUpd();
}
}
}
+17 -17
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace WebSCR.WebUserControls {
@@ -13,38 +13,38 @@ namespace WebSCR.WebUserControls {
public partial class mod_impegno {
/// <summary>
/// frmViewImpegni control.
/// Controllo frmViewImpegni.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.FormView frmViewImpegni;
/// <summary>
/// odsImpegni control.
/// Controllo odsImpegni.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 odsImpegni;
/// <summary>
/// odsSquadre control.
/// Controllo odsSquadre.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 odsSquadre;
/// <summary>
/// odsOrario control.
/// Controllo odsOrario.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 odsOrario;
}
+50 -50
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace WebSCR.WebUserControls {
@@ -13,137 +13,137 @@ namespace WebSCR.WebUserControls {
public partial class mod_pianificazione {
/// <summary>
/// upnTestata control.
/// Controllo upnTestata.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.UpdatePanel upnTestata;
/// <summary>
/// mod_filtroZona control.
/// Controllo mod_filtroZona.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_filtroZona mod_filtroZona;
/// <summary>
/// txtMatrOp control.
/// Controllo txtMatrOp.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.TextBox txtMatrOp;
/// <summary>
/// lblWarning control.
/// Controllo lblWarning.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lblWarning;
/// <summary>
/// mod_filtroPeriodo control.
/// Controllo mod_filtroPeriodo.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_filtroPeriodo mod_filtroPeriodo;
/// <summary>
/// mod_selSquadre control.
/// Controllo mod_selSquadre.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre;
/// <summary>
/// lbLess control.
/// Controllo lbLess.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lbLess;
/// <summary>
/// lbMore control.
/// Controllo lbMore.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 lbMore;
/// <summary>
/// mod_dispPeriodo control.
/// Controllo mod_dispPeriodo.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_dispPeriodo mod_dispPeriodo;
/// <summary>
/// mod_giornata control.
/// Controllo mod_giornata.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_giornata mod_giornata;
/// <summary>
/// mod_impegno control.
/// Controllo mod_impegno.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_impegno mod_impegno;
/// <summary>
/// mod_dettInt control.
/// Controllo mod_dettInt.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_dettInt mod_dettInt;
/// <summary>
/// mod_compSquadra control.
/// Controllo mod_compSquadra.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_compSquadra mod_compSquadra;
/// <summary>
/// mod_fileImpegno control.
/// Controllo mod_fileImpegno.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_fileImpegno mod_fileImpegno;
/// <summary>
/// mod_fileUpload control.
/// Controllo mod_fileUpload.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_fileUpload mod_fileUpload;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -2856,7 +2856,7 @@ namespace WebSCR_data {
string UrlDoc,
int NumOp,
int RitUsato,
bool Ascensore,
int Ascensore,
int PianoCons,
string UserMod,
System.DateTime DataMod,
@@ -3053,7 +3053,7 @@ namespace WebSCR_data {
base.Columns.Add(this.columnNumOp);
this.columnRitUsato = new global::System.Data.DataColumn("RitUsato", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRitUsato);
this.columnAscensore = new global::System.Data.DataColumn("Ascensore", typeof(bool), null, global::System.Data.MappingType.Element);
this.columnAscensore = new global::System.Data.DataColumn("Ascensore", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnAscensore);
this.columnPianoCons = new global::System.Data.DataColumn("PianoCons", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPianoCons);
@@ -8040,9 +8040,9 @@ namespace WebSCR_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Ascensore {
public int Ascensore {
get {
return ((bool)(this[this.tableImpegni.AscensoreColumn]));
return ((int)(this[this.tableImpegni.AscensoreColumn]));
}
set {
this[this.tableImpegni.AscensoreColumn] = value;
+3 -3
View File
@@ -6,9 +6,9 @@ namespace WebSCR_data
{
public partial class DS_Applicazione
{
}
public partial class DS_Applicazione
{
}
}
namespace WebSCR_data {
+23 -23
View File
@@ -1378,7 +1378,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="deleteQuery">
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ASSD_deleteQuery</CommandText>
@@ -1429,7 +1429,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_ASSD_insMiss" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMiss" Modifier="Public" Name="insMiss" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insMiss">
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_ASSD_insMiss" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMiss" Modifier="Public" Name="insMiss" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="insMiss">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ASSD_insMiss</CommandText>
@@ -1440,7 +1440,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_ASSD_updateSquadra" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateSquadra" Modifier="Public" Name="updateSquadra" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateSquadra">
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_ASSD_updateSquadra" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateSquadra" Modifier="Public" Name="updateSquadra" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateSquadra">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ASSD_updateSquadra</CommandText>
@@ -1465,7 +1465,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent" msprop:Generator_RowClassName="AnagSquadreRow">
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_RowClassName="AnagSquadreRow" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
@@ -1497,7 +1497,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent" msprop:Generator_RowClassName="AnagZoneRow">
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_RowClassName="AnagZoneRow" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxZona" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxZona" msprop:Generator_ColumnPropNameInRow="idxZona" msprop:Generator_ColumnPropNameInTable="idxZonaColumn" msprop:Generator_UserColumnName="idxZona" type="xs:int" />
@@ -1533,7 +1533,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent" msprop:Generator_RowClassName="AnagTipoConsegneRow">
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_RowClassName="AnagTipoConsegneRow" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
@@ -1558,7 +1558,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1642,7 +1642,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_RowClassName="ImpegniRow" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent">
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent" msprop:Generator_RowClassName="ImpegniRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1749,7 +1749,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:element>
<xs:element name="NumOp" msprop:Generator_ColumnVarNameInTable="columnNumOp" msprop:Generator_ColumnPropNameInRow="NumOp" msprop:Generator_ColumnPropNameInTable="NumOpColumn" msprop:Generator_UserColumnName="NumOp" type="xs:int" />
<xs:element name="RitUsato" msprop:Generator_ColumnVarNameInTable="columnRitUsato" msprop:Generator_ColumnPropNameInRow="RitUsato" msprop:Generator_ColumnPropNameInTable="RitUsatoColumn" msprop:Generator_UserColumnName="RitUsato" type="xs:int" />
<xs:element name="Ascensore" msprop:Generator_ColumnVarNameInTable="columnAscensore" msprop:Generator_ColumnPropNameInRow="Ascensore" msprop:Generator_ColumnPropNameInTable="AscensoreColumn" msprop:Generator_UserColumnName="Ascensore" type="xs:boolean" />
<xs:element name="Ascensore" msprop:Generator_ColumnVarNameInTable="columnAscensore" msprop:Generator_ColumnPropNameInRow="Ascensore" msprop:Generator_ColumnPropNameInTable="AscensoreColumn" msprop:Generator_UserColumnName="Ascensore" type="xs:int" />
<xs:element name="PianoCons" msprop:Generator_ColumnVarNameInTable="columnPianoCons" msprop:Generator_ColumnPropNameInRow="PianoCons" msprop:Generator_ColumnPropNameInTable="PianoConsColumn" msprop:Generator_UserColumnName="PianoCons" type="xs:int" />
<xs:element name="UserMod" msprop:Generator_ColumnVarNameInTable="columnUserMod" msprop:Generator_ColumnPropNameInRow="UserMod" msprop:Generator_ColumnPropNameInTable="UserModColumn" msprop:Generator_UserColumnName="UserMod">
<xs:simpleType>
@@ -1813,7 +1813,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent" msprop:Generator_RowClassName="DispImpTotRow">
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_RowClassName="DispImpTotRow" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1823,7 +1823,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent" msprop:Generator_RowClassName="DispImpSquadreRow">
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_RowClassName="DispImpSquadreRow" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1839,7 +1839,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_RowClassName="v_ImpegniCalRow" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent">
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent" msprop:Generator_RowClassName="v_ImpegniCalRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1869,7 +1869,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_RowClassName="DisponibilitaRow" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent">
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent" msprop:Generator_RowClassName="DisponibilitaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1886,7 +1886,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent" msprop:Generator_RowClassName="DettImpegnoRow">
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_RowClassName="DettImpegnoRow" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1921,7 +1921,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_clientiZone" msprop:Generator_TableClassName="v_clientiZoneDataTable" msprop:Generator_TableVarName="tablev_clientiZone" msprop:Generator_RowChangedName="v_clientiZoneRowChanged" msprop:Generator_TablePropName="v_clientiZone" msprop:Generator_RowDeletingName="v_clientiZoneRowDeleting" msprop:Generator_RowChangingName="v_clientiZoneRowChanging" msprop:Generator_RowEvHandlerName="v_clientiZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="v_clientiZoneRowDeleted" msprop:Generator_RowClassName="v_clientiZoneRow" msprop:Generator_UserTableName="v_clientiZone" msprop:Generator_RowEvArgName="v_clientiZoneRowChangeEvent">
<xs:element name="v_clientiZone" msprop:Generator_TableClassName="v_clientiZoneDataTable" msprop:Generator_TableVarName="tablev_clientiZone" msprop:Generator_TablePropName="v_clientiZone" msprop:Generator_RowDeletingName="v_clientiZoneRowDeleting" msprop:Generator_RowChangingName="v_clientiZoneRowChanging" msprop:Generator_RowEvHandlerName="v_clientiZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="v_clientiZoneRowDeleted" msprop:Generator_UserTableName="v_clientiZone" msprop:Generator_RowChangedName="v_clientiZoneRowChanged" msprop:Generator_RowEvArgName="v_clientiZoneRowChangeEvent" msprop:Generator_RowClassName="v_clientiZoneRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1976,7 +1976,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DB2_DOCS" msprop:Generator_TableClassName="DB2_DOCSDataTable" msprop:Generator_TableVarName="tableDB2_DOCS" msprop:Generator_TablePropName="DB2_DOCS" msprop:Generator_RowDeletingName="DB2_DOCSRowDeleting" msprop:Generator_RowChangingName="DB2_DOCSRowChanging" msprop:Generator_RowEvHandlerName="DB2_DOCSRowChangeEventHandler" msprop:Generator_RowDeletedName="DB2_DOCSRowDeleted" msprop:Generator_UserTableName="DB2_DOCS" msprop:Generator_RowChangedName="DB2_DOCSRowChanged" msprop:Generator_RowEvArgName="DB2_DOCSRowChangeEvent" msprop:Generator_RowClassName="DB2_DOCSRow">
<xs:element name="DB2_DOCS" msprop:Generator_TableClassName="DB2_DOCSDataTable" msprop:Generator_TableVarName="tableDB2_DOCS" msprop:Generator_RowChangedName="DB2_DOCSRowChanged" msprop:Generator_TablePropName="DB2_DOCS" msprop:Generator_RowDeletingName="DB2_DOCSRowDeleting" msprop:Generator_RowChangingName="DB2_DOCSRowChanging" msprop:Generator_RowEvHandlerName="DB2_DOCSRowChangeEventHandler" msprop:Generator_RowDeletedName="DB2_DOCSRowDeleted" msprop:Generator_RowClassName="DB2_DOCSRow" msprop:Generator_UserTableName="DB2_DOCS" msprop:Generator_RowEvArgName="DB2_DOCSRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="TIPOPROTOC" msprop:Generator_ColumnVarNameInTable="columnTIPOPROTOC" msprop:Generator_ColumnPropNameInRow="TIPOPROTOC" msprop:Generator_ColumnPropNameInTable="TIPOPROTOCColumn" msprop:Generator_UserColumnName="TIPOPROTOC" minOccurs="0">
@@ -2122,7 +2122,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AssegnSquadre" msprop:Generator_TableClassName="AssegnSquadreDataTable" msprop:Generator_TableVarName="tableAssegnSquadre" msprop:Generator_TablePropName="AssegnSquadre" msprop:Generator_RowDeletingName="AssegnSquadreRowDeleting" msprop:Generator_RowChangingName="AssegnSquadreRowChanging" msprop:Generator_RowEvHandlerName="AssegnSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AssegnSquadreRowDeleted" msprop:Generator_UserTableName="AssegnSquadre" msprop:Generator_RowChangedName="AssegnSquadreRowChanged" msprop:Generator_RowEvArgName="AssegnSquadreRowChangeEvent" msprop:Generator_RowClassName="AssegnSquadreRow">
<xs:element name="AssegnSquadre" msprop:Generator_TableClassName="AssegnSquadreDataTable" msprop:Generator_TableVarName="tableAssegnSquadre" msprop:Generator_RowChangedName="AssegnSquadreRowChanged" msprop:Generator_TablePropName="AssegnSquadre" msprop:Generator_RowDeletingName="AssegnSquadreRowDeleting" msprop:Generator_RowChangingName="AssegnSquadreRowChanging" msprop:Generator_RowEvHandlerName="AssegnSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AssegnSquadreRowDeleted" msprop:Generator_RowClassName="AssegnSquadreRow" msprop:Generator_UserTableName="AssegnSquadre" msprop:Generator_RowEvArgName="AssegnSquadreRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DataFrom" msprop:Generator_ColumnVarNameInTable="columnDataFrom" msprop:Generator_ColumnPropNameInRow="DataFrom" msprop:Generator_ColumnPropNameInTable="DataFromColumn" msprop:Generator_UserColumnName="DataFrom" type="xs:dateTime" />
@@ -2151,7 +2151,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_RowClassName="DipendentiRow" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Matr" msprop:Generator_ColumnVarNameInTable="columnMatr" msprop:Generator_ColumnPropNameInRow="Matr" msprop:Generator_ColumnPropNameInTable="MatrColumn" msprop:Generator_UserColumnName="Matr">
@@ -2185,7 +2185,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_resImp" msprop:Generator_TableClassName="v_resImpDataTable" msprop:Generator_TableVarName="tablev_resImp" msprop:Generator_RowChangedName="v_resImpRowChanged" msprop:Generator_TablePropName="v_resImp" msprop:Generator_RowDeletingName="v_resImpRowDeleting" msprop:Generator_RowChangingName="v_resImpRowChanging" msprop:Generator_RowEvHandlerName="v_resImpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_resImpRowDeleted" msprop:Generator_RowClassName="v_resImpRow" msprop:Generator_UserTableName="v_resImp" msprop:Generator_RowEvArgName="v_resImpRowChangeEvent">
<xs:element name="v_resImp" msprop:Generator_TableClassName="v_resImpDataTable" msprop:Generator_TableVarName="tablev_resImp" msprop:Generator_TablePropName="v_resImp" msprop:Generator_RowDeletingName="v_resImpRowDeleting" msprop:Generator_RowChangingName="v_resImpRowChanging" msprop:Generator_RowEvHandlerName="v_resImpRowChangeEventHandler" msprop:Generator_RowDeletedName="v_resImpRowDeleted" msprop:Generator_UserTableName="v_resImp" msprop:Generator_RowChangedName="v_resImpRowChanged" msprop:Generator_RowEvArgName="v_resImpRowChangeEvent" msprop:Generator_RowClassName="v_resImpRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -2193,7 +2193,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AssegnSlotSquadreDip" msprop:Generator_TableClassName="AssegnSlotSquadreDipDataTable" msprop:Generator_TableVarName="tableAssegnSlotSquadreDip" msprop:Generator_RowChangedName="AssegnSlotSquadreDipRowChanged" msprop:Generator_TablePropName="AssegnSlotSquadreDip" msprop:Generator_RowDeletingName="AssegnSlotSquadreDipRowDeleting" msprop:Generator_RowChangingName="AssegnSlotSquadreDipRowChanging" msprop:Generator_RowEvHandlerName="AssegnSlotSquadreDipRowChangeEventHandler" msprop:Generator_RowDeletedName="AssegnSlotSquadreDipRowDeleted" msprop:Generator_RowClassName="AssegnSlotSquadreDipRow" msprop:Generator_UserTableName="AssegnSlotSquadreDip" msprop:Generator_RowEvArgName="AssegnSlotSquadreDipRowChangeEvent">
<xs:element name="AssegnSlotSquadreDip" msprop:Generator_TableClassName="AssegnSlotSquadreDipDataTable" msprop:Generator_TableVarName="tableAssegnSlotSquadreDip" msprop:Generator_TablePropName="AssegnSlotSquadreDip" msprop:Generator_RowDeletingName="AssegnSlotSquadreDipRowDeleting" msprop:Generator_RowChangingName="AssegnSlotSquadreDipRowChanging" msprop:Generator_RowEvHandlerName="AssegnSlotSquadreDipRowChangeEventHandler" msprop:Generator_RowDeletedName="AssegnSlotSquadreDipRowDeleted" msprop:Generator_UserTableName="AssegnSlotSquadreDip" msprop:Generator_RowChangedName="AssegnSlotSquadreDipRowChanged" msprop:Generator_RowEvArgName="AssegnSlotSquadreDipRowChangeEvent" msprop:Generator_RowClassName="AssegnSlotSquadreDipRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -2315,9 +2315,9 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" />
<msdata:Relationship name="FK_AssegnSquadre_Disponibilita" msdata:parent="Disponibilita" msdata:child="AssegnSquadre" msdata:parentkey="Data CodSquadra" msdata:childkey="DataFrom CodSquadra" msprop:Generator_UserChildTable="AssegnSquadre" msprop:Generator_ChildPropName="GetAssegnSquadreRows" msprop:Generator_UserRelationName="FK_AssegnSquadre_Disponibilita" msprop:Generator_ParentPropName="DisponibilitaRowParent" msprop:Generator_RelationVarName="relationFK_AssegnSquadre_Disponibilita" msprop:Generator_UserParentTable="Disponibilita" />
<msdata:Relationship name="FK_AssegnSquadre_Dipendenti" msdata:parent="Dipendenti" msdata:child="AssegnSquadre" msdata:parentkey="Matr" msdata:childkey="Matr" msprop:Generator_UserChildTable="AssegnSquadre" msprop:Generator_ChildPropName="GetAssegnSquadreRows" msprop:Generator_UserRelationName="FK_AssegnSquadre_Dipendenti" msprop:Generator_RelationVarName="relationFK_AssegnSquadre_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" />
<msdata:Relationship name="FK_AssegnSquadre_Disponibilita" msdata:parent="Disponibilita" msdata:child="AssegnSquadre" msdata:parentkey="Data CodSquadra" msdata:childkey="DataFrom CodSquadra" msprop:Generator_UserChildTable="AssegnSquadre" msprop:Generator_ChildPropName="GetAssegnSquadreRows" msprop:Generator_UserRelationName="FK_AssegnSquadre_Disponibilita" msprop:Generator_RelationVarName="relationFK_AssegnSquadre_Disponibilita" msprop:Generator_UserParentTable="Disponibilita" msprop:Generator_ParentPropName="DisponibilitaRowParent" />
<msdata:Relationship name="FK_AssegnSquadre_Dipendenti" msdata:parent="Dipendenti" msdata:child="AssegnSquadre" msdata:parentkey="Matr" msdata:childkey="Matr" msprop:Generator_UserChildTable="AssegnSquadre" msprop:Generator_ChildPropName="GetAssegnSquadreRows" msprop:Generator_UserRelationName="FK_AssegnSquadre_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_RelationVarName="relationFK_AssegnSquadre_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
Binary file not shown.
+211 -211
View File
@@ -905,21 +905,6 @@
<c>true</c> if this instance can convert the specified value type; otherwise, <c>false</c>.
</returns>
</member>
<member name="T:Newtonsoft.Json.FloatParseHandling">
<summary>
Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Double">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Double"/>.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Decimal">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Decimal"/>.
</summary>
</member>
<member name="T:Newtonsoft.Json.DateFormatHandling">
<summary>
Specifies how dates are formatted when writing JSON text.
@@ -1038,6 +1023,21 @@
Write special floating point values as the property's default value in JSON, e.g. 0.0 for a <see cref="T:System.Double"/> property, <c>null</c> for a <see cref="T:System.Nullable`1"/> of <see cref="T:System.Double"/> property.
</summary>
</member>
<member name="T:Newtonsoft.Json.FloatParseHandling">
<summary>
Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Double">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Double"/>.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Decimal">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Decimal"/>.
</summary>
</member>
<member name="T:Newtonsoft.Json.Formatting">
<summary>
Specifies formatting options for the <see cref="T:Newtonsoft.Json.JsonTextWriter"/>.
@@ -6586,56 +6586,6 @@
If this is <c>null</c>, default load settings will be used.</param>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JProperty"/> that contains the JSON that was read from the specified <see cref="T:Newtonsoft.Json.JsonReader"/>.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JRaw">
<summary>
Represents a raw JSON string.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.CreateAsync(Newtonsoft.Json.JsonReader,System.Threading.CancellationToken)">
<summary>
Asynchronously creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None"/>.</param>
<returns>A <see cref="T:System.Threading.Tasks.Task`1"/> representing the asynchronous creation. The <see cref="P:System.Threading.Tasks.Task`1.Result"/>
property returns an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(Newtonsoft.Json.Linq.JRaw)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class from another <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object.
</summary>
<param name="other">A <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object to copy from.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(System.Object)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class.
</summary>
<param name="rawJson">The raw json.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.Create(Newtonsoft.Json.JsonReader)">
<summary>
Creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<returns>An instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonMergeSettings">
<summary>
Specifies the settings used when merging JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeArrayHandling">
<summary>
Gets or sets the method used when merging JSON arrays.
</summary>
<value>The method used when merging JSON arrays.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeNullValueHandling">
<summary>
Gets or sets how null value properties are merged.
</summary>
<value>How null value properties are merged.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JPropertyDescriptor">
<summary>
Represents a view of a <see cref="T:Newtonsoft.Json.Linq.JProperty"/>.
@@ -6723,6 +6673,78 @@
The hash code for the name of the member.
</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JRaw">
<summary>
Represents a raw JSON string.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.CreateAsync(Newtonsoft.Json.JsonReader,System.Threading.CancellationToken)">
<summary>
Asynchronously creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None"/>.</param>
<returns>A <see cref="T:System.Threading.Tasks.Task`1"/> representing the asynchronous creation. The <see cref="P:System.Threading.Tasks.Task`1.Result"/>
property returns an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(Newtonsoft.Json.Linq.JRaw)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class from another <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object.
</summary>
<param name="other">A <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object to copy from.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(System.Object)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class.
</summary>
<param name="rawJson">The raw json.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.Create(Newtonsoft.Json.JsonReader)">
<summary>
Creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<returns>An instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonLoadSettings">
<summary>
Specifies the settings used when loading JSON.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JsonLoadSettings.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JsonLoadSettings"/> class.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.CommentHandling">
<summary>
Gets or sets how JSON comments are handled when loading JSON.
</summary>
<value>The JSON comment handling.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.LineInfoHandling">
<summary>
Gets or sets how JSON line info is handled when loading JSON.
</summary>
<value>The JSON line info handling.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonMergeSettings">
<summary>
Specifies the settings used when merging JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeArrayHandling">
<summary>
Gets or sets the method used when merging JSON arrays.
</summary>
<value>The method used when merging JSON arrays.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeNullValueHandling">
<summary>
Gets or sets how null value properties are merged.
</summary>
<value>How null value properties are merged.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JToken">
<summary>
Represents an abstract JSON token.
@@ -8316,28 +8338,6 @@
<paramref name="obj"/> is not of the same type as this instance.
</exception>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonLoadSettings">
<summary>
Specifies the settings used when loading JSON.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JsonLoadSettings.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JsonLoadSettings"/> class.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.CommentHandling">
<summary>
Gets or sets how JSON comments are handled when loading JSON.
</summary>
<value>The JSON comment handling.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.LineInfoHandling">
<summary>
Gets or sets how JSON line info is handled when loading JSON.
</summary>
<value>The JSON line info handling.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.MergeArrayHandling">
<summary>
Specifies how JSON arrays are merged together.
@@ -9126,71 +9126,6 @@
</note>
</summary>
</member>
<member name="T:Newtonsoft.Json.Serialization.ISerializationBinder">
<summary>
Allows users to control class loading and mandate what class to load.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToType(System.String,System.String)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object</param>
<returns>The type of the object the formatter creates a new instance of.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToName(System.Type,System.String@,System.String@)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="serializedType">The type of the object the formatter creates a new instance of.</param>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy">
<summary>
A snake case naming strategy.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
<param name="processExtensionDataNames">
A flag indicating whether extension data names should be processed.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.ResolvePropertyName(System.String)">
<summary>
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.CamelCaseNamingStrategy">
<summary>
A camel case naming strategy.
@@ -9666,59 +9601,6 @@
<param name="type">The type to resolve a contract for.</param>
<returns>The contract for a given type.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.NamingStrategy">
<summary>
A base class for resolving how property names and dictionary keys are serialized.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessDictionaryKeys">
<summary>
A flag indicating whether dictionary keys should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessExtensionDataNames">
<summary>
A flag indicating whether extension data names should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.OverrideSpecifiedNames">
<summary>
A flag indicating whether explicitly specified property names,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>, should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetPropertyName(System.String,System.Boolean)">
<summary>
Gets the serialized name for a given property name.
</summary>
<param name="name">The initial property name.</param>
<param name="hasSpecifiedName">A flag indicating whether the property has had a name explicitly specified.</param>
<returns>The serialized property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetExtensionDataName(System.String)">
<summary>
Gets the serialized name for a given extension data name.
</summary>
<param name="name">The initial extension data name.</param>
<returns>The serialized extension data name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetDictionaryKey(System.String)">
<summary>
Gets the serialized key for a given dictionary key.
</summary>
<param name="key">The initial dictionary key.</param>
<returns>The serialized dictionary key.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.ResolvePropertyName(System.String)">
<summary>
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.IReferenceResolver">
<summary>
Used to resolve references when serializing and deserializing JSON by the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
@@ -9758,6 +9640,27 @@
<param name="reference">The reference.</param>
<param name="value">The object to reference.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.ISerializationBinder">
<summary>
Allows users to control class loading and mandate what class to load.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToType(System.String,System.String)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object</param>
<returns>The type of the object the formatter creates a new instance of.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToName(System.Type,System.String@,System.String@)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="serializedType">The type of the object the formatter creates a new instance of.</param>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.ITraceWriter">
<summary>
Represents a trace writer.
@@ -10428,6 +10331,59 @@
A <see cref="T:System.String"/> of the most recent trace messages.
</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.NamingStrategy">
<summary>
A base class for resolving how property names and dictionary keys are serialized.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessDictionaryKeys">
<summary>
A flag indicating whether dictionary keys should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessExtensionDataNames">
<summary>
A flag indicating whether extension data names should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.OverrideSpecifiedNames">
<summary>
A flag indicating whether explicitly specified property names,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>, should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetPropertyName(System.String,System.Boolean)">
<summary>
Gets the serialized name for a given property name.
</summary>
<param name="name">The initial property name.</param>
<param name="hasSpecifiedName">A flag indicating whether the property has had a name explicitly specified.</param>
<returns>The serialized property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetExtensionDataName(System.String)">
<summary>
Gets the serialized name for a given extension data name.
</summary>
<param name="name">The initial extension data name.</param>
<returns>The serialized extension data name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetDictionaryKey(System.String)">
<summary>
Gets the serialized key for a given dictionary key.
</summary>
<param name="key">The initial dictionary key.</param>
<returns>The serialized dictionary key.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.ResolvePropertyName(System.String)">
<summary>
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.ObjectConstructor`1">
<summary>
Represents a method that constructs an object.
@@ -10490,20 +10446,49 @@
<param name="target">The target to get the value from.</param>
<returns>The value.</returns>
</member>
<member name="T:Newtonsoft.Json.TypeNameAssemblyFormatHandling">
<member name="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy">
<summary>
Indicates the method that will be used during deserialization for locating and loading assemblies.
A snake case naming strategy.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Simple">
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean)">
<summary>
In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the <c>LoadWithPartialName</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
<param name="processExtensionDataNames">
A flag indicating whether extension data names should be processed.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Full">
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.ResolvePropertyName(System.String)">
<summary>
In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The <c>Load</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.StringEscapeHandling">
<summary>
@@ -10525,6 +10510,21 @@
HTML (&lt;, &gt;, &amp;, &apos;, &quot;) and control characters (e.g. newline) are escaped.
</summary>
</member>
<member name="T:Newtonsoft.Json.TypeNameAssemblyFormatHandling">
<summary>
Indicates the method that will be used during deserialization for locating and loading assemblies.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Simple">
<summary>
In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the <c>LoadWithPartialName</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Full">
<summary>
In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The <c>Load</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
</summary>
</member>
<member name="T:Newtonsoft.Json.TypeNameHandling">
<summary>
Specifies type name handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+20
View File
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2007 James Newton-King
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+116
View File
@@ -0,0 +1,116 @@
param($installPath, $toolsPath, $package, $project)
# open json.net splash page on package install
# don't open if json.net is installed as a dependency
try
{
$url = "http://www.newtonsoft.com/json/install?version=" + $package.Version
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
{
# user is installing from VS NuGet console
# get reference to the window, the console host and the input history
# show webpage if "install-package newtonsoft.json" was last input
$consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
$props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
$prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
if ($prop -eq $null) { return }
$hostInfo = $prop.GetValue($consoleWindow)
if ($hostInfo -eq $null) { return }
$history = $hostInfo.WpfConsole.InputHistory.History
$lastCommand = $history | select -last 1
if ($lastCommand)
{
$lastCommand = $lastCommand.Trim().ToLower()
if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
{
$dte2.ItemOperations.Navigate($url) | Out-Null
}
}
}
else
{
# user is installing from VS NuGet dialog
# get reference to the window, then smart output console provider
# show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
$instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
[System.Reflection.BindingFlags]::NonPublic)
$consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
if ($instanceField -eq $null -or $consoleField -eq $null) { return }
$instance = $instanceField.GetValue($null)
if ($instance -eq $null) { return }
$consoleProvider = $consoleField.GetValue($instance)
if ($consoleProvider -eq $null) { return }
$console = $consoleProvider.CreateOutputConsole($false)
$messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
if ($messagesField -eq $null) { return }
$messages = $messagesField.GetValue($console)
if ($messages -eq $null) { return }
$operations = $messages -split "=============================="
$lastOperation = $operations | select -last 1
if ($lastOperation)
{
$lastOperation = $lastOperation.ToLower()
$lines = $lastOperation -split "`r`n"
$installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
if ($installMatch)
{
$dte2.ItemOperations.Navigate($url) | Out-Null
}
}
}
}
catch
{
try
{
$pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager")
$selection = $pmPane.TextDocument.Selection
$selection.StartOfDocument($false)
$selection.EndOfDocument($true)
if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'"))
{
# don't show on upgrade
if (!$selection.Text.Contains("Removed package"))
{
$dte2.ItemOperations.Navigate($url) | Out-Null
}
}
}
catch
{
# stop potential errors from bubbling up
# worst case the splash page won't open
}
}
# still yolo
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff