update comportamento x drawinf chat temperature
This commit is contained in:
Binary file not shown.
@@ -1,4 +1,5 @@
|
||||
using GPW_data;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -10,6 +11,8 @@ namespace GPW_Commesse.Controllers
|
||||
{
|
||||
public class TempHistController : ApiController
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Metodo effettivo recupero dati
|
||||
/// </summary>
|
||||
@@ -20,16 +23,33 @@ namespace GPW_Commesse.Controllers
|
||||
private static List<chartJsXY> getDataFilt(int id, int numRec, DateTime dtRif)
|
||||
{
|
||||
List<chartJsXY> answ = new List<chartJsXY>();
|
||||
var tabDati = DataProxy.DP.taHT.GetData(id, dtRif, numRec);
|
||||
// ciclo
|
||||
foreach (var item in tabDati)
|
||||
// cerco su redis...
|
||||
string histTemp = SteamWare.memLayer.ML.redHash($"Temp:Hist:{id}_{dtRif:yyyyMMdd}_{numRec}");
|
||||
string rawData = SteamWare.memLayer.ML.getRSV(histTemp);
|
||||
if (!string.IsNullOrEmpty(rawData))
|
||||
{
|
||||
answ.Add(new chartJsXY() { x = item.tempRil, y = item.freq });
|
||||
answ = JsonConvert.DeserializeObject<List<chartJsXY>>(rawData);
|
||||
}
|
||||
else
|
||||
{
|
||||
var tabDati = DataProxy.DP.taHT.GetData(id, dtRif, numRec);
|
||||
// ciclo
|
||||
foreach (var item in tabDati)
|
||||
{
|
||||
answ.Add(new chartJsXY() { x = item.tempRil, y = item.freq });
|
||||
}
|
||||
// salvo
|
||||
rawData = JsonConvert.SerializeObject(answ);
|
||||
SteamWare.memLayer.ML.setRSV(histTemp, rawData, 5);
|
||||
}
|
||||
// restituisco
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
// GET api/TempHist
|
||||
public string Get()
|
||||
{
|
||||
@@ -45,7 +65,6 @@ namespace GPW_Commesse.Controllers
|
||||
return getDataFilt(id, numRec, dtRif);
|
||||
}
|
||||
|
||||
|
||||
// GET api/TempHist/5?date=2020-09-01&numRec=10
|
||||
public List<chartJsXY> Get(int id, string date, int numRec)
|
||||
{
|
||||
@@ -54,5 +73,7 @@ namespace GPW_Commesse.Controllers
|
||||
// restituisco oggetto!
|
||||
return getDataFilt(id, numRec, dtRif);
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using GPW_data;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -10,6 +11,8 @@ namespace GPW_Commesse.Controllers
|
||||
{
|
||||
public class TempRilController : ApiController
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Metodo effettivo recupero dati
|
||||
/// </summary>
|
||||
@@ -20,15 +23,34 @@ namespace GPW_Commesse.Controllers
|
||||
private static List<chartJsTSerie> getDataFilt(int id, int numRec, DateTime dtRif)
|
||||
{
|
||||
List<chartJsTSerie> answ = new List<chartJsTSerie>();
|
||||
var tabDati = DataProxy.DP.taRT.getByUserPeriod(id, dtRif, numRec);
|
||||
// ciclo
|
||||
foreach (var item in tabDati)
|
||||
|
||||
// cerco su redis...
|
||||
string histTemp = SteamWare.memLayer.ML.redHash($"Temp:Ril:{id}_{dtRif:yyyyMMdd}_{numRec}");
|
||||
string rawData = SteamWare.memLayer.ML.getRSV(histTemp);
|
||||
if (!string.IsNullOrEmpty(rawData))
|
||||
{
|
||||
answ.Add(new chartJsTSerie() { x = item.dtRilievo, y = item.tempRil });
|
||||
answ = JsonConvert.DeserializeObject<List<chartJsTSerie>>(rawData);
|
||||
}
|
||||
else
|
||||
{
|
||||
var tabDati = DataProxy.DP.taRT.getByUserPeriod(id, dtRif, numRec);
|
||||
// ciclo
|
||||
foreach (var item in tabDati)
|
||||
{
|
||||
answ.Add(new chartJsTSerie() { x = item.dtRilievo, y = item.tempRil });
|
||||
}
|
||||
// salvo
|
||||
rawData = JsonConvert.SerializeObject(answ);
|
||||
SteamWare.memLayer.ML.setRSV(histTemp, rawData, 5);
|
||||
}
|
||||
// restituisco
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
// GET api/TempRil
|
||||
public string Get()
|
||||
{
|
||||
@@ -43,6 +65,7 @@ namespace GPW_Commesse.Controllers
|
||||
// restituisco oggetto!
|
||||
return getDataFilt(id, numRec, dtRif);
|
||||
}
|
||||
|
||||
// GET api/TempRil/5?date=2020-09-01&numRec=10
|
||||
public List<chartJsTSerie> Get(int id, string date, int numRec)
|
||||
{
|
||||
@@ -52,5 +75,6 @@ namespace GPW_Commesse.Controllers
|
||||
return getDataFilt(id, numRec, dtRif);
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -375,7 +375,6 @@
|
||||
<Content Include="images\StatoOk_l.png" />
|
||||
<Content Include="images\StatoOk_m.png" />
|
||||
<Content Include="images\StatoOk_s.png" />
|
||||
<Content Include="libzstd.dll" />
|
||||
<Content Include="login.aspx" />
|
||||
<Content Include="logs\PlaceHolder.file" />
|
||||
<None Include="bundleconfig.json" />
|
||||
@@ -390,7 +389,6 @@
|
||||
<Content Include="Content\Roboto.woff" />
|
||||
<Content Include="Content\RobotoCondensed.woff" />
|
||||
<Content Include="Content\fonts.less" />
|
||||
<Content Include="mongocrypt.dll" />
|
||||
<Content Include="Properties\PublishProfiles\IISDEV.pubxml.user" />
|
||||
<Content Include="Scripts\bootstrap.bundle.js" />
|
||||
<Content Include="Scripts\bootstrap.bundle.min.js" />
|
||||
@@ -407,8 +405,6 @@
|
||||
<Content Include="Scripts\esm\popper.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.js.map" />
|
||||
<Content Include="libmongocrypt.so" />
|
||||
<Content Include="libmongocrypt.dylib" />
|
||||
<None Include="Properties\PublishProfiles\IISDEV.pubxml" />
|
||||
<Content Include="Scripts\bootstrap.min.js.map" />
|
||||
<Content Include="Scripts\bootstrap.js.map" />
|
||||
@@ -496,8 +492,6 @@
|
||||
<Content Include="Scripts\umd\popper-utils.min.js" />
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="test01.aspx" />
|
||||
<Content Include="WebMasterPages\AjaxSimpleFull.Master" />
|
||||
<Content Include="WebUserControls\cmp_chart.ascx" />
|
||||
|
||||
@@ -6,11 +6,15 @@
|
||||
var prm = Sys.WebForms.PageRequestManager.getInstance();
|
||||
prm.add_pageLoaded(function () {
|
||||
redrawAll();
|
||||
//console.log('add_pageLoaded!');
|
||||
console.log('add_pageLoaded!');
|
||||
});
|
||||
//prm.add_endRequest(function () {
|
||||
prm.add_endRequest(function () {
|
||||
redrawAll();
|
||||
console.log('add_endRequest!');
|
||||
});
|
||||
//prm.add_beginRequest(function () {
|
||||
// redrawAll();
|
||||
// console.log('add_endRequest!');
|
||||
// console.log('add_beginRequest!');
|
||||
//});
|
||||
|
||||
//Sys.Application.add_load(redrawAll);
|
||||
@@ -41,23 +45,27 @@
|
||||
},
|
||||
};
|
||||
|
||||
// recupero obj chart
|
||||
var ctx = document.getElementById('myChartTS').getContext('2d');
|
||||
var chart = new Chart(ctx, {
|
||||
type: 'line',
|
||||
data: {
|
||||
datasets: [{
|
||||
borderColor: 'rgb(7, 173, 236)',
|
||||
lineTension: 0,
|
||||
steppedLine: true,
|
||||
label: 'Temperatura Rilevata',
|
||||
data: dataTS
|
||||
}]
|
||||
},
|
||||
options: myOptions
|
||||
});
|
||||
try {
|
||||
// recupero obj chart
|
||||
var ctx = document.getElementById('myChartTS').getContext('2d');
|
||||
var chart = new Chart(ctx, {
|
||||
type: 'line',
|
||||
data: {
|
||||
datasets: [{
|
||||
borderColor: 'rgb(7, 173, 236)',
|
||||
lineTension: 0,
|
||||
steppedLine: true,
|
||||
label: 'Temperatura Rilevata',
|
||||
data: dataTS
|
||||
}]
|
||||
},
|
||||
options: myOptions
|
||||
});
|
||||
|
||||
//console.log('TS draw!');
|
||||
console.log('TS draw!');
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
// errore in reload!
|
||||
function OnErrorCall_(repo) {
|
||||
@@ -96,20 +104,25 @@
|
||||
//console.log('bars: ', barVal);
|
||||
|
||||
// recupero obj chart
|
||||
var ctx = document.getElementById('myChartHist').getContext('2d');
|
||||
var chart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: barLabels,
|
||||
datasets: [{
|
||||
label: 'Freq. Osservate',
|
||||
backgroundColor: 'rgb(7, 173, 236)',
|
||||
data: barVal
|
||||
}]
|
||||
},
|
||||
options: myOptions
|
||||
});
|
||||
try {
|
||||
var ctx = document.getElementById('myChartHist').getContext('2d');
|
||||
var chart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: barLabels,
|
||||
datasets: [{
|
||||
label: 'Freq. Osservate',
|
||||
backgroundColor: 'rgb(7, 173, 236)',
|
||||
data: barVal
|
||||
}]
|
||||
},
|
||||
options: myOptions
|
||||
});
|
||||
|
||||
console.log('Hist draw!');
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
// errore in reload!
|
||||
function HistOnErrorCall_(repo) {
|
||||
@@ -141,15 +154,15 @@
|
||||
}
|
||||
|
||||
function redrawAll() {
|
||||
console.log('numRec: <%=ddlMaxNum.SelectedValue%>');
|
||||
//console.log('numRec: <%=ddlMaxNum.SelectedValue%>');
|
||||
plotTS();
|
||||
plotHist();
|
||||
}
|
||||
|
||||
// funzione di drawing ad OGNI pageload!
|
||||
function pageLoad() {
|
||||
//redrawAll();
|
||||
}
|
||||
//// funzione di drawing ad OGNI pageload!
|
||||
//function pageLoad() {
|
||||
// //redrawAll();
|
||||
//}
|
||||
</script>
|
||||
|
||||
<asp:HiddenField runat="server" ID="hfIdxDip" />
|
||||
|
||||
+14
-14
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW_Commesse.WebUserControls
|
||||
@@ -15,29 +15,29 @@ namespace GPW_Commesse.WebUserControls
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxDip.
|
||||
/// hfIdxDip control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxDip;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfData.
|
||||
/// hfData control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfData;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlMaxNum.
|
||||
/// ddlMaxNum control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlMaxNum;
|
||||
}
|
||||
|
||||
@@ -12,21 +12,29 @@
|
||||
<asp:HiddenField runat="server" ID="hfDataFrom" />
|
||||
<asp:HiddenField runat="server" ID="hfDataTo" />
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<div class="row mt-0">
|
||||
<div class="col-12">
|
||||
<asp:UpdatePanel ID="upFilt" runat="server" UpdateMode="Conditional" RenderMode="Block">
|
||||
<ContentTemplate>
|
||||
<div class="filtro_1 py-1 mx-0 row" style="height: 2em;">
|
||||
<div class="col-6 text-left">
|
||||
<div class="d-flex filtro_1">
|
||||
<div class="p-2 flex-grow-1">
|
||||
<uc2:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" realtimeUpdate="true" />
|
||||
</div>
|
||||
<div class="col-6 text-right small">
|
||||
<div class="p-2 small">
|
||||
Temperatura:
|
||||
<uc2:cmp_toggle runat="server" ID="cmp_toggleTemp" classOn="text-light" classOff="text-secondary" />
|
||||
</div>
|
||||
<div class="p-2 small">
|
||||
Sel globale:
|
||||
<uc2:cmp_toggle runat="server" ID="cmp_toggle" classOn="text-dark" classOff="text-dark" />
|
||||
<uc2:cmp_toggle runat="server" ID="cmp_toggle" classOn="text-dark" classOff="text-secondary" />
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<uc2:cmp_chart runat="server" ID="cmp_chart1" Visible="false" />
|
||||
<asp:UpdatePanel ID="upCharts" runat="server" UpdateMode="Conditional" RenderMode="Block">
|
||||
<ContentTemplate>
|
||||
<div class="py-1 mx-0 row bg-light" id="divRilTemp" runat="server">
|
||||
|
||||
@@ -105,6 +105,7 @@ namespace GPW_Commesse.WebUserControls
|
||||
|
||||
private void cmp_rilTemp_ehCancel(object sender, EventArgs e)
|
||||
{
|
||||
cmp_toggleTemp.toggleValue = false;
|
||||
activeMode = modoCommesse.elenco;
|
||||
showPanels();
|
||||
grView.SelectedIndex = -1;
|
||||
@@ -113,6 +114,7 @@ namespace GPW_Commesse.WebUserControls
|
||||
|
||||
private void cmp_rilTemp_ehSave(object sender, EventArgs e)
|
||||
{
|
||||
cmp_toggleTemp.toggleValue = false;
|
||||
activeMode = modoCommesse.elenco;
|
||||
showPanels();
|
||||
}
|
||||
@@ -216,6 +218,7 @@ namespace GPW_Commesse.WebUserControls
|
||||
protected void lbShowTemp_Click(object sender, EventArgs e)
|
||||
{
|
||||
string dataRif = ((LinkButton)sender).CommandArgument;
|
||||
cmp_toggleTemp.toggleValue = true;
|
||||
// verifico se dip sia attivo...
|
||||
if (DataProxy.currDipIsActive)
|
||||
{
|
||||
@@ -313,6 +316,13 @@ namespace GPW_Commesse.WebUserControls
|
||||
cmp_toggle.ehToggle += Cmp_toggle_ehToggle;
|
||||
cmp_rilTemp.ehCancel += cmp_rilTemp_ehCancel;
|
||||
cmp_rilTemp.ehSave += cmp_rilTemp_ehSave;
|
||||
|
||||
ScriptManager.RegisterStartupScript(
|
||||
upCharts,
|
||||
this.GetType(),
|
||||
"MyAction",
|
||||
"redrawAll();",
|
||||
true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -407,6 +417,7 @@ namespace GPW_Commesse.WebUserControls
|
||||
cmp_chart.Visible = true;
|
||||
|
||||
upMain.Update();
|
||||
upFilt.Update();
|
||||
upCharts.Update();
|
||||
}
|
||||
|
||||
|
||||
+92
-74
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW_Commesse.WebUserControls
|
||||
@@ -15,209 +15,227 @@ namespace GPW_Commesse.WebUserControls
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfDataFrom.
|
||||
/// hfDataFrom control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfDataFrom;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfDataTo.
|
||||
/// hfDataTo control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfDataTo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo upFilt.
|
||||
/// upFilt control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel upFilt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_periodoAnalisi1.
|
||||
/// mod_periodoAnalisi1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_periodoAnalisi mod_periodoAnalisi1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_toggle.
|
||||
/// cmp_toggleTemp control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_toggle cmp_toggleTemp;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_toggle control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_toggle cmp_toggle;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo upCharts.
|
||||
/// cmp_chart1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_chart cmp_chart1;
|
||||
|
||||
/// <summary>
|
||||
/// upCharts control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel upCharts;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divRilTemp.
|
||||
/// divRilTemp control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRilTemp;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_rilTemp.
|
||||
/// cmp_rilTemp control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_rilTemp cmp_rilTemp;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_chart.
|
||||
/// cmp_chart control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_chart cmp_chart;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo upMain.
|
||||
/// upMain control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel upMain;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divSx.
|
||||
/// divSx control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSx;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo pnlEditOre.
|
||||
/// pnlEditOre control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlEditOre;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnCloseTimb.
|
||||
/// btnCloseTimb control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnCloseTimb;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_elencoTimbr1.
|
||||
/// mod_elencoTimbr1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.mod_elencoTimbr mod_elencoTimbr1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_commUtMancTimbr1.
|
||||
/// mod_commUtMancTimbr1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.mod_commUtMancTimbr mod_commUtMancTimbr1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divCn.
|
||||
/// divCn control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCn;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divDx.
|
||||
/// divDx control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDx;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo pnlEditCom.
|
||||
/// pnlEditCom control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlEditCom;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnCloseRA.
|
||||
/// btnCloseRA control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnCloseRA;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_TagCloudProgetti1.
|
||||
/// mod_TagCloudProgetti1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.mod_TagCloudProgetti mod_TagCloudProgetti1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_commAttivitaDesk1.
|
||||
/// mod_commAttivitaDesk1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.mod_commAttivitaDesk mod_commAttivitaDesk1;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="test01.aspx.cs" Inherits="GPW_Commesse.test01" %>
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="test01.aspx.cs" Inherits="GPW_Commesse.test01" EnableEventValidation="false" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_chart.ascx" TagPrefix="uc1" TagName="cmp_chart" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_commUtLog.ascx" TagPrefix="uc1" TagName="mod_commUtLog" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_toggle.ascx" TagPrefix="uc1" TagName="cmp_toggle" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<%--<asp:UpdatePanel ID="upChart" runat="server" UpdateMode="Always" ChildrenAsTriggers="true" RenderMode="Block">
|
||||
@@ -32,6 +33,10 @@
|
||||
<asp:UpdatePanel ID="upChart" runat="server" UpdateMode="Always" ChildrenAsTriggers="true" RenderMode="Block">
|
||||
<ContentTemplate>
|
||||
<div class="row mt-5">
|
||||
<div class="col-3">
|
||||
<uc1:cmp_toggle runat="server" ID="cmp_toggle01" classOn="text-dark" classOff="text-secondary" />
|
||||
<uc1:cmp_toggle runat="server" ID="cmp_toggle02" classOn="text-dark" classOff="text-secondary" />
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<asp:LinkButton runat="server" ID="lbt01" CssClass="btn btn-sm btn-info btn-block" OnClientClick="toggle01()">temp</asp:LinkButton>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace GPW_Commesse
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
cmp_chart.dtRif = DateTime.Today;
|
||||
hfShow01.Value = "false";
|
||||
hfShow01.Value = "true";
|
||||
hfShow02.Value = "true";
|
||||
}
|
||||
|
||||
|
||||
Generated
+18
@@ -41,6 +41,24 @@ namespace GPW_Commesse
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel upChart;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_toggle01 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_toggle cmp_toggle01;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_toggle02 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Commesse.WebUserControls.cmp_toggle cmp_toggle02;
|
||||
|
||||
/// <summary>
|
||||
/// lbt01 control.
|
||||
/// </summary>
|
||||
|
||||
@@ -559,8 +559,6 @@
|
||||
<Content Include="Scripts\moment-with-locales.min.js" />
|
||||
<Content Include="Scripts\moment.js" />
|
||||
<Content Include="Scripts\moment.min.js" />
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="Test.aspx" />
|
||||
<Content Include="WebUserControls\cmp_chart.ascx" />
|
||||
<None Include="compilerconfig.json" />
|
||||
|
||||
Reference in New Issue
Block a user