mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
average
This commit is contained in:
@ -124,7 +124,6 @@ int main(int argc, char* argv[])
|
||||
|
||||
|
||||
|
||||
|
||||
aa->Settingshuttertime(shuttertime);
|
||||
aa->GetOnePlot(oneplot);
|
||||
|
||||
|
@ -38,6 +38,7 @@ bool SensorOptoSky::initSensor(int id /*= 0*/)
|
||||
}
|
||||
|
||||
SensorInfo = GetSensorInfo();
|
||||
|
||||
float a = GettingTempratrue();
|
||||
//SendComment()
|
||||
return true;
|
||||
@ -132,6 +133,9 @@ STRSensorInfo SensorOptoSky::GetSensorInfo()
|
||||
SendComment(SET_AVERAGE_NUMBER, bbb);
|
||||
GetReturn(SET_AVERAGE_NUMBER, bbb);
|
||||
se.maxValue = 65535;
|
||||
bbb[0] = 0x00;
|
||||
bbb[1] = 0x01;
|
||||
SendComment(SET_AVERAGE_NUMBER,bbb);
|
||||
return se;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user