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

PLMaizeSilage.h This file contains the headers for the MaizeSilage class
More...

Go to the source code of this file.

Classes

class  PLMaizeSilage
 PLMaizeSilage class
. More...
 

Macros

#define PL_MS_FERTI_P1   a_field->m_user[1]
 A flag used to indicate autumn ploughing status. More...
 
#define PL_MS_FERTI_P3   a_field->m_user[5]
 
#define PL_MS_FERTI_S1   a_field->m_user[2]
 
#define PL_MS_FERTI_S3   a_field->m_user[6]
 
#define PL_MS_SPRING_FERTI   a_field->m_user[7]
 
#define PL_MS_START_FERTI   a_field->m_user[8]
 
#define PL_MS_STUBBLE_PLOUGH   a_field->m_user[3]
 
#define PL_MS_WINTER_PLOUGH   a_field->m_user[4]
 
#define PLMAIZESILAGE_BASE   20800
 

Enumerations

enum  PLMaizeSilageToDo {
  pl_ms_start = 1, pl_ms_sleep_all_day = PLMAIZESILAGE_BASE, pl_ms_ferti_p1, pl_ms_ferti_s1,
  pl_ms_stubble_plough, pl_ms_autumn_harrow1, pl_ms_autumn_harrow2, pl_ms_stubble_harrow,
  pl_ms_ferti_p2, pl_ms_ferti_s2, pl_ms_winter_plough, pl_ms_winter_stubble_cultivator_heavy,
  pl_ms_ferti_p3, pl_ms_ferti_s3, pl_ms_spring_harrow, pl_ms_ferti_p4,
  pl_ms_ferti_s4, pl_ms_ferti_p5, pl_ms_ferti_s5, pl_ms_heavy_cultivator,
  pl_ms_preseeding_cultivator, pl_ms_spring_sow_with_ferti, pl_ms_spring_sow, pl_ms_herbicide1,
  pl_ms_herbicide2, pl_ms_fungicide1, pl_ms_insecticide1, pl_ms_insecticide2,
  pl_ms_biocide, pl_ms_ferti_p6, pl_ms_ferti_s6, pl_ms_ferti_p7,
  pl_ms_ferti_s7, pl_ms_harvest, pl_ms_straw_chopping, pl_ms_hay_bailing,
  pl_ms_ferti_p8, pl_ms_ferti_s8, pl_ms_ferti_p9, pl_ms_ferti_s9
}
 

Detailed Description

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

Macro Definition Documentation

◆ PL_MS_FERTI_P1

#define PL_MS_FERTI_P1   a_field->m_user[1]

A flag used to indicate autumn ploughing status.

Definition at line 28 of file PLMaizeSilage.h.

◆ PL_MS_FERTI_P3

#define PL_MS_FERTI_P3   a_field->m_user[5]

Definition at line 32 of file PLMaizeSilage.h.

◆ PL_MS_FERTI_S1

#define PL_MS_FERTI_S1   a_field->m_user[2]

Definition at line 29 of file PLMaizeSilage.h.

◆ PL_MS_FERTI_S3

#define PL_MS_FERTI_S3   a_field->m_user[6]

Definition at line 33 of file PLMaizeSilage.h.

◆ PL_MS_SPRING_FERTI

#define PL_MS_SPRING_FERTI   a_field->m_user[7]

Definition at line 34 of file PLMaizeSilage.h.

◆ PL_MS_START_FERTI

#define PL_MS_START_FERTI   a_field->m_user[8]

Definition at line 35 of file PLMaizeSilage.h.

◆ PL_MS_STUBBLE_PLOUGH

#define PL_MS_STUBBLE_PLOUGH   a_field->m_user[3]

Definition at line 30 of file PLMaizeSilage.h.

◆ PL_MS_WINTER_PLOUGH

#define PL_MS_WINTER_PLOUGH   a_field->m_user[4]

Definition at line 31 of file PLMaizeSilage.h.

◆ PLMAIZESILAGE_BASE

#define PLMAIZESILAGE_BASE   20800

Definition at line 24 of file PLMaizeSilage.h.

Enumeration Type Documentation

◆ PLMaizeSilageToDo

