///------------------------------------------------------------------------------------------------- /// <summary> Runs the Resource Model with the given input data</summary> /// <param name="InputData"> Information describing the input.</param> /// <param name="isErr"> [out] The error code 0=no error.</param> /// <param name="errStr"> [out] The error string.</param> /// /// <returns> A ResourceModelOutput.</returns> ///------------------------------------------------------------------------------------------------- public abstract ResourceModelOutput Run(ResourceModelInput InputData, out int isErr, out string errStr);
///------------------------------------------------------------------------------------------------- /// <summary> Runs the River Model with the given input data.</summary> /// /// <remarks> This needs to be implemented, Output and Input should be assined to Properties for retreival</remarks> /// /// <param name="InputData"> Information describing the input.</param> /// /// <returns> A RiverModelOutput.</returns> ///------------------------------------------------------------------------------------------------- public override ResourceModelOutput Run(ResourceModelInput InputData, out int errCode, out string ErrString) { throw new NotImplementedException(); }
///------------------------------------------------------------------------------------------------- /// <summary> Executes a model run for one year as specified.</summary> /// /// <param name="Input"> The ResourceModel input data.</param> /// <param name="year"> The year as 0 being the first year.</param> /// <param name="error"> [out] The error code, 0 = no error.</param> /// <param name="ErrStr"> [out] The error string.</param> /// /// <returns> A ResourceModelOutput object with model results</returns> ///------------------------------------------------------------------------------------------------- public abstract ResourceModelOutput RunYear(ResourceModelInput Input, int year, int endyear, out int error, out string ErrStr);