Files
MoonPro.net/MP-Tablet/DettaglioMacchina.aspx.cs
T
2018-03-14 17:26:57 +01:00

71 lines
1.6 KiB
C#

using SteamWare;
using System;
using System.Web.UI;
using WebMasterPages;
namespace MoonProTablet
{
public partial class DettaglioMacchina : System.Web.UI.Page
{
/// <summary>
/// idx macchina selezionata
/// </summary>
public string idxMacchina
{
get
{
return memLayer.ML.StringSessionObj("IdxMacchina");
}
set
{
memLayer.ML.setSessionVal("IdxMacchina", value);
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Session["TipoLink"] = "DetMacc";
lbtFermate.Visible = showInsFermata;
}
mod_confProd1.eh_inserting += mod_confProd1_eh_inserting;
mod_confProd1.eh_newVal += mod_confProd1_eh_newVal;
mod_confProd1.eh_reset += mod_confProd1_eh_reset;
}
void mod_confProd1_eh_reset(object sender, EventArgs e)
{
}
void mod_confProd1_eh_newVal(object sender, EventArgs e)
{
}
void mod_confProd1_eh_inserting(object sender, EventArgs e)
{
}
/// <summary>
/// evento timer
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Timer1_Tick(object sender, EventArgs e)
{
mod_dettMacchina1.doUpdate();
}
/// <summary>
/// Determina se dato lo stato dell'impianto si debba mostrare btn fermata perché
/// - impianto fermo
/// - fermo > xx min (da web.config, es 20')
/// </summary>
public bool showInsFermata
{
get
{
bool answ = true;
return answ;
}
}
}
}