Commit 3c5fcf3e authored by Loic Manceau's avatar Loic Manceau
Browse files

Merge branch 'Development' into 'master'

Development

See merge request siriusquality/sqcode/siriusquality-bioma-wheatpotentiallai-component!2
parents a49b69e5 19bf9e94
<?xml version="1.0" standalone="yes"?>
<API_Definitions>
<Specifications>
<Col_FileName>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\XML\API.xml</Col_FileName>
<Col_FileName>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\XML\API.xml</Col_FileName>
<Col_Postfix>SiriusQualityWheatLAI</Col_Postfix>
<Col_MainMethod>Estimate</Col_MainMethod>
<Col_MethodParameters>( WheatLAIState w, WheatLeafState w1, WheatLeafState w2, ActEvents ae);</Col_MethodParameters>
......
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
<?xml version="1.0" standalone="yes"?>
<StrategyDefinition>
<Global>
<SimpleStrategy>checked</SimpleStrategy>
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode0\SiriusCode\Code\SiriusQuality-WheatLAI\obj\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
<General>
<Domain>Crop</Domain>
<ModelType />
<NameSpace>SiriusQualityWheatLAI.Strategies</NameSpace>
<StrategyName>UpdateLeafArea</StrategyName>
<StrategyDescription>Increase or Decrease (senescing leaves) the lamina and sheath Area Index</StrategyDescription>
<IsContext>false</IsContext>
<TimeSteps />
<AuthorFirstRelease>Loic Manceau</AuthorFirstRelease>
<Institution>INRA</Institution>
<Email>loic.manceau@inra.fr</Email>
<DateFirstRelease>10/4/2018</DateFirstRelease>
<AuthorRevision />
<EmailAuthorRevision />
<DateRevision />
</General>
<Inputs>
<Variable>cumulTTShoot</Variable>
<DomainClass>wheatlaistate - SiriusQualityWheatLAI.WheatLAIState</DomainClass>
</Inputs>
<Inputs>
<Variable>potentialIncDeltaArea</Variable>
<DomainClass>wheatlaistate - SiriusQualityWheatLAI.WheatLAIState</DomainClass>
</Inputs>
<Inputs>
<Variable>incDeltaAreaLimitSF</Variable>
<DomainClass>wheatlaistate - SiriusQualityWheatLAI.WheatLAIState</DomainClass>
</Inputs>
<Inputs>
<Variable>WaterLimitedPotDeltaAIList</Variable>
<DomainClass>wheatlaistate - SiriusQualityWheatLAI.WheatLAIState</DomainClass>
</Inputs>
<Inputs>
<Variable>availableN</Variable>
<DomainClass>wheatlaistate - SiriusQualityWheatLAI.WheatLAIState</DomainClass>
</Inputs>
<Inputs>
<Variable>LaminaAI</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Inputs>
<Inputs>
<Variable>MaxAI</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Inputs>
<Inputs>
<Variable>State</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Inputs>
<Inputs>
<Variable>Phyllochron</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Inputs>
<Inputs>
<Variable>TTem</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Inputs>
<Inputs>
<Variable>SheathAI</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Inputs>
<Outputs>
<Variable>MaxAI</Variable>
<DomainClass>wheatleafstate1 - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Outputs>
<Outputs>
<Variable>incDeltaArea</Variable>
<DomainClass>wheatlaistate - SiriusQualityWheatLAI.WheatLAIState</DomainClass>
</Outputs>
<Outputs>
<Variable>deltaAI</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Outputs>
<Outputs>
<Variable>GAI</Variable>
<DomainClass>wheatleafstate - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Outputs>
<Outputs>
<Variable>LaminaAI</Variable>
<DomainClass>wheatleafstate1 - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Outputs>
<Outputs>
<Variable>SheathAI</Variable>
<DomainClass>wheatleafstate1 - SiriusQualityWheatLAI.WheatLeafState</DomainClass>
</Outputs>
<Parameters>
<VarName>SLNcri</VarName>
<Description>Critical area-based nitrogen content for leaf expansion</Description>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1.98</DefaultValue>
<Units>g(N)/m²(leaf)</Units>
<ValueType>Double</ValueType>
</Parameters>
<Parameters>
<VarName>PexpL</VarName>
<Description>Phyllochronic duration of leaf lamina expansion</Description>
<MaxValue>100</MaxValue>
<MinValue>0</MinValue>
<DefaultValue>1.1</DefaultValue>
<Units>phyllochron</Units>
<ValueType>Double</ValueType>
</Parameters>
<LoadedAssemblies>
<Name>SiriusQuality-WheatLAI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</Name>
</LoadedAssemblies>
<LoadedAssemblies>
<Name>CRA.ModelLayer, Version=1.0.5212.29139, Culture=neutral, PublicKeyToken=null</Name>
</LoadedAssemblies>
<LoadedAssemblies>
<Name>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Name>
</LoadedAssemblies>
<LoadedAssemblies>
<Name>CRA.AgroManagement2014, Version=0.8.0.0, Culture=neutral, PublicKeyToken=null</Name>
</LoadedAssemblies>
<LoadedAssemblies>
<Name>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Name>
</LoadedAssemblies>
<LoadedAssemblies>
<Name>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Name>
</LoadedAssemblies>
</StrategyDefinition>
\ No newline at end of file
......@@ -3,7 +3,7 @@
<Global>
<SimpleStrategy />
<CompositeStrategy />
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL />
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
......
......@@ -3,8 +3,8 @@
<Global>
<SimpleStrategy />
<CompositeStrategy>checked</CompositeStrategy>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll</StrategiesDLL>
<DataInterfacesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode0\SiriusCode\Code\SiriusQuality-WheatLAI\obj\Debug\SiriusQuality-WheatLAI.dll</DataInterfacesDLL>
<StrategiesDLL>C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode0\SiriusCode\Code\SiriusQuality-WheatLAI\obj\Debug\SiriusQuality-WheatLAI.dll</StrategiesDLL>
<IStrategyComponentName>IStrategySiriusQualityWheatLAI</IStrategyComponentName>
</Global>
<General>
......@@ -39,6 +39,9 @@
<AssociatedStrategies>
<StrategyFullName>SiriusQualityWheatLAI.Strategies.SenescenceThermalTime</StrategyFullName>
</AssociatedStrategies>
<AssociatedStrategies>
<StrategyFullName>SiriusQualityWheatLAI.Strategies.UpdateLeafArea</StrategyFullName>
</AssociatedStrategies>
<AssociatedStrategies>
<StrategyFullName>SiriusQualityWheatLAI.Strategies.WaterLimitedLeafExpansion</StrategyFullName>
</AssociatedStrategies>
......
......@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
///
/// This class was created from file C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLAIState.xml
/// This class was created from file C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLAIState.xml
/// The tool used was: DCC - Domain Class Coder, http://components.biomamodelling.org/, DCC
///
/// Loic Manceau
......@@ -17,7 +17,7 @@
/// INRA
///
///
/// 7/26/2018 2:16:11 PM
/// 10/4/2018 11:31:58 AM
///
namespace SiriusQualityWheatLAI
{
......@@ -81,6 +81,10 @@ namespace SiriusQualityWheatLAI
private System.Collections.Generic.List<double> _TTgroSheathList = new List<double>();
private System.Collections.Generic.List<double> _TT = new List<double>();
private double _incDeltaArea;
private double _availableN;
#endregion
#region Private field for properties
......@@ -96,49 +100,57 @@ namespace SiriusQualityWheatLAI
public WheatLAIState(WheatLAIState toCopy)
{
_newLeafHasAppeared = toCopy.newLeafHasAppeared;
_newLeafHasAppeared = toCopy.newLeafHasAppeared;
_leafNumber = toCopy.leafNumber;
_leafNumber = toCopy.leafNumber;
_finalLeafNumber = toCopy.finalLeafNumber;
_finalLeafNumber = toCopy.finalLeafNumber;
_roundedFinalLeafNumber = toCopy.roundedFinalLeafNumber;
_roundedFinalLeafNumber = toCopy.roundedFinalLeafNumber;
_phytonum = toCopy.phytonum;
_phytonum = toCopy.phytonum;
_index = toCopy.index;
_index = toCopy.index;
_FPAW = toCopy.FPAW;
_FPAW = toCopy.FPAW;
_isPotentialLAI = toCopy.isPotentialLAI;
_isPotentialLAI = toCopy.isPotentialLAI;
_VPDairCanopy = toCopy.VPDairCanopy;
_VPDairCanopy = toCopy.VPDairCanopy;
_DSF = toCopy.DSF;
_DSF = toCopy.DSF;
_DEF = toCopy.DEF;
_DEF = toCopy.DEF;
_cumulTTShoot = toCopy.cumulTTShoot;
_cumulTTShoot = toCopy.cumulTTShoot;
_deltaTTShoot = toCopy.deltaTTShoot;
_deltaTTShoot = toCopy.deltaTTShoot;
_deltaTTSenescence = toCopy.deltaTTSenescence;
_deltaTTSenescence = toCopy.deltaTTSenescence;
_incDeltaAreaLimitSF = toCopy.incDeltaAreaLimitSF;
_incDeltaAreaLimitSF = toCopy.incDeltaAreaLimitSF;
_potentialIncDeltaArea = toCopy.potentialIncDeltaArea;
_potentialIncDeltaArea = toCopy.potentialIncDeltaArea;
System.Collections.Generic.List<double> _tilleringProfile = new List<double>(toCopy._tilleringProfile);
System.Collections.Generic.List<double> _tilleringProfile = new List<double>(toCopy._tilleringProfile);
System.Collections.Generic.List<double> _leafTillerNumberArray = new List<double>(toCopy._leafTillerNumberArray);
System.Collections.Generic.List<double> _leafTillerNumberArray = new List<double>(toCopy._leafTillerNumberArray);
System.Collections.Generic.List<double> _MaximumPotentialLaminaeAI = new List<double>(toCopy._MaximumPotentialLaminaeAI);
System.Collections.Generic.List<double> _MaximumPotentialSheathAI = new List<double>(toCopy._MaximumPotentialSheathAI);
System.Collections.Generic.List<double> _WaterLimitedPotDeltaAIList = new List<double>(toCopy._WaterLimitedPotDeltaAIList);
System.Collections.Generic.List<double> _TTgroSheathList = new List<double>(toCopy._TTgroSheathList);
System.Collections.Generic.List<double> _MaximumPotentialLaminaeAI = new List<double>(toCopy._MaximumPotentialLaminaeAI);
System.Collections.Generic.List<double> _MaximumPotentialSheathAI = new List<double>(toCopy._MaximumPotentialSheathAI);
System.Collections.Generic.List<double> _WaterLimitedPotDeltaAIList = new List<double>(toCopy._WaterLimitedPotDeltaAIList);
_previousIndex = toCopy._previousIndex;
System.Collections.Generic.List<double> _TTgroSheathList = new List<double>(toCopy._TTgroSheathList);
System.Collections.Generic.List<double> _TT = new List<double>(toCopy._TT);
System.Collections.Generic.List<double> _TT = new List<double>(toCopy._TT);
_previousIndex = toCopy._previousIndex;
_incDeltaArea = toCopy._incDeltaArea;
_availableN = toCopy._availableN;
}
......@@ -456,6 +468,32 @@ namespace SiriusQualityWheatLAI
this._TT = value;
}
}
/// <summary>Actual increase in Area of the day</summary>
public double incDeltaArea
{
get
{
return this._incDeltaArea;
}
set
{
this._incDeltaArea = value;
}
}
/// <summary>Available Nitrogen of the day</summary>
public double availableN
{
get
{
return this._availableN;
}
set
{
this._availableN = value;
}
}
#endregion
#region IDomainClass members
......@@ -514,6 +552,8 @@ namespace SiriusQualityWheatLAI
_previousIndex = default(System.Int32);
_TTgroSheathList = new List<double>();
_TT = new List<double>();
_incDeltaArea = default(System.Double);
_availableN = default(System.Double);
// Returns true if everything is ok
return true;
}
......
......@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
///
/// This class was created from file C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLAIState.xml
/// This class was created from file C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLAIState.xml
/// The tool used was: DCC - Domain Class Coder, http://components.biomamodelling.org/, DCC
///
/// Loic Manceau
......@@ -17,7 +17,7 @@
/// INRA
///
///
/// 7/26/2018 2:16:11 PM
/// 10/4/2018 11:31:58 AM
///
namespace SiriusQualityWheatLAI
{
......@@ -77,6 +77,10 @@ namespace SiriusQualityWheatLAI
static VarInfo _TTgroSheathList = new VarInfo();
static VarInfo _TT = new VarInfo();
static VarInfo _incDeltaArea = new VarInfo();
static VarInfo _availableN = new VarInfo();
#endregion
/// <summary>Constructor</summary>
......@@ -330,6 +334,24 @@ namespace SiriusQualityWheatLAI
return _TT;
}
}
/// <summary>Actual increase in Area of the day</summary>
public static VarInfo incDeltaArea
{
get
{
return _incDeltaArea;
}
}
/// <summary>Available Nitrogen of the day</summary>
public static VarInfo availableN
{
get
{
return _availableN;
}
}
#endregion
#region VarInfo values
......@@ -552,6 +574,24 @@ namespace SiriusQualityWheatLAI
_TT.Units = "°Cd";
_TT.URL = "http://";
_TT.ValueType = VarInfoValueTypes.GetInstanceForName("ListDouble");
//
_incDeltaArea.Name = "incDeltaArea";
_incDeltaArea.Description = "Actual increase in Area of the day";
_incDeltaArea.MaxValue = 1000D;
_incDeltaArea.MinValue = 0D;
_incDeltaArea.DefaultValue = 0D;
_incDeltaArea.Units = "m²/m²";
_incDeltaArea.URL = "http://";
_incDeltaArea.ValueType = VarInfoValueTypes.GetInstanceForName("Double");
//
_availableN.Name = "availableN";
_availableN.Description = "Available Nitrogen of the day";
_availableN.MaxValue = 1000D;
_availableN.MinValue = 0D;
_availableN.DefaultValue = 10D;
_availableN.Units = "g/m²";
_availableN.URL = "http://";
_availableN.ValueType = VarInfoValueTypes.GetInstanceForName("Double");
}
#endregion
}
......
......@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
///
/// This class was created from file C:\Users\mancealo\Documents\Sirius Quality\branches\DebugMais\Code\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLeafState.xml
/// This class was created from file C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLeafState.xml
/// The tool used was: DCC - Domain Class Coder, http://components.biomamodelling.org/, DCC
///
/// Loic Manceau
......@@ -17,7 +17,7 @@
/// INRA
///
///
/// 9/28/2017 3:40:31 PM
/// 10/4/2018 11:57:05 AM
///
namespace SiriusQualityWheatLAI
{
......@@ -61,6 +61,8 @@ namespace SiriusQualityWheatLAI
private System.Collections.Generic.List<double> _Phyllochron = new List<double>();
private System.Collections.Generic.List<int> _isSmallPhytomer = new List<int>();
private System.Collections.Generic.List<double> _deltaAI = new List<double>();
#endregion
#region Private field for properties
......@@ -105,7 +107,10 @@ namespace SiriusQualityWheatLAI
System.Collections.Generic.List<int> _isSmallPhytomer = new List<int>(toCopy._isSmallPhytomer);
System.Collections.Generic.List<double> _deltaAI = new List<double>(toCopy._deltaAI);
}
#endregion
#region Public properties
......@@ -290,6 +295,19 @@ namespace SiriusQualityWheatLAI
this._isSmallPhytomer = value;
}
}
/// <summary>Increase of GAI of the day</summary>
public System.Collections.Generic.List<double> deltaAI
{
get
{
return this._deltaAI;
}
set
{
this._deltaAI = value;
}
}
#endregion
#region IDomainClass members
......@@ -338,6 +356,7 @@ namespace SiriusQualityWheatLAI
_laminaSpecificN = new List<double>();
_Phyllochron = new List<double>();
_isSmallPhytomer = new List<int>();
_deltaAI = new List<double>();
// Returns true if everything is ok
return true;
}
......
......@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
///
/// This class was created from file C:\Users\mancealo\Documents\Sirius Quality\branches\DebugMais\Code\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLeafState.xml
/// This class was created from file C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\XML\SiriusQualityWheatLAI_WheatLeafState.xml
/// The tool used was: DCC - Domain Class Coder, http://components.biomamodelling.org/, DCC
///
/// Loic Manceau
......@@ -17,7 +17,7 @@
/// INRA
///
///
/// 9/28/2017 3:40:31 PM
/// 10/4/2018 11:57:05 AM
///
namespace SiriusQualityWheatLAI
{
......@@ -57,6 +57,8 @@ namespace SiriusQualityWheatLAI
static VarInfo _Phyllochron = new VarInfo();
static VarInfo _isSmallPhytomer = new VarInfo();
static VarInfo _deltaAI = new VarInfo();
#endregion
/// <summary>Constructor</summary>
......@@ -220,6 +222,15 @@ namespace SiriusQualityWheatLAI
return _isSmallPhytomer;
}
}
/// <summary>Increase of GAI of the day</summary>
public static VarInfo deltaAI
{
get
{
return _deltaAI;
}
}
#endregion
#region VarInfo values
......@@ -352,6 +363,15 @@ namespace SiriusQualityWheatLAI
_isSmallPhytomer.Units = "dimensionless";
_isSmallPhytomer.URL = "http://";
_isSmallPhytomer.ValueType = VarInfoValueTypes.GetInstanceForName("ListInteger");
//
_deltaAI.Name = "deltaAI";
_deltaAI.Description = "Increase of GAI of the day";
_deltaAI.MaxValue = 1000D;
_deltaAI.MinValue = 0D;
_deltaAI.DefaultValue = 0D;
_deltaAI.Units = "m²/m²";
_deltaAI.URL = "http://";
_deltaAI.ValueType = VarInfoValueTypes.GetInstanceForName("ListDouble");
}
#endregion
}
......
......@@ -45,11 +45,12 @@ C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQua
C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\obj\Debug\SiriusQuality-WheatLAI.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusCode\Development2\Code\SiriusQuality-WheatLAI\obj\Debug\SiriusQuality-WheatLAI.pdb
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.AgroManagement2014.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.ModelLayer.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\SiriusQuality-WheatLAI.pdb
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.AgroManagement2014.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.AgroManagement2014.Impacts.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.AgroManagement2014.Rules.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.Core.Preconditions.dll
C:\Users\mancealo\Documents\GitSiriusCode\SiriusQuality-BioMa-WheatPotentialLAI-Component\SiriusQuality-WheatLAI\bin\Debug\CRA.ModelLayer.dll