ALMaSS Skylark ODDox  1.1
The skylark model description following ODdox protocol
PLCarrots.h File Reference

PLCarrots.h This file contains the headers for the Carrots class
More...

Classes

class  PLCarrots
 PLCarrots class
. More...
 

Macros

#define PLCarrots_BASE   21300
 
#define PL_CA_STUBBLE_PLOUGH   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_CA_WEEDING   a_field->m_user[2]
 
#define PL_CA_HERBI   a_field->m_user[3]
 

Enumerations

enum  PLCarrotsToDo {
  pl_ca_start = 1, pl_ca_sleep_all_day = PLCarrots_BASE, pl_ca_stubble_plough, pl_ca_autumn_harrow1,
  pl_ca_autumn_harrow2, pl_ca_stubble_harrow, pl_ca_ferti_p1, pl_ca_ferti_s1,
  pl_ca_winter_plough, pl_ca_ferti_p2, pl_ca_ferti_s2, pl_ca_spring_harrow,
  pl_ca_preseeding_cultivator, pl_ca_bed_forming, pl_ca_spring_sow, pl_ca_strigling,
  pl_ca_herbicide1, pl_ca_herbicide2, pl_ca_herbicide3, pl_ca_fungicide1,
  pl_ca_fungicide2, pl_ca_ferti_p3, pl_ca_ferti_s3, pl_ca_harvest,
  pl_ca_ferti_p4, pl_ca_ferti_s4
}
 

Detailed Description

PLCarrots.h This file contains the headers for the Carrots 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

Macro Definition Documentation

◆ PL_CA_HERBI

#define PL_CA_HERBI   a_field->m_user[3]

◆ PL_CA_STUBBLE_PLOUGH

#define PL_CA_STUBBLE_PLOUGH   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

◆ PL_CA_WEEDING

#define PL_CA_WEEDING   a_field->m_user[2]

◆ PLCarrots_BASE

#define PLCarrots_BASE   21300

Enumeration Type Documentation

◆ PLCarrotsToDo

Below is the list of things that a farmer can do if he is growing carrots, 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_ca_start 
pl_ca_sleep_all_day 
pl_ca_stubble_plough 
pl_ca_autumn_harrow1 
pl_ca_autumn_harrow2 
pl_ca_stubble_harrow 
pl_ca_ferti_p1 
pl_ca_ferti_s1 
pl_ca_winter_plough 
pl_ca_ferti_p2 
pl_ca_ferti_s2 
pl_ca_spring_harrow 
pl_ca_preseeding_cultivator 
pl_ca_bed_forming 
pl_ca_spring_sow 
pl_ca_strigling 
pl_ca_herbicide1 
pl_ca_herbicide2 
pl_ca_herbicide3 
pl_ca_fungicide1 
pl_ca_fungicide2 
pl_ca_ferti_p3 
pl_ca_ferti_s3 
pl_ca_harvest 
pl_ca_ferti_p4 
pl_ca_ferti_s4 
pl_ca_spring_sow
Definition: PLCarrots.h:52
pl_ca_ferti_s1
Definition: PLCarrots.h:45
PLCarrotsToDo
PLCarrotsToDo
Definition: PLCarrots.h:37
pl_ca_ferti_p1
Definition: PLCarrots.h:44
pl_ca_ferti_p2
Definition: PLCarrots.h:47
pl_ca_ferti_s2
Definition: PLCarrots.h:48
pl_ca_winter_plough
Definition: PLCarrots.h:46
PLCarrots_BASE
#define PLCarrots_BASE
Definition: PLCarrots.h:24
pl_ca_autumn_harrow1
Definition: PLCarrots.h:41
pl_ca_start
Definition: PLCarrots.h:38
pl_ca_strigling
Definition: PLCarrots.h:53
pl_ca_spring_harrow
Definition: PLCarrots.h:49
pl_ca_ferti_s3
Definition: PLCarrots.h:60
pl_ca_stubble_harrow
Definition: PLCarrots.h:43
pl_ca_herbicide3
Definition: PLCarrots.h:56
pl_ca_ferti_s4
Definition: PLCarrots.h:63
pl_ca_ferti_p4
Definition: PLCarrots.h:62
pl_ca_fungicide2
Definition: PLCarrots.h:58
pl_ca_preseeding_cultivator
Definition: PLCarrots.h:50
pl_ca_bed_forming
Definition: PLCarrots.h:51
pl_ca_herbicide1
Definition: PLCarrots.h:54
pl_ca_fungicide1
Definition: PLCarrots.h:57
pl_ca_harvest
Definition: PLCarrots.h:61
pl_ca_autumn_harrow2
Definition: PLCarrots.h:42
pl_ca_ferti_p3
Definition: PLCarrots.h:59
pl_ca_stubble_plough
Definition: PLCarrots.h:40
pl_ca_sleep_all_day
Definition: PLCarrots.h:39
pl_ca_herbicide2
Definition: PLCarrots.h:55