using System; namespace NKC_WF { public partial class MachineUnloadSmart : BasePage { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { doUpdate(); } } /// /// Batch corrente... /// public int BatchId { set { hfBatchID.Value = value.ToString(); } get { int answ = 0; int.TryParse(hfBatchID.Value, out answ); return answ; } } /// /// Aggiorna componente principale e child components /// private void doUpdate() { //!!!FIXME!!! fare calcolo del VERO batch corrente... BatchId = 242; // fixed x test! // aggiorno child cmp_unloadSmart.BatchId = BatchId; } } }