PROGRAM Calibration

IF cmdAddCalibrationPoint THEN
	addSuccess := AddCalibrationPoint(inpPondHeight, inpPondVolume, inpPondNumber);
	cmdAddCalibrationPoint := FALSE;
END_IF;

IF cmdDeleteCalibrationPoint THEN
	deleteSuccess := DeleteCalibrationPoint(inpDeletePointIndex, inpPondNumber);
	cmdDeleteCalibrationPoint := FALSE;
END_IF;
END_PROGRAM