/// <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; }
/// <summary> /// Constructor without parameters /// </summary> public EvapotranspirationCrop() { this.type = Utils.WaterOutputType.Evapotranspiration; this.Date = DateTime.Now; this.Output = 0; }