Beispiel #1
0
void CCDFrameInterface::ExposureDuration_Timer( Timer &sender )
{
	if( sender == GUI->ExposureDuration_Timer  ){
		GUI->ExpDur_Edit.SetText(String(sender.Count()));
		if (sender.Count()>=GUI->ExpTime_Edit.Text().ToDouble()){
			GUI->ExposureDuration_Timer.Stop();
		}
	}
}
Beispiel #2
0
void CCDFrameInterface::ExposureDelay_Timer( Timer &sender )
{
	if( sender == GUI->ExposureDelay_Timer  ){
		GUI->ExpDelay_Edit.SetText(String(sender.Count()+GUI->ExpDur_Edit.Text().ToDouble()));
		if (sender.Count()>=GUI->ExpDelayTime_Edit.Text().ToDouble()){
			GUI->ExposureDelay_Timer.Stop();
			m_isWaiting=false;
		}
	}
}