#ifndef _SYSTEM_CONTROL_H_
#define _SYSTEM_CONTROL_H_

#include "common.h"

#define PROCESSING_CONTROL_STATUS_IDLE					0
#define PROCESSING_CONTROL_STATUS_CAPTURE_WAIT			1
#define PROCESSING_CONTROL_STATUS_PROCESSING_READY		2
#define PROCESSING_CONTROL_STATUS_ON_END				3
#define PROCESSING_CONTROL_STATUS_COMPLETE				4

#define SYSTEM_MODE_NONE			0
#define SYSTEM_MODE_CAPTURE			1
#define SYSTEM_MODE_PROCESSING		2

//extern int Processing_Exist;
//extern int Processing_End;

typedef struct
{
	char CaptureExists;
//	unsigned char CamEnabled;
	char Captured[SYSTEM_SPB_CAMERA_MAX_COUNT];
//	int CaptureType;
	unsigned int CaptureTime[SYSTEM_SPB_CAMERA_MAX_COUNT];
//	int ShutterSpeed[SYSTEM_SPB_CAMERA_COUNT];	
//	int CaptureLength[SYSTEM_SPB_CAMERA_COUNT];
} TTimeCapture;
extern TTimeCapture TimeCapture;

/*
typedef struct
{
	int Status[SYSTEM_SPB_CAMERA_COUNT];

} TProcessingControlInfo;
extern TProcessingControlInfo ProcessingControlInfo;
*/

typedef struct
{
	int SystemMode;
} TSystemControlInfo;
extern TSystemControlInfo SystemControlInfo;

#endif
