/****************************************************************************

  Header file for Test Harness Service0
  based on the Gen 2 Events and Services Framework

 ****************************************************************************/

#ifndef BallSortingService_H
#define BallSortingService_H

#include <stdint.h>
#include <stdbool.h>

#include "ES_Events.h"

// Define States
typedef enum
{
  InitBSState, NoBall, WaitingForBall, Emptying
}BSState_t;
// Public Function Prototypes

bool InitBallSortingService(uint8_t Priority);
bool PostBallSortingService(ES_Event_t ThisEvent);
ES_Event_t RunBallSortingService(ES_Event_t ThisEvent);
bool QueryNoBall(void);

#endif /* ServTemplate_H */