fix selettore periodo e date

fix visualizzazione slot (base)
This commit is contained in:
Samuele E. Locatelli
2015-04-28 14:11:18 +02:00
parent ead3ea16be
commit feabd9fcc0
26 changed files with 1613 additions and 174 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("0.1.001.15")]
[assembly: AssemblyFileVersion("0.1.001.15")]
[assembly: AssemblyVersion("0.2.012.27")]
[assembly: AssemblyFileVersion("0.2.012.27")]
[assembly: AssemblyCopyright("Steamware © 2015-2015")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("0.1.001.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("0.1.001.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("0.2.012.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("0.2.012.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2015-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -82
View File
@@ -4,91 +4,12 @@
<%@ Register Src="mod_selettoreIndirizzo.ascx" TagName="mod_selettoreIndirizzo" TagPrefix="uc1" %>
<%@ Register src="mod_selettoreSlot.ascx" tagname="mod_selettoreSlot" tagprefix="uc2" %>
<uc1:mod_selettoreIndirizzo ID="mod_selettoreIndirizzo1" runat="server" />
<uc2:mod_selettoreSlot ID="mod_selettoreSlot1" runat="server" />
<br />
seleziono quale slot, COLORATI x vicinanza a zona indirizzo... icona mappa colorata V|G|R ? e tempo V|G|R come minuti?
<div id="divDisponib" runat="server">
<div class="ui-grid-b ui-mini">
<div class="ui-block-a">
<asp:LinkButton runat="server" ID="lbPrev" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit">
<<
</asp:LinkButton>
</div>
<div class="ui-block-b">
<div class="ui-grid-b" style="text-align: center; margin: auto;">
<div class="ui-block-a">
<asp:LinkButton runat="server" ID="lbMinus" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-minus ui-btn-icon-notext ui-btn-inline" />
</div>
<div class="ui-block-b">
<asp:TextBox runat="server" ID="txtNumGG" Text="10" />
</div>
<div class="ui-block-c">
<asp:LinkButton runat="server" ID="lbPlus" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" />
</div>
</div>
</div>
<div class="ui-block-c">
<asp:LinkButton runat="server" ID="lbNext" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit">
>>
</asp:LinkButton>
</div>
</div>
<div class="ui-grid-d">
<div class="ui-block-a">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-b">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-c">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-d">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-e">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-a">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-b">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-c">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-d">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
<div class="ui-block-e">
Data
<br />
OreImp / <b>OreDisp</b>
</div>
</div>
</div>
<br />
<br />
Permetto di inserire uno o + task
@@ -14,9 +14,9 @@ namespace WebSCR.WebUserControls
{
if (!Page.IsPostBack)
{
divDisponib.Visible = false;
mod_selettoreSlot1.Visible = false;
}
if (memLayer.ML.StringSessionObj("CodCliente") != "")
if (memLayer.ML.isInSessionObject("CodCliente") && memLayer.ML.isInSessionObject("Cliente"))
{
mod_selettoreIndirizzo1.Visible = true;
}
@@ -33,7 +33,7 @@ namespace WebSCR.WebUserControls
/// <param name="e"></param>
void mod_selettoreIndirizzo1_eh_selIndir(object sender, EventArgs e)
{
divDisponib.Visible = true;
mod_selettoreSlot1.Visible = true;
}
}
+2 -47
View File
@@ -22,57 +22,12 @@ namespace WebSCR.WebUserControls {
protected global::WebSCR.WebUserControls.mod_selettoreIndirizzo mod_selettoreIndirizzo1;
/// <summary>
/// divDisponib control.
/// mod_selettoreSlot1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDisponib;
/// <summary>
/// lbPrev control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbPrev;
/// <summary>
/// lbMinus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbMinus;
/// <summary>
/// txtNumGG control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNumGG;
/// <summary>
/// lbPlus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbPlus;
/// <summary>
/// lbNext control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbNext;
protected global::WebSCR.WebUserControls.mod_selettoreSlot mod_selettoreSlot1;
}
}
@@ -33,6 +33,7 @@ namespace WebSCR.WebUserControls
/// <param name="btnSel"></param>
protected void fixBtnMode(string btnSel)
{
bool reportEvent = false;
// metto di base i buttons uguali
btn1.CssClass = "ui-btn ui-shadow ui-corner-all ui-icon-edit";
btn2.CssClass = "ui-btn ui-shadow ui-corner-all ui-icon-edit";
@@ -43,23 +44,30 @@ namespace WebSCR.WebUserControls
{
case "btn01":
btn1.CssClass += " ui-btn-active";
reportEvent = true;
break;
case "btn02":
btn2.CssClass += " ui-btn-active";
reportEvent = true;
break;
case "btn03":
btn3.CssClass += " ui-btn-active";
reportEvent = true;
break;
case "btn04":
btn4.CssClass += " ui-btn-active";
reportEvent = true;
break;
default:
break;
}
// evento!
if (eh_selIndir != null)
if (reportEvent)
{
eh_selIndir(this, new EventArgs());
// evento!
if (eh_selIndir != null)
{
eh_selIndir(this, new EventArgs());
}
}
}
@@ -1 +1,71 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selettoreSlot.ascx.cs" Inherits="WebSCR.WebUserControls.mod_selettoreSlot" %>
<div id="divDisponib" runat="server">
<div class="ui-grid-b ui-mini">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-block-a">
</div>
<div class="ui-block-b">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" OnTextChanged="txtDataFrom_TextChanged" AutoPostBack="True" />
</div>
</div>
</div>
<div class="ui-block-b">
<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="10" OnTextChanged="txtNumGG_TextChanged" />
</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-c">
</div>
</div>
seleziono quale slot, gli slot sono
<ul>
<li>Colorati x vicinanza a zona indirizzo (oppure icona mappa colorata?)</li>
<li>Colorati x tempo disponibile (oppure icona tempo colorata) + indicazione ore imp/disponibili</li>
</ul>
<div class="ui-grid-a ui-mini">
<div class="ui-block-a">
<div class="ui-grid-d">
<asp:Repeater ID="repSlot" runat="server" DataSourceID="odsSlot">
<ItemTemplate>
<div style="float: left; padding:4px;">
<%#Eval("Data","{0:dd/MM/yyyy}") %>
<br />
<%#Eval("OreImp") %> / <b><%#Eval("OreDisp") %></b>
</div>
</ItemTemplate>
<AlternatingItemTemplate>
<div style="float: left; padding:4px;">
<%#Eval("Data","{0:dd/MM/yyyy}") %>
<br />
<%#Eval("OreImp") %> / <b><%#Eval("OreDisp") %></b>
</div>
</AlternatingItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="odsSlot" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByDataRange" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.DispImpTotTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="txtDataFrom" Name="DataFrom" PropertyName="Text" Type="DateTime" />
<asp:ControlParameter ControlID="txtNumGG" DefaultValue="1" Name="NumGG" PropertyName="Text" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-block-b">
vista elenco verticale giornata selezionata...
</div>
</div>
</div>
@@ -9,9 +9,84 @@ namespace WebSCR.WebUserControls
{
public partial class mod_selettoreSlot : System.Web.UI.UserControl
{
/// <summary>
/// numero giorni selezionati
/// </summary>
protected int numGG
{
get
{
int answ = 0;
try
{
answ = Convert.ToInt32(txtNumGG.Text.Trim());
}
catch
{ }
return answ;
}
set
{
int newVal = 0;
if (value >= newVal) newVal = value;
txtNumGG.Text = newVal.ToString();
}
}
/// <summary>
/// data riferimento
/// </summary>
protected DateTime dataFrom
{
get
{
DateTime answ = DateTime.Now.Date;
try
{
answ = Convert.ToDateTime(txtDataFrom.Text.Trim());
}
catch
{ }
return answ;
}
set
{
txtDataFrom.Text = value.ToString("yyyy-MM-dd");
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
numGG = 10;
dataFrom = DateTime.Now;
}
}
/// <summary>
/// aggiungo/tolgo all'intervallo selezione
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbNumGg_Click(object sender, EventArgs e)
{
int diff = 0;
try
{
LinkButton lb = (LinkButton)sender;
diff = Convert.ToInt32(lb.CommandArgument);
}
catch
{ }
numGG = numGG + diff;
}
protected void txtDataFrom_TextChanged(object sender, EventArgs e)
{
repSlot.DataBind();
}
protected void txtNumGG_TextChanged(object sender, EventArgs e)
{
repSlot.DataBind();
}
}
}
+86 -7
View File
@@ -3,15 +3,94 @@
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WebSCR.WebUserControls
{
public partial class mod_selettoreSlot
{
namespace WebSCR.WebUserControls {
public partial class mod_selettoreSlot {
/// <summary>
/// divDisponib control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDisponib;
/// <summary>
/// txtDataFrom control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
/// <summary>
/// lbMinus5 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbMinus5;
/// <summary>
/// lbMinus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbMinus;
/// <summary>
/// txtNumGG control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNumGG;
/// <summary>
/// lbPlus control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbPlus;
/// <summary>
/// lbPlus5 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbPlus5;
/// <summary>
/// repSlot control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater repSlot;
/// <summary>
/// odsSlot control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsSlot;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1263 -16
View File
File diff suppressed because it is too large Load Diff
+90 -8
View File
@@ -516,7 +516,8 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_elencoImpegni" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxImpegno, DataOra, CodSquadra, DescrSquadra, Elettrod, Clima, Inform, MinTotCons, MinViaggio, FinePrev, Expr1, CodCliente, Cognome, Nome, CodFis, OraIndic, RifOC, UrlDoc FROM dbo.v_elencoImpegni</CommandText>
<CommandText>SELECT IdxImpegno, DataOra, CodSquadra, DescrSquadra, Elettrod, Clima, Inform, MinTotCons, MinViaggio, FinePrev, NumOp, CodCliente, Cognome, Nome, CodFis, OraIndic, RifOC, UrlDoc
FROM v_elencoImpegni</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -533,7 +534,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<Mapping SourceColumn="MinTotCons" DataSetColumn="MinTotCons" />
<Mapping SourceColumn="MinViaggio" DataSetColumn="MinViaggio" />
<Mapping SourceColumn="FinePrev" DataSetColumn="FinePrev" />
<Mapping SourceColumn="Expr1" DataSetColumn="Expr1" />
<Mapping SourceColumn="Expr1" DataSetColumn="NumOp" />
<Mapping SourceColumn="CodCliente" DataSetColumn="CodCliente" />
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
@@ -541,6 +542,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<Mapping SourceColumn="OraIndic" DataSetColumn="OraIndic" />
<Mapping SourceColumn="RifOC" DataSetColumn="RifOC" />
<Mapping SourceColumn="UrlDoc" DataSetColumn="UrlDoc" />
<Mapping SourceColumn="NumOp" DataSetColumn="NumOp" />
</Mappings>
<Sources>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_getByCodCli" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCli" GetMethodModifier="Public" GetMethodName="getByCli" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCli" UserSourceName="getByCli">
@@ -567,6 +569,56 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DispImpTotTableAdapter" GeneratorDataComponentClassName="DispImpTotTableAdapter" Name="DispImpTot" UserDataComponentName="DispImpTotTableAdapter">
<MainSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_DispImpTot" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Data, OreDisp, OreImp FROM dbo.v_DispImpTot</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Data" DataSetColumn="Data" />
<Mapping SourceColumn="OreDisp" DataSetColumn="OreDisp" />
<Mapping SourceColumn="OreImp" DataSetColumn="OreImp" />
</Mappings>
<Sources>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_DispImpTot_getByDataRange" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDataRange" GetMethodModifier="Public" GetMethodName="getByDataRange" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDataRange" UserSourceName="getByDataRange">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_DispImpTot_getByDataRange</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataFrom" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumGG" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DispImpSquadreTableAdapter" GeneratorDataComponentClassName="DispImpSquadreTableAdapter" Name="DispImpSquadre" UserDataComponentName="DispImpSquadreTableAdapter">
<MainSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_DispImpSquadre" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Data, CodSquadra, OreDisp, OreImp FROM dbo.v_DispImpSquadre</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Data" DataSetColumn="Data" />
<Mapping SourceColumn="CodSquadra" DataSetColumn="CodSquadra" />
<Mapping SourceColumn="OreDisp" DataSetColumn="OreDisp" />
<Mapping SourceColumn="OreImp" DataSetColumn="OreImp" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -575,7 +627,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<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_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: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:complexType>
<xs:sequence>
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
@@ -599,7 +651,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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: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" />
@@ -628,7 +680,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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:complexType>
<xs:sequence>
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
@@ -653,7 +705,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -771,7 +823,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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: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" />
@@ -796,7 +848,7 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<xs:element name="MinTotCons" msprop:Generator_ColumnVarNameInTable="columnMinTotCons" msprop:Generator_ColumnPropNameInRow="MinTotCons" msprop:Generator_ColumnPropNameInTable="MinTotConsColumn" msprop:Generator_UserColumnName="MinTotCons" type="xs:int" />
<xs:element name="MinViaggio" msprop:Generator_ColumnVarNameInTable="columnMinViaggio" msprop:Generator_ColumnPropNameInRow="MinViaggio" msprop:Generator_ColumnPropNameInTable="MinViaggioColumn" msprop:Generator_UserColumnName="MinViaggio" type="xs:int" />
<xs:element name="FinePrev" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFinePrev" msprop:Generator_ColumnPropNameInRow="FinePrev" msprop:Generator_ColumnPropNameInTable="FinePrevColumn" msprop:Generator_UserColumnName="FinePrev" type="xs:dateTime" minOccurs="0" />
<xs:element name="Expr1" msprop:Generator_ColumnVarNameInTable="columnExpr1" msprop:Generator_ColumnPropNameInRow="Expr1" msprop:Generator_ColumnPropNameInTable="Expr1Column" msprop:Generator_UserColumnName="Expr1" type="xs:int" />
<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="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -843,6 +895,31 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
</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: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" />
<xs:element name="OreDisp" msprop:Generator_ColumnVarNameInTable="columnOreDisp" msprop:Generator_ColumnPropNameInRow="OreDisp" msprop:Generator_ColumnPropNameInTable="OreDispColumn" msprop:Generator_UserColumnName="OreDisp" type="xs:int" minOccurs="0" />
<xs:element name="OreImp" msprop:Generator_ColumnVarNameInTable="columnOreImp" msprop:Generator_ColumnPropNameInRow="OreImp" msprop:Generator_ColumnPropNameInTable="OreImpColumn" msprop:Generator_UserColumnName="OreImp" type="xs:int" minOccurs="0" />
</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: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" />
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OreDisp" msprop:Generator_ColumnVarNameInTable="columnOreDisp" msprop:Generator_ColumnPropNameInRow="OreDisp" msprop:Generator_ColumnPropNameInTable="OreDispColumn" msprop:Generator_UserColumnName="OreDisp" type="xs:int" />
<xs:element name="OreImp" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnOreImp" msprop:Generator_ColumnPropNameInRow="OreImp" msprop:Generator_ColumnPropNameInTable="OreImpColumn" msprop:Generator_UserColumnName="OreImp" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -867,5 +944,10 @@ SELECT CodCliente, Cognome, Nome, CodFis, Tel, Cell, Email, Indir_01, Cap_01, Lo
<xs:field xpath="mstns:CodSquadra" />
<xs:field xpath="mstns:CodCliente" />
</xs:unique>
<xs:unique name="DispImpSquadre_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:DispImpSquadre" />
<xs:field xpath="mstns:Data" />
<xs:field xpath="mstns:CodSquadra" />
</xs:unique>
</xs:element>
</xs:schema>
+6 -4
View File
@@ -4,11 +4,13 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagSquadre" ZOrder="3" X="201" Y="119" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagZone" ZOrder="2" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="1" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagSquadre" ZOrder="2" X="308" Y="160" Height="248" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagZone" ZOrder="5" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="4" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagClienti" ZOrder="3" X="0" Y="0" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
<Shape ID="DesignTable:Impegni" ZOrder="1" X="76" Y="253" Height="458" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
</Shapes>
<Connectors />
</DiagramLayout>
Binary file not shown.
Binary file not shown.
Binary file not shown.