Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public double GetPotentialSoilEvaporation()
 {
     if (CurrentCrop != null)
     {
         return(CurrentCrop.GetPotentialSoilEvaporation());
     }
     return(0);
 }
Example #2
0
 internal double GetPotentialSoilEvaporation()
 {
     try
     {
         if (CurrentCrop != null)
         {
             return(CurrentCrop.GetPotentialSoilEvaporation());
         }
     }
     catch (Exception ex)
     {
         throw ErrorLogger.CreateException(ex);
     }
     return(0);
 }