M_DIST::Judge
Get the distance value
int Judge(
double lowerDistance,
double upperDistance
);
Parameters
lowerDistance
|
Lower limit of distance
|
upperDistance
|
Upper limit of distance
|
Return Value
Return judgement result as JUDGE_OK or JUDGE_NG
Description
Get the judgement result of distance
Example
int Sample::MeasureDispT(ProcUnit *ptrProcUnit, int subNo, TextWindow *ptrTextWindow)
{
// M_DIST distance; Measured data
// get data
int judge = distance.Judge(ptrSetupData->lowerDistance, ptrSetupData->upperDistance);
ptrTextWindow->DrawText(judge, TRUE, ptrProcUnit->GetText("length:", distance.Get(0));
}