FUNCTION "FC_Convert_SchleusetoDecisionPoint" : String
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
   VAR_INPUT 
      nInStationNr : Int;
   END_VAR


BEGIN
	#"FC_Convert_SchleusetoDecisionPoint" := '';
	
	IF #nInStationNr <= 0 THEN
	    RETURN;
	END_IF;
	
	CASE #nInStationNr OF
	    3143:
	        #"FC_Convert_SchleusetoDecisionPoint" := 'GOH.OBBuffer.01';
	    3121:
	        #"FC_Convert_SchleusetoDecisionPoint" := 'GOH.OBBuffer.02';
	    3123:
	        #"FC_Convert_SchleusetoDecisionPoint" := 'GOH.OBBuffer.03';
	    4503:
	        #"FC_Convert_SchleusetoDecisionPoint" := 'GOH.Ship.01';
	    ELSE
	        #"FC_Convert_SchleusetoDecisionPoint" := 'Unknown'; //? todo
	END_CASE;
	
END_FUNCTION

