public enum MonitorType
        {
            ManualMonitor ,//人工监测
            Tm30,//TM机器人监测
            Ls ,//拉载监测
            FiberBraggGrate,//光纤光栅
            LightMonitor,//微光监测
            Gps //GPS监测
        }MonitorType monitorType = (MonitorType)Enum.Parse(typeof(MonitorType), "Ls");
String str=MonitorType.Ls.toString();
原文:http://blog.csdn.net/wj512416359/article/details/43373895