Update x trad prod in SITE con errori, vers 1327
This commit is contained in:
@@ -1,24 +1,39 @@
|
||||
using MapoDb;
|
||||
using SteamWare;
|
||||
using System;
|
||||
|
||||
namespace MP_SITE.WebUserControls
|
||||
{
|
||||
public class baseProdControl : System.Web.UI.UserControl
|
||||
{
|
||||
protected int _numRighe = 17;
|
||||
|
||||
protected resoconti _resoconti;
|
||||
#region Private Fields
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico
|
||||
/// </summary>
|
||||
private DataLayer DataLayerObj = new DataLayer();
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected int _numRighe = 17;
|
||||
|
||||
protected resoconti _resoconti;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Public Events
|
||||
|
||||
/// <summary>
|
||||
/// evento update
|
||||
/// </summary>
|
||||
public event EventHandler eh_doUpdate;
|
||||
|
||||
#endregion Public Events
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public int numRighe
|
||||
{
|
||||
get
|
||||
@@ -31,18 +46,9 @@ namespace MP_SITE.WebUserControls
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void aggiornamento()
|
||||
{
|
||||
}
|
||||
#endregion Public Properties
|
||||
|
||||
public void reportUpdate()
|
||||
{
|
||||
// alzo l'evento d update/inserimento e ricarico cache...
|
||||
if (eh_doUpdate != null)
|
||||
{
|
||||
eh_doUpdate(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se la macchina MAIN sia MULTI (da DatiMacchina / redis...)
|
||||
@@ -62,5 +68,44 @@ namespace MP_SITE.WebUserControls
|
||||
aggiornamento();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public virtual void aggiornamento()
|
||||
{
|
||||
}
|
||||
|
||||
public void reportUpdate()
|
||||
{
|
||||
// alzo l'evento d update/inserimento e ricarico cache...
|
||||
if (eh_doUpdate != null)
|
||||
{
|
||||
eh_doUpdate(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione in inglese del lemma
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduciEn(string lemma)
|
||||
{
|
||||
return user_std.UtSn.TraduciEn(lemma);
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user