コード例 #1
0
 /// <summary>
 /// Constructor with parameters
 /// </summary>
 /// <param name="pDate"></param>
 /// <param name="pOutput"></param>
 /// <param name="pCropIrrigationWeatherId"></param>
 public EvapotranspirationCrop(DateTime pDate, Double pOutput,
                               long pCropIrrigationWeatherId)
 {
     this.type   = Utils.WaterOutputType.Evapotranspiration;
     this.Date   = pDate;
     this.Output = pOutput;
     this.CropIrrigationWeatherId = pCropIrrigationWeatherId;
 }
コード例 #2
0
 /// <summary>
 /// Constructor without parameters
 /// </summary>
 public EvapotranspirationCrop()
 {
     this.type   = Utils.WaterOutputType.Evapotranspiration;
     this.Date   = DateTime.Now;
     this.Output = 0;
 }