37 lines
837 B
C#
37 lines
837 B
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace C_TRACK.WebUserControls
|
|
{
|
|
public partial class mod_checkOpr : System.Web.UI.UserControl
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
// verifico di avere CodOpr ins essione...
|
|
if (CodOpr == "")
|
|
{
|
|
// mostro warning..
|
|
divWarning.Visible = true;
|
|
// se NON sono in pagina bcode --> rimando a richiesta dichiarazione operatore (con BARCODE)
|
|
if (devicesAuthProxy.pagCorrente != "barcode")
|
|
{
|
|
Response.Redirect("~/barcode");
|
|
}
|
|
}
|
|
else
|
|
{
|
|
divWarning.Visible = false;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Codice postazione di lavoro
|
|
/// </summary>
|
|
public string CodOpr
|
|
{
|
|
get
|
|
{
|
|
return memLayer.ML.StringSessionObj("CodOpr");
|
|
}
|
|
}
|
|
}
|
|
} |