Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 public void TryUpdateRingTankWaterBalance()
 {
     if (IrrigationController != null)
     {
         IrrigationController.UpdateRingtankWaterBalance();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public void TryModelRingTank()
 {
     if (IrrigationController != null)
     {
         IrrigationController.ModelRingTank();
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// /
 /// </summary>
 public override void SetStartOfDayParameters()
 {
     try
     {
         if (SoilController != null)
         {
             SoilController.SetStartOfDayParameters();
         }
         if (IrrigationController != null)
         {
             IrrigationController.SetStartOfDayParameters();
         }
         if (VegetationController != null)
         {
             VegetationController.SetStartOfDayParameters();
         }
         if (TillageController != null)
         {
             TillageController.SetStartOfDayParameters();
         }
     }
     catch (Exception e)
     {
         ControlError = "SetStartOfDayParameters";
         throw new Exception(e.Message);
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 public void TryModelIrrigation()
 {
     if (IrrigationController != null)
     {
         IrrigationController.Simulate();
         SoilController.Irrigation = IrrigationController.IrrigationApplied;
     }
 }