Skip to content

Commit

Permalink
[Examples]: Adding alarms, integrating TC outputs in object pool
Browse files Browse the repository at this point in the history
This example is still a work in progress
  • Loading branch information
ad3154 committed Feb 12, 2024
1 parent e176706 commit 5299880
Show file tree
Hide file tree
Showing 5 changed files with 491 additions and 31 deletions.
Binary file modified examples/seeder_example/BasePool.iop
Binary file not shown.
31 changes: 27 additions & 4 deletions examples/seeder_example/object_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
#define mainRunscreen_DataMask 1000 //0x03E8
#define statisticsRunscreen_DataMask 1001 //0x03E9
#define settingsRunscreen_DataMask 1002 //0x03EA
#define example_AlarmMask 2000 //0x07D0
#define alarmsRunscreen_DataMask 1003 //0x03EB
#define noSpeed_AlarmMask 2000 //0x07D0
#define noTaskController_AlarmMask 2001 //0x07D1
#define planterRunscreenStatus_Container 3000 //0x0BB8
#define credits_Container 3001 //0x0BB9
#define section1Switch_Container 3002 //0x0BBA
Expand Down Expand Up @@ -44,13 +46,15 @@
#define autoManual_Container 3024 //0x0BD0
#define autoMode_Container 3025 //0x0BD1
#define speedReadout_Container 3026 //0x0BD2
#define noTcAlarmLine_Container 3027 //0x0BD3
#define noSpeedAlarmLine_Container 3028 //0x0BD4
#define mainRunscreen_SoftKeyMask 4000 //0x0FA0
#define alarm_SKeyMask 4001 //0x0FA1
#define returnHome_SKeyMask 4002 //0x0FA2
#define home_Key 5000 //0x1388
#define acknowledgeAlarm_SoftKey 5001 //0x1389
#define settings_Key 5002 //0x138A
#define info_Key 5003 //0x138B
#define alarms_Key 5003 //0x138B
#define statistics_Key 5004 //0x138C
#define section1Toggle_Button 6000 //0x1770
#define section2Toggle_Button 6001 //0x1771
Expand All @@ -64,7 +68,7 @@
#define onOffIconCredit_OutStr 11001 //0x2AF9
#define speed_OutStr 11002 //0x2AFA
#define temp_OutStr_ID_11003 11003 //0x2AFB
#define AlarmMaskTitle_OutStr 11004 //0x2AFC
#define noMachineSpeedTitle_OutStr 11004 //0x2AFC
#define longTest_OutStr 11005 //0x2AFD
#define credits_OutStr 11006 //0x2AFE
#define planterIconCredit_OutStr 11007 //0x2AFF
Expand All @@ -91,6 +95,13 @@
#define listItemCredits_OutStr 11028 //0x2B14
#define unitKph_OutStr 11029 //0x2B15
#define unitMph_OutStr 11030 //0x2B16
#define machineSpeedNotDetectedSummary_OutStr 11031 //0x2B17
#define noTCTitle_OutStr 11032 //0x2B18
#define TCNotConnectedSummary_OutStr 11033 //0x2B19
#define currentAlarmsHeader_OutStr 11034 //0x2B1A
#define noActiveAlarms_OutStr 11035 //0x2B1B
#define NoTaskController_OutStr 11036 //0x2B1C
#define NoMachineSpeed_OutStr 11037 //0x2B1D
#define busload_OutNum 12000 //0x2EE0
#define canAddress_OutNum 12001 //0x2EE1
#define utVersion_OutNum 12002 //0x2EE2
Expand All @@ -105,6 +116,7 @@
#define zero_OutNum 12011 //0x2EEB
#define twenty_OutNum 12012 //0x2EEC
#define thirty_OutNum 12013 //0x2EED
#define headerBorder_OutLine 13000 //0x32C8
#define Title_OutRect 14000 //0x36B0
#define MainRunscreenBackground_OutRect 14001 //0x36B1
#define section1Status_OutRect 14002 //0x36B2
Expand All @@ -116,10 +128,12 @@
#define dropdown_OutRect 14008 //0x36B8
#define hamburgerLine_OutRect 14009 //0x36B9
#define readoutGeneric_OutRect 14010 //0x36BA
#define buttonCover_OutRect 14011 //0x36BB
#define temp_OutEllipse 15000 //0x3A98
#define currentSpeed_OutMeter 17000 //0x4268
#define avatar_OutPict 20000 //0x4E20
#define warningIcon_OutPict 20001 //0x4E21
#define redAlert_OutPict 20002 //0x4E22
#define warning_OutPict 20002 //0x4E22
#define greenCheck_OutPict 20003 //0x4E23
#define gear_OutPict 20004 //0x4E24
#define planter_OutPict 20005 //0x4E25
Expand All @@ -130,6 +144,7 @@
#define manual_OutPict 20010 //0x4E2A
#define info_OutPict 20011 //0x4E2B
#define stats_OutPict 20012 //0x4E2C
#define Copy1_info_OutPict 20013 //0x4E2D
#define ButtonExampleNumber_VarNum 21000 //0x5208
#define statisticsSelection_VarNum 21001 //0x5209
#define busload_VarNum 21002 //0x520A
Expand Down Expand Up @@ -169,11 +184,17 @@
#define infoIconsCredit_VarStr 22023 //0x5607
#define statisticsIconsCredit_VarStr 22024 //0x5608
#define speed_VarStr 22025 //0x5609
#define machineSpeedNotDetectedSummary_VarStr 22026 //0x560A
#define noTaskController_VarStr 22027 //0x560B
#define noTCSummary_VarStr 22028 //0x560C
#define currentAlarms_VarStr 22029 //0x560D
#define noActiveAlarms_VarStr 22030 //0x560E
#define temp_FontAttr_ID_23000 23000 //0x59D8
#define temp_FontAttr_ID_23001 23001 //0x59D9
#define black48x64_FontAttr 23002 //0x59DA
#define unitFont_FontAttr 23003 //0x59DB
#define listItem_FontAttr 23004 //0x59DC
#define blackBold24x32_FontAttr 23005 //0x59DD
#define solidBlack_LineAttr 24000 //0x5DC0
#define suppressed_LineAttr 24001 //0x5DC1
#define solidWhite_FillAttr 25000 //0x61A8
Expand All @@ -190,5 +211,7 @@
#define section6EnableState_ObjPtr 27006 //0x697E
#define selectedStatisticsContainer_ObjPtr 27007 //0x697F
#define autoManual_ObjPtr 27008 //0x6980
#define currentAlarms1_ObjPtr 27009 //0x6981
#define currentAlarms2_ObjPtr 27010 //0x6982

#endif // OBJECT_POOL_HPP
2 changes: 1 addition & 1 deletion examples/seeder_example/seeder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#ifndef SEEDER_HPP
#define SEEDER_HPP

#include "vt_application.hpp"
#include "isobus/isobus/isobus_diagnostic_protocol.hpp"
#include "vt_application.hpp"

class Seeder
{
Expand Down
Loading

0 comments on commit 5299880

Please sign in to comment.