Exemple #1
0
 public DistributedParameter()
 {
     Persistable  = false;
     QuantityType = QuantityType.Parameter;
     Info         = new ParameterInfo();
     Origin       = new ParameterOrigin();
     Rules.AddRange(ParameterRules.All());
     NegativeValuesAllowed = true;
 }
Exemple #2
0
 public Parameter()
 {
     Persistable  = false;
     BuildMode    = ParameterBuildMode.Local;
     QuantityType = QuantityType.Parameter;
     Info         = new ParameterInfo();
     Icon         = IconNames.PARAMETER;
     Origin       = new ParameterOrigin();
     Rules.AddRange(ParameterRules.All());
     NegativeValuesAllowed = true;
 }
Exemple #3
0
 public TimeParameter()
 {
     Tags = new Tags {
         new Tag(Constants.TIME)
     };
     Info                    = new ParameterInfo();
     Origin                  = new ParameterOrigin();
     ValueOrigin             = new ValueOrigin();
     CanBeVaried             = false;
     CanBeVariedInPopulation = false;
     NegativeValuesAllowed   = true;
 }