Below is the list of things that a farmer can do if he is growing mazie, 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_ms_start 
pl_ms_sleep_all_day 
pl_ms_ferti_p1 
pl_ms_ferti_s1 
pl_ms_stubble_plough 
pl_ms_autumn_harrow1 
pl_ms_autumn_harrow2 
pl_ms_stubble_harrow 
pl_ms_ferti_p2 
pl_ms_ferti_s2 
pl_ms_winter_plough 
pl_ms_winter_stubble_cultivator_heavy 
pl_ms_ferti_p3 
pl_ms_ferti_s3 
pl_ms_spring_harrow 
pl_ms_ferti_p4 
pl_ms_ferti_s4 
pl_ms_ferti_p5 
pl_ms_ferti_s5 
pl_ms_heavy_cultivator 
pl_ms_preseeding_cultivator 
pl_ms_spring_sow_with_ferti 
pl_ms_spring_sow 
pl_ms_herbicide1 
pl_ms_herbicide2 
pl_ms_fungicide1 
pl_ms_insecticide1 
pl_ms_insecticide2 
pl_ms_biocide 
pl_ms_ferti_p6 
pl_ms_ferti_s6 
pl_ms_ferti_p7 
pl_ms_ferti_s7 
pl_ms_harvest 
pl_ms_straw_chopping 
pl_ms_hay_bailing 
pl_ms_ferti_p8 
pl_ms_ferti_s8 
pl_ms_ferti_p9 
pl_ms_ferti_s9 

Definition at line 42 of file PLMaizeSilage.h.

pl_ms_ferti_s4
Definition: PLMaizeSilage.h:59
pl_ms_autumn_harrow2
Definition: PLMaizeSilage.h:49
pl_ms_stubble_harrow
Definition: PLMaizeSilage.h:50
pl_ms_ferti_p2
Definition: PLMaizeSilage.h:51
pl_ms_ferti_s5
Definition: PLMaizeSilage.h:61
pl_ms_biocide
Definition: PLMaizeSilage.h:71
pl_ms_ferti_s7
Definition: PLMaizeSilage.h:75
pl_ms_fungicide1
Definition: PLMaizeSilage.h:68
pl_ms_ferti_p3
Definition: PLMaizeSilage.h:55
pl_ms_ferti_s8
Definition: PLMaizeSilage.h:80
pl_ms_spring_harrow
Definition: PLMaizeSilage.h:57
pl_ms_spring_sow
Definition: PLMaizeSilage.h:65
pl_ms_hay_bailing
Definition: PLMaizeSilage.h:78
PLMAIZESILAGE_BASE
#define PLMAIZESILAGE_BASE
Definition: PLMaizeSilage.h:24
pl_ms_start
Definition: PLMaizeSilage.h:43
pl_ms_winter_stubble_cultivator_heavy
Definition: PLMaizeSilage.h:54
pl_ms_insecticide2
Definition: PLMaizeSilage.h:70
pl_ms_insecticide1
Definition: PLMaizeSilage.h:69
pl_ms_preseeding_cultivator
Definition: PLMaizeSilage.h:63
pl_ms_ferti_p8
Definition: PLMaizeSilage.h:79
pl_ms_ferti_p9
Definition: PLMaizeSilage.h:81
pl_ms_ferti_p5
Definition: PLMaizeSilage.h:60
pl_ms_ferti_p4
Definition: PLMaizeSilage.h:58
pl_ms_ferti_s6
Definition: PLMaizeSilage.h:73
pl_ms_autumn_harrow1
Definition: PLMaizeSilage.h:48
pl_ms_heavy_cultivator
Definition: PLMaizeSilage.h:62
pl_ms_ferti_s9
Definition: PLMaizeSilage.h:82
pl_ms_winter_plough
Definition: PLMaizeSilage.h:53
pl_ms_harvest
Definition: PLMaizeSilage.h:76
pl_ms_ferti_p6
Definition: PLMaizeSilage.h:72
pl_ms_ferti_p7
Definition: PLMaizeSilage.h:74
pl_ms_ferti_s3
Definition: PLMaizeSilage.h:56
pl_ms_spring_sow_with_ferti
Definition: PLMaizeSilage.h:64
pl_ms_ferti_s1
Definition: PLMaizeSilage.h:46
pl_ms_straw_chopping
Definition: PLMaizeSilage.h:77
pl_ms_stubble_plough
Definition: PLMaizeSilage.h:47
PLMaizeSilageToDo
PLMaizeSilageToDo
Definition: PLMaizeSilage.h:42
pl_ms_ferti_p1
Definition: PLMaizeSilage.h:45
pl_ms_herbicide1
Definition: PLMaizeSilage.h:66
pl_ms_sleep_all_day
Definition: PLMaizeSilage.h:44
pl_ms_herbicide2
Definition: PLMaizeSilage.h:67
pl_ms_ferti_s2
Definition: PLMaizeSilage.h:52