Merge branch 'ES3' into develop

This commit is contained in:
Samuele E. Locatelli
2020-01-02 17:41:52 +01:00
16 changed files with 1791 additions and 47 deletions
+8 -2
View File
@@ -2,6 +2,8 @@
<%@ Register Src="~/WebUserControls/cmp_confWeek.ascx" TagPrefix="uc1" TagName="cmp_confWeek" %>
<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %>
<%@ Register Src="~/WebUserControls/cmp_calStop.ascx" TagPrefix="uc1" TagName="cmp_calStop" %>
@@ -28,7 +30,9 @@
<div class="card-header">
<h4>Calendario STOP</h4>
</div>
<div class="card-body">Content</div>
<div class="card-body p-1">
<uc1:cmp_calStop runat="server" ID="cmp_calStop" />
</div>
<div class="card-footer text-right">
<uc1:cmp_numRow runat="server" ID="cmp_numRowStop" />
</div>
@@ -39,7 +43,9 @@
<div class="card-header">
<h4>Disponibilità Previste</h4>
</div>
<div class="card-body">Content</div>
<div class="card-body p-1">
Content
</div>
<div class="card-footer text-right">
<uc1:cmp_numRow runat="server" ID="cmp_numRowDisp" />
</div>
+9
View File
@@ -41,6 +41,15 @@ namespace ES3
/// </remarks>
protected global::ES3.WebUserControls.cmp_numRow cmp_numRowConfWeek;
/// <summary>
/// Controllo cmp_calStop.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::ES3.WebUserControls.cmp_calStop cmp_calStop;
/// <summary>
/// Controllo cmp_numRowStop.
/// </summary>
+84
View File
@@ -0,0 +1,84 @@
using MapoSDK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
namespace ES3
{
public class ES3
{
#region utils comunicazione HTTP
/// <summary>
/// Effettua chiamata URL e restituisce risultato
/// </summary>
/// <param name="URL"></param>
/// <returns></returns>
public static string callUrl(string URL)
{
string answ = "";
var client = new WebClientWT();
//var client = new WebClient();
client.Headers.Add("user-agent", "NKC_SDK");
try
{
answ = client.DownloadString(URL);
}
catch
{ }
// restituisco valore!
return answ;
}
/// <summary>
/// Effettua chiamata URL e restituisce risultato
/// </summary>
/// <param name="URL"></param>
/// <param name="payload"></param>
/// <returns></returns>
public static string callUrl(string URL, string payload)
{
string answ = "";
var client = new WebClientWT();
client.Headers.Add("user-agent", "NKC_SDK");
try
{
answ = client.UploadString(URL, payload);
}
catch
{ }
// restituisco valore!
return answ;
}
/// <summary>
/// Effettua chiamata PUT
/// </summary>
/// <param name="URL"></param>
/// <param name="payload"></param>
/// <returns></returns>
public static string putData(string URL, string payload)
{
string answ = "";
var client = new WebClientWT();
client.Headers.Add("user-agent", "NKC_SDK");
// importante x evitare errore 415 di dataType non ammesso
client.Headers.Add(HttpRequestHeader.ContentType, "application/json");
try
{
// va messo "PUT" e va configurato IIS per accettare PUT
answ = client.UploadString(URL, "PUT", payload);
answ = "ok";
}
catch (Exception exc)
{ }
// restituisco valore!
return answ;
}
#endregion
}
}
+9
View File
@@ -276,6 +276,7 @@
<Content Include="Content\bootstrap-grid.min.css.map" />
<Content Include="Content\bootstrap-grid.css.map" />
<Content Include="test.aspx" />
<Content Include="WebUserControls\cmp_calStop.ascx" />
<Content Include="WebUserControls\cmp_confWeek.ascx" />
<Content Include="WebUserControls\mod_gestPromODL_OUT.ascx" />
<Content Include="WebUserControls\mod_login.ascx" />
@@ -451,6 +452,7 @@
<Compile Include="Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="ES3.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
@@ -490,6 +492,13 @@
<Compile Include="test.aspx.designer.cs">
<DependentUpon>test.aspx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_calStop.ascx.cs">
<DependentUpon>cmp_calStop.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_calStop.ascx.designer.cs">
<DependentUpon>cmp_calStop.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_confWeek.ascx.cs">
<DependentUpon>cmp_confWeek.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+1
View File
@@ -24,6 +24,7 @@
<add key="maxAgeAppConf_min" value="5" />
<add key="_logDir" value="~/logs/" />
<add key="logMitigSec" value="30" />
<add key="remoteApi" value="http://IIS01/MP/LAND/" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
+54
View File
@@ -0,0 +1,54 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_calStop.ascx.cs" Inherits="ES3.WebUserControls.cmp_calStop" %>
Elenco stop, import da web...
<div class="row">
<div class="col-6">
<asp:LinkButton runat="server" ID="lbtGetHolidays" CssClass="btn btn-block btn-sm btn-info" OnClick="lbtGetHolidays_Click"><i class="fa fa-calendar-plus-o" aria-hidden="true"></i> Scarica Elenco</asp:LinkButton>
</div>
<div class="col-6 text-right">
<div class="row">
<div class="col-6 pr-0">
<asp:DropDownList runat="server" ID="ddlAnno" DataSourceID="odsAnno" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsAnno" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getSubset" TypeName="MapoDb.DS_UtilityTableAdapters.v_selTallyTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfMinAnno" DefaultValue="0" Name="minVal" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="hfMaxAnno" DefaultValue="0" Name="maxVal" PropertyName="Value" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfMinAnno" />
<asp:HiddenField runat="server" ID="hfMaxAnno" />
</div>
<div class="col-6 pl-0">
<asp:DropDownList runat="server" ID="ddlMese" DataSourceID="odsMese" DataTextField="label" DataValueField="value" AppendDataBoundItems="true">
<asp:ListItem Text="--- TUTTI ---" Value="0"></asp:ListItem>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsMese" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getSubset" TypeName="MapoDb.DS_UtilityTableAdapters.v_selTallyTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="1" Name="minVal" Type="Int32" />
<asp:Parameter DefaultValue="12" Name="maxVal" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<asp:Label runat="server" ID="lblAnno" Text="0" /> / <asp:Label runat="server" ID="lblMese" Text="0" />
</div>
<div class="col-12">
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="DataRif,IdxMacchina" DataSourceID="ods" CssClass="table-table-sm table-striped">
<EmptyDataTemplate>
No records found
</EmptyDataTemplate>
<Columns>
<asp:BoundField DataField="DataRif" HeaderText="DataRif" ReadOnly="True" SortExpression="DataRif" />
<asp:BoundField DataField="IdxMacchina" HeaderText="IdxMacchina" ReadOnly="True" SortExpression="IdxMacchina" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPeriod" TypeName="MapoDb.DS_PlanTableAdapters.CalStopTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="lblAnno" DefaultValue="0" Name="Anno" PropertyName="Text" Type="Int32" />
<asp:ControlParameter ControlID="lblMese" DefaultValue="0" Name="MESE" PropertyName="Text" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
+84
View File
@@ -0,0 +1,84 @@
using MapoSDK;
using Newtonsoft.Json;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ES3.WebUserControls
{
public partial class cmp_calStop : System.Web.UI.UserControl
{
/// <summary>
/// URL di base x chiamate remote
/// </summary>
protected string remoteApi = memLayer.ML.CRS("remoteApi");
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
setLimitDDl();
}
}
private void setLimitDDl()
{
int anno = DateTime.Now.Year;
hfMinAnno.Value = anno.ToString();
hfMaxAnno.Value = (anno + 3).ToString();
}
/// <summary>
/// Anno selezionato
/// </summary>
public int anno
{
get
{
int answ = 0;
int.TryParse(lblAnno.Text, out answ);
return answ;
}
set
{
lblAnno.Text = value.ToString();
grView.DataBind();
}
}
/// <summary>
/// Anno selezionato
/// </summary>
public int mese
{
//get
//{
// int answ = 0;
// int.TryParse(lblMese.Text, out answ);
// return answ;
//}
set
{
lblMese.Text = value.ToString();
grView.DataBind();
}
}
protected void lbtGetHolidays_Click(object sender, EventArgs e)
{
// scarico elenco da web
string remoteUrl = $"{remoteApi}api/Holiday/{anno}";
// chiamo
string rawResult = ES3.callUrl(remoteUrl);
if (!string.IsNullOrEmpty(rawResult))
{
// deserializzo
//var elenco = JsonConvert.DeserializeObject<List<EventDetail>>(rawResult);
}
}
}
}
+116
View File
@@ -0,0 +1,116 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace ES3.WebUserControls
{
public partial class cmp_calStop
{
/// <summary>
/// Controllo lbtGetHolidays.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtGetHolidays;
/// <summary>
/// Controllo ddlAnno.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlAnno;
/// <summary>
/// Controllo odsAnno.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsAnno;
/// <summary>
/// Controllo hfMinAnno.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfMinAnno;
/// <summary>
/// Controllo hfMaxAnno.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfMaxAnno;
/// <summary>
/// Controllo ddlMese.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlMese;
/// <summary>
/// Controllo odsMese.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsMese;
/// <summary>
/// Controllo lblAnno.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblAnno;
/// <summary>
/// Controllo lblMese.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblMese;
/// <summary>
/// Controllo grView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
+2 -20
View File
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.960
# Visual Studio Version 16
VisualStudioVersion = 16.0.29613.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VersGen", "VersGen\VersGen.csproj", "{663F7136-F470-4911-A9B6-044447F93168}"
EndProject
@@ -13,8 +13,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
BranchConfSetup.md = BranchConfSetup.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP-ADM", "MP-ADM\MP-ADM.csproj", "{E5A49351-F487-4329-8117-925A8FE662E5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MapoSDK", "MapoSDK\MapoSDK.csproj", "{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ES3", "ES3\ES3.csproj", "{C5296C93-4738-4B42-8C9D-B7E5A75110FD}"
@@ -63,22 +61,6 @@ Global
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Prod|Any CPU.Build.0 = Release|Any CPU
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Release|Any CPU.Build.0 = Release|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Donati|Any CPU.ActiveCfg = Release|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Donati|Any CPU.Build.0 = Release|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Jetco|Any CPU.ActiveCfg = Release|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Jetco|Any CPU.Build.0 = Release|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.OVH-Demo|Any CPU.ActiveCfg = Prod|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.OVH-Demo|Any CPU.Build.0 = Prod|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Prod|Any CPU.ActiveCfg = Prod|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Prod|Any CPU.Build.0 = Prod|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5A49351-F487-4329-8117-925A8FE662E5}.Release|Any CPU.Build.0 = Release|Any CPU
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Donati|Any CPU.ActiveCfg = Debug|Any CPU
+2 -8
View File
@@ -1,10 +1,6 @@
using MapoSDK;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MP.Controllers
@@ -78,8 +74,6 @@ namespace MP.Controllers
public List<EventDetail> Get()
{
int anno = DateTime.Now.Year;
//string answ = JsonConvert.SerializeObject(elencoEventi(anno));
//return answ;
return elencoEventi(anno);
}
@@ -91,8 +85,8 @@ namespace MP.Controllers
[HttpGet]
public List<EventDetail> Get(int id)
{
//string answ = JsonConvert.SerializeObject(elencoEventi(id));
//return answ;
// se chiede 0 --> prende anno corrente!
id = id == 0 ? DateTime.Now.Year : id;
return elencoEventi(id);
}
+1253
View File
File diff suppressed because it is too large Load Diff
+124 -8
View File
@@ -543,6 +543,82 @@ FROM ConfWeek</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CalStopTableAdapter" GeneratorDataComponentClassName="CalStopTableAdapter" Name="CalStop" UserDataComponentName="CalStopTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.CalStop" DbObjectType="Table" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM CalStop</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
<Mapping SourceColumn="IdxMacchina" DataSetColumn="IdxMacchina" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.stp_CalS_getByPeriod" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriod" GetMethodModifier="Public" GetMethodName="getByPeriod" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriod" UserSourceName="getByPeriod">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CalS_getByPeriod</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="int" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MESE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.stp_CalS_upsert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="upsert" Modifier="Public" Name="upsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="upsert">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CalS_upsert</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="@DataRif" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@IdxMacchina" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CalDispTableAdapter" GeneratorDataComponentClassName="CalDispTableAdapter" Name="CalDisp" UserDataComponentName="CalDispTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.CalDisp" DbObjectType="Table" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM CalDisp</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
<Mapping SourceColumn="IdxMacchina" DataSetColumn="IdxMacchina" />
<Mapping SourceColumn="OreApertura" DataSetColumn="OreApertura" />
<Mapping SourceColumn="OreAllocate" DataSetColumn="OreAllocate" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonPro_ES3ConnectionString (Settings)" DbObjectName="MoonPro_ES3.dbo.stp_CalD_getByPeriod" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPeriod" GetMethodModifier="Public" GetMethodName="getByPeriod" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPeriod" UserSourceName="getByPeriod">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CalD_getByPeriod</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="int" DbType="Int32" Direction="Input" ParameterName="@Anno" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MESE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -551,7 +627,7 @@ FROM ConfWeek</CommandText>
<xs:element name="DS_Plan" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Plan" msprop:Generator_UserDSName="DS_Plan">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="planStatsGlobal" msprop:Generator_TableClassName="planStatsGlobalDataTable" msprop:Generator_TableVarName="tableplanStatsGlobal" msprop:Generator_RowChangedName="planStatsGlobalRowChanged" msprop:Generator_TablePropName="planStatsGlobal" msprop:Generator_RowDeletingName="planStatsGlobalRowDeleting" msprop:Generator_RowChangingName="planStatsGlobalRowChanging" msprop:Generator_RowEvHandlerName="planStatsGlobalRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGlobalRowDeleted" msprop:Generator_RowClassName="planStatsGlobalRow" msprop:Generator_UserTableName="planStatsGlobal" msprop:Generator_RowEvArgName="planStatsGlobalRowChangeEvent">
<xs:element name="planStatsGlobal" msprop:Generator_TableClassName="planStatsGlobalDataTable" msprop:Generator_TableVarName="tableplanStatsGlobal" msprop:Generator_TablePropName="planStatsGlobal" msprop:Generator_RowDeletingName="planStatsGlobalRowDeleting" msprop:Generator_RowChangingName="planStatsGlobalRowChanging" msprop:Generator_RowEvHandlerName="planStatsGlobalRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGlobalRowDeleted" msprop:Generator_UserTableName="planStatsGlobal" msprop:Generator_RowChangedName="planStatsGlobalRowChanged" msprop:Generator_RowEvArgName="planStatsGlobalRowChangeEvent" msprop:Generator_RowClassName="planStatsGlobalRow">
<xs:complexType>
<xs:sequence>
<xs:element name="NumRows" msprop:Generator_ColumnVarNameInTable="columnNumRows" msprop:Generator_ColumnPropNameInRow="NumRows" msprop:Generator_ColumnPropNameInTable="NumRowsColumn" msprop:Generator_UserColumnName="NumRows" type="xs:int" minOccurs="0" />
@@ -562,7 +638,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsArt" msprop:Generator_TableClassName="planStatsArtDataTable" msprop:Generator_TableVarName="tableplanStatsArt" msprop:Generator_RowChangedName="planStatsArtRowChanged" msprop:Generator_TablePropName="planStatsArt" msprop:Generator_RowDeletingName="planStatsArtRowDeleting" msprop:Generator_RowChangingName="planStatsArtRowChanging" msprop:Generator_RowEvHandlerName="planStatsArtRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsArtRowDeleted" msprop:Generator_RowClassName="planStatsArtRow" msprop:Generator_UserTableName="planStatsArt" msprop:Generator_RowEvArgName="planStatsArtRowChangeEvent">
<xs:element name="planStatsArt" msprop:Generator_TableClassName="planStatsArtDataTable" msprop:Generator_TableVarName="tableplanStatsArt" msprop:Generator_TablePropName="planStatsArt" msprop:Generator_RowDeletingName="planStatsArtRowDeleting" msprop:Generator_RowChangingName="planStatsArtRowChanging" msprop:Generator_RowEvHandlerName="planStatsArtRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsArtRowDeleted" msprop:Generator_UserTableName="planStatsArt" msprop:Generator_RowChangedName="planStatsArtRowChanged" msprop:Generator_RowEvArgName="planStatsArtRowChangeEvent" msprop:Generator_RowClassName="planStatsArtRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" msprop:Generator_UserColumnName="CodArticolo">
@@ -592,7 +668,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsGroup" msprop:Generator_TableClassName="planStatsGroupDataTable" msprop:Generator_TableVarName="tableplanStatsGroup" msprop:Generator_RowChangedName="planStatsGroupRowChanged" msprop:Generator_TablePropName="planStatsGroup" msprop:Generator_RowDeletingName="planStatsGroupRowDeleting" msprop:Generator_RowChangingName="planStatsGroupRowChanging" msprop:Generator_RowEvHandlerName="planStatsGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGroupRowDeleted" msprop:Generator_RowClassName="planStatsGroupRow" msprop:Generator_UserTableName="planStatsGroup" msprop:Generator_RowEvArgName="planStatsGroupRowChangeEvent">
<xs:element name="planStatsGroup" msprop:Generator_TableClassName="planStatsGroupDataTable" msprop:Generator_TableVarName="tableplanStatsGroup" msprop:Generator_TablePropName="planStatsGroup" msprop:Generator_RowDeletingName="planStatsGroupRowDeleting" msprop:Generator_RowChangingName="planStatsGroupRowChanging" msprop:Generator_RowEvHandlerName="planStatsGroupRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsGroupRowDeleted" msprop:Generator_UserTableName="planStatsGroup" msprop:Generator_RowChangedName="planStatsGroupRowChanged" msprop:Generator_RowEvArgName="planStatsGroupRowChangeEvent" msprop:Generator_RowClassName="planStatsGroupRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodGruppo" msprop:Generator_ColumnVarNameInTable="columnCodGruppo" msprop:Generator_ColumnPropNameInRow="CodGruppo" msprop:Generator_ColumnPropNameInTable="CodGruppoColumn" msprop:Generator_UserColumnName="CodGruppo">
@@ -615,7 +691,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="planStatsMacc" msprop:Generator_TableClassName="planStatsMaccDataTable" msprop:Generator_TableVarName="tableplanStatsMacc" msprop:Generator_RowChangedName="planStatsMaccRowChanged" msprop:Generator_TablePropName="planStatsMacc" msprop:Generator_RowDeletingName="planStatsMaccRowDeleting" msprop:Generator_RowChangingName="planStatsMaccRowChanging" msprop:Generator_RowEvHandlerName="planStatsMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsMaccRowDeleted" msprop:Generator_RowClassName="planStatsMaccRow" msprop:Generator_UserTableName="planStatsMacc" msprop:Generator_RowEvArgName="planStatsMaccRowChangeEvent">
<xs:element name="planStatsMacc" msprop:Generator_TableClassName="planStatsMaccDataTable" msprop:Generator_TableVarName="tableplanStatsMacc" msprop:Generator_TablePropName="planStatsMacc" msprop:Generator_RowDeletingName="planStatsMaccRowDeleting" msprop:Generator_RowChangingName="planStatsMaccRowChanging" msprop:Generator_RowEvHandlerName="planStatsMaccRowChangeEventHandler" msprop:Generator_RowDeletedName="planStatsMaccRowDeleted" msprop:Generator_UserTableName="planStatsMacc" msprop:Generator_RowChangedName="planStatsMaccRowChanged" msprop:Generator_RowEvArgName="planStatsMaccRowChangeEvent" msprop:Generator_RowClassName="planStatsMaccRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
@@ -638,7 +714,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Richieste" msprop:Generator_TableClassName="RichiesteDataTable" msprop:Generator_TableVarName="tableRichieste" msprop:Generator_TablePropName="Richieste" msprop:Generator_RowDeletingName="RichiesteRowDeleting" msprop:Generator_RowChangingName="RichiesteRowChanging" msprop:Generator_RowEvHandlerName="RichiesteRowChangeEventHandler" msprop:Generator_RowDeletedName="RichiesteRowDeleted" msprop:Generator_UserTableName="Richieste" msprop:Generator_RowChangedName="RichiesteRowChanged" msprop:Generator_RowEvArgName="RichiesteRowChangeEvent" msprop:Generator_RowClassName="RichiesteRow">
<xs:element name="Richieste" msprop:Generator_TableClassName="RichiesteDataTable" msprop:Generator_TableVarName="tableRichieste" msprop:Generator_RowChangedName="RichiesteRowChanged" msprop:Generator_TablePropName="Richieste" msprop:Generator_RowDeletingName="RichiesteRowDeleting" msprop:Generator_RowChangingName="RichiesteRowChanging" msprop:Generator_RowEvHandlerName="RichiesteRowChangeEventHandler" msprop:Generator_RowDeletedName="RichiesteRowDeleted" msprop:Generator_RowClassName="RichiesteRow" msprop:Generator_UserTableName="Richieste" msprop:Generator_RowEvArgName="RichiesteRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -732,7 +808,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PromesseIN" msprop:Generator_TableClassName="PromesseINDataTable" msprop:Generator_TableVarName="tablePromesseIN" msprop:Generator_RowChangedName="PromesseINRowChanged" msprop:Generator_TablePropName="PromesseIN" msprop:Generator_RowDeletingName="PromesseINRowDeleting" msprop:Generator_RowChangingName="PromesseINRowChanging" msprop:Generator_RowEvHandlerName="PromesseINRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseINRowDeleted" msprop:Generator_RowClassName="PromesseINRow" msprop:Generator_UserTableName="PromesseIN" msprop:Generator_RowEvArgName="PromesseINRowChangeEvent">
<xs:element name="PromesseIN" msprop:Generator_TableClassName="PromesseINDataTable" msprop:Generator_TableVarName="tablePromesseIN" msprop:Generator_TablePropName="PromesseIN" msprop:Generator_RowDeletingName="PromesseINRowDeleting" msprop:Generator_RowChangingName="PromesseINRowChanging" msprop:Generator_RowEvHandlerName="PromesseINRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseINRowDeleted" msprop:Generator_UserTableName="PromesseIN" msprop:Generator_RowChangedName="PromesseINRowChanged" msprop:Generator_RowEvArgName="PromesseINRowChangeEvent" msprop:Generator_RowClassName="PromesseINRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -788,7 +864,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PromesseOUT" msprop:Generator_TableClassName="PromesseOUTDataTable" msprop:Generator_TableVarName="tablePromesseOUT" msprop:Generator_RowChangedName="PromesseOUTRowChanged" msprop:Generator_TablePropName="PromesseOUT" msprop:Generator_RowDeletingName="PromesseOUTRowDeleting" msprop:Generator_RowChangingName="PromesseOUTRowChanging" msprop:Generator_RowEvHandlerName="PromesseOUTRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseOUTRowDeleted" msprop:Generator_RowClassName="PromesseOUTRow" msprop:Generator_UserTableName="PromesseOUT" msprop:Generator_RowEvArgName="PromesseOUTRowChangeEvent">
<xs:element name="PromesseOUT" msprop:Generator_TableClassName="PromesseOUTDataTable" msprop:Generator_TableVarName="tablePromesseOUT" msprop:Generator_TablePropName="PromesseOUT" msprop:Generator_RowDeletingName="PromesseOUTRowDeleting" msprop:Generator_RowChangingName="PromesseOUTRowChanging" msprop:Generator_RowEvHandlerName="PromesseOUTRowChangeEventHandler" msprop:Generator_RowDeletedName="PromesseOUTRowDeleted" msprop:Generator_UserTableName="PromesseOUT" msprop:Generator_RowChangedName="PromesseOUTRowChanged" msprop:Generator_RowEvArgName="PromesseOUTRowChangeEvent" msprop:Generator_RowClassName="PromesseOUTRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPromessa" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxPromessa" msprop:Generator_ColumnPropNameInRow="idxPromessa" msprop:Generator_ColumnPropNameInTable="idxPromessaColumn" msprop:Generator_UserColumnName="idxPromessa" type="xs:int" />
@@ -865,7 +941,7 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConfWeek" msprop:Generator_TableClassName="ConfWeekDataTable" msprop:Generator_TableVarName="tableConfWeek" msprop:Generator_TablePropName="ConfWeek" msprop:Generator_RowDeletingName="ConfWeekRowDeleting" msprop:Generator_RowChangingName="ConfWeekRowChanging" msprop:Generator_RowEvHandlerName="ConfWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ConfWeekRowDeleted" msprop:Generator_UserTableName="ConfWeek" msprop:Generator_RowChangedName="ConfWeekRowChanged" msprop:Generator_RowEvArgName="ConfWeekRowChangeEvent" msprop:Generator_RowClassName="ConfWeekRow">
<xs:element name="ConfWeek" msprop:Generator_TableClassName="ConfWeekDataTable" msprop:Generator_TableVarName="tableConfWeek" msprop:Generator_RowChangedName="ConfWeekRowChanged" msprop:Generator_TablePropName="ConfWeek" msprop:Generator_RowDeletingName="ConfWeekRowDeleting" msprop:Generator_RowChangingName="ConfWeekRowChanging" msprop:Generator_RowEvHandlerName="ConfWeekRowChangeEventHandler" msprop:Generator_RowDeletedName="ConfWeekRowDeleted" msprop:Generator_RowClassName="ConfWeekRow" msprop:Generator_UserTableName="ConfWeek" msprop:Generator_RowEvArgName="ConfWeekRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodConfAper" msprop:Generator_ColumnVarNameInTable="columnCodConfAper" msprop:Generator_ColumnPropNameInRow="CodConfAper" msprop:Generator_ColumnPropNameInTable="CodConfAperColumn" msprop:Generator_UserColumnName="CodConfAper">
@@ -887,6 +963,36 @@ FROM ConfWeek</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalStop" msprop:Generator_TableClassName="CalStopDataTable" msprop:Generator_TableVarName="tableCalStop" msprop:Generator_TablePropName="CalStop" msprop:Generator_RowDeletingName="CalStopRowDeleting" msprop:Generator_RowChangingName="CalStopRowChanging" msprop:Generator_RowEvHandlerName="CalStopRowChangeEventHandler" msprop:Generator_RowDeletedName="CalStopRowDeleted" msprop:Generator_UserTableName="CalStop" msprop:Generator_RowChangedName="CalStopRowChanged" msprop:Generator_RowEvArgName="CalStopRowChangeEvent" msprop:Generator_RowClassName="CalStopRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_UserColumnName="DataRif" type="xs:dateTime" />
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CalDisp" msprop:Generator_TableClassName="CalDispDataTable" msprop:Generator_TableVarName="tableCalDisp" msprop:Generator_TablePropName="CalDisp" msprop:Generator_RowDeletingName="CalDispRowDeleting" msprop:Generator_RowChangingName="CalDispRowChanging" msprop:Generator_RowEvHandlerName="CalDispRowChangeEventHandler" msprop:Generator_RowDeletedName="CalDispRowDeleted" msprop:Generator_UserTableName="CalDisp" msprop:Generator_RowChangedName="CalDispRowChanged" msprop:Generator_RowEvArgName="CalDispRowChangeEvent" msprop:Generator_RowClassName="CalDispRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_UserColumnName="DataRif" type="xs:dateTime" />
<xs:element name="IdxMacchina" msprop:Generator_ColumnVarNameInTable="columnIdxMacchina" msprop:Generator_ColumnPropNameInRow="IdxMacchina" msprop:Generator_ColumnPropNameInTable="IdxMacchinaColumn" msprop:Generator_UserColumnName="IdxMacchina">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OreApertura" msprop:Generator_ColumnVarNameInTable="columnOreApertura" msprop:Generator_ColumnPropNameInRow="OreApertura" msprop:Generator_ColumnPropNameInTable="OreAperturaColumn" msprop:Generator_UserColumnName="OreApertura" type="xs:double" />
<xs:element name="OreAllocate" msprop:Generator_ColumnVarNameInTable="columnOreAllocate" msprop:Generator_ColumnPropNameInRow="OreAllocate" msprop:Generator_ColumnPropNameInTable="OreAllocateColumn" msprop:Generator_UserColumnName="OreAllocate" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -905,5 +1011,15 @@ FROM ConfWeek</CommandText>
<xs:selector xpath=".//mstns:ConfWeek" />
<xs:field xpath="mstns:CodConfAper" />
</xs:unique>
<xs:unique name="CalStop_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CalStop" />
<xs:field xpath="mstns:DataRif" />
<xs:field xpath="mstns:IdxMacchina" />
</xs:unique>
<xs:unique name="CalDisp_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CalDisp" />
<xs:field xpath="mstns:DataRif" />
<xs:field xpath="mstns:IdxMacchina" />
</xs:unique>
</xs:element>
</xs:schema>
+10 -8
View File
@@ -6,14 +6,16 @@
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:planStatsGlobal" ZOrder="5" X="108" Y="55" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:planStatsArt" ZOrder="7" X="448" Y="61" Height="250" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:planStatsGroup" ZOrder="8" X="113" Y="292" Height="204" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:planStatsMacc" ZOrder="6" X="437" Y="357" Height="227" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:Richieste" ZOrder="2" X="91" Y="651" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:PromesseIN" ZOrder="4" X="484" Y="681" Height="365" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:PromesseOUT" ZOrder="3" X="833" Y="591" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:ConfWeek" ZOrder="1" X="904" Y="128" Height="267" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:planStatsGlobal" ZOrder="7" X="108" Y="55" Height="227" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:planStatsArt" ZOrder="9" X="448" Y="61" Height="250" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:planStatsGroup" ZOrder="10" X="113" Y="292" Height="204" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:planStatsMacc" ZOrder="8" X="437" Y="357" Height="227" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:Richieste" ZOrder="4" X="91" Y="651" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:PromesseIN" ZOrder="6" X="484" Y="681" Height="365" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:PromesseOUT" ZOrder="5" X="833" Y="591" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="306" />
<Shape ID="DesignTable:ConfWeek" ZOrder="3" X="739" Y="56" Height="267" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:CalStop" ZOrder="2" X="950" Y="61" Height="153" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:CalDisp" ZOrder="1" X="944" Y="259" Height="172" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors />
</DiagramLayout>
+3
View File
@@ -56,6 +56,9 @@
<Compile Include="Enums.cs" />
<Compile Include="Objects.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="WebClientWT.cs">
<SubType>Component</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include=".editorconfig" />
+3 -1
View File
@@ -644,6 +644,7 @@ namespace MapoSDK
/// </summary>
public Dictionary<string, string> currParams { get; set; } = null;
}
#if false
/// <summary>
/// Calendario eventi
/// </summary>
@@ -653,7 +654,8 @@ namespace MapoSDK
/// Lista di eventi
/// </summary>
public List<EventDetail> EventsList { get; set; }
}
}
#endif
/// <summary>
/// Singolo dettaglio evento
/// </summary>
+29
View File
@@ -0,0 +1,29 @@
using System;
using System.Net;
namespace MapoSDK
{
/// <summary>
/// Override metodo WebClient con gestione TimeOut corto
/// </summary>
public class WebClientWT : WebClient
{
/// <summary>
/// timeout da conf
/// </summary>
protected int urlCallTOut
{
get
{
// 10 sec timeout
return 10000;
}
}
protected override WebRequest GetWebRequest(Uri address)
{
WebRequest wr = base.GetWebRequest(address);
wr.Timeout = urlCallTOut; // timeout in milliseconds (ms)
return wr;
}
}
}