WinterWheat.H File Reference

WinterWheat.h This file contains the headers for the WinterWheat class
More...


Classes

class  WinterWheat
 WinterWheat class
. More...

Defines

#define WINTERWHEAT_BASE   5100
#define WW_AUTUMN_PLOUGH   m_field->m_user[1]
 A flag used to indicate autumn ploughing status.

Enumerations

enum  WinterWheatToDo {
  ww_start = 1, ww_sleep_all_day = WINTERWHEAT_BASE, ww_ferti_p1, ww_ferti_s1,
  ww_ferti_s2, ww_autumn_plough, ww_autumn_harrow, ww_stubble_harrow1,
  ww_autumn_sow, ww_autumn_roll, ww_ferti_p2, ww_herbicide1,
  ww_spring_roll, ww_herbicide2, ww_GR, ww_fungicide,
  ww_fungicide2, ww_insecticide1, ww_insecticide2, ww_insecticide3,
  ww_strigling1, ww_strigling2, ww_water1, ww_water2,
  ww_ferti_p3, ww_ferti_p4, ww_ferti_p5, ww_ferti_s3,
  ww_ferti_s4, ww_ferti_s5, ww_harvest, ww_straw_chopping,
  ww_hay_turning, ww_hay_baling, ww_stubble_harrow2, ww_grubning
}


Detailed Description

WinterWheat.h This file contains the headers for the WinterWheat class

by Chris J. Topping
Version of June 2003
All rights reserved.

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


Define Documentation

#define WINTERWHEAT_BASE   5100

#define WW_AUTUMN_PLOUGH   m_field->m_user[1]

A flag used to indicate autumn ploughing status.

Referenced by WinterWheat::Do().


Enumeration Type Documentation

Below is the list of things that a farmer can do if he is growing winter wheat, 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:
ww_start 
ww_sleep_all_day 
ww_ferti_p1 
ww_ferti_s1 
ww_ferti_s2 
ww_autumn_plough 
ww_autumn_harrow 
ww_stubble_harrow1 
ww_autumn_sow 
ww_autumn_roll 
ww_ferti_p2 
ww_herbicide1 
ww_spring_roll 
ww_herbicide2 
ww_GR 
ww_fungicide 
ww_fungicide2 
ww_insecticide1 
ww_insecticide2 
ww_insecticide3 
ww_strigling1 
ww_strigling2 
ww_water1 
ww_water2 
ww_ferti_p3 
ww_ferti_p4 
ww_ferti_p5 
ww_ferti_s3 
ww_ferti_s4 
ww_ferti_s5 
ww_harvest 
ww_straw_chopping 
ww_hay_turning 
ww_hay_baling 
ww_stubble_harrow2 
ww_grubning 
00065              {
00066   ww_start = 1, // Compulsory, must always be 1 (one).
00067   ww_sleep_all_day = WINTERWHEAT_BASE,
00068   ww_ferti_p1,
00069   ww_ferti_s1,
00070   ww_ferti_s2,
00071   ww_autumn_plough,
00072   ww_autumn_harrow,
00073   ww_stubble_harrow1,
00074   ww_autumn_sow,
00075   ww_autumn_roll,
00076   ww_ferti_p2,
00077   ww_herbicide1,
00078   ww_spring_roll,
00079   ww_herbicide2,
00080   ww_GR,
00081   ww_fungicide,
00082   ww_fungicide2,
00083   ww_insecticide1,
00084   ww_insecticide2,
00085   ww_insecticide3,
00086   ww_strigling1,
00087   ww_strigling2,
00088   ww_water1,
00089   ww_water2,
00090   ww_ferti_p3,
00091   ww_ferti_p4,
00092   ww_ferti_p5,
00093   ww_ferti_s3,
00094   ww_ferti_s4,
00095   ww_ferti_s5,
00096   ww_harvest,
00097   ww_straw_chopping,
00098   ww_hay_turning,
00099   ww_hay_baling,
00100   ww_stubble_harrow2,
00101   ww_grubning,
00102 } WinterWheatToDo;



WinterWheat.H File Reference, 1.0