枚举使用

得到的

原文地址:https://www.cnblogs.com/sj521/p/5405612.html