2.7 添Direction类