using SteamWare; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MoonProTablet.WebUserControls { public class MpTabUserControl : System.Web.UI.UserControl { /// /// idxMacchina corrente in sessione /// public string idxMacchina { get { return memLayer.ML.StringSessionObj("idxMacchina"); } set { memLayer.ML.setSessionVal("idxMacchina", value); } } /// /// Sotto sistema (macchina) selezionato in sessione /// public string subMaccSel { get { return memLayer.ML.StringSessionObj("subMaccSel"); } set { memLayer.ML.setSessionVal("subMaccSel", value); } } /// /// idxOdl corrente in sessione /// public int idxOdl { get { return memLayer.ML.IntSessionObj("idxODL"); } set { memLayer.ML.setSessionVal("idxODL", value); } } /// /// effettua traduzione del lemma /// /// /// public string traduci(object _lemma) { _lemma = _lemma == null ? "":_lemma; return user_std.UtSn.Traduci(_lemma.ToString()); } } }