function oms_getStopTime input String cref; output Real stopTime; output Integer status; end oms_getStopTime;