/// <summary> /// Calculate method for the component with test of preconditions /// </summary> /// <param name=r>Rates Domain class contains the accessors to values</param> /// <param name=e>Exogenous Domain class contains the accessors to values</param> /// <param name=s>States Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> /// <param name="saveLog">Save log via a writer or show on screen</param> /// <param name="callID">Context description for violations</param> public void Estimate (IStrategySiriusQualityIrradiance st, Rates r, Exogenous e, States s, ActEvents ae, bool saveLog, string callID) { _resultPreConditions = String.Empty; _resultPostConditions = String.Empty; _resultPreConditions = st.TestPreConditions(r, e, s, callID); st.Estimate (r, e, s, ae); _resultPostConditions = st.TestPostConditions(r, e, s, callID); if (_resultPreConditions != String.Empty || _resultPostConditions != String.Empty) { p.TestsOut(_resultPreConditions + _resultPostConditions, saveLog, callID); } }
/// <summary> /// Calculate method for the component with test of preconditions /// </summary> /// <param name=p>PhenologyState Domain class contains the accessors to values</param> /// <param name=p1>PhenologyState Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> /// <param name="saveLog">Save log via a writer or show on screen</param> /// <param name="callID">Context description for violations</param> public void Estimate (IStrategySiriusQualityPhenology st, PhenologyState s, PhenologyState s1, ActEvents ae, bool saveLog, string callID) { _resultPreConditions = String.Empty; _resultPostConditions = String.Empty; _resultPreConditions = st.TestPreConditions(s, s1, callID); st.Estimate(s, s1, ae); _resultPostConditions = st.TestPostConditions(s, s1, callID); if (_resultPreConditions != String.Empty || _resultPostConditions != String.Empty) { p.TestsOut(_resultPreConditions + _resultPostConditions, saveLog, callID); } }
/// <summary> /// Calculate method for the component /// </summary> /// <param name=p>PhenologyState Domain class contains the accessors to values</param> /// <param name=p1>PhenologyState Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> public void Estimate (IStrategySiriusQualityPhenology st, PhenologyState p, PhenologyState p1, ActEvents ae) { st.Estimate (p, p1, ae); }
/// <summary> /// Calculate method for the component with test of preconditions /// </summary> /// <param name=m>MaizeLAIState Domain class contains the accessors to values</param> /// <param name=m1>MaizeLeafState Domain class contains the accessors to values</param> /// <param name=m2>MaizeLeafState Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> /// <param name="saveLog">Save log via a writer or show on screen</param> /// <param name="callID">Context description for violations</param> public void Estimate (IStrategySiriusQualityMaizeLAI st, MaizeLAIState m, MaizeLeafState m1, MaizeLeafState m2, ActEvents ae, bool saveLog, string callID) { _resultPreConditions = String.Empty; _resultPostConditions = String.Empty; _resultPreConditions = st.TestPreConditions(m, m1, m2, callID); st.Estimate (m, m1, m2, ae); _resultPostConditions = st.TestPostConditions(m, m1, m2, callID); if (_resultPreConditions != String.Empty || _resultPostConditions != String.Empty) { p.TestsOut(_resultPreConditions + _resultPostConditions, saveLog, callID); } }
/// <summary> /// Calculate method for the component /// </summary> /// <param name=m>MaizeLAIState Domain class contains the accessors to values</param> /// <param name=m1>MaizeLeafState Domain class contains the accessors to values</param> /// <param name=m2>MaizeLeafState Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> public void Estimate (IStrategySiriusQualityMaizeLAI st, MaizeLAIState m, MaizeLeafState m1, MaizeLeafState m2, ActEvents ae) { st.Estimate (m, m1, m2, ae); }
/// <summary> /// Calculate method for the component /// </summary> /// <param name=r>Rates Domain class contains the accessors to values</param> /// <param name=e>Exogenous Domain class contains the accessors to values</param> /// <param name=s>States Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> public void Estimate (IStrategySiriusQualityIrradiance st, Rates r, Exogenous e, States s, ActEvents ae) { st.Estimate (r, e, s, ae); }
/// <summary> /// Calculate method for the component with test of preconditions /// </summary> /// <param name=w>WheatLAIState Domain class contains the accessors to values</param> /// <param name=w1>WheatLeafState Domain class contains the accessors to values</param> /// <param name=w2>WheatLeafState Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> /// <param name="saveLog">Save log via a writer or show on screen</param> /// <param name="callID">Context description for violations</param> public void Estimate (IStrategySiriusQualityWheatLAI st, WheatLAIState w, WheatLeafState w1, WheatLeafState w2, ActEvents ae, bool saveLog, string callID) { _resultPreConditions = String.Empty; _resultPostConditions = String.Empty; _resultPreConditions = st.TestPreConditions(w, w1, w2, callID); st.Estimate (w, w1, w2, ae); _resultPostConditions = st.TestPostConditions(w, w1, w2, callID); if (_resultPreConditions != String.Empty || _resultPostConditions != String.Empty) { p.TestsOut(_resultPreConditions + _resultPostConditions, saveLog, callID); } }
/// <summary> /// Calculate method for the component /// </summary> /// <param name=w>WheatLAIState Domain class contains the accessors to values</param> /// <param name=w1>WheatLeafState Domain class contains the accessors to values</param> /// <param name=w2>WheatLeafState Domain class contains the accessors to values</param> /// <param name=ae>AgroManagement objects of impact parameters</param> public void Estimate (IStrategySiriusQualityWheatLAI st, WheatLAIState w, WheatLeafState w1, WheatLeafState w2, ActEvents ae) { st.Estimate (w, w1, w2, ae); }