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