COmpletata revisione time sequencer
This commit is contained in:
Generated
-9
@@ -65,14 +65,5 @@ namespace MoonPro {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonPro.WebUserControls.mod_sequencerStatiJS mod_sequencerStatiJS2;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnReload.
|
||||
/// </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.Button btnReload;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
<add key="IOB_RedEnab" value="true" />
|
||||
<add key="RedEnab" value="true" />
|
||||
<!--valore durata cache x seq stati in minuti-->
|
||||
<add key="seqCacheDurMin" value="15" />
|
||||
<add key="seqCacheDurMin" value="7" />
|
||||
<!--<add key="seqCacheDurMin" value="1440" />-->
|
||||
<!--default valori-->
|
||||
<add key="appName" value="MoonPro.18" />
|
||||
|
||||
@@ -7,6 +7,19 @@
|
||||
<asp:HiddenField runat="server" ID="hfDataFrom" />
|
||||
<asp:HiddenField runat="server" ID="hfDataTo" />
|
||||
|
||||
<div id="spinner" class="text-center">
|
||||
<h2>Caricamento Dati</h2>
|
||||
<i class="fa fa-refresh fa-pulse fa-3x fa-fw"></i>
|
||||
<p><i>Ricalcolo periodo</i></p>
|
||||
<%--<div class="row justify-content-md-center">
|
||||
<div class="col-6">
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
// vedere: http://visjs.org/docs/timeline/
|
||||
|
||||
@@ -44,12 +57,20 @@
|
||||
url: "/WS/MPData.asmx/seqStati?idxMacch=" + idxMacc + "&dataFrom='" + dataFrom + "'&dataTo='" + dataTo + "'&numSplit=" + numSplit,
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataType: "json",
|
||||
beforeSend: showSpinner_<%=UniqueID.Replace("$","_") %>,
|
||||
complete: hideSpinner_<%=UniqueID.Replace("$","_") %>,
|
||||
success: plotSeqStati_<%=UniqueID.Replace("$","_") %>,
|
||||
error: plotSeqStati_<%=UniqueID.Replace("$","_") %>
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function showSpinner_<%=UniqueID.Replace("$","_") %>(response) {
|
||||
$('#spinner').css("display", "block");
|
||||
}
|
||||
function hideSpinner_<%=UniqueID.Replace("$","_") %>(response) {
|
||||
$('#spinner').css("display", "none");
|
||||
}
|
||||
|
||||
function plotSeqStati_<%=UniqueID.Replace("$","_") %>(response) {
|
||||
// recupero il container grafici
|
||||
var container = document.getElementById('tlArea_<%=UniqueID.Replace("$","_") %>');
|
||||
|
||||
Reference in New Issue
Block a user