Ejemplo n.º 1
0
 private void OnCLEMInitialiseResource(object sender, EventArgs e)
 {
     // look for a shuffler
     shuffler = Apsim.Children(this, typeof(RainfallShuffler)).FirstOrDefault() as RainfallShuffler;
 }
Ejemplo n.º 2
0
 private void OnCLEMInitialiseResource(object sender, EventArgs e)
 {
     // look for a shuffler
     shuffler = this.FindAllChildren <RainfallShuffler>().FirstOrDefault() as RainfallShuffler;
 }