beautypg.com

Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 126

background image

CHAPTER 11 • CLICK SUPERVISOR SUPPORT 125

#use click500supervisor.lib

// Function Prototypes
void ClickSupervisorOemResetToFactoryDefaults(int resetCode);

typedef struct
{
unsigned char AlertMessage[32];
unsigned char overSpeedMPH;
unsigned char underSpeedMPH;
unsigned char outputDurationMSB;
unsigned char outputDurationLSB;
enable_t enableAlerts;
unsigned char hourOffsetLSB;
unsigned char hourOffsetMSB;
} oemConfig0_t;

typedef struct
{
unsigned char example;
} oemConfig1_t;

typedef struct
{
unsigned char example;
} oemConfig2_t;

// Global variable externs
extern oemConfig0_t ClickSupervisorOemConfig0;
extern oemConfig1_t ClickSupervisorOemConfig1;
extern oemConfig2_t ClickSupervisorOemConfig2;

const far char DefaultAlertMessage[32+1]
= “Speed Detection “;

/*** EndHeader */

// Public global variables
oemConfig0_t ClickSupervisorOemConfig0;
oemConfig1_t ClickSupervisorOemConfig1;
oemConfig2_t ClickSupervisorOemConfig2;