41 lines
1016 B
C#
41 lines
1016 B
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace MP_SITE
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |