ALMaSS Hare ODDox  1.1
The hare model description following ODdox protocol
PLBeans.h File Reference

PLBeans.h This file contains the headers for the Beans class
More...

Go to the source code of this file.

Classes

class  PLBeans
 PLBeans class
. More...
 

Macros

#define PL_BNS_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_BNS_FERTI_S1   a_field->m_user[2]
 
#define PL_BNS_HERBI   a_field->m_user[4]
 
#define PL_BNS_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PLBEANS_BASE   21700
 

Enumerations

enum  PLBeansToDo {
  pl_bns_start = 1, pl_bns_sleep_all_day = PLBEANS_BASE, pl_bns_ferti_p1, pl_bns_ferti_s1,
  pl_bns_stubble_plough, pl_bns_autumn_harrow1, pl_bns_autumn_harrow2, pl_bns_stubble_harrow,
  pl_bns_ferti_p2, pl_bns_ferti_s2, pl_bns_ferti_p3, pl_bns_ferti_s3,
  pl_bns_winter_plough, pl_bns_spring_harrow, pl_bns_ferti_p4, pl_bns_ferti_s4,
  pl_bns_heavy_cultivator, pl_bns_preseeding_cultivator, pl_bns_spring_sow, pl_bns_weeding1,
  pl_bns_weeding2, pl_bns_weeding3, pl_bns_herbicide1, pl_bns_herbicide2,
  pl_bns_fungicide1, pl_bns_fungicide2, pl_bns_insecticide, pl_bns_ferti_p5,
  pl_bns_ferti_s5, pl_bns_ferti_p6, pl_bns_ferti_s6, pl_bns_harvest,
  pl_bns_ferti_p7, pl_bns_ferti_s7
}
 

Detailed Description

PLBeans.h This file contains the headers for the Beans class

by Chris J. Topping
modified by Elzbieta Ziolkowska
Version of October 2017
All rights reserved.

With additions as noted in:
Doxygen formatted comments in July 2008

Definition in file PLBeans.h.

Macro Definition Documentation

◆ PL_BNS_FERTI_P1

#define PL_BNS_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

Definition at line 28 of file PLBeans.h.

◆ PL_BNS_FERTI_S1

#define PL_BNS_FERTI_S1   a_field->m_user[2]

Definition at line 29 of file PLBeans.h.

◆ PL_BNS_HERBI

#define PL_BNS_HERBI   a_field->m_user[4]

Definition at line 31 of file PLBeans.h.

◆ PL_BNS_STUBBLE_PLOUGH

#define PL_BNS_STUBBLE_PLOUGH   a_field->m_user[3]

Definition at line 30 of file PLBeans.h.

◆ PLBEANS_BASE

#define PLBEANS_BASE   21700

Definition at line 24 of file PLBeans.h.

Enumeration Type Documentation

◆ PLBeansToDo

Below is the list of things that a farmer can do if he is growing beans, at least following this basic plan. So all we have to do is figure out when to do the different things. Once we have done some kind of management, then an event is triggered and the fact that this particular management is done is registered with the particular polygon. This information is available for any ALMaSS components to inspect - e.g. animals & birds

Enumerator
pl_bns_start 
pl_bns_sleep_all_day 
pl_bns_ferti_p1 
pl_bns_ferti_s1 
pl_bns_stubble_plough 
pl_bns_autumn_harrow1 
pl_bns_autumn_harrow2 
pl_bns_stubble_harrow 
pl_bns_ferti_p2 
pl_bns_ferti_s2 
pl_bns_ferti_p3 
pl_bns_ferti_s3 
pl_bns_winter_plough 
pl_bns_spring_harrow 
pl_bns_ferti_p4 
pl_bns_ferti_s4 
pl_bns_heavy_cultivator 
pl_bns_preseeding_cultivator 
pl_bns_spring_sow 
pl_bns_weeding1 
pl_bns_weeding2 
pl_bns_weeding3 
pl_bns_herbicide1 
pl_bns_herbicide2 
pl_bns_fungicide1 
pl_bns_fungicide2 
pl_bns_insecticide 
pl_bns_ferti_p5 
pl_bns_ferti_s5 
pl_bns_ferti_p6 
pl_bns_ferti_s6 
pl_bns_harvest 
pl_bns_ferti_p7 
pl_bns_ferti_s7 

Definition at line 38 of file PLBeans.h.

pl_bns_ferti_p3
Definition: PLBeans.h:49
pl_bns_ferti_s6
Definition: PLBeans.h:69
pl_bns_stubble_harrow
Definition: PLBeans.h:46
pl_bns_fungicide1
Definition: PLBeans.h:63
pl_bns_herbicide1
Definition: PLBeans.h:61
pl_bns_ferti_s1
Definition: PLBeans.h:42
pl_bns_ferti_p2
Definition: PLBeans.h:47
pl_bns_ferti_p6
Definition: PLBeans.h:68
pl_bns_ferti_s7
Definition: PLBeans.h:72
pl_bns_harvest
Definition: PLBeans.h:70
pl_bns_weeding2
Definition: PLBeans.h:59
pl_bns_ferti_p5
Definition: PLBeans.h:66
pl_bns_spring_sow
Definition: PLBeans.h:57
pl_bns_autumn_harrow2
Definition: PLBeans.h:45
pl_bns_heavy_cultivator
Definition: PLBeans.h:55
pl_bns_herbicide2
Definition: PLBeans.h:62
PLBEANS_BASE
#define PLBEANS_BASE
Definition: PLBeans.h:24
pl_bns_spring_harrow
Definition: PLBeans.h:52
pl_bns_ferti_s3
Definition: PLBeans.h:50
pl_bns_ferti_s2
Definition: PLBeans.h:48
pl_bns_ferti_s5
Definition: PLBeans.h:67
pl_bns_fungicide2
Definition: PLBeans.h:64
pl_bns_ferti_p1
Definition: PLBeans.h:41
pl_bns_stubble_plough
Definition: PLBeans.h:43
pl_bns_sleep_all_day
Definition: PLBeans.h:40
pl_bns_start
Definition: PLBeans.h:39
pl_bns_winter_plough
Definition: PLBeans.h:51
PLBeansToDo
PLBeansToDo
Definition: PLBeans.h:38
pl_bns_weeding3
Definition: PLBeans.h:60
pl_bns_insecticide
Definition: PLBeans.h:65
pl_bns_ferti_p7
Definition: PLBeans.h:71
pl_bns_ferti_s4
Definition: PLBeans.h:54
pl_bns_autumn_harrow1
Definition: PLBeans.h:44
pl_bns_ferti_p4
Definition: PLBeans.h:53
pl_bns_preseeding_cultivator
Definition: PLBeans.h:56
pl_bns_weeding1
Definition: PLBeans.h:58