CustomDataStructures.h 2.11 KB
Newer Older
1 2 3 4 5 6
/*
  CustomDataStructures.h - Data structures helper for the brew project.
  Created by João Lino, August 11, 2015.
  Released into the public domain.
*/
#ifndef CustomDataStructures_h
João Lino's avatar
Rel.3  
João Lino committed
7
#define CustomDataStructures_h
8 9 10 11 12 13 14 15 16

enum eRotaryEncoderMode {
	eRotaryEncoderMode_Menu,
	eRotaryEncoderMode_Time,
	eRotaryEncoderMode_Generic,
	eRotaryEncoderMode_Disabled
};

// menu
João Lino's avatar
Rel.3  
João Lino committed
17 18 19 20 21 22 23
enum eMenuType {
	eMenuType_Main,
	eMenuType_BeerProfile,
	eMenuType_Stage,
	eMenuType_Malt,
	eMenuType_Settings
};
24
enum eMainMenuOptions {
João Lino's avatar
Rel.3  
João Lino committed
25
	eMainMenu_NULL,
26
	eMainMenu_GO,
João Lino's avatar
Rel.3  
João Lino committed
27 28 29 30
	eMainMenu_STOP,
	eMainMenu_SKIP,
	eMainMenu_BeerProfile,
	eMainMenu_Stage,
31 32
	eMainMenu_Malt,
	eMainMenu_Hops,
João Lino's avatar
Rel.3  
João Lino committed
33 34
	eMainMenu_Clean,
	eMainMenu_Purge,
35 36 37 38
	eMainMenu_Settings,
	eMainMenu_Back
};

João Lino's avatar
Rel.3  
João Lino committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
enum eStageMenuOptions {
	eStageMenu_NULL,
	eStageMenu_Startpoint,
	eStageMenu_BetaGlucanase,
	eStageMenu_Debranching,
	eStageMenu_Proteolytic,
	eStageMenu_BetaAmylase,
	eStageMenu_AlphaAmylase,
	eStageMenu_Mashout,
	eStageMenu_Recirculation,
	eStageMenu_Sparge,
	eStageMenu_Boil,
	eStageMenu_Cooling,
	eStageMenu_Back
};

enum eBeerProfileMenuOptions {
	eBeerProfileMenu_NULL,
	eBeerProfileMenu_Basic,
	eBeerProfileMenu_Trigo,
	eBeerProfileMenu_IPA,
	eBeerProfileMenu_Belga,
	eBeerProfileMenu_Red,
	eBeerProfileMenu_APA,
	eBeerProfileMenu_Custom,
	eBeerProfileMenu_Back
65 66 67
};

enum eMaltMenuOptions {
João Lino's avatar
Rel.3  
João Lino committed
68
	eMaltMenu_NULL,
69 70 71 72 73 74
	eMaltMenu_CastleMalting_Chteau_Pilsen_2RS,
	eMaltMenu_CastleMalting_Wheat_Blanc,
	eMaltMenu_Back
};

enum eSettingsMenuOptions {
João Lino's avatar
Rel.3  
João Lino committed
75
	eSettingsMenu_NULL,
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
	eSettingsMenu_PT100_Element,
	eSettingsMenu_PT100_Up,
	eSettingsMenu_PT100_Down,
	eSettingsMenu_Back
};

// cooking
enum eCookingStages {
	eCookingStage_Startpoint,
	eCookingStage_BetaGlucanase,
	eCookingStage_Debranching,
	eCookingStage_Proteolytic,
	eCookingStage_BetaAmylase,
	eCookingStage_AlphaAmylase,
	eCookingStage_Mashout,
	eCookingStage_Recirculation,
	eCookingStage_Sparge,
	eCookingStage_Boil,
	eCookingStage_Cooling,
João Lino's avatar
Rel.3  
João Lino committed
95 96
	eCookingStage_Clean,
	eCookingStage_Purge,
97 98 99
	eCookingStage_Done
};

João Lino's avatar
Rel.3  
João Lino committed
100 101 102 103 104 105 106 107 108 109
enum eBeerProfile {
	eBeerProfile_Basic,
	eBeerProfile_Trigo,
	eBeerProfile_IPA,
	eBeerProfile_Belga,
	eBeerProfile_Red,
	eBeerProfile_APA,
	eBeerProfile_Custom
};

110
#endif