Eliminata vecchia pag Dichairazione + riferimenti
This commit is contained in:
@@ -21,7 +21,7 @@ namespace MoonProTablet
|
||||
void mod_fermate1_eh_reqEdit(object sender, EventArgs e)
|
||||
{
|
||||
// avendo in sessione inizio fermata DEVO andare a pagina DichFermi, in modalità "ritroso", precompilare data/ora ed eventuale descizione...
|
||||
Response.Redirect("Dichiarazione.aspx");
|
||||
Response.Redirect("Fermate.aspx");
|
||||
}
|
||||
|
||||
void mod_insComm1_eh_inserting(object sender, EventArgs e)
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="Dichiarazione.aspx.cs"
|
||||
Inherits="MoonProTablet.Dichiarazione" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_dettMacchina.ascx" TagName="mod_dettMacchina" TagPrefix="uc1" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_dichiarazione.ascx" TagName="mod_dichiarazione" TagPrefix="uc2" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_insComm.ascx" TagPrefix="uc1" TagName="mod_insComm" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_directLinks.ascx" TagPrefix="uc1" TagName="mod_directLinks" %>
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container-flow m-3" role="main">
|
||||
<div class="row">
|
||||
<div class="col-12 col-sm-7 col-md-8">
|
||||
<uc1:mod_dettMacchina ID="mod_dettMacchina1" runat="server" />
|
||||
<uc1:mod_insComm runat="server" ID="mod_insComm" showSalva="false" labelAddCommento="Dich Retroattiva" />
|
||||
<uc2:mod_dichiarazione ID="mod_dichiarazione1" runat="server" />
|
||||
</div>
|
||||
<div class="col-12 col-sm-5 col-md-4">
|
||||
<uc1:mod_directLinks runat="server" ID="mod_directLinks" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -1,62 +0,0 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Web.UI;
|
||||
|
||||
namespace MoonProTablet
|
||||
{
|
||||
public partial class Dichiarazione : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
Session["TipoLink"] = "EditMacch";
|
||||
// se c'è una data/ora in sessione la imposto...
|
||||
if (memLayer.ML.isInSessionObject("inizioStato"))
|
||||
{
|
||||
try
|
||||
{
|
||||
DateTime dataOraEv = Convert.ToDateTime(memLayer.ML.objSessionObj("inizioStato"));
|
||||
mod_insComm.dataEv = dataOraEv;
|
||||
memLayer.ML.emptySessionVal("inizioStato");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
mod_dichiarazione1.eh_newVal += new EventHandler(mod_dichiarazione1_eh_newVal);
|
||||
mod_insComm.eh_inserting += mod_insComm1_eh_inserting;
|
||||
mod_insComm.eh_reset += mod_insComm1_eh_reset;
|
||||
}
|
||||
|
||||
void mod_insComm1_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
void mod_insComm1_eh_inserting(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// chiama udpate x evento in controller dichiarazioni
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
void mod_dichiarazione1_eh_newVal(object sender, EventArgs e)
|
||||
{
|
||||
mod_dettMacchina1.doUpdate();
|
||||
// controllo: se è "aperto" ins dichiarazione metto pure quella...
|
||||
if (!mod_dichiarazione1.insRealtime)
|
||||
{
|
||||
if (mod_insComm.commento != "")
|
||||
{
|
||||
// chiamo insert SE C'E' commento
|
||||
mod_insComm.salvaCommento();
|
||||
}
|
||||
// elimino data ev! e quindi realtime!
|
||||
memLayer.ML.emptySessionVal("dataOraEv");
|
||||
// ricarico pagina!
|
||||
Response.Redirect("Commenti.aspx");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
-51
@@ -1,51 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MoonProTablet {
|
||||
|
||||
|
||||
public partial class Dichiarazione {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_dettMacchina1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonProTablet.WebUserControls.mod_dettMacchina mod_dettMacchina1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_insComm.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonProTablet.WebUserControls.mod_insComm mod_insComm;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_dichiarazione1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonProTablet.WebUserControls.mod_dichiarazione mod_dichiarazione1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_directLinks.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MoonProTablet.WebUserControls.mod_directLinks mod_directLinks;
|
||||
}
|
||||
}
|
||||
@@ -223,7 +223,6 @@
|
||||
<Content Include="Controlli.aspx" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="DettaglioMacchina.aspx" />
|
||||
<Content Include="Dichiarazione.aspx" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="Fermate.aspx" />
|
||||
<Content Include="fixODL.aspx" />
|
||||
@@ -549,13 +548,6 @@
|
||||
<Compile Include="DettaglioMacchina.aspx.designer.cs">
|
||||
<DependentUpon>DettaglioMacchina.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Dichiarazione.aspx.cs">
|
||||
<DependentUpon>Dichiarazione.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Dichiarazione.aspx.designer.cs">
|
||||
<DependentUpon>Dichiarazione.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Fermate.aspx.cs">
|
||||
<DependentUpon>Fermate.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -55,47 +55,6 @@
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<%--<div class="p-2">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
ELENCO IMPIANTI
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="#">Action</a>
|
||||
<a class="dropdown-item" href="#">Another action</a>
|
||||
<a class="dropdown-item" href="#">Something else here</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="#">Separated link</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Dettaglio macchina
|
||||
<div class="p-2">
|
||||
Produzione
|
||||
</div>
|
||||
<div class="p-2">
|
||||
ODL / Attrezzaggio
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Gest Turni
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Fermate
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Commenti
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Controlli
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Storico TC
|
||||
</div>
|
||||
<div class="p-2">
|
||||
Utente
|
||||
</div>--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
Reference in New Issue
Block a user