#ifndef SENSORIS3_H #define SENSORIS3_H #include "comon.h" #include "IS3Comon.h" class SensorIS3 { public: SensorIS3(); STRSensorInfo SensorInfo; bool initSensor(int id = 2); STRSensorInfo GetSensorInfo(); void SetShutter(int id);// 0 dark 1 green 2 blue void GetOneDate(int msc); int OptSnenser(int percent); unsigned short DATABUFF[2048]; int shutterup,shutterdown; unsigned short *DownData=nullptr; unsigned short *UpData=nullptr; void shortLittletoBiG( unsigned short *data,int lenth); int Getmaxvalue(unsigned short *data,int lenth); void TakeOneJob(); PRINTFUNC PrintFunc; int shutternow; //uint16_t result[2048]; u_char *DataRetrun; }; #endif