Tolto sito MP-Site come MP_Site-old e creato sito empty MP-SITE x travaso
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
|
||||
namespace MoonPro
|
||||
{
|
||||
public partial class inputSeriale : System.Web.UI.Page
|
||||
{
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// legge i get x processare la seriale
|
||||
string idxMacchina = "";
|
||||
string valore = "";
|
||||
try
|
||||
{
|
||||
idxMacchina = Request.QueryString["idxMacchina"];
|
||||
valore = Request.QueryString["valore"];
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
try
|
||||
{
|
||||
// ora processo e salvo il valore del microstato...
|
||||
MapoDb.MapoDb.obj.checkMicroStato(idxMacchina, valore);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
if (memLayer.ML.CRI("_logLevel") > 5)
|
||||
{
|
||||
string errore = string.Format("Errore: {0}{1}", Environment.NewLine, exc);
|
||||
logger.lg.scriviLog(errore, tipoLog.EXCEPTION);
|
||||
lblOut.Text = errore;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user