Пример #1
0
        public static string State2Description(DeviceState ds)
        {
            switch (ds)
            {
            case DeviceState.UNKNOWN:
                return(XMLResourceLoaderUtils.GetString("NA"));

            case DeviceState.OK:
                return(XMLResourceLoaderUtils.GetString("READY"));

            case DeviceState.RING:
                return(XMLResourceLoaderUtils.GetString("RINGING"));

            case DeviceState.BUSY:
                return(XMLResourceLoaderUtils.GetString("BUSY"));

            case DeviceState.ERROR:
                return(XMLResourceLoaderUtils.GetString("ERROR"));
            }
            return(ds.ToString());
        }
Пример #2
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("TRACK"));
 }
Пример #3
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("TRAINNUMBERFIELD"));
 }
Пример #4
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("CONNECTION"));
 }
Пример #5
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("LANSWITCH"));
 }
Пример #6
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("PositionMarker"));
 }
Пример #7
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("SPEAKERGROUP"));
 }
Пример #8
0
 public override string GetName()
 {
     return(XMLResourceLoaderUtils.GetString("SIMPLEPOINT"));
 